Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ def __init__(self, client, config, serializer, deserializer):
self.config = config


def _update_http_settings_initial(
def _update_initial(
self, resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, **operation_config):
# Construct URL
url = self.update_http_settings.metadata['url']
url = self.update.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
Expand Down Expand Up @@ -80,9 +80,9 @@ def _update_http_settings_initial(
client_raw_response = ClientRawResponse(None, response)
return client_raw_response

def update_http_settings(
def update(
self, resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, **operation_config):
"""Configures the HTTP settings on the specified cluster.
"""Configures the configuration on the specified cluster.

:param resource_group_name: The name of the resource group.
:type resource_group_name: str
Expand All @@ -102,7 +102,7 @@ def update_http_settings(
:raises:
:class:`ErrorResponseException<azure.mgmt.hdinsight.models.ErrorResponseException>`
"""
raw_result = self._update_http_settings_initial(
raw_result = self._update_initial(
resource_group_name=resource_group_name,
cluster_name=cluster_name,
configuration_name=configuration_name,
Expand Down Expand Up @@ -143,7 +143,7 @@ def get_long_running_output(response):
return AzureOperationPoller(
long_running_send, get_long_running_output,
get_long_running_status, long_running_operation_timeout)
update_http_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'}
update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'}

def get(
self, resource_group_name, cluster_name, configuration_name, custom_headers=None, raw=False, **operation_config):
Expand Down