CloningInfo Class

Definition

Information needed for cloning operation.

public class CloningInfo
type CloningInfo = class
Public Class CloningInfo
Inheritance
CloningInfo

Constructors

CloningInfo()

Initializes a new instance of the CloningInfo class.

CloningInfo(String, Nullable<Guid>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, IDictionary<String,String>, Nullable<Boolean>, String, String)

Initializes a new instance of the CloningInfo class.

Properties

AppSettingsOverrides

Gets or sets 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

Gets or sets &lt;code&gt;true&lt;/code&gt; to clone custom hostnames from source app; otherwise, &lt;code&gt;false&lt;/code&gt;.

CloneSourceControl

Gets or sets &lt;code&gt;true&lt;/code&gt; to clone source control from source app; otherwise, &lt;code&gt;false&lt;/code&gt;.

ConfigureLoadBalancing

Gets or sets &lt;code&gt;true&lt;/code&gt; to configure load balancing for source and destination app.

CorrelationId

Gets or sets correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.

HostingEnvironment

Gets or sets app Service Environment.

Overwrite

Gets or sets &lt;code&gt;true&lt;/code&gt; to overwrite destination app; otherwise, &lt;code&gt;false&lt;/code&gt;.

SourceWebAppId

Gets or sets 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

Gets or sets location of source app ex: West US or North Europe

TrafficManagerProfileId

Gets or sets 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

Gets or sets name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.

Methods

Validate()

Validate the object.

Applies to