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: Optional[str] = None, storage_account_url: Optional[str] = None, blob_name: Optional[str] = None, overwrite: Optional[bool] = None, site_name: Optional[str] = None, databases: Optional[List[azure.mgmt.web.v2020_09_01.models._models_py3.DatabaseBackupSetting]] = None, ignore_conflicting_host_names: Optional[bool] = False, ignore_databases: Optional[bool] = False, app_service_plan: Optional[str] = None, operation_type: Optional[Union[str, azure.mgmt.web.v2020_09_01.models._web_site_management_client_enums.BackupRestoreOperationType]] = 'Default', adjust_connection_strings: Optional[bool] = None, hosting_environment: Optional[str] = None, **kwargs)
Parameters
- overwrite
- bool
<code>true</code> if the restore operation can overwrite target app;
otherwise, <code>false</code>. <code>true</code> is needed if trying to restore
over an existing app.
- databases
- list[DatabaseBackupSetting]
Collection of databases which should be restored. This list has to match the list of databases included in the backup.
- ignore_conflicting_host_names
- bool
Changes a logic when restoring an app with custom
domains. <code>true</code> to remove custom domains automatically. If
<code>false</code>, custom domains are added to
the app's object when it is being restored, but that might fail due to conflicts during the
operation.
- operation_type
- str or BackupRestoreOperationType
Operation type. Possible values include: "Default", "Clone", "Relocation", "Snapshot", "CloudFS". Default value: "Default".
- adjust_connection_strings
- bool
<code>true</code> if SiteConfig.ConnectionStrings
should be set in new app; otherwise, <code>false</code>.
- hosting_environment
- str
App Service Environment name, if needed (only when restoring an app to an App Service Environment).
Variables
- id
- str
Resource Id.
- name
- str
Resource Name.
- type
- str
Resource type.
- system_data
- SystemData
The system metadata relating to this resource.
Feedback
Submit and view feedback for