AutomationAccountOperations Class
AutomationAccountOperations async 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.objectAutomationAccountOperations
Constructor
AutomationAccountOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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.
async create_or_update(resource_group_name: str, automation_account_name: str, parameters: azure.mgmt.automation.models._models_py3.AutomationAccountCreateOrUpdateParameters, **kwargs) -> azure.mgmt.automation.models._models_py3.AutomationAccount
Parameters
- parameters
- AutomationAccountCreateOrUpdateParameters
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.
async delete(resource_group_name: str, automation_account_name: str, **kwargs) -> None
Parameters
- 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.
async get(resource_group_name: str, automation_account_name: str, **kwargs) -> azure.mgmt.automation.models._models_py3.AutomationAccount
Parameters
- 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) -> AsyncIterable[azure.mgmt.automation.models._models_py3.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) -> AsyncIterable[azure.mgmt.automation.models._models_py3.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
update
Update an automation account.
async update(resource_group_name: str, automation_account_name: str, parameters: azure.mgmt.automation.models._models_py3.AutomationAccountUpdateParameters, **kwargs) -> azure.mgmt.automation.models._models_py3.AutomationAccount
Parameters
- parameters
- AutomationAccountUpdateParameters
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'>
Feedback
Submit and view feedback for