From 88a3413a147cc55abfb1b28b57dcabd9e9fbed6f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 11 May 2019 12:06:42 +0000 Subject: [PATCH] Generated from ca964030410907fee5bc6c2e08d6e5dd934e49a3 Add Source Web App Location --- azure-mgmt-web/azure/mgmt/web/models/cloning_info.py | 5 +++++ azure-mgmt-web/azure/mgmt/web/models/cloning_info_py3.py | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/azure-mgmt-web/azure/mgmt/web/models/cloning_info.py b/azure-mgmt-web/azure/mgmt/web/models/cloning_info.py index 8402c4680845..cb17ed2ddd6c 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/cloning_info.py +++ b/azure-mgmt-web/azure/mgmt/web/models/cloning_info.py @@ -37,6 +37,9 @@ class CloningInfo(Model): /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. :type source_web_app_id: str + :param source_web_app_location: Location of source app ex: West US or + North Europe + :type source_web_app_location: str :param hosting_environment: App Service Environment. :type hosting_environment: str :param app_settings_overrides: Application setting overrides for cloned @@ -67,6 +70,7 @@ class CloningInfo(Model): 'clone_custom_host_names': {'key': 'cloneCustomHostNames', 'type': 'bool'}, 'clone_source_control': {'key': 'cloneSourceControl', 'type': 'bool'}, 'source_web_app_id': {'key': 'sourceWebAppId', 'type': 'str'}, + 'source_web_app_location': {'key': 'sourceWebAppLocation', 'type': 'str'}, 'hosting_environment': {'key': 'hostingEnvironment', 'type': 'str'}, 'app_settings_overrides': {'key': 'appSettingsOverrides', 'type': '{str}'}, 'configure_load_balancing': {'key': 'configureLoadBalancing', 'type': 'bool'}, @@ -81,6 +85,7 @@ def __init__(self, **kwargs): self.clone_custom_host_names = kwargs.get('clone_custom_host_names', None) self.clone_source_control = kwargs.get('clone_source_control', None) self.source_web_app_id = kwargs.get('source_web_app_id', None) + self.source_web_app_location = kwargs.get('source_web_app_location', None) self.hosting_environment = kwargs.get('hosting_environment', None) self.app_settings_overrides = kwargs.get('app_settings_overrides', None) self.configure_load_balancing = kwargs.get('configure_load_balancing', None) diff --git a/azure-mgmt-web/azure/mgmt/web/models/cloning_info_py3.py b/azure-mgmt-web/azure/mgmt/web/models/cloning_info_py3.py index 1fbc28e74499..7afe81fe9d66 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/cloning_info_py3.py +++ b/azure-mgmt-web/azure/mgmt/web/models/cloning_info_py3.py @@ -37,6 +37,9 @@ class CloningInfo(Model): /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. :type source_web_app_id: str + :param source_web_app_location: Location of source app ex: West US or + North Europe + :type source_web_app_location: str :param hosting_environment: App Service Environment. :type hosting_environment: str :param app_settings_overrides: Application setting overrides for cloned @@ -67,6 +70,7 @@ class CloningInfo(Model): 'clone_custom_host_names': {'key': 'cloneCustomHostNames', 'type': 'bool'}, 'clone_source_control': {'key': 'cloneSourceControl', 'type': 'bool'}, 'source_web_app_id': {'key': 'sourceWebAppId', 'type': 'str'}, + 'source_web_app_location': {'key': 'sourceWebAppLocation', 'type': 'str'}, 'hosting_environment': {'key': 'hostingEnvironment', 'type': 'str'}, 'app_settings_overrides': {'key': 'appSettingsOverrides', 'type': '{str}'}, 'configure_load_balancing': {'key': 'configureLoadBalancing', 'type': 'bool'}, @@ -74,13 +78,14 @@ class CloningInfo(Model): 'traffic_manager_profile_name': {'key': 'trafficManagerProfileName', 'type': 'str'}, } - def __init__(self, *, source_web_app_id: str, correlation_id: str=None, overwrite: bool=None, clone_custom_host_names: bool=None, clone_source_control: bool=None, hosting_environment: str=None, app_settings_overrides=None, configure_load_balancing: bool=None, traffic_manager_profile_id: str=None, traffic_manager_profile_name: str=None, **kwargs) -> None: + def __init__(self, *, source_web_app_id: str, correlation_id: str=None, overwrite: bool=None, clone_custom_host_names: bool=None, clone_source_control: bool=None, source_web_app_location: str=None, hosting_environment: str=None, app_settings_overrides=None, configure_load_balancing: bool=None, traffic_manager_profile_id: str=None, traffic_manager_profile_name: str=None, **kwargs) -> None: super(CloningInfo, self).__init__(**kwargs) self.correlation_id = correlation_id self.overwrite = overwrite self.clone_custom_host_names = clone_custom_host_names self.clone_source_control = clone_source_control self.source_web_app_id = source_web_app_id + self.source_web_app_location = source_web_app_location self.hosting_environment = hosting_environment self.app_settings_overrides = app_settings_overrides self.configure_load_balancing = configure_load_balancing