Class DatabaseBackupSetting
java.lang.Object
com.microsoft.azure.management.appservice.DatabaseBackupSetting
Database backup settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet contains a connection string to a database which is being backed up or restored.Get contains a connection string name that is linked to the SiteConfig.ConnectionStrings.Get database type (e.g.name()
Get the name value.withConnectionString
(String connectionString) Set contains a connection string to a database which is being backed up or restored.withConnectionStringName
(String connectionStringName) Set contains a connection string name that is linked to the SiteConfig.ConnectionStrings.withDatabaseType
(DatabaseType databaseType) Set database type (e.g.Set the name value.
-
Constructor Details
-
DatabaseBackupSetting
public DatabaseBackupSetting()
-
-
Method Details
-
databaseType
Get database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'.- Returns:
- the databaseType value
-
withDatabaseType
Set database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'.- Parameters:
databaseType
- the databaseType value to set- Returns:
- the DatabaseBackupSetting object itself.
-
name
Get the name value.- Returns:
- the name value
-
withName
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the DatabaseBackupSetting object itself.
-
connectionStringName
Get contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.- Returns:
- the connectionStringName value
-
withConnectionStringName
Set contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.- Parameters:
connectionStringName
- the connectionStringName value to set- Returns:
- the DatabaseBackupSetting object itself.
-
connectionString
Get 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.- Returns:
- the connectionString value
-
withConnectionString
Set 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.- Parameters:
connectionString
- the connectionString value to set- Returns:
- the DatabaseBackupSetting object itself.
-