Class Storage
java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.models.Storage
Storage Profile properties of a server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoGrow()
Get the autoGrow property: Enable Storage Auto Grow or not.Get the autoIoScaling property: Enable IO Auto Scaling or not.iops()
Get the iops property: Storage IOPS for a server.Get the storageSizeGB property: Max storage size allowed for a server.Get the storageSku property: The sku name of the server storage.void
validate()
Validates the instance.withAutoGrow
(EnableStatusEnum autoGrow) Set the autoGrow property: Enable Storage Auto Grow or not.withAutoIoScaling
(EnableStatusEnum autoIoScaling) Set the autoIoScaling property: Enable IO Auto Scaling or not.Set the iops property: Storage IOPS for a server.withStorageSizeGB
(Integer storageSizeGB) Set the storageSizeGB property: Max storage size allowed for a server.
-
Constructor Details
-
Storage
public Storage()Creates an instance of Storage class.
-
-
Method Details
-
storageSizeGB
Get the storageSizeGB property: Max storage size allowed for a server.- Returns:
- the storageSizeGB value.
-
withStorageSizeGB
Set the storageSizeGB property: Max storage size allowed for a server.- Parameters:
storageSizeGB
- the storageSizeGB value to set.- Returns:
- the Storage object itself.
-
iops
Get the iops property: Storage IOPS for a server.- Returns:
- the iops value.
-
withIops
Set the iops property: Storage IOPS for a server.- Parameters:
iops
- the iops value to set.- Returns:
- the Storage object itself.
-
autoGrow
Get the autoGrow property: Enable Storage Auto Grow or not.- Returns:
- the autoGrow value.
-
withAutoGrow
Set the autoGrow property: Enable Storage Auto Grow or not.- Parameters:
autoGrow
- the autoGrow value to set.- Returns:
- the Storage object itself.
-
storageSku
Get the storageSku property: The sku name of the server storage.- Returns:
- the storageSku value.
-
autoIoScaling
Get the autoIoScaling property: Enable IO Auto Scaling or not.- Returns:
- the autoIoScaling value.
-
withAutoIoScaling
Set the autoIoScaling property: Enable IO Auto Scaling or not.- Parameters:
autoIoScaling
- the autoIoScaling value to set.- Returns:
- the Storage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-