ServiceEndpointPoliciesOperationsExtensions.DeleteAsync(IServiceEndpointPoliciesOperations, String, String, CancellationToken) Method

Definition

Deletes the specified service endpoint policy.

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

Parameters

operations
IServiceEndpointPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceEndpointPolicyName
String

The name of the service endpoint policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to