Compartir a través de


KeyVaultExtensions.CheckManagedHsmNameAvailability 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 Azure.Response<Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityResult> CheckManagedHsmNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckManagedHsmNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KeyVault.Models.ManagedHsmNameAvailabilityResult>
<Extension()>
Public Function CheckManagedHsmNameAvailability (subscriptionResource As SubscriptionResource, content As ManagedHsmNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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