StorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. mariadb. models. StorageProfile
- com.
public final class StorageProfile
Storage Profile properties of a server.
Constructor Summary
Constructor | Description |
---|---|
StorageProfile() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
backupRetentionDays()
Get the backup |
Geo |
geoRedundantBackup()
Get the geo |
Storage |
storageAutogrow()
Get the storage |
Integer |
storageMB()
Get the storageMB property: Max storage allowed for a server. |
void |
validate()
Validates the instance. |
Storage |
withBackupRetentionDays(Integer backupRetentionDays)
Set the backup |
Storage |
withGeoRedundantBackup(GeoRedundantBackup geoRedundantBackup)
Set the geo |
Storage |
withStorageAutogrow(StorageAutogrow storageAutogrow)
Set the storage |
Storage |
withStorageMB(Integer storageMB)
Set the storageMB property: Max storage allowed for a server. |
Methods inherited from java.lang.Object
Constructor Details
StorageProfile
public StorageProfile()
Creates an instance of StorageProfile class.
Method Details
backupRetentionDays
public Integer backupRetentionDays()
Get the backupRetentionDays property: Backup retention days for the server.
Returns:
geoRedundantBackup
public GeoRedundantBackup geoRedundantBackup()
Get the geoRedundantBackup property: Enable Geo-redundant or not for server backup.
Returns:
storageAutogrow
public StorageAutogrow storageAutogrow()
Get the storageAutogrow property: Enable Storage Auto Grow.
Returns:
storageMB
public Integer storageMB()
Get the storageMB property: Max storage allowed for a server.
Returns:
validate
public void validate()
Validates the instance.
withBackupRetentionDays
public StorageProfile withBackupRetentionDays(Integer backupRetentionDays)
Set the backupRetentionDays property: Backup retention days for the server.
Parameters:
Returns:
withGeoRedundantBackup
public StorageProfile withGeoRedundantBackup(GeoRedundantBackup geoRedundantBackup)
Set the geoRedundantBackup property: Enable Geo-redundant or not for server backup.
Parameters:
Returns:
withStorageAutogrow
public StorageProfile withStorageAutogrow(StorageAutogrow storageAutogrow)
Set the storageAutogrow property: Enable Storage Auto Grow.
Parameters:
Returns:
withStorageMB
public StorageProfile withStorageMB(Integer storageMB)
Set the storageMB property: Max storage allowed for a server.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for