ActivityOperations class

Class representing a ActivityOperations.

Constructors

ActivityOperations(AutomationClientContext)

Create a ActivityOperations.

Methods

get(string, string, string, string, RequestOptionsBase)

Retrieve the activity in the module identified by module name and activity name.

get(string, string, string, string, RequestOptionsBase, ServiceCallback<Activity>)
get(string, string, string, string, ServiceCallback<Activity>)
listByModule(string, string, string, RequestOptionsBase)

Retrieve a list of activities in the module identified by module name.

listByModule(string, string, string, RequestOptionsBase, ServiceCallback<ActivityListResult>)
listByModule(string, string, string, ServiceCallback<ActivityListResult>)
listByModuleNext(string, RequestOptionsBase)

Retrieve a list of activities in the module identified by module name.

listByModuleNext(string, RequestOptionsBase, ServiceCallback<ActivityListResult>)
listByModuleNext(string, ServiceCallback<ActivityListResult>)

Constructor Details

ActivityOperations(AutomationClientContext)

Create a ActivityOperations.

new ActivityOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

get(string, string, string, string, RequestOptionsBase)

Retrieve the activity in the module identified by module name and activity name.

function get(resourceGroupName: string, automationAccountName: string, moduleName: string, activityName: string, options?: RequestOptionsBase): Promise<ActivityGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

moduleName

string

The name of module.

activityName

string

The name of activity.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ActivityGetResponse>

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

function get(resourceGroupName: string, automationAccountName: string, moduleName: string, activityName: string, options: RequestOptionsBase, callback: ServiceCallback<Activity>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

moduleName

string

The name of module.

activityName

string

The name of activity.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Activity>

The callback

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

function get(resourceGroupName: string, automationAccountName: string, moduleName: string, activityName: string, callback: ServiceCallback<Activity>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

moduleName

string

The name of module.

activityName

string

The name of activity.

callback

ServiceCallback<Activity>

The callback

listByModule(string, string, string, RequestOptionsBase)

Retrieve a list of activities in the module identified by module name.

function listByModule(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: RequestOptionsBase): Promise<ActivityListByModuleResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

moduleName

string

The name of module.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ActivityListByModuleResponse>

listByModule(string, string, string, RequestOptionsBase, ServiceCallback<ActivityListResult>)

function listByModule(resourceGroupName: string, automationAccountName: string, moduleName: string, options: RequestOptionsBase, callback: ServiceCallback<ActivityListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

moduleName

string

The name of module.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ActivityListResult>

The callback

listByModule(string, string, string, ServiceCallback<ActivityListResult>)

function listByModule(resourceGroupName: string, automationAccountName: string, moduleName: string, callback: ServiceCallback<ActivityListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

moduleName

string

The name of module.

callback

ServiceCallback<ActivityListResult>

The callback

listByModuleNext(string, RequestOptionsBase)

Retrieve a list of activities in the module identified by module name.

function listByModuleNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ActivityListByModuleNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ActivityListByModuleNextResponse>

listByModuleNext(string, RequestOptionsBase, ServiceCallback<ActivityListResult>)

function listByModuleNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ActivityListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ActivityListResult>

The callback

listByModuleNext(string, ServiceCallback<ActivityListResult>)

function listByModuleNext(nextPageLink: string, callback: ServiceCallback<ActivityListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ActivityListResult>

The callback