Class Storage
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.Storage
Storage properties of a server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoGrow()Get the autoGrow property: Flag to enable / disable Storage Auto grow for flexible server.iops()Get the iops property: Storage tier IOPS quantity.Get the storageSizeGB property: Max storage allowed for a server.tier()Get the tier property: Name of storage tier for IOPS.voidvalidate()Validates the instance.withAutoGrow(StorageAutoGrow autoGrow) Set the autoGrow property: Flag to enable / disable Storage Auto grow for flexible server.withStorageSizeGB(Integer storageSizeGB) Set the storageSizeGB property: Max storage allowed for a server.Set the tier property: Name of storage tier for IOPS.
-
Constructor Details
-
Storage
public Storage()Creates an instance of Storage class.
-
-
Method Details
-
storageSizeGB
Get the storageSizeGB property: Max storage allowed for a server.- Returns:
- the storageSizeGB value.
-
withStorageSizeGB
Set the storageSizeGB property: Max storage allowed for a server.- Parameters:
storageSizeGB- the storageSizeGB value to set.- Returns:
- the Storage object itself.
-
autoGrow
Get the autoGrow property: Flag to enable / disable Storage Auto grow for flexible server.- Returns:
- the autoGrow value.
-
withAutoGrow
Set the autoGrow property: Flag to enable / disable Storage Auto grow for flexible server.- Parameters:
autoGrow- the autoGrow value to set.- Returns:
- the Storage object itself.
-
tier
Get the tier property: Name of storage tier for IOPS.- Returns:
- the tier value.
-
withTier
Set the tier property: Name of storage tier for IOPS.- Parameters:
tier- the tier value to set.- Returns:
- the Storage object itself.
-
iops
Get the iops property: Storage tier IOPS quantity.- Returns:
- the iops value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-