SynapseDatabaseResource.ValidateDataConnection 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidationListResult> ValidateDataConnection (Azure.WaitUntil waitUntil, Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidation synapseDataConnectionValidation, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateDataConnection : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidation * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidationListResult>
override this.ValidateDataConnection : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidation * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.Models.SynapseDataConnectionValidationListResult>
Public Overridable Function ValidateDataConnection (waitUntil As WaitUntil, synapseDataConnectionValidation As SynapseDataConnectionValidation, Optional cancellationToken As CancellationToken = Nothing) As 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