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

SnapshotRestoreRequest Class

Details about app recovery operation.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

SnapshotRestoreRequest(*, kind: str | None = None, snapshot_time: str | None = None, recovery_source: _models.SnapshotRecoverySource | None = None, overwrite: bool | None = None, recover_configuration: bool | None = None, ignore_conflicting_host_names: bool | None = None, use_dr_secondary: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

Default value: None
snapshot_time
str

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

Default value: None
recovery_source

Optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source.

Default value: None
overwrite

If <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.

Default value: None
recover_configuration

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

Default value: None
ignore_conflicting_host_names

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

Default value: None
use_dr_secondary

If true, the snapshot is retrieved from DRSecondary endpoint.

Default value: None

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

type
str

Resource type.

snapshot_time
str

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

recovery_source

Optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source.

overwrite

If <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.

recover_configuration

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

ignore_conflicting_host_names

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

use_dr_secondary

If true, the snapshot is retrieved from DRSecondary endpoint.