Partilhar via


KeyVaultExtensions.GetDeletedManagedHsmAsync 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}
  • Operação IdManagedHsms_GetDeleted
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource>> GetDeletedManagedHsmAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedManagedHsmAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.DeletedManagedHsmResource>>
<Extension()>
Public Function GetDeletedManagedHsmAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedManagedHsmResource))

Parâmetros

subscriptionResource
SubscriptionResource

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

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 esperava-se que não estivesse vazia.

name é nulo.

Aplica-se a