Class StorageProfile
java.lang.Object
com.azure.resourcemanager.mariadb.models.StorageProfile
Storage Profile properties of a server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupRetentionDays property: Backup retention days for the server.Get the geoRedundantBackup property: Enable Geo-redundant or not for server backup.Get the storageAutogrow property: Enable Storage Auto Grow.Get the storageMB property: Max storage allowed for a server.void
validate()
Validates the instance.withBackupRetentionDays
(Integer backupRetentionDays) Set the backupRetentionDays property: Backup retention days for the server.withGeoRedundantBackup
(GeoRedundantBackup geoRedundantBackup) Set the geoRedundantBackup property: Enable Geo-redundant or not for server backup.withStorageAutogrow
(StorageAutogrow storageAutogrow) Set the storageAutogrow property: Enable Storage Auto Grow.withStorageMB
(Integer storageMB) Set the storageMB property: Max storage allowed for a server.
-
Constructor Details
-
StorageProfile
public StorageProfile()Creates an instance of StorageProfile class.
-
-
Method Details
-
backupRetentionDays
Get the backupRetentionDays property: Backup retention days for the server.- Returns:
- the backupRetentionDays value.
-
withBackupRetentionDays
Set the backupRetentionDays property: Backup retention days for the server.- Parameters:
backupRetentionDays
- the backupRetentionDays value to set.- Returns:
- the StorageProfile object itself.
-
geoRedundantBackup
Get the geoRedundantBackup property: Enable Geo-redundant or not for server backup.- Returns:
- the geoRedundantBackup value.
-
withGeoRedundantBackup
Set the geoRedundantBackup property: Enable Geo-redundant or not for server backup.- Parameters:
geoRedundantBackup
- the geoRedundantBackup value to set.- Returns:
- the StorageProfile object itself.
-
storageMB
Get the storageMB property: Max storage allowed for a server.- Returns:
- the storageMB value.
-
withStorageMB
Set the storageMB property: Max storage allowed for a server.- Parameters:
storageMB
- the storageMB value to set.- Returns:
- the StorageProfile object itself.
-
storageAutogrow
Get the storageAutogrow property: Enable Storage Auto Grow.- Returns:
- the storageAutogrow value.
-
withStorageAutogrow
Set the storageAutogrow property: Enable Storage Auto Grow.- Parameters:
storageAutogrow
- the storageAutogrow value to set.- Returns:
- the StorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-