Tracks interface
Interface representing a Tracks.
Methods
begin |
Create or update a Track in the asset |
begin |
Create or update a Track in the asset |
begin |
Deletes a Track in the asset |
begin |
Deletes a Track in the asset |
begin |
Updates an existing Track in the asset |
begin |
Updates an existing Track in the asset |
begin |
Update the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable. |
begin |
Update the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable. |
get(string, string, string, string, Tracks |
Get the details of a Track in the Asset |
list(string, string, string, Tracks |
Lists the Tracks in the asset |
Method Details
beginCreateOrUpdate(string, string, string, string, AssetTrack, TracksCreateOrUpdateOptionalParams)
Create or update a Track in the asset
function beginCreateOrUpdate(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<TracksCreateOrUpdateResponse>, TracksCreateOrUpdateResponse>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- parameters
- AssetTrack
The request parameters
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<TracksCreateOrUpdateResponse>, TracksCreateOrUpdateResponse>>
beginCreateOrUpdateAndWait(string, string, string, string, AssetTrack, TracksCreateOrUpdateOptionalParams)
Create or update a Track in the asset
function beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksCreateOrUpdateOptionalParams): Promise<TracksCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- parameters
- AssetTrack
The request parameters
The options parameters.
Returns
Promise<TracksCreateOrUpdateResponse>
beginDelete(string, string, string, string, TracksDeleteOptionalParams)
Deletes a Track in the asset
function beginDelete(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksDeleteOptionalParams): Promise<PollerLike<PollOperationState<TracksDeleteHeaders>, TracksDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- options
- TracksDeleteOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<TracksDeleteHeaders>, TracksDeleteHeaders>>
beginDeleteAndWait(string, string, string, string, TracksDeleteOptionalParams)
Deletes a Track in the asset
function beginDeleteAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksDeleteOptionalParams): Promise<TracksDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- options
- TracksDeleteOptionalParams
The options parameters.
Returns
Promise<TracksDeleteHeaders>
beginUpdate(string, string, string, string, AssetTrack, TracksUpdateOptionalParams)
Updates an existing Track in the asset
function beginUpdate(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksUpdateOptionalParams): Promise<PollerLike<PollOperationState<TracksUpdateResponse>, TracksUpdateResponse>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- parameters
- AssetTrack
The request parameters
- options
- TracksUpdateOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<TracksUpdateResponse>, TracksUpdateResponse>>
beginUpdateAndWait(string, string, string, string, AssetTrack, TracksUpdateOptionalParams)
Updates an existing Track in the asset
function beginUpdateAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksUpdateOptionalParams): Promise<TracksUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- parameters
- AssetTrack
The request parameters
- options
- TracksUpdateOptionalParams
The options parameters.
Returns
Promise<TracksUpdateResponse>
beginUpdateTrackData(string, string, string, string, TracksUpdateTrackDataOptionalParams)
Update the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
function beginUpdateTrackData(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksUpdateTrackDataOptionalParams): Promise<PollerLike<PollOperationState<TracksUpdateTrackDataHeaders>, TracksUpdateTrackDataHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<TracksUpdateTrackDataHeaders>, TracksUpdateTrackDataHeaders>>
beginUpdateTrackDataAndWait(string, string, string, string, TracksUpdateTrackDataOptionalParams)
Update the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
function beginUpdateTrackDataAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksUpdateTrackDataOptionalParams): Promise<TracksUpdateTrackDataHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
The options parameters.
Returns
Promise<TracksUpdateTrackDataHeaders>
get(string, string, string, string, TracksGetOptionalParams)
Get the details of a Track in the Asset
function get(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksGetOptionalParams): Promise<AssetTrack>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- trackName
-
string
The Asset Track name.
- options
- TracksGetOptionalParams
The options parameters.
Returns
Promise<AssetTrack>
list(string, string, string, TracksListOptionalParams)
Lists the Tracks in the asset
function list(resourceGroupName: string, accountName: string, assetName: string, options?: TracksListOptionalParams): PagedAsyncIterableIterator<AssetTrack, AssetTrack[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
- assetName
-
string
The Asset name.
- options
- TracksListOptionalParams
The options parameters.