ConnectionOperations class
Class representing a ConnectionOperations.
Constructors
Connection |
Create a ConnectionOperations. |
Methods
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<ConnectionCreateOrUpdateResponse>
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
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
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<ConnectionDeleteMethodResponse>
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
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
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<ConnectionGetResponse>
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
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
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
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
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
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
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<ConnectionUpdateResponse>
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
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
The callback