DataConnections interface
Interface representing a DataConnections.
Methods
Method Details
beginCreateOrUpdate(string, string, string, string, DataConnectionUnion, DataConnectionsCreateOrUpdateOptionalParams)
Creates or updates a data connection.
function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, parameters: DataConnectionUnion, options?: DataConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataConnectionUnion>, DataConnectionUnion>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
- parameters
- DataConnectionUnion
The data connection parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DataConnectionUnion>, DataConnectionUnion>>
beginCreateOrUpdateAndWait(string, string, string, string, DataConnectionUnion, DataConnectionsCreateOrUpdateOptionalParams)
Creates or updates a data connection.
function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, parameters: DataConnectionUnion, options?: DataConnectionsCreateOrUpdateOptionalParams): Promise<DataConnectionUnion>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
- parameters
- DataConnectionUnion
The data connection parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<DataConnectionUnion>
beginDataConnectionValidation(string, string, string, DataConnectionValidation, DataConnectionsDataConnectionValidationOptionalParams)
Checks that the data connection parameters are valid.
function beginDataConnectionValidation(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DataConnectionValidation, options?: DataConnectionsDataConnectionValidationOptionalParams): Promise<SimplePollerLike<OperationState<DataConnectionValidationListResult>, DataConnectionValidationListResult>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- parameters
- DataConnectionValidation
The data connection parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DataConnectionValidationListResult>, DataConnectionValidationListResult>>
beginDataConnectionValidationAndWait(string, string, string, DataConnectionValidation, DataConnectionsDataConnectionValidationOptionalParams)
Checks that the data connection parameters are valid.
function beginDataConnectionValidationAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DataConnectionValidation, options?: DataConnectionsDataConnectionValidationOptionalParams): Promise<DataConnectionValidationListResult>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- parameters
- DataConnectionValidation
The data connection parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<DataConnectionValidationListResult>
beginDelete(string, string, string, string, DataConnectionsDeleteOptionalParams)
Deletes the data connection with the given name.
function beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, options?: DataConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, DataConnectionsDeleteOptionalParams)
Deletes the data connection with the given name.
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, options?: DataConnectionsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, string, string, DataConnectionUnion, DataConnectionsUpdateOptionalParams)
Updates a data connection.
function beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, parameters: DataConnectionUnion, options?: DataConnectionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataConnectionUnion>, DataConnectionUnion>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
- parameters
- DataConnectionUnion
The data connection parameters supplied to the Update operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DataConnectionUnion>, DataConnectionUnion>>
beginUpdateAndWait(string, string, string, string, DataConnectionUnion, DataConnectionsUpdateOptionalParams)
Updates a data connection.
function beginUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, parameters: DataConnectionUnion, options?: DataConnectionsUpdateOptionalParams): Promise<DataConnectionUnion>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
- parameters
- DataConnectionUnion
The data connection parameters supplied to the Update operation.
The options parameters.
Returns
Promise<DataConnectionUnion>
checkNameAvailability(string, string, string, DataConnectionCheckNameRequest, DataConnectionsCheckNameAvailabilityOptionalParams)
Checks that the data connection name is valid and is not already in use.
function checkNameAvailability(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: DataConnectionCheckNameRequest, options?: DataConnectionsCheckNameAvailabilityOptionalParams): Promise<CheckNameResult>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
- DataConnectionCheckNameRequest
The name of the data connection.
The options parameters.
Returns
Promise<CheckNameResult>
get(string, string, string, string, DataConnectionsGetOptionalParams)
Returns a data connection.
function get(resourceGroupName: string, clusterName: string, databaseName: string, dataConnectionName: string, options?: DataConnectionsGetOptionalParams): Promise<DataConnectionUnion>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
- dataConnectionName
-
string
The name of the data connection.
- options
- DataConnectionsGetOptionalParams
The options parameters.
Returns
Promise<DataConnectionUnion>
listByDatabase(string, string, string, DataConnectionsListByDatabaseOptionalParams)
Returns the list of data connections of the given Kusto database.
function listByDatabase(resourceGroupName: string, clusterName: string, databaseName: string, options?: DataConnectionsListByDatabaseOptionalParams): PagedAsyncIterableIterator<DataConnectionUnion, DataConnectionUnion[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kusto cluster.
- databaseName
-
string
The name of the database in the Kusto cluster.
The options parameters.