Partager via


PurviewExtensions.CheckPurviewAccountNameAvailabilityAsync Méthode

Définition

Vérifie si le nom du compte est disponible.

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

Paramètres

subscriptionResource
SubscriptionResource

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

content
PurviewAccountNameAvailabilityContent

Demande de disponibilité du nom case activée.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à