Freigeben über


KeyVaultExtensions.CheckKeyVaultNameAvailability Methode

Definition

Überprüft, ob der Tresorname gültig ist und noch nicht verwendet wird.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability
  • Vorgangs-IdVaults_CheckNameAvailability
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)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

content
KeyVaultNameAvailabilityContent

Der Name des Tresors.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: