ConfigurationsOperations Class
ConfigurationsOperations 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.objectConfigurationsOperations
Constructor
ConfigurationsOperations(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_update |
Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead. |
| get |
The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead. |
| list |
Gets all configuration information for an HDI cluster. |
begin_update
Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
async begin_update(resource_group_name: str, cluster_name: str, configuration_name: str, parameters: Dict[str, str], **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or AsyncPollingMethod
By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
get
The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
async get(resource_group_name: str, cluster_name: str, configuration_name: str, **kwargs: Any) -> Dict[str, str]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
dict mapping str to str, or the result of cls(response)
Return type
Exceptions
list
Gets all configuration information for an HDI cluster.
async list(resource_group_name: str, cluster_name: str, **kwargs: Any) -> azure.mgmt.hdinsight.models._models_py3.ClusterConfigurations
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ClusterConfigurations, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.hdinsight.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>
Feedback
Submit and view feedback for