Compartir a través de


KeyVaultExtensions.CheckManagedHsmNameAvailabilityAsync Método

Definición

Comprueba que el nombre de hsm administrado es válido y que aún no está en uso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.KeyVault/checkMhsmNameAvailability
  • IdManagedHsms_CheckMhsmNameAvailability de operación
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

Instancia SubscriptionResource en la que se ejecutará el método.

content
ManagedHsmNameAvailabilityContent

Nombre del hsm administrado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a