ManagementAssociationsOperations Class
ManagementAssociationsOperations 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.objectManagementAssociationsOperations
Constructor
ManagementAssociationsOperations(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/Update ManagementAssociation. Creates or updates the ManagementAssociation. |
| delete |
Deletes the ManagementAssociation. Deletes the ManagementAssociation in the subscription. |
| get |
Retrieve ManagementAssociation. Retrieves the user ManagementAssociation. |
| list_by_subscription |
Retrieves the ManagementAssociations list for the subscription. Retrieves the ManagementAssociations list. |
create_or_update
Create/Update ManagementAssociation.
Creates or updates the ManagementAssociation.
create_or_update(resource_group_name: str, management_association_name: str, parameters: _models.ManagementAssociation, **kwargs: Any) -> _models.ManagementAssociation
Parameters
- resource_group_name
- str
The name of the resource group to get. The name is case insensitive.
- parameters
- ManagementAssociation
The parameters required to create ManagementAssociation extension.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagementAssociation, or the result of cls(response)
Return type
Exceptions
delete
Deletes the ManagementAssociation.
Deletes the ManagementAssociation in the subscription.
delete(resource_group_name: str, management_association_name: str, **kwargs: Any) -> None
Parameters
- resource_group_name
- str
The name of the resource group to get. The name is case insensitive.
- 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
Retrieve ManagementAssociation.
Retrieves the user ManagementAssociation.
get(resource_group_name: str, management_association_name: str, **kwargs: Any) -> _models.ManagementAssociation
Parameters
- resource_group_name
- str
The name of the resource group to get. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagementAssociation, or the result of cls(response)
Return type
Exceptions
list_by_subscription
Retrieves the ManagementAssociations list for the subscription.
Retrieves the ManagementAssociations list.
list_by_subscription(**kwargs: Any) -> _models.ManagementAssociationPropertiesList
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagementAssociationPropertiesList, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.operationsmanagement.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\operationsmanagement\\models\\__init__.py'>
Feedback
Submit and view feedback for