ConfigurationsOperations class

Definition

ConfigurationsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

ConfigurationsOperations(client, config, serializer, deserializer)
Inheritance
builtins.object
ConfigurationsOperations

Parameters

client

Client for service requests.

config

Configuration of service client.

serializer

An object model serializer.

deserializer

An object model deserializer.

Variables

api_version
class
The HDInsight client API Version. Constant value: "2018-06-01-preview".

Methods

get(resource_group_name, cluster_name, configuration_name, custom_headers=None, raw=False, **operation_config)

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(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)

Gets all configuration information for an HDI cluster.

update(resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)

Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.

get(resource_group_name, cluster_name, configuration_name, custom_headers=None, raw=False, **operation_config)

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, cluster_name, configuration_name, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str

The name of the resource group.

cluster_name
str

The name of the cluster.

configuration_name
str

The name of the cluster configuration.

custom_headers
dict

headers that will be added to the request

default value: None
raw
bool

returns the direct response alongside the deserialized response

default value: False
operation_config

Operation configuration overrides.

Returns

dict or ClientRawResponse if raw=true

Return type

Exceptions

list(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)

Gets all configuration information for an HDI cluster.

list(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str

The name of the resource group.

cluster_name
str

The name of the cluster.

custom_headers
dict

headers that will be added to the request

default value: None
raw
bool

returns the direct response alongside the deserialized response

default value: False
operation_config

Operation configuration overrides.

Returns

ClusterConfigurations or ClientRawResponse if raw=true

Return type

Exceptions

update(resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)

Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.

update(resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)

Parameters

resource_group_name
str

The name of the resource group.

cluster_name
str

The name of the cluster.

configuration_name
str

The name of the cluster configuration.

parameters
dict[str or str]

The cluster configurations.

custom_headers
dict

headers that will be added to the request

default value: None
raw
bool

The poller return type is ClientRawResponse, the direct response alongside the deserialized response

default value: False
polling

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

default value: True

Returns

An instance of LROPoller that returns None or ClientRawResponse if raw==True

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.hdinsight.models' from 'c:\\hostedtoolcache\\windows\\python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>