Freigeben über


LocationsOperationsExtensions.CheckNameAvailabilityAsync Methode

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.NameAvailabilityCheckResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.HDInsight.ILocationsOperations operations, string location, Microsoft.Azure.Management.HDInsight.Models.NameAvailabilityCheckRequestParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.HDInsight.ILocationsOperations * string * Microsoft.Azure.Management.HDInsight.Models.NameAvailabilityCheckRequestParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.NameAvailabilityCheckResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As ILocationsOperations, location As String, parameters As NameAvailabilityCheckRequestParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NameAvailabilityCheckResult)

Parameter

operations
ILocationsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

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

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: