CloningInfo Class

Information needed for cloning operation.

All required parameters must be populated in order to send to Azure.

/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and

/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. Required.

/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. :vartype traffic_manager_profile_id: str :ivar traffic_manager_profile_name: Name of Traffic Manager profile to create. This is only

needed if Traffic Manager profile does not already exist.

/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and

/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. Required.

/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. :paramtype traffic_manager_profile_id: str :keyword traffic_manager_profile_name: Name of Traffic Manager profile to create. This is only

needed if Traffic Manager profile does not already exist.

Inheritance
azure.mgmt.web._serialization.Model
CloningInfo

Constructor

CloningInfo(*, source_web_app_id: str, correlation_id: str | None = None, overwrite: bool | None = None, clone_custom_host_names: bool | None = None, clone_source_control: bool | None = None, source_web_app_location: str | None = None, hosting_environment: str | None = None, app_settings_overrides: Dict[str, str] | None = None, configure_load_balancing: bool | None = None, traffic_manager_profile_id: str | None = None, traffic_manager_profile_name: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
correlation_id
str

Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.

overwrite

<code>true</code> to overwrite destination app; otherwise, <code>false</code>.

clone_custom_host_names

<code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>.

clone_source_control

<code>true</code> to clone source control from source app; otherwise, <code>false</code>.

source_web_app_id

ARM resource ID of the source app. App resource ID is of the form

source_web_app_location
str

Location of source app ex: West US or North Europe.

hosting_environment
str

App Service Environment.

app_settings_overrides

Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.

configure_load_balancing

<code>true</code> to configure load balancing for source and destination app.

traffic_manager_profile_id

ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form

traffic_manager_profile_name
Required

Variables

Name Description
correlation_id
str

Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.

overwrite

<code>true</code> to overwrite destination app; otherwise, <code>false</code>.

clone_custom_host_names

<code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>.

clone_source_control

<code>true</code> to clone source control from source app; otherwise, <code>false</code>.

source_web_app_id

ARM resource ID of the source app. App resource ID is of the form

source_web_app_location
str

Location of source app ex: West US or North Europe.

hosting_environment
str

App Service Environment.

app_settings_overrides

Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.

configure_load_balancing

<code>true</code> to configure load balancing for source and destination app.

traffic_manager_profile_id

ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form