Compartilhar via


DeletedKeyVaultCollection.GetAsync 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>> GetAsync (Azure.Core.AzureLocation location, string vaultName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>>
override this.GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedKeyVaultResource>>
Public Overridable Function GetAsync (location As AzureLocation, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedKeyVaultResource))

Parâmetros

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