RestoreRequest Class
Description of a restore request.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.web.v2020_09_01.models._models_py3.ProxyOnlyResourceRestoreRequest
Constructor
RestoreRequest(*, kind: str | None = None, storage_account_url: str | None = None, blob_name: str | None = None, overwrite: bool | None = None, site_name: str | None = None, databases: List[_models.DatabaseBackupSetting] | None = None, ignore_conflicting_host_names: bool = False, ignore_databases: bool = False, app_service_plan: str | None = None, operation_type: str | _models.BackupRestoreOperationType = 'Default', adjust_connection_strings: bool | None = None, hosting_environment: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
kind
|
Kind of resource. |
storage_account_url
|
SAS URL to the container. |
blob_name
|
Name of a blob which contains the backup. |
overwrite
|
|
site_name
|
Name of an app. |
databases
|
Collection of databases which should be restored. This list has to match the list of databases included in the backup. |
ignore_conflicting_host_names
|
Changes a logic when restoring an app with custom
domains. |
ignore_databases
|
Ignore the databases and only restore the site content. |
app_service_plan
|
Specify app service plan that will own restored site. |
operation_type
|
Operation type. Known values are: "Default", "Clone", "Relocation", "Snapshot", and "CloudFS". Default value: Default
|
adjust_connection_strings
|
|
hosting_environment
|
App Service Environment name, if needed (only when restoring an app to an App Service Environment). |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
system_data
|
The system metadata relating to this resource. |
storage_account_url
|
SAS URL to the container. |
blob_name
|
Name of a blob which contains the backup. |
overwrite
|
|
site_name
|
Name of an app. |
databases
|
Collection of databases which should be restored. This list has to match the list of databases included in the backup. |
ignore_conflicting_host_names
|
Changes a logic when restoring an app with custom domains.
|
ignore_databases
|
Ignore the databases and only restore the site content. |
app_service_plan
|
Specify app service plan that will own restored site. |
operation_type
|
Operation type. Known values are: "Default", "Clone", "Relocation", "Snapshot", and "CloudFS". |
adjust_connection_strings
|
|
hosting_environment
|
App Service Environment name, if needed (only when restoring an app to an App Service Environment). |
Azure SDK for Python