Condividi tramite


TracksOperationsExtensions.BeginUpdateTrackDataAsync Method

Definition

Update the track data

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.TracksUpdateTrackDataHeaders> BeginUpdateTrackDataAsync (this Microsoft.Azure.Management.Media.ITracksOperations operations, string resourceGroupName, string accountName, string assetName, string trackName, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateTrackDataAsync : Microsoft.Azure.Management.Media.ITracksOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.TracksUpdateTrackDataHeaders>
<Extension()>
Public Function BeginUpdateTrackDataAsync (operations As ITracksOperations, resourceGroupName As String, accountName As String, assetName As String, trackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TracksUpdateTrackDataHeaders)

Parameters

operations
ITracksOperations

The operations group for this extension method.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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.

Applies to