ConfigurationProfileAssignmentsOperations Class
ConfigurationProfileAssignmentsOperations 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.objectConfigurationProfileAssignmentsOperations
Constructor
ConfigurationProfileAssignmentsOperations(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
| begin_create_or_update |
Creates an association between a VM and Automanage configuration profile. param configuration_profile_assignment_name: Name of the configuration profile assignment. Only default is supported. type configuration_profile_assignment_name: str param resource_group_name: The name of the resource group. The name is case insensitive. type resource_group_name: str param vm_name: The name of the virtual machine. type vm_name: str param parameters: Parameters supplied to the create or update configuration profile assignment. type parameters: ~automanage_client.models.ConfigurationProfileAssignment keyword callable cls: A custom type or function that will be passed the direct response keyword str continuation_token: A continuation token to restart a poller from a saved state. keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. return: An instance of AsyncLROPoller that returns either ConfigurationProfileAssignment or the result of cls(response) rtype: ~azure.core.polling.AsyncLROPoller[~automanage_client.models.ConfigurationProfileAssignment] raises ~azure.core.exceptions.HttpResponseError: |
| delete |
Delete a configuration profile assignment. |
| get |
Get information about a configuration profile assignment. |
| list |
Get list of configuration profile assignments. |
| list_by_subscription |
Get list of configuration profile assignments under a given subscription. |
begin_create_or_update
Creates an association between a VM and Automanage configuration profile.
param configuration_profile_assignment_name: Name of the configuration profile assignment.
Only default is supported. type configuration_profile_assignment_name: str
param resource_group_name: The name of the resource group. The name is case insensitive.
type resource_group_name: str
param vm_name: The name of the virtual machine.
type vm_name: str
param parameters: Parameters supplied to the create or update configuration profile
assignment. type parameters: ~automanage_client.models.ConfigurationProfileAssignment
keyword callable cls: A custom type or function that will be passed the direct response
keyword str continuation_token: A continuation token to restart a poller from a saved state.
keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy
paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
return: An instance of AsyncLROPoller that returns either ConfigurationProfileAssignment or the result of cls(response)
rtype: ~azure.core.polling.AsyncLROPoller[~automanage_client.models.ConfigurationProfileAssignment]
raises ~azure.core.exceptions.HttpResponseError:
async begin_create_or_update(configuration_profile_assignment_name: str, resource_group_name: str, vm_name: str, parameters: azure.mgmt.automanage.models._models_py3.ConfigurationProfileAssignment, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.automanage.models._models_py3.ConfigurationProfileAssignment]
Parameters
- configuration_profile_assignment_name
- resource_group_name
- vm_name
- parameters
delete
Delete a configuration profile assignment.
async delete(resource_group_name: str, configuration_profile_assignment_name: str, vm_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 a configuration profile assignment.
async get(resource_group_name: str, configuration_profile_assignment_name: str, vm_name: str, **kwargs) -> azure.mgmt.automanage.models._models_py3.ConfigurationProfileAssignment
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ConfigurationProfileAssignment, or the result of cls(response)
Return type
Exceptions
list
Get list of configuration profile assignments.
list(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.automanage.models._models_py3.ConfigurationProfileAssignmentList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ConfigurationProfileAssignmentList or the result of cls(response)
Return type
Exceptions
list_by_subscription
Get list of configuration profile assignments under a given subscription.
list_by_subscription(**kwargs) -> AsyncIterable[azure.mgmt.automanage.models._models_py3.ConfigurationProfileAssignmentList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ConfigurationProfileAssignmentList 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