PrivateEndpointsOperations.StartDeleteAsync(String, String, CancellationToken) Method

Definition

Deletes the specified private endpoint.

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

Parameters

resourceGroupName
System.String

The name of the resource group.

privateEndpointName
System.String

The name of the private endpoint.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<PrivateEndpointsDeleteOperation>

Exceptions

System.ArgumentNullException

resourceGroupName or privateEndpointName is null.

Applies to