CloningInfo Class

Information needed for cloning operation.

Constructor

CloningInfo()

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

appSettingsOverrides

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.

appSettingsOverrides: dict[str, str]

cloneCustomHostNames

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

cloneCustomHostNames: bool

cloneSourceControl

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

cloneSourceControl: bool

configureLoadBalancing

true to configure load balancing for source and destination app.

configureLoadBalancing: bool

correlationId

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

correlationId: str

hostingEnvironment

App Service Environment.

hostingEnvironment: str

overwrite

true to overwrite destination app; otherwise, false.

overwrite: bool

sourceWebAppId

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.

sourceWebAppId: str

sourceWebAppLocation

West US or North Europe.

sourceWebAppLocation: str

trafficManagerProfileId

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}.

trafficManagerProfileId: str

trafficManagerProfileName

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

trafficManagerProfileName: str