Share via


CloningInfo Class

Definition

Information needed for cloning operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.CloningInfoTypeConverter))]
public class CloningInfo : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ICloningInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.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.Functions.Models.Api20231201.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.

Applies to