Share via


ClustersOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Checks that the cluster name is valid and is not already in use.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Kusto.IClustersOperations operations, string location, Microsoft.Azure.Management.Kusto.Models.ClusterCheckNameRequest clusterName, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Kusto.IClustersOperations * string * Microsoft.Azure.Management.Kusto.Models.ClusterCheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IClustersOperations, location As String, clusterName As ClusterCheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResult)

Parameters

operations
IClustersOperations

The operations group for this extension method.

location
String

Azure location (region) name.

clusterName
ClusterCheckNameRequest

The name of the cluster.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to