CloningInfo interface

Information needed for cloning operation.

Properties

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.

cloneCustomHostNames

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

cloneSourceControl

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

configureLoadBalancing

true to configure load balancing for source and destination app.

correlationId

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

hostingEnvironment

App Service Environment.

overwrite

true to overwrite destination app; otherwise, false.

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.

sourceWebAppLocation

Location of source app ex: West US or North Europe

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

trafficManagerProfileName

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

Property Details

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?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

cloneCustomHostNames

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

cloneCustomHostNames?: boolean

Property Value

boolean

cloneSourceControl

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

cloneSourceControl?: boolean

Property Value

boolean

configureLoadBalancing

true to configure load balancing for source and destination app.

configureLoadBalancing?: boolean

Property Value

boolean

correlationId

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

correlationId?: string

Property Value

string

hostingEnvironment

App Service Environment.

hostingEnvironment?: string

Property Value

string

overwrite

true to overwrite destination app; otherwise, false.

overwrite?: boolean

Property Value

boolean

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.

sourceWebAppId: string

Property Value

string

sourceWebAppLocation

Location of source app ex: West US or North Europe

sourceWebAppLocation?: string

Property Value

string

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?: string

Property Value

string

trafficManagerProfileName

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

trafficManagerProfileName?: string

Property Value

string