VaultsOperationsExtensions.DeleteAsync Method

Definition

Deletes the specified Azure key vault.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.KeyVault.Fluent.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
System.String

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

vaultName
System.String

The name of the vault to delete

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to