Skip to content

Commit

Permalink
Generated from ca964030410907fee5bc6c2e08d6e5dd934e49a3 (#5190)
Browse files Browse the repository at this point in the history
Add Source Web App Location
  • Loading branch information
AutorestCI authored May 13, 2019
1 parent 9eae4d3 commit 5fce2db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/cloning_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'},
Expand All @@ -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)
Expand Down
7 changes: 6 additions & 1 deletion azure-mgmt-web/azure/mgmt/web/models/cloning_info_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -67,20 +70,22 @@ 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'},
'traffic_manager_profile_id': {'key': 'trafficManagerProfileId', 'type': 'str'},
'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
Expand Down

0 comments on commit 5fce2db

Please sign in to comment.