PrivateEndpointConnectionOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified private endpoint connection.

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

Parameters

operations
IPrivateEndpointConnectionOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

privateEndpointConnectionName
String

The private endpoint connection name. This must be unique within the account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to