ConfigurationProfilePreferencesOperations Class
ConfigurationProfilePreferencesOperations 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.objectConfigurationProfilePreferencesOperations
Constructor
ConfigurationProfilePreferencesOperations(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 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.
async create_or_update(configuration_profile_preference_name: str, resource_group_name: str, parameters: azure.mgmt.automanage.models._models_py3.ConfigurationProfilePreference, **kwargs) -> azure.mgmt.automanage.models._models_py3.ConfigurationProfilePreference
Parameters
- parameters
- <xref:automanage_client.models.ConfigurationProfilePreference>
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
Exceptions
delete
Delete a configuration profile preference.
async delete(resource_group_name: str, configuration_profile_preference_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 preference.
async get(configuration_profile_preference_name: str, resource_group_name: str, **kwargs) -> azure.mgmt.automanage.models._models_py3.ConfigurationProfilePreference
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ConfigurationProfilePreference, or the result of cls(response)
Return type
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) -> AsyncIterable[azure.mgmt.automanage.models._models_py3.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
Exceptions
list_by_subscription
Retrieve a list of configuration profile preferences within a subscription.
list_by_subscription(**kwargs) -> AsyncIterable[azure.mgmt.automanage.models._models_py3.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
Exceptions
update
Updates a configuration profile preference.
async update(configuration_profile_preference_name: str, resource_group_name: str, parameters: azure.mgmt.automanage.models._models_py3.ConfigurationProfilePreferenceUpdate, **kwargs) -> azure.mgmt.automanage.models._models_py3.ConfigurationProfilePreference
Parameters
- parameters
- <xref:automanage_client.models.ConfigurationProfilePreferenceUpdate>
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
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