ConfigurationsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:configurations> attribute.
Constructor
ConfigurationsOperations(*args, **kwargs)
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.
begin_update(resource_group_name: str, cluster_name: str, configuration_name: str, parameters: dict[str, str], *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
cluster_name
Required
|
The name of the cluster. Required. |
|
configuration_name
Required
|
The name of the cluster configuration. Required. |
|
parameters
Required
|
The cluster configurations. Is either a {str: str} type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
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.
get(resource_group_name: str, cluster_name: str, configuration_name: str, **kwargs: Any) -> dict[str, str]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
cluster_name
Required
|
The name of the cluster. Required. |
|
configuration_name
Required
|
The name of the cluster configuration. Required. |
Returns
| Type | Description |
|---|---|
|
dict mapping str to str or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
Gets all configuration information for an HDI cluster.
list(resource_group_name: str, cluster_name: str, **kwargs: Any) -> ClusterConfigurations
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
cluster_name
Required
|
The name of the cluster. Required. |
Returns
| Type | Description |
|---|---|
|
ClusterConfigurations or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.hdinsight.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv145\\Lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>