Share via


DataConnectionsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Checks that the data connection 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.IDataConnectionsOperations operations, string resourceGroupName, string clusterName, string databaseName, Microsoft.Azure.Management.Kusto.Models.DataConnectionCheckNameRequest dataConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Kusto.IDataConnectionsOperations * string * string * string * Microsoft.Azure.Management.Kusto.Models.DataConnectionCheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IDataConnectionsOperations, resourceGroupName As String, clusterName As String, databaseName As String, dataConnectionName As DataConnectionCheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResult)

Parameters

operations
IDataConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

databaseName
String

The name of the database in the Kusto cluster.

dataConnectionName
DataConnectionCheckNameRequest

The name of the data connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to