Partager via


LocationsOperationsExtensions.CheckNameAvailabilityAsync Méthode

Définition

Vérifiez que le nom du cluster est disponible ou non.

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)

Paramètres

operations
ILocationsOperations

Groupe d’opérations pour cette méthode d’extension.

location
String

Emplacement Azure (région) pour lequel effectuer la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à