@datafire/azure_mediaservices_assetsandassetfilters

3.0.0 • Public • Published

@datafire/azure_mediaservices_assetsandassetfilters

Client library for Azure Media Services

Installation and Usage

npm install --save @datafire/azure_mediaservices_assetsandassetfilters
let azure_mediaservices_assetsandassetfilters = require('@datafire/azure_mediaservices_assetsandassetfilters').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

Assets_List

List Assets in the Media Services account with optional filtering and ordering

azure_mediaservices_assetsandassetfilters.Assets_List({
  "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.
    • $filter string: Restricts the set of items returned.
    • $top integer: Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.
    • $orderby string: Specifies the key by which the result collection should be ordered.

Output

Assets_Delete

Deletes an Asset in the Media Services account

azure_mediaservices_assetsandassetfilters.Assets_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

Assets_Get

Get the details of an Asset in the Media Services account

azure_mediaservices_assetsandassetfilters.Assets_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Assets_Update

Updates an existing Asset in the Media Services account

azure_mediaservices_assetsandassetfilters.Assets_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • parameters required Asset
    • api-version required string: The Version of the API to be used with the client request.

Output

Assets_CreateOrUpdate

Creates or updates an Asset in the Media Services account

azure_mediaservices_assetsandassetfilters.Assets_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • parameters required Asset
    • api-version required string: The Version of the API to be used with the client request.

Output

AssetFilters_List

List Asset Filters associated with the specified Asset.

azure_mediaservices_assetsandassetfilters.AssetFilters_List({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • api-version required string: The Version of the API to be used with the client request.

Output

AssetFilters_Delete

Deletes an Asset Filter associated with the specified Asset.

azure_mediaservices_assetsandassetfilters.AssetFilters_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "filterName": "",
  "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.
    • assetName required string: The Asset name.
    • filterName required string: The Asset Filter name
    • api-version required string: The Version of the API to be used with the client request.

Output

Output schema unknown

AssetFilters_Get

Get the details of an Asset Filter associated with the specified Asset.

azure_mediaservices_assetsandassetfilters.AssetFilters_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "filterName": "",
  "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.
    • assetName required string: The Asset name.
    • filterName required string: The Asset Filter name
    • api-version required string: The Version of the API to be used with the client request.

Output

AssetFilters_Update

Updates an existing Asset Filter associated with the specified Asset.

azure_mediaservices_assetsandassetfilters.AssetFilters_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "filterName": "",
  "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.
    • assetName required string: The Asset name.
    • filterName required string: The Asset Filter name
    • parameters required AssetFilter
    • api-version required string: The Version of the API to be used with the client request.

Output

AssetFilters_CreateOrUpdate

Creates or updates an Asset Filter associated with the specified Asset.

azure_mediaservices_assetsandassetfilters.AssetFilters_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "filterName": "",
  "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.
    • assetName required string: The Asset name.
    • filterName required string: The Asset Filter name
    • parameters required AssetFilter
    • api-version required string: The Version of the API to be used with the client request.

Output

Assets_GetEncryptionKey

Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API

azure_mediaservices_assetsandassetfilters.Assets_GetEncryptionKey({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Assets_ListContainerSas

Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.

azure_mediaservices_assetsandassetfilters.Assets_ListContainerSas({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • parameters required ListContainerSasInput
    • api-version required string: The Version of the API to be used with the client request.

Output

Assets_ListStreamingLocators

Lists Streaming Locators which are associated with this asset.

azure_mediaservices_assetsandassetfilters.Assets_ListStreamingLocators({
  "subscriptionId": "",
  "resourceGroupName": "",
  "accountName": "",
  "assetName": "",
  "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.
    • assetName required string: The Asset name.
    • api-version required string: The Version of the API to be used with the client request.

Output

Definitions

ApiError

  • ApiError object: The API error.

Asset

  • Asset object: An Asset.
    • properties AssetProperties
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

AssetCollection

  • AssetCollection object: A collection of Asset 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 Asset items.

AssetContainerSas

  • AssetContainerSas object: The Asset Storage container SAS URLs.
    • assetContainerSasUrls array: The list of Asset container SAS URLs.
      • items string

AssetFileEncryptionMetadata

  • AssetFileEncryptionMetadata object: The Asset File Storage encryption metadata.
    • assetFileId required string: The Asset File Id.
    • assetFileName string: The Asset File name.
    • initializationVector string: The Asset File initialization vector.

AssetFilter

  • AssetFilter object: An Asset Filter.
    • properties MediaFilterProperties
    • id string: Fully qualified resource ID for the resource.
    • name string: The name of the resource.
    • type string: The type of the resource.

AssetFilterCollection

  • AssetFilterCollection object: A collection of AssetFilter 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 AssetFilter items.

AssetProperties

  • AssetProperties object: The Asset properties.
    • alternateId string: The alternate ID of the Asset.
    • assetId string: The Asset ID.
    • container string: The name of the asset blob container.
    • created string: The creation date of the Asset.
    • description string: The Asset description.
    • lastModified string: The last modified date of the Asset.
    • storageAccountName string: The name of the storage account.
    • storageEncryptionFormat string (values: None, MediaStorageClientEncryption): The Asset encryption format. One of None or MediaStorageEncryption.

AssetStreamingLocator

  • AssetStreamingLocator object: Properties of the Streaming Locator.
    • assetName string: Asset Name.
    • created string: The creation time of the Streaming Locator.
    • defaultContentKeyPolicyName string: Name of the default ContentKeyPolicy used by this Streaming Locator.
    • endTime string: The end time of the Streaming Locator.
    • name string: Streaming Locator name.
    • startTime string: The start time of the Streaming Locator.
    • streamingLocatorId string: StreamingLocatorId of the Streaming Locator.
    • streamingPolicyName string: Name of the Streaming Policy used by this Streaming Locator.

FilterTrackPropertyCondition

  • FilterTrackPropertyCondition object: The class to specify one track property condition.
    • operation required string (values: Equal, NotEqual): The track property condition operation.
    • property required string (values: Unknown, Type, Name, Language, FourCC, Bitrate): The track property type.
    • value required string: The track property value.

FilterTrackSelection

  • FilterTrackSelection object: Representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation.

FirstQuality

  • FirstQuality object: Filter First Quality
    • bitrate required integer: The first quality bitrate.

ListContainerSasInput

  • ListContainerSasInput object: The parameters to the list SAS request.
    • expiryTime string: The SAS URL expiration time. This must be less than 24 hours from the current time.
    • permissions string (values: Read, ReadWrite, ReadWriteDelete): The permissions to set on the SAS URL.

ListStreamingLocatorsResponse

  • ListStreamingLocatorsResponse object: The Streaming Locators associated with this Asset.

MediaFilterProperties

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).

PresentationTimeRange

  • PresentationTimeRange object: The presentation time range, this is asset related and not recommended for Account Filter.
    • endTimestamp integer: The absolute end time boundary.
    • forceEndTimestamp boolean: The indicator of forcing existing of end time stamp.
    • liveBackoffDuration integer: The relative to end right edge.
    • presentationWindowDuration integer: The relative to end sliding window.
    • startTimestamp integer: The absolute start time boundary.
    • timescale integer: The time scale of time stamps.

StorageEncryptedAssetDecryptionData

  • StorageEncryptedAssetDecryptionData object: Data needed to decrypt asset files encrypted with legacy storage encryption.
    • assetFileEncryptionMetadata array: Asset File encryption metadata.
    • key string: The Asset File storage encryption key.

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/azure_mediaservices_assetsandassetfilters

Weekly Downloads

0

Version

3.0.0

License

MIT

Unpacked Size

101 kB

Total Files

4

Last publish

Collaborators

  • datafire