다음을 통해 공유


CloningInfo Constructors

Definition

Overloads

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.

CloningInfo()

Initializes a new instance of the CloningInfo class.

public CloningInfo ();
Public Sub New ()

Applies to

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.

public CloningInfo (string sourceWebAppId, Guid? correlationId = default, bool? overwrite = default, bool? cloneCustomHostNames = default, bool? cloneSourceControl = default, string sourceWebAppLocation = default, string hostingEnvironment = default, System.Collections.Generic.IDictionary<string,string> appSettingsOverrides = default, bool? configureLoadBalancing = default, string trafficManagerProfileId = default, string trafficManagerProfileName = default);
new Microsoft.Azure.Management.WebSites.Models.CloningInfo : string * Nullable<Guid> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * string * string -> Microsoft.Azure.Management.WebSites.Models.CloningInfo
Public Sub New (sourceWebAppId As String, Optional correlationId As Nullable(Of Guid) = Nothing, Optional overwrite As Nullable(Of Boolean) = Nothing, Optional cloneCustomHostNames As Nullable(Of Boolean) = Nothing, Optional cloneSourceControl As Nullable(Of Boolean) = Nothing, Optional sourceWebAppLocation As String = Nothing, Optional hostingEnvironment As String = Nothing, Optional appSettingsOverrides As IDictionary(Of String, String) = Nothing, Optional configureLoadBalancing As Nullable(Of Boolean) = Nothing, Optional trafficManagerProfileId As String = Nothing, Optional trafficManagerProfileName As String = Nothing)

Parameters

sourceWebAppId
String

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.

correlationId
Nullable<Guid>

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

overwrite
Nullable<Boolean>

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

cloneCustomHostNames
Nullable<Boolean>

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

cloneSourceControl
Nullable<Boolean>

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

sourceWebAppLocation
String

Location of source app ex: West US or North Europe

hostingEnvironment
String

App Service Environment.

appSettingsOverrides
IDictionary<String,String>

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.

configureLoadBalancing
Nullable<Boolean>

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

trafficManagerProfileId
String

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
String

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

Applies to