Compartilhar via


DeletedManagedHsmCollection.GetAsync Método

Definição

Obtém o HSM gerenciado excluído especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}
  • IdManagedHsms_GetDeleted de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource>> GetAsync (Azure.Core.AzureLocation location, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource>>
override this.GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource>>
Public Overridable Function GetAsync (location As AzureLocation, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedManagedHsmResource))

Parâmetros

location
AzureLocation

O local do HSM gerenciado excluído.

name
String

O nome do HSM gerenciado excluído.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

name é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

name é nulo.

Aplica-se a