Share via


DdosCustomPoliciesOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified DDoS custom policy.

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

Parameters

operations
IDdosCustomPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

ddosCustomPolicyName
String

The name of the DDoS custom policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to