Freigeben über


PurviewExtensions.CheckPurviewAccountNameAvailabilityAsync Methode

Definition

Überprüft, ob der Kontoname verfügbar ist.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Purview/checkNameAvailability
  • Vorgang IdAccounts_CheckNameAvailability
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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

content
PurviewAccountNameAvailabilityContent

Die Anforderung zur Verfügbarkeit des Prüfnamens.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: