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.v2020_06_01.models._models_py3.ProxyOnlyResourceSnapshotRestoreRequest
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
|
Kind of resource. |
snapshot_time
|
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 |
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
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
snapshot_time
|
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 |
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. |
Azure SDK for Python