Share via


ContentKeyPoliciesOperationsExtensions.UpdateAsync Method

Definition

Update a Content Key Policy

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.ContentKeyPolicy> UpdateAsync (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 UpdateAsync : 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 UpdateAsync (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)

Parameters

operations
IContentKeyPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

contentKeyPolicyName
String

The Content Key Policy name.

options
IList<ContentKeyPolicyOption>

The Key Policy options.

description
String

A description for the Policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Updates an existing Content Key Policy in the Media Services account

Applies to