From 9893cc255e250c1c1856f12abac52d7cfd976f7d Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 1 Aug 2018 21:07:28 +0000 Subject: [PATCH] Generated from 9265e7f0c37c7aac546f1b8b3a867371ceb48716 Fixed cluster application PUT parameter --- .../mgmt/hdinsight/operations/applications_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/applications_operations.py b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/applications_operations.py index 53217c1c641a..defb8a2a9c26 100644 --- a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/applications_operations.py +++ b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/applications_operations.py @@ -200,7 +200,7 @@ def _create_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(parameters, 'ApplicationProperties') + body_content = self._serialize.body(parameters, 'Application') # Construct and send request request = self._client.put(url, query_parameters) @@ -232,7 +232,7 @@ def create( :param application_name: The constant value for the application name. :type application_name: str :param parameters: The application create request. - :type parameters: ~azure.mgmt.hdinsight.models.ApplicationProperties + :type parameters: ~azure.mgmt.hdinsight.models.Application :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response