ContentKeyPoliciesOperationsExtensions.CreateOrUpdateAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellen oder Aktualisieren einer Inhaltsschlüsselrichtlinie
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.ContentKeyPolicy> CreateOrUpdateAsync(this Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations operations, string resourceGroupName, string accountName, string contentKeyPolicyName, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> options, string description = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.ContentKeyPolicy>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IContentKeyPoliciesOperations, resourceGroupName As String, accountName As String, contentKeyPolicyName As String, options As IList(Of ContentKeyPolicyOption), Optional description As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContentKeyPolicy)
Parameter
- operations
- IContentKeyPoliciesOperations
Die Vorgangsgruppe für diese Erweiterungsmethode.
- resourceGroupName
- String
Der Name der Ressourcengruppe innerhalb des Azure-Abonnements.
- accountName
- String
Der Name des Media Services-Kontos.
- contentKeyPolicyName
- String
Der Name der Inhaltsschlüsselrichtlinie.
- options
- IList<ContentKeyPolicyOption>
Die Optionen für die Schlüsselrichtlinie.
- description
- String
Eine Beschreibung der Richtlinie.
- cancellationToken
- CancellationToken
Das Abbruchtoken.
Gibt zurück
Hinweise
Erstellen oder Aktualisieren einer Inhaltsschlüsselrichtlinie im Media Services-Konto
Gilt für:
Azure SDK for .NET