Share via


PrivateEndpointConnectionsOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified private endpoint connection associated with the key vault.

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

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group that contains the key vault.

vaultName
String

The name of the key vault.

privateEndpointConnectionName
String

Name of the private endpoint connection associated with the key vault.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to