@datafire/azure_mediaservices_assetsandassetfilters v3.0.0
@datafire/azure_mediaservices_assetsandassetfilters
Client library for Azure Media Services
Installation and Usage
npm install --save @datafire/azure_mediaservices_assetsandassetfilterslet 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.
- subscriptionId required
Output
- output AssetCollection
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.
- subscriptionId required
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.
- subscriptionId required
Output
- output Asset
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.
- subscriptionId required
Output
- output Asset
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.
- subscriptionId required
Output
- output Asset
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.
- subscriptionId required
Output
- output AssetFilterCollection
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.
- subscriptionId required
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.
- subscriptionId required
Output
- output AssetFilter
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.
- subscriptionId required
Output
- output AssetFilter
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.
- subscriptionId required
Output
- output AssetFilter
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.
- subscriptionId required
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.
- subscriptionId required
Output
- output AssetContainerSas
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.
- subscriptionId required
Output
Definitions
ApiError
- ApiError
object: The API error.- error ODataError
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.- items Asset
- @odata.nextLink
AssetContainerSas
- AssetContainerSas
object: The Asset Storage container SAS URLs.- assetContainerSasUrls
array: The list of Asset container SAS URLs.- items
string
- items
- assetContainerSasUrls
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.
- assetFileId required
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.- items AssetFilter
- @odata.nextLink
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.
- alternateId
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.
- assetName
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.
- operation required
FilterTrackSelection
- FilterTrackSelection
object: Representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation.- trackSelections required
array: The track selections.
- trackSelections required
FirstQuality
- FirstQuality
object: Filter First Quality- bitrate required
integer: The first quality bitrate.
- bitrate required
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.
- expiryTime
ListStreamingLocatorsResponse
- ListStreamingLocatorsResponse
object: The Streaming Locators associated with this Asset.- streamingLocators
array: The list of Streaming Locators.- items AssetStreamingLocator
- streamingLocators
MediaFilterProperties
- MediaFilterProperties
object: The Media Filter properties.- firstQuality FirstQuality
- presentationTimeRange PresentationTimeRange
- tracks
array: The tracks selection conditions.- items FilterTrackSelection
ODataError
- ODataError
object: Information about an error.- code
string: A language-independent error name. - details
array: The error details.- items ODataError
- message
string: The error message. - target
string: The target of the error (for example, the name of the property in error).
- code
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.
- endTimestamp
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.
- assetFileEncryptionMetadata
5 years ago