DataConnections interface

Interface representing a DataConnections.

Methods

beginCreateOrUpdate(string, string, string, string, DataConnectionUnion, DataConnectionsCreateOrUpdateOptionalParams)

Creates or updates a data connection.

beginCreateOrUpdateAndWait(string, string, string, string, DataConnectionUnion, DataConnectionsCreateOrUpdateOptionalParams)

Creates or updates a data connection.

beginDataConnectionValidation(string, string, string, DataConnectionValidation, DataConnectionsDataConnectionValidationOptionalParams)

Checks that the data connection parameters are valid.

beginDataConnectionValidationAndWait(string, string, string, DataConnectionValidation, DataConnectionsDataConnectionValidationOptionalParams)

Checks that the data connection parameters are valid.

beginDelete(string, string, string, string, DataConnectionsDeleteOptionalParams)

Deletes the data connection with the given name.

beginDeleteAndWait(string, string, string, string, DataConnectionsDeleteOptionalParams)

Deletes the data connection with the given name.

beginUpdate(string, string, string, string, DataConnectionUnion, DataConnectionsUpdateOptionalParams)

Updates a data connection.

beginUpdateAndWait(string, string, string, string, DataConnectionUnion, DataConnectionsUpdateOptionalParams)

Updates a data connection.

checkNameAvailability(string, string, string, DataConnectionCheckNameRequest, DataConnectionsCheckNameAvailabilityOptionalParams)

Checks that the data connection name is valid and is not already in use.

get(string, string, string, string, DataConnectionsGetOptionalParams)

Returns a data connection.

listByDatabase(string, string, string, DataConnectionsListByDatabaseOptionalParams)

Returns the list of data connections of the given Kusto database.

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.

options
DataConnectionsCreateOrUpdateOptionalParams

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.

options
DataConnectionsCreateOrUpdateOptionalParams

The options parameters.

Returns

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.

Returns

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.

Returns

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.

options
DataConnectionsDeleteOptionalParams

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.

options
DataConnectionsDeleteOptionalParams

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.

options
DataConnectionsUpdateOptionalParams

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.

options
DataConnectionsUpdateOptionalParams

The options parameters.

Returns

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.

options
DataConnectionsCheckNameAvailabilityOptionalParams

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

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.

options
DataConnectionsListByDatabaseOptionalParams

The options parameters.

Returns