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

SnapshotRestoreRequest interface

有关应用恢复作的详细信息。

扩展

属性

ignoreConflictingHostNames

如果为 true,则恢复到目标 Web 应用时,将忽略自定义主机名冲突。 仅当启用 RecoverConfiguration 时,才需要此设置。

overwrite

如果 true 还原作可以覆盖源应用;否则,false

recoverConfiguration

如果为 true,则除了内容外,站点配置也会还原。

recoverySource

自选。 指定将从中检索快照内容的 Web 应用。 如果为空,目标 Web 应用将用作源。

snapshotTime

应用还原的完成时间点,格式为 DateTime 字符串。

useDRSecondary

如果为 true,则从 DRSecondary 终结点检索快照。

继承属性

id

资源 ID。注意:此属性不会序列化。 它只能由服务器填充。

kind

资源类型。

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

ignoreConflictingHostNames

如果为 true,则恢复到目标 Web 应用时,将忽略自定义主机名冲突。 仅当启用 RecoverConfiguration 时,才需要此设置。

ignoreConflictingHostNames?: boolean

属性值

boolean

overwrite

如果 true 还原作可以覆盖源应用;否则,false

overwrite?: boolean

属性值

boolean

recoverConfiguration

如果为 true,则除了内容外,站点配置也会还原。

recoverConfiguration?: boolean

属性值

boolean

recoverySource

自选。 指定将从中检索快照内容的 Web 应用。 如果为空,目标 Web 应用将用作源。

recoverySource?: SnapshotRecoverySource

属性值

snapshotTime

应用还原的完成时间点,格式为 DateTime 字符串。

snapshotTime?: string

属性值

string

useDRSecondary

如果为 true,则从 DRSecondary 终结点检索快照。

useDRSecondary?: boolean

属性值

boolean

继承属性详细信息

id

资源 ID。注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 ProxyOnlyResource.id

kind

资源类型。

kind?: string

属性值

string

继承自ProxyOnlyResource.kind

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 ProxyOnlyResource.name

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自ProxyOnlyResource.type