Dela via


ContentKeyPoliciesOperationsExtensions.DeleteAsync Method

Definition

Delete a Content Key Policy

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations operations, string resourceGroupName, string accountName, string contentKeyPolicyName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IContentKeyPoliciesOperations, resourceGroupName As String, accountName As String, contentKeyPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Deletes a Content Key Policy in the Media Services account

Applies to