ConfigurationProfilePreferencesOperations Class

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

Constructor

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

create_or_update

Creates a configuration profile preference.

delete

Delete a configuration profile preference.

get

Get information about a configuration profile preference.

list_by_resource_group

Retrieve a list of configuration profile preferences within a given resource group.

list_by_subscription

Retrieve a list of configuration profile preferences within a subscription.

update

Updates a configuration profile preference.

create_or_update

Creates a configuration profile preference.

create_or_update(configuration_profile_preference_name: str, resource_group_name: str, parameters: models.ConfigurationProfilePreference, **kwargs: Any) -> models.ConfigurationProfilePreference

Parameters

configuration_profile_preference_name
str
Required

Name of the configuration profile preference.

resource_group_name
str
Required

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

parameters
<xref:automanage_client.models.ConfigurationProfilePreference>
Required

Parameters supplied to create or update configuration profile preference.

cls
callable

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

Returns

ConfigurationProfilePreference, or the result of cls(response)

Return type

<xref:automanage_client.models.ConfigurationProfilePreference>

Exceptions

delete

Delete a configuration profile preference.

delete(resource_group_name: str, configuration_profile_preference_name: str, **kwargs: Any) -> None

Parameters

resource_group_name
str
Required

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

configuration_profile_preference_name
str
Required

Name of the configuration profile preference.

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 preference.

get(configuration_profile_preference_name: str, resource_group_name: str, **kwargs: Any) -> models.ConfigurationProfilePreference

Parameters

configuration_profile_preference_name
str
Required

The configuration profile preference name.

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

ConfigurationProfilePreference, or the result of cls(response)

Return type

<xref:automanage_client.models.ConfigurationProfilePreference>

Exceptions

list_by_resource_group

Retrieve a list of configuration profile preferences within a given resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[models.ConfigurationProfilePreferenceList]

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 ConfigurationProfilePreferenceList or the result of cls(response)

Return type

ItemPaged[<xref:automanage_client.models.ConfigurationProfilePreferenceList>]

Exceptions

list_by_subscription

Retrieve a list of configuration profile preferences within a subscription.

list_by_subscription(**kwargs: Any) -> Iterable[models.ConfigurationProfilePreferenceList]

Parameters

cls
callable

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

Returns

An iterator like instance of either ConfigurationProfilePreferenceList or the result of cls(response)

Return type

ItemPaged[<xref:automanage_client.models.ConfigurationProfilePreferenceList>]

Exceptions

update

Updates a configuration profile preference.

update(configuration_profile_preference_name: str, resource_group_name: str, parameters: models.ConfigurationProfilePreferenceUpdate, **kwargs: Any) -> models.ConfigurationProfilePreference

Parameters

configuration_profile_preference_name
str
Required

Name of the configuration profile preference.

resource_group_name
str
Required

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

parameters
<xref:automanage_client.models.ConfigurationProfilePreferenceUpdate>
Required

Parameters supplied to create or update configuration profile preference.

cls
callable

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

Returns

ConfigurationProfilePreference, or the result of cls(response)

Return type

<xref:automanage_client.models.ConfigurationProfilePreference>

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