Share via


AccessPoliciesOperationsExtensions.DeleteAsync Method

Definition

Deletes an existing access policy resource.

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

Parameters

operations
IAccessPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The Azure Video Analyzer account name.

accessPolicyName
String

The Access Policy name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Deletes an existing access policy resource with the given name.

Applies to