Share via


VaultsOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified Azure key vault.

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

Parameters

operations
IVaultsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Resource Group to which the vault belongs.

vaultName
String

The name of the vault to delete

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to