npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_mediaservices_accounts

v3.0.0

Published

DataFire integration for Azure Media Services

Downloads

4

Readme

@datafire/azure_mediaservices_accounts

Client library for Azure Media Services

Installation and Usage

npm install --save @datafire/azure_mediaservices_accounts
let azure_mediaservices_accounts = require('@datafire/azure_mediaservices_accounts').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

This Swagger was generated by the API Framework.

Actions

Operations_List

Lists all the Media Services operations.

azure_mediaservices_accounts.Operations_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: The Version of the API to be used with the client request.

Output

Locations_CheckNameAvailability

Checks whether the Media Service resource name is available.

azure_mediaservices_accounts.Locations_CheckNameAvailability({
  "subscriptionId": "",
  "locationName": "",
  "parameters": {},
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • locationName required string: The name of the location
    • parameters required CheckNameAvailabilityInput
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_ListBySubscription

List Media Services accounts in the subscription.

azure_mediaservices_accounts.Mediaservices_ListBySubscription({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_GetBySubscription

Get the details of a Media Services account

azure_mediaservices_accounts.Mediaservices_GetBySubscription({
  "subscriptionId": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • accountName required string: The Media Services account name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_List

List Media Services accounts in the resource group

azure_mediaservices_accounts.Mediaservices_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_Delete

Deletes a Media Services account

azure_mediaservices_accounts.Mediaservices_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

Mediaservices_Get

Get the details of a Media Services account

azure_mediaservices_accounts.Mediaservices_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_Update

Updates an existing Media Services account

azure_mediaservices_accounts.Mediaservices_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "parameters": {},
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • parameters required MediaService
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_CreateOrUpdate

Creates or updates a Media Services account

azure_mediaservices_accounts.Mediaservices_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "parameters": {},
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • parameters required MediaService
    • api-version required string: The Version of the API to be used with the client request.

Output

Mediaservices_SyncStorageKeys

Synchronizes storage account keys for a storage account associated with the Media Service account.

azure_mediaservices_accounts.Mediaservices_SyncStorageKeys({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "parameters": {},
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The unique identifier for a Microsoft Azure subscription.
    • resourceGroupName required string: The name of the resource group within the Azure subscription.
    • accountName required string: The Media Services account name.
    • parameters required SyncStorageKeysInput
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

Definitions

ApiError

CheckNameAvailabilityInput

  • CheckNameAvailabilityInput object: The input to the check name availability request.
    • name string: The account name.
    • type string: The account type. For a Media Services account, this should be 'MediaServices'.

EntityNameAvailabilityCheckOutput

  • EntityNameAvailabilityCheckOutput object: The response from the check name availability request.
    • message string: Specifies the detailed reason if the name is not available.
    • nameAvailable required boolean: Specifies if the name is available.
    • reason string: Specifies the reason if the name is not available.

Location

  • Location object
    • name required string

MediaService

  • MediaService object: A Media Services account.
    • properties MediaServiceProperties
    • location string: The Azure Region of the resource.
    • tags object: Resource tags.
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

MediaServiceCollection

  • MediaServiceCollection object: A collection of MediaService items.
    • @odata.nextLink string: A link to the next page of the collection (when the collection contains too many results to return in one response).
    • value array: A collection of MediaService items.

MediaServiceProperties

  • MediaServiceProperties object: Properties of the Media Services account.
    • mediaServiceId string: The Media Services account ID.
    • storageAccounts array: The storage accounts for this resource.

Metric

  • Metric object: A metric emitted by service.
    • aggregationType string (values: Average, Count, Total): The metric aggregation type
    • dimensions array: The metric dimensions.
    • displayDescription string: The metric display description.
    • displayName string: The metric display name.
    • name string: The metric name.
    • unit string (values: Bytes, Count, Milliseconds): The metric unit

MetricDimension

  • MetricDimension object: A metric dimension.
    • displayName string: The display name for the dimension.
    • name string: The metric dimension name.
    • toBeExportedForShoebox boolean: Whether to export metric to shoebox.

MetricProperties

ODataError

  • ODataError object: Information about an error.
    • code string: A language-independent error name.
    • details array: The error details.
    • message string: The error message.
    • target string: The target of the error (for example, the name of the property in error).

Operation

  • Operation object: An operation.

OperationCollection

  • OperationCollection object: A collection of Operation items.
    • @odata.nextLink string: A link to the next page of the collection (when the collection contains too many results to return in one response).
    • value array: A collection of Operation items.

OperationDisplay

  • OperationDisplay object: Operation details.
    • description string: The operation description.
    • operation string: The operation type.
    • provider string: The service provider.
    • resource string: Resource on which the operation is performed.

Provider

  • Provider object: A resource provider.
    • providerName required string: The provider name.

ServiceSpecification

  • ServiceSpecification object: The service metric specifications.
    • metricSpecifications array: List of metric specifications.

StorageAccount

  • StorageAccount object: The storage account details.
    • id string: The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.
    • type required string (values: Primary, Secondary): The type of the storage account.

SubscriptionMediaService

  • SubscriptionMediaService object: A Media Services account.
    • properties MediaServiceProperties
    • location string: The Azure Region of the resource.
    • tags object: Resource tags.
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

SubscriptionMediaServiceCollection

  • SubscriptionMediaServiceCollection object: A collection of SubscriptionMediaService items.
    • @odata.nextLink string: A link to the next page of the collection (when the collection contains too many results to return in one response).
    • value array: A collection of SubscriptionMediaService items.

SyncStorageKeysInput

  • SyncStorageKeysInput object: The input to the sync storage keys request.
    • id string: The ID of the storage account resource.