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

ISnapshotRestoreRequestProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SnapshotRestoreRequestPropertiesTypeConverter))]
public interface ISnapshotRestoreRequestProperties : Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SnapshotRestoreRequestPropertiesTypeConverter))>]
type ISnapshotRestoreRequestProperties = interface
    interface IJsonSerializable
Public Interface ISnapshotRestoreRequestProperties
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to