Share via


KustoDatabaseResource.CheckKustoDataConnectionNameAvailabilityAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/checkNameAvailability
  • Operation Id: DataConnections_CheckNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>> CheckKustoDataConnectionNameAvailabilityAsync (Azure.ResourceManager.Kusto.Models.KustoDataConnectionNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoDataConnectionNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoDataConnectionNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
override this.CheckKustoDataConnectionNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoDataConnectionNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
Public Overridable Function CheckKustoDataConnectionNameAvailabilityAsync (content As KustoDataConnectionNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoNameAvailabilityResult))

Parameters

content
KustoDataConnectionNameAvailabilityContent

The name of the data connection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to