共用方式為


KustoDatabaseResource.ValidateDataConnection 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.Models.DataConnectionValidationResults> ValidateDataConnection (Azure.WaitUntil waitUntil, Azure.ResourceManager.Kusto.Models.DataConnectionValidationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateDataConnection : Azure.WaitUntil * Azure.ResourceManager.Kusto.Models.DataConnectionValidationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.Models.DataConnectionValidationResults>
override this.ValidateDataConnection : Azure.WaitUntil * Azure.ResourceManager.Kusto.Models.DataConnectionValidationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.Models.DataConnectionValidationResults>
Public Overridable Function ValidateDataConnection (waitUntil As WaitUntil, content As DataConnectionValidationContent, Optional cancellationToken As CancellationToken = Nothing) As 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