Partager via


AnalysisExtensions.CheckAnalysisServerNameAvailabilityAsync Méthode

Définition

Vérifiez la disponibilité des noms à l’emplacement cible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/checkNameAvailability
  • IdServers_CheckNameAvailability d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Analysis.Models.AnalysisServerNameAvailabilityResult>> CheckAnalysisServerNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Analysis.Models.AnalysisServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckAnalysisServerNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Analysis.Models.AnalysisServerNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Analysis.Models.AnalysisServerNameAvailabilityResult>>
<Extension()>
Public Function CheckAnalysisServerNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As AnalysisServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AnalysisServerNameAvailabilityResult))

Paramètres

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Nom de la région dans laquelle l’opération recherchera.

content
AnalysisServerNameAvailabilityContent

Contient les informations utilisées pour approvisionner le serveur Analysis Services.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à