AutomationAccountOperations Class

AutomationAccountOperations 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
AutomationAccountOperations

Constructor

AutomationAccountOperations(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

create_or_update

Create or update automation account.

delete

Delete an automation account.

get

Get information about an Automation Account.

list

Lists the Automation Accounts within an Azure subscription.

Retrieve a list of accounts within a given subscription.

list_by_resource_group

Retrieve a list of accounts within a given resource group.

update

Update an automation account.

create_or_update

Create or update automation account.

create_or_update(resource_group_name: str, automation_account_name: str, parameters: _models.AutomationAccountCreateOrUpdateParameters, **kwargs: Any) -> _models.AutomationAccount

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

parameters
AutomationAccountCreateOrUpdateParameters
Required

Parameters supplied to the create or update automation account.

cls
callable

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

Returns

AutomationAccount, or the result of cls(response)

Return type

Exceptions

delete

Delete an automation account.

delete(resource_group_name: str, automation_account_name: str, **kwargs: Any) -> None

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

cls
callable

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

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Get information about an Automation Account.

get(resource_group_name: str, automation_account_name: str, **kwargs: Any) -> _models.AutomationAccount

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

cls
callable

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

Returns

AutomationAccount, or the result of cls(response)

Return type

Exceptions

list

Lists the Automation Accounts within an Azure subscription.

Retrieve a list of accounts within a given subscription.

list(**kwargs: Any) -> Iterable[_models.AutomationAccountListResult]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

list_by_resource_group

Retrieve a list of accounts within a given resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[_models.AutomationAccountListResult]

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

cls
callable

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

Returns

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

Return type

Exceptions

update

Update an automation account.

update(resource_group_name: str, automation_account_name: str, parameters: _models.AutomationAccountUpdateParameters, **kwargs: Any) -> _models.AutomationAccount

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

parameters
AutomationAccountUpdateParameters
Required

Parameters supplied to the update automation account.

cls
callable

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

Returns

AutomationAccount, or the result of cls(response)

Return type

Exceptions

Attributes

models

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