ConnectionOperations class

Class representing a ConnectionOperations.

Constructors

ConnectionOperations(AutomationClientContext)

Create a ConnectionOperations.

Methods

createOrUpdate(string, string, string, ConnectionCreateOrUpdateParameters, RequestOptionsBase)

Create or update a connection.

createOrUpdate(string, string, string, ConnectionCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Connection>)
createOrUpdate(string, string, string, ConnectionCreateOrUpdateParameters, ServiceCallback<Connection>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete the connection.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<Connection>)
deleteMethod(string, string, string, ServiceCallback<Connection>)
get(string, string, string, RequestOptionsBase)

Retrieve the connection identified by connection name.

get(string, string, string, RequestOptionsBase, ServiceCallback<Connection>)
get(string, string, string, ServiceCallback<Connection>)
listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of connections.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ConnectionListResult>)
listByAutomationAccount(string, string, ServiceCallback<ConnectionListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of connections.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ConnectionListResult>)
listByAutomationAccountNext(string, ServiceCallback<ConnectionListResult>)
update(string, string, string, ConnectionUpdateParameters, RequestOptionsBase)

Update a connection.

update(string, string, string, ConnectionUpdateParameters, RequestOptionsBase, ServiceCallback<Connection>)
update(string, string, string, ConnectionUpdateParameters, ServiceCallback<Connection>)

Constructor Details

ConnectionOperations(AutomationClientContext)

Create a ConnectionOperations.

new ConnectionOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, ConnectionCreateOrUpdateParameters, RequestOptionsBase)

Create or update a connection.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: ConnectionCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<ConnectionCreateOrUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The parameters supplied to the create or update connection operation.

parameters
ConnectionCreateOrUpdateParameters

The parameters supplied to the create or update connection operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ConnectionCreateOrUpdateResponse>

createOrUpdate(string, string, string, ConnectionCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Connection>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: ConnectionCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The parameters supplied to the create or update connection operation.

parameters
ConnectionCreateOrUpdateParameters

The parameters supplied to the create or update connection operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Connection>

The callback

createOrUpdate(string, string, string, ConnectionCreateOrUpdateParameters, ServiceCallback<Connection>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: ConnectionCreateOrUpdateParameters, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The parameters supplied to the create or update connection operation.

parameters
ConnectionCreateOrUpdateParameters

The parameters supplied to the create or update connection operation.

callback

ServiceCallback<Connection>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the connection.

function deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: RequestOptionsBase): Promise<ConnectionDeleteMethodResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The name of connection.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ConnectionDeleteMethodResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<Connection>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options: RequestOptionsBase, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The name of connection.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Connection>

The callback

deleteMethod(string, string, string, ServiceCallback<Connection>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The name of connection.

callback

ServiceCallback<Connection>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the connection identified by connection name.

function get(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: RequestOptionsBase): Promise<ConnectionGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The name of connection.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ConnectionGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Connection>)

function get(resourceGroupName: string, automationAccountName: string, connectionName: string, options: RequestOptionsBase, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The name of connection.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Connection>

The callback

get(string, string, string, ServiceCallback<Connection>)

function get(resourceGroupName: string, automationAccountName: string, connectionName: string, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The name of connection.

callback

ServiceCallback<Connection>

The callback

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of connections.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<ConnectionListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ConnectionListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ConnectionListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<ConnectionListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ConnectionListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<ConnectionListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ConnectionListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<ConnectionListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of connections.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ConnectionListByAutomationAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ConnectionListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ConnectionListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ConnectionListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ConnectionListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<ConnectionListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ConnectionListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ConnectionListResult>

The callback

update(string, string, string, ConnectionUpdateParameters, RequestOptionsBase)

Update a connection.

function update(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: ConnectionUpdateParameters, options?: RequestOptionsBase): Promise<ConnectionUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The parameters supplied to the update a connection operation.

parameters
ConnectionUpdateParameters

The parameters supplied to the update a connection operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ConnectionUpdateResponse>

update(string, string, string, ConnectionUpdateParameters, RequestOptionsBase, ServiceCallback<Connection>)

function update(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: ConnectionUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The parameters supplied to the update a connection operation.

parameters
ConnectionUpdateParameters

The parameters supplied to the update a connection operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Connection>

The callback

update(string, string, string, ConnectionUpdateParameters, ServiceCallback<Connection>)

function update(resourceGroupName: string, automationAccountName: string, connectionName: string, parameters: ConnectionUpdateParameters, callback: ServiceCallback<Connection>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

connectionName

string

The parameters supplied to the update a connection operation.

parameters
ConnectionUpdateParameters

The parameters supplied to the update a connection operation.

callback

ServiceCallback<Connection>

The callback