Connectors interface

Interface representing a Connectors.

Methods

beginCreateOrUpdate(string, string, string, ConnectorResourceFormat, ConnectorsCreateOrUpdateOptionalParams)

Creates a connector or updates an existing connector in the hub.

beginCreateOrUpdateAndWait(string, string, string, ConnectorResourceFormat, ConnectorsCreateOrUpdateOptionalParams)

Creates a connector or updates an existing connector in the hub.

beginDelete(string, string, string, ConnectorsDeleteOptionalParams)

Deletes a connector in the hub.

beginDeleteAndWait(string, string, string, ConnectorsDeleteOptionalParams)

Deletes a connector in the hub.

get(string, string, string, ConnectorsGetOptionalParams)

Gets a connector in the hub.

listByHub(string, string, ConnectorsListByHubOptionalParams)

Gets all the connectors in the specified hub.

Method Details

beginCreateOrUpdate(string, string, string, ConnectorResourceFormat, ConnectorsCreateOrUpdateOptionalParams)

Creates a connector or updates an existing connector in the hub.

function beginCreateOrUpdate(resourceGroupName: string, hubName: string, connectorName: string, parameters: ConnectorResourceFormat, options?: ConnectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConnectorResourceFormat>, ConnectorResourceFormat>>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

connectorName

string

The name of the connector.

parameters
ConnectorResourceFormat

Parameters supplied to the CreateOrUpdate Connector operation.

options
ConnectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<ConnectorResourceFormat>, ConnectorResourceFormat>>

beginCreateOrUpdateAndWait(string, string, string, ConnectorResourceFormat, ConnectorsCreateOrUpdateOptionalParams)

Creates a connector or updates an existing connector in the hub.

function beginCreateOrUpdateAndWait(resourceGroupName: string, hubName: string, connectorName: string, parameters: ConnectorResourceFormat, options?: ConnectorsCreateOrUpdateOptionalParams): Promise<ConnectorResourceFormat>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

connectorName

string

The name of the connector.

parameters
ConnectorResourceFormat

Parameters supplied to the CreateOrUpdate Connector operation.

options
ConnectorsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, ConnectorsDeleteOptionalParams)

Deletes a connector in the hub.

function beginDelete(resourceGroupName: string, hubName: string, connectorName: string, options?: ConnectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

connectorName

string

The name of the connector.

options
ConnectorsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, ConnectorsDeleteOptionalParams)

Deletes a connector in the hub.

function beginDeleteAndWait(resourceGroupName: string, hubName: string, connectorName: string, options?: ConnectorsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

connectorName

string

The name of the connector.

options
ConnectorsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ConnectorsGetOptionalParams)

Gets a connector in the hub.

function get(resourceGroupName: string, hubName: string, connectorName: string, options?: ConnectorsGetOptionalParams): Promise<ConnectorResourceFormat>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

connectorName

string

The name of the connector.

options
ConnectorsGetOptionalParams

The options parameters.

Returns

listByHub(string, string, ConnectorsListByHubOptionalParams)

Gets all the connectors in the specified hub.

function listByHub(resourceGroupName: string, hubName: string, options?: ConnectorsListByHubOptionalParams): PagedAsyncIterableIterator<ConnectorResourceFormat, ConnectorResourceFormat[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

options
ConnectorsListByHubOptionalParams

The options parameters.

Returns