ServiceEndpointPolicyDefinitionsOperations.StartDeleteAsync(String, String, String, CancellationToken) Method

Definition

Deletes the specified ServiceEndpoint policy definitions.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsDeleteOperation> StartDeleteAsync (string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartDeleteAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsDeleteOperation>
override this.StartDeleteAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionsDeleteOperation>
Public Overridable Function StartDeleteAsync (resourceGroupName As String, serviceEndpointPolicyName As String, serviceEndpointPolicyDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceEndpointPolicyDefinitionsDeleteOperation)

Parameters

resourceGroupName
System.String

The name of the resource group.

serviceEndpointPolicyName
System.String

The name of the Service Endpoint Policy.

serviceEndpointPolicyDefinitionName
System.String

The name of the service endpoint policy definition.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<ServiceEndpointPolicyDefinitionsDeleteOperation>

Exceptions

System.ArgumentNullException

resourceGroupName, serviceEndpointPolicyName, or serviceEndpointPolicyDefinitionName is null.

Applies to