ActivityOperations Class

ActivityOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ActivityOperations

Constructor

ActivityOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

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

list_by_module

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

get

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

get(resource_group_name, automation_account_name, module_name, activity_name, **kwargs)

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

module_name
str
Required

The name of module.

activity_name
str
Required

The name of activity.

cls
callable

A custom type or function that will be passed the direct response

Returns

Activity, or the result of cls(response)

Return type

list_by_module

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

list_by_module(resource_group_name, automation_account_name, module_name, **kwargs)

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

module_name
str
Required

The name of module.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either ActivityListResult or the result of cls(response)

Return type

Attributes

models

models = <module 'azure.mgmt.automation.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\automation\\models\\__init__.py'>