Partager via


KeyVaultExtensions.CheckKeyVaultNameAvailability Méthode

Définition

Vérifie que le nom du coffre est valide et qu’il n’est pas déjà utilisé.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability
  • IdVaults_CheckNameAvailability d’opération
public static Azure.Response<Azure.ResourceManager.KeyVault.Models.KeyVaultNameAvailabilityResult> CheckKeyVaultNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.KeyVault.Models.KeyVaultNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckKeyVaultNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.KeyVault.Models.KeyVaultNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.KeyVault.Models.KeyVaultNameAvailabilityResult>
<Extension()>
Public Function CheckKeyVaultNameAvailability (subscriptionResource As SubscriptionResource, content As KeyVaultNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KeyVaultNameAvailabilityResult)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

content
KeyVaultNameAvailabilityContent

Nom du coffre.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à