AccountsOperations Class
AccountsOperations 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.objectAccountsOperations
Constructor
AccountsOperations(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 |
Creates an Automanage Account. |
| delete |
Delete a Automanage account. |
| get |
Get information about a Automanage account. |
| list_by_resource_group |
Retrieve a list of Automanage accounts within a given resource group. |
| list_by_subscription |
Retrieve a list of Automanage accounts within a subscription. |
| update |
Updates an Automanage Account. |
create_or_update
Creates an Automanage Account.
create_or_update(account_name: str, resource_group_name: str, parameters: models.Account, **kwargs: Any) -> models.Account
Parameters
- parameters
- <xref:automanage_client.models.Account>
Parameters supplied to create or update Automanage account.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Account, or the result of cls(response)
Return type
Exceptions
delete
Delete a Automanage account.
delete(resource_group_name: str, account_name: str, **kwargs: Any) -> 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 a Automanage account.
get(account_name: str, resource_group_name: str, **kwargs: Any) -> models.Account
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Account, or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Retrieve a list of Automanage accounts within a given resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[models.AccountList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either AccountList or the result of cls(response)
Return type
Exceptions
list_by_subscription
Retrieve a list of Automanage accounts within a subscription.
list_by_subscription(**kwargs: Any) -> Iterable[models.AccountList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either AccountList or the result of cls(response)
Return type
Exceptions
update
Updates an Automanage Account.
update(account_name: str, resource_group_name: str, parameters: models.AccountUpdate, **kwargs: Any) -> models.Account
Parameters
- parameters
- <xref:automanage_client.models.AccountUpdate>
Parameters supplied to update Automanage account.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Account, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.automanage.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\automanage\\models\\__init__.py'>
Feedback
Submit and view feedback for