Class ScaleUpProperties
java.lang.Object
com.azure.resourcemanager.elasticsan.models.ScaleUpProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ScaleUpProperties>
public final class ScaleUpProperties
extends Object
implements com.azure.json.JsonSerializable<ScaleUpProperties>
Scale up properties on Elastic San Appliance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoScalePolicyEnforcement property: Enable or Disable scale up setting on Elastic San Appliance.Get the capacityUnitScaleUpLimitTiB property: Maximum scale up size on Elastic San appliance in TiB.static ScaleUpProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ScaleUpProperties from the JsonReader.Get the increaseCapacityUnitByTiB property: Unit to increase Capacity Unit on Elastic San appliance in TiB.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the unusedSizeTiB property: Unused size on Elastic San appliance in TiB.void
validate()
Validates the instance.withAutoScalePolicyEnforcement
(AutoScalePolicyEnforcement autoScalePolicyEnforcement) Set the autoScalePolicyEnforcement property: Enable or Disable scale up setting on Elastic San Appliance.withCapacityUnitScaleUpLimitTiB
(Long capacityUnitScaleUpLimitTiB) Set the capacityUnitScaleUpLimitTiB property: Maximum scale up size on Elastic San appliance in TiB.withIncreaseCapacityUnitByTiB
(Long increaseCapacityUnitByTiB) Set the increaseCapacityUnitByTiB property: Unit to increase Capacity Unit on Elastic San appliance in TiB.withUnusedSizeTiB
(Long unusedSizeTiB) Set the unusedSizeTiB property: Unused size on Elastic San appliance in TiB.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ScaleUpProperties
public ScaleUpProperties()Creates an instance of ScaleUpProperties class.
-
-
Method Details
-
unusedSizeTiB
Get the unusedSizeTiB property: Unused size on Elastic San appliance in TiB.- Returns:
- the unusedSizeTiB value.
-
withUnusedSizeTiB
Set the unusedSizeTiB property: Unused size on Elastic San appliance in TiB.- Parameters:
unusedSizeTiB
- the unusedSizeTiB value to set.- Returns:
- the ScaleUpProperties object itself.
-
increaseCapacityUnitByTiB
Get the increaseCapacityUnitByTiB property: Unit to increase Capacity Unit on Elastic San appliance in TiB.- Returns:
- the increaseCapacityUnitByTiB value.
-
withIncreaseCapacityUnitByTiB
Set the increaseCapacityUnitByTiB property: Unit to increase Capacity Unit on Elastic San appliance in TiB.- Parameters:
increaseCapacityUnitByTiB
- the increaseCapacityUnitByTiB value to set.- Returns:
- the ScaleUpProperties object itself.
-
capacityUnitScaleUpLimitTiB
Get the capacityUnitScaleUpLimitTiB property: Maximum scale up size on Elastic San appliance in TiB.- Returns:
- the capacityUnitScaleUpLimitTiB value.
-
withCapacityUnitScaleUpLimitTiB
Set the capacityUnitScaleUpLimitTiB property: Maximum scale up size on Elastic San appliance in TiB.- Parameters:
capacityUnitScaleUpLimitTiB
- the capacityUnitScaleUpLimitTiB value to set.- Returns:
- the ScaleUpProperties object itself.
-
autoScalePolicyEnforcement
Get the autoScalePolicyEnforcement property: Enable or Disable scale up setting on Elastic San Appliance.- Returns:
- the autoScalePolicyEnforcement value.
-
withAutoScalePolicyEnforcement
public ScaleUpProperties withAutoScalePolicyEnforcement(AutoScalePolicyEnforcement autoScalePolicyEnforcement) Set the autoScalePolicyEnforcement property: Enable or Disable scale up setting on Elastic San Appliance.- Parameters:
autoScalePolicyEnforcement
- the autoScalePolicyEnforcement value to set.- Returns:
- the ScaleUpProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ScaleUpProperties>
- Throws:
IOException
-
fromJson
Reads an instance of ScaleUpProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ScaleUpProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the ScaleUpProperties.
-