DatabaseBackupSetting Class
Database backup settings.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.web._serialization.ModelDatabaseBackupSetting
Constructor
DatabaseBackupSetting(*, database_type: str | _models.DatabaseType, name: str | None = None, connection_string_name: str | None = None, connection_string: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
database_type
|
str or
DatabaseType
Database type (e.g. SqlAzure / MySql). Required. Known values are: "SqlAzure", "MySql", "LocalMySql", and "PostgreSql". |
name
|
|
connection_string_name
|
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. |
connection_string
|
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. |
Variables
Name | Description |
---|---|
database_type
|
str or
DatabaseType
Database type (e.g. SqlAzure / MySql). Required. Known values are: "SqlAzure", "MySql", "LocalMySql", and "PostgreSql". |
name
|
|
connection_string_name
|
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. |
connection_string
|
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. |
Azure SDK for Python