Udostępnij za pośrednictwem


KeyVaultClientExtensions.PurgeDeletedStorageAccountAsync Method

Definition

Permanently deletes the specified storage account.

public static System.Threading.Tasks.Task PurgeDeletedStorageAccountAsync (this Microsoft.Azure.KeyVault.IKeyVaultClient operations, string vaultBaseUrl, string storageAccountName, System.Threading.CancellationToken cancellationToken = default);
static member PurgeDeletedStorageAccountAsync : Microsoft.Azure.KeyVault.IKeyVaultClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeDeletedStorageAccountAsync (operations As IKeyVaultClient, vaultBaseUrl As String, storageAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IKeyVaultClient

The operations group for this extension method.

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

storageAccountName
String

The name of the storage account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.

Applies to