DatabaseBackupSetting Class
Database backup settings.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
DatabaseBackupSetting
Constructor
DatabaseBackupSetting(*, database_type: Union[str, azure.mgmt.web.v2018_02_01.models._web_site_management_client_enums.DatabaseType], name: Optional[str] = None, connection_string_name: Optional[str] = None, connection_string: Optional[str] = None, **kwargs)
Parameters
- database_type
- str or DatabaseType
Required
Required. Database type (e.g. SqlAzure / MySql). Possible values include: "SqlAzure", "MySql", "LocalMySql", "PostgreSql".
- name
- str
Required
- connection_string_name
- str
Required
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
- connection_string
- str
Required
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
Feedback
Submit and view feedback for