Freigeben über


ContentKeyPolicyResource.Update Methode

Definition

Updates einer vorhandenen Inhaltsschlüsselrichtlinie im Media Services-Konto

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

Parameter

data
ContentKeyPolicyData

Die Anforderungsparameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: