Freigeben über


MediaAssetResource.UpdateAsync(MediaAssetData, CancellationToken) Methode

Definition

Updates eines vorhandenen Medienobjekts im Media Services-Konto

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}
  • Vorgang IdAssets_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaAssetResource>> UpdateAsync (Azure.ResourceManager.Media.MediaAssetData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Media.MediaAssetData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaAssetResource>>
override this.UpdateAsync : Azure.ResourceManager.Media.MediaAssetData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaAssetResource>>
Public Overridable Function UpdateAsync (data As MediaAssetData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MediaAssetResource))

Parameter

data
MediaAssetData

Die Anforderungsparameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: