Compartilhar via


KeyVaultExtensions.CheckManagedHsmNameAvailabilityAsync Método

Definição

Verifica se o nome hsm gerenciado é válido e ainda não está em uso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability
  • Operação IdManagedHsms_CheckMhsmNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityResult>> CheckManagedHsmNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckManagedHsmNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityResult>>
<Extension()>
Public Function CheckManagedHsmNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As ManagedHsmNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedHsmNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

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

content
ManagedHsmNameAvailabilityContent

O nome do hsm gerenciado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a