/// <summary> /// Checks that the data connection parameters are valid. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group containing the Kusto cluster. /// </param> /// <param name='clusterName'> /// The name of the Kusto cluster. /// </param> /// <param name='databaseName'> /// The name of the database in the Kusto cluster. /// </param> /// <param name='parameters'> /// The data connection parameters supplied to the CreateOrUpdate operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <DataConnectionValidationListResult> BeginDataConnectionValidationMethodAsync(this IDataConnectionsOperations operations, string resourceGroupName, string clusterName, string databaseName, DataConnectionValidation parameters, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginDataConnectionValidationMethodWithHttpMessagesAsync(resourceGroupName, clusterName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Checks that the data connection parameters are valid. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group containing the Kusto cluster. /// </param> /// <param name='clusterName'> /// The name of the Kusto cluster. /// </param> /// <param name='databaseName'> /// The name of the database in the Kusto cluster. /// </param> /// <param name='parameters'> /// The data connection parameters supplied to the CreateOrUpdate operation. /// </param> public static DataConnectionValidationListResult DataConnectionValidationMethod(this IDataConnectionsOperations operations, string resourceGroupName, string clusterName, string databaseName, DataConnectionValidation parameters) { return(operations.DataConnectionValidationMethodAsync(resourceGroupName, clusterName, databaseName, parameters).GetAwaiter().GetResult()); }
/// <summary> /// Checks that the data connection parameters are valid. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='kustoPoolName'> /// The name of the Kusto pool. /// </param> /// <param name='databaseName'> /// The name of the database in the Kusto pool. /// </param> /// <param name='parameters'> /// The data connection parameters supplied to the CreateOrUpdate operation. /// </param> public static DataConnectionValidationListResult BeginDataConnectionValidationMethod(this IKustoPoolDataConnectionsOperations operations, string resourceGroupName, string workspaceName, string kustoPoolName, string databaseName, DataConnectionValidation parameters) { return(operations.BeginDataConnectionValidationMethodAsync(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters).GetAwaiter().GetResult()); }