HDInsightExtensions.CheckHDInsightNameAvailability Methode

Definition

Überprüfen Sie, ob der Clustername verfügbar ist oder nicht.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability
  • Vorgang IdLocations_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityResult> CheckHDInsightNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckHDInsightNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityResult>
<Extension()>
Public Function CheckHDInsightNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As HDInsightNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightNameAvailabilityResult)

Parameter

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Der Azure-Standort (Region), für den die Anforderung gestellt werden soll.

content
HDInsightNameAvailabilityContent

Die zu verwendende HDInsightNameAvailabilityContent.The HDInsightNameAvailabilityContent to use.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: