Share via


KustoDatabaseResource.ValidateDataConnectionAsync Method

Definition

Checks that the data connection parameters are valid.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnectionValidation
  • Operation Id: DataConnections_dataConnectionValidation
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.Models.DataConnectionValidationResults>> ValidateDataConnectionAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Kusto.Models.DataConnectionValidationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateDataConnectionAsync : Azure.WaitUntil * Azure.ResourceManager.Kusto.Models.DataConnectionValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.Models.DataConnectionValidationResults>>
override this.ValidateDataConnectionAsync : Azure.WaitUntil * Azure.ResourceManager.Kusto.Models.DataConnectionValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.Models.DataConnectionValidationResults>>
Public Overridable Function ValidateDataConnectionAsync (waitUntil As WaitUntil, content As DataConnectionValidationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of DataConnectionValidationResults))

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.

content
DataConnectionValidationContent

The data connection parameters supplied to the CreateOrUpdate operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to