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.v2021_01_01.models._models_py3.ProxyOnlyResource
SnapshotRestoreRequest

Constructor

SnapshotRestoreRequest(*, kind: typing.Union[str, NoneType] = None, snapshot_time: typing.Union[str, NoneType] = None, recovery_source: typing.Union[_ForwardRef('SnapshotRecoverySource'), NoneType] = None, overwrite: typing.Union[bool, NoneType] = None, recover_configuration: typing.Union[bool, NoneType] = None, ignore_conflicting_host_names: typing.Union[bool, NoneType] = None, use_dr_secondary: typing.Union[bool, NoneType] = None, **kwargs)

Parameters

kind
str
Required

Kind of resource.

snapshot_time
str
Required

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

recovery_source
SnapshotRecoverySource
Required

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
bool
Required

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

recover_configuration
bool
Required

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

ignore_conflicting_host_names
bool
Required

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
bool
Required

If true, the snapshot is retrieved from DRSecondary endpoint.

Variables

id
str

Resource Id.

name
str

Resource Name.

type
str

Resource type.