你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloningInfo Class

Definition

Information needed for cloning operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.CloningInfoTypeConverter))]
public class CloningInfo : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ICloningInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.CloningInfoTypeConverter))>]
type CloningInfo = class
    interface ICloningInfo
    interface IJsonSerializable
Public Class CloningInfo
Implements ICloningInfo
Inheritance
CloningInfo
Attributes
Implements

Constructors

CloningInfo()

Creates an new CloningInfo instance.

Properties

AppSettingsOverride

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.

CloneCustomHostName

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloningInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloningInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ICloningInfo.

FromJsonString(String)

Creates a new instance of CloningInfo, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloningInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to