Dela via


KeyVaultClientExtensions.GetDeletedStorageAccountAsync Method

Definition

Gets the specified deleted storage account.

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

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 Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.

Applies to