SnapshotRestoreRequest Class

Details about app recovery operation.

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

Inheritance
azure.mgmt.web.v2018_02_01.models._models_py3.ProxyOnlyResource
SnapshotRestoreRequest

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.

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.

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.