Freigeben über


KustoExtensions.CheckKustoClusterNameAvailabilityAsync Methode

Definition

Überprüft, ob der Clustername gültig ist und noch nicht verwendet wird.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/checkNameAvailability
  • Vorgangs-IdClusters_CheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>> CheckKustoClusterNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Kusto.Models.KustoClusterNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckKustoClusterNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Kusto.Models.KustoClusterNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
<Extension()>
Public Function CheckKustoClusterNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As KustoClusterNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoNameAvailabilityResult))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Der Name der Azure-Region.

content
KustoClusterNameAvailabilityContent

Der Name des Clusters.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: