Partilhar via


KeyVaultExtensions.GetDeletedKeyVaultAsync Método

Definição

Obtém o cofre de chaves do Azure excluído.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}
  • Operação IdVaults_GetDeleted
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>> GetDeletedKeyVaultAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedKeyVaultAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>>
<Extension()>
Public Function GetDeletedKeyVaultAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedKeyVaultResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

O local do cofre excluído.

vaultName
String

O nome do cofre.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

vaultName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

vaultName é nulo.

Aplica-se a