Partager via


SnapshotRestoreRequestProperties Class

Definition

SnapshotRestoreRequest resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SnapshotRestoreRequestPropertiesTypeConverter))]
public class SnapshotRestoreRequestProperties : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISnapshotRestoreRequestProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SnapshotRestoreRequestPropertiesTypeConverter))>]
type SnapshotRestoreRequestProperties = class
    interface ISnapshotRestoreRequestProperties
    interface IJsonSerializable
Public Class SnapshotRestoreRequestProperties
Implements ISnapshotRestoreRequestProperties
Inheritance
SnapshotRestoreRequestProperties
Attributes
Implements

Constructors

SnapshotRestoreRequestProperties()

Creates an new SnapshotRestoreRequestProperties instance.

Properties

IgnoreConflictingHostName

If true, custom hostname conflicts will be ignored when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.

Overwrite

If true the restore operation can overwrite source app; otherwise, false.

RecoverConfiguration

If true, site configuration, in addition to content, will be reverted.

RecoverySourceId

ARM resource ID of the source app. /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.

RecoverySourceLocation

Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS

SnapshotTime

Point in time in which the app restore should be done, formatted as a DateTime string.

UseDrSecondary

If true, the snapshot is retrieved from DRSecondary endpoint.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SnapshotRestoreRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SnapshotRestoreRequestProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISnapshotRestoreRequestProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SnapshotRestoreRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to