Condividi tramite


MediaAssetTrackResource.UpdateTrackData(WaitUntil, CancellationToken) Method

Definition

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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}/updateTrackData
  • Operation Id: Tracks_UpdateTrackData
public virtual Azure.ResourceManager.ArmOperation UpdateTrackData (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTrackData : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.UpdateTrackData : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function UpdateTrackData (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to