Share via


SynapseDatabaseResource.ValidateDataConnectionAsync Method

Definition

Checks that the data connection parameters are valid.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/dataConnectionValidation
  • Operation Id: KustoPoolDataConnections_dataConnectionValidation
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidationListResult>> ValidateDataConnectionAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidation synapseDataConnectionValidation, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateDataConnectionAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidationListResult>>
override this.ValidateDataConnectionAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidationListResult>>
Public Overridable Function ValidateDataConnectionAsync (waitUntil As WaitUntil, synapseDataConnectionValidation As SynapseDataConnectionValidation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SynapseDataConnectionValidationListResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

synapseDataConnectionValidation
SynapseDataConnectionValidation

The data connection parameters supplied to the CreateOrUpdate operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

synapseDataConnectionValidation is null.

Applies to