KeyVaultClientExtensions.RecoverDeletedSasDefinitionAsync Method

Definition

Recovers the deleted SAS definition.

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

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.

sasDefinitionName
String

The name of the SAS definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Recovers the deleted SAS definition for the specified storage account. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.

Applies to