Compartilhar via


LocationsOperationsExtensions.CheckNameAvailabilityAsync Método

Definição

Verifique se o nome do cluster está disponível ou não.

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)

Parâmetros

operations
ILocationsOperations

O grupo de operações para esse método de extensão.

location
String

O local do Azure (região) para o qual fazer a solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a