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.object
ConfigurationProfileAssignmentsOperations

Constructor

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

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
Required
resource_group_name
Required
vm_name
Required
parameters
Required

delete

Delete a configuration profile assignment.

async delete(resource_group_name: str, configuration_profile_assignment_name: str, vm_name: str, **kwargs) -> None

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

configuration_profile_assignment_name
str
Required

Name of the configuration profile assignment.

vm_name
str
Required

The name of the virtual machine.

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

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

configuration_profile_assignment_name
str
Required

The configuration profile assignment name.

vm_name
str
Required

The name of the virtual machine.

cls
callable

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

Returns

ConfigurationProfileAssignment, or the result of cls(response)

Return type

<xref:automanage_client.models.ConfigurationProfileAssignment>

Exceptions

list

Get list of configuration profile assignments.

list(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.automanage.models._models_py3.ConfigurationProfileAssignmentList]

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

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

AsyncItemPaged[<xref:automanage_client.models.ConfigurationProfileAssignmentList>]

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

AsyncItemPaged[<xref:automanage_client.models.ConfigurationProfileAssignmentList>]

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