CloningInfo Class

Information needed for cloning operation.

Constructor

CloningInfo(*args: Any, **kwargs: Any)

Variables

Name Description
correlation_id
str

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

overwrite

true to overwrite destination app; otherwise, false.

clone_custom_host_names

true to clone custom hostnames from source app; otherwise, false.

clone_source_control

true to clone source control from source app; otherwise, false.

source_web_app_id
str

ARM resource ID of the source app. App resource ID is of the form /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.

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

true to configure load balancing for source and destination app.

traffic_manager_profile_id
str

ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.

traffic_manager_profile_name
str

Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.

Attributes

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.

app_settings_overrides: dict[str, str] | None

clone_custom_host_names

true to clone custom hostnames from source app; otherwise, false.

clone_custom_host_names: bool | None

clone_source_control

true to clone source control from source app; otherwise, false.

clone_source_control: bool | None

configure_load_balancing

true to configure load balancing for source and destination app.

configure_load_balancing: bool | None

correlation_id

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

correlation_id: str | None

hosting_environment

App Service Environment.

hosting_environment: str | None

overwrite

true to overwrite destination app; otherwise, false.

overwrite: bool | None

source_web_app_id

ARM resource ID of the source app. App resource ID is of the form /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.

source_web_app_id: str

source_web_app_location

West US or North Europe.

source_web_app_location: str | None

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 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.

traffic_manager_profile_id: str | None

traffic_manager_profile_name

Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.

traffic_manager_profile_name: str | None