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 Details

    • ScaleUpProperties

      public ScaleUpProperties()
      Creates an instance of ScaleUpProperties class.
  • Method Details

    • unusedSizeTiB

      public Long unusedSizeTiB()
      Get the unusedSizeTiB property: Unused size on Elastic San appliance in TiB.
      Returns:
      the unusedSizeTiB value.
    • withUnusedSizeTiB

      public ScaleUpProperties withUnusedSizeTiB(Long unusedSizeTiB)
      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

      public Long increaseCapacityUnitByTiB()
      Get the increaseCapacityUnitByTiB property: Unit to increase Capacity Unit on Elastic San appliance in TiB.
      Returns:
      the increaseCapacityUnitByTiB value.
    • withIncreaseCapacityUnitByTiB

      public ScaleUpProperties withIncreaseCapacityUnitByTiB(Long increaseCapacityUnitByTiB)
      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

      public Long capacityUnitScaleUpLimitTiB()
      Get the capacityUnitScaleUpLimitTiB property: Maximum scale up size on Elastic San appliance in TiB.
      Returns:
      the capacityUnitScaleUpLimitTiB value.
    • withCapacityUnitScaleUpLimitTiB

      public ScaleUpProperties withCapacityUnitScaleUpLimitTiB(Long capacityUnitScaleUpLimitTiB)
      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

      public AutoScalePolicyEnforcement 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ScaleUpProperties>
      Throws:
      IOException
    • fromJson

      public static ScaleUpProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.