Freigeben über


PowerBIDedicatedExtensions.CheckNameAvailabilityCapacityAsync Methode

Definition

Überprüfen Sie die Verfügbarkeit des Namens am Zielspeicherort.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.PowerBIDedicated/locations/{location}/checkNameAvailability
  • Vorgangs-IdCapacities_CheckNameAvailability
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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Der Regionsname, in den der Vorgang sucht.

content
CheckCapacityNameAvailabilityContent

Der Name der Kapazität.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: