Partager via


PowerBIDedicatedExtensions.CheckNameAvailabilityCapacityAsync Méthode

Définition

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

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

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
CheckCapacityNameAvailabilityContent

Nom de la capacité.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à