Freigeben über


DataConnectors interface

Interface representing a DataConnectors.

Methods

connect(string, string, string, DataConnectorConnectBody, DataConnectorsConnectOptionalParams)

Connects a data connector.

createOrUpdate(string, string, string, DataConnectorUnion, DataConnectorsCreateOrUpdateOptionalParams)

Creates or updates the data connector.

delete(string, string, string, DataConnectorsDeleteOptionalParams)

Delete the data connector.

disconnect(string, string, string, DataConnectorsDisconnectOptionalParams)

Disconnect a data connector.

get(string, string, string, DataConnectorsGetOptionalParams)

Gets a data connector.

list(string, string, DataConnectorsListOptionalParams)

Gets all data connectors.

Method Details

connect(string, string, string, DataConnectorConnectBody, DataConnectorsConnectOptionalParams)

Connects a data connector.

function connect(resourceGroupName: string, workspaceName: string, dataConnectorId: string, connectBody: DataConnectorConnectBody, options?: DataConnectorsConnectOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

dataConnectorId

string

Connector ID

connectBody
DataConnectorConnectBody

The data connector

options
DataConnectorsConnectOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, DataConnectorUnion, DataConnectorsCreateOrUpdateOptionalParams)

Creates or updates the data connector.

function createOrUpdate(resourceGroupName: string, workspaceName: string, dataConnectorId: string, dataConnector: DataConnectorUnion, options?: DataConnectorsCreateOrUpdateOptionalParams): Promise<DataConnectorUnion>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

dataConnectorId

string

Connector ID

dataConnector
DataConnectorUnion

The data connector

options
DataConnectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, DataConnectorsDeleteOptionalParams)

Delete the data connector.

function delete(resourceGroupName: string, workspaceName: string, dataConnectorId: string, options?: DataConnectorsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

dataConnectorId

string

Connector ID

options
DataConnectorsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

disconnect(string, string, string, DataConnectorsDisconnectOptionalParams)

Disconnect a data connector.

function disconnect(resourceGroupName: string, workspaceName: string, dataConnectorId: string, options?: DataConnectorsDisconnectOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

dataConnectorId

string

Connector ID

options
DataConnectorsDisconnectOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DataConnectorsGetOptionalParams)

Gets a data connector.

function get(resourceGroupName: string, workspaceName: string, dataConnectorId: string, options?: DataConnectorsGetOptionalParams): Promise<DataConnectorUnion>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

dataConnectorId

string

Connector ID

options
DataConnectorsGetOptionalParams

The options parameters.

Returns

list(string, string, DataConnectorsListOptionalParams)

Gets all data connectors.

function list(resourceGroupName: string, workspaceName: string, options?: DataConnectorsListOptionalParams): PagedAsyncIterableIterator<DataConnectorUnion, DataConnectorUnion[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

options
DataConnectorsListOptionalParams

The options parameters.

Returns