Freigeben über


ContentKeyPolicyResource.UpdateAsync Methode

Definition

Updates einer vorhandenen Inhaltsschlüsselrichtlinie im Media Services-Konto

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

Parameter

data
ContentKeyPolicyData

Die Anforderungsparameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: