Share via


SynapseDatabaseResource.CheckKustoPoolDataConnectionNameAvailabilityAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/checkNameAvailability
  • Operation Id: KustoPoolDataConnections_CheckNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>> CheckKustoPoolDataConnectionNameAvailabilityAsync (Azure.ResourceManager.Synapse.Models.KustoPoolDataConnectionNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoPoolDataConnectionNameAvailabilityAsync : Azure.ResourceManager.Synapse.Models.KustoPoolDataConnectionNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>>
override this.CheckKustoPoolDataConnectionNameAvailabilityAsync : Azure.ResourceManager.Synapse.Models.KustoPoolDataConnectionNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>>
Public Overridable Function CheckKustoPoolDataConnectionNameAvailabilityAsync (content As KustoPoolDataConnectionNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoPoolNameAvailabilityResult))

Parameters

content
KustoPoolDataConnectionNameAvailabilityContent

The name of the data connection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to