Class ElasticSanUpdateProperties

java.lang.Object
com.azure.resourcemanager.elasticsan.fluent.models.ElasticSanUpdateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ElasticSanUpdateProperties>

public final class ElasticSanUpdateProperties extends Object implements com.azure.json.JsonSerializable<ElasticSanUpdateProperties>
Elastic San update properties.
  • Constructor Details

    • ElasticSanUpdateProperties

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

    • baseSizeTiB

      public Long baseSizeTiB()
      Get the baseSizeTiB property: Base size of the Elastic San appliance in TiB.
      Returns:
      the baseSizeTiB value.
    • withBaseSizeTiB

      public ElasticSanUpdateProperties withBaseSizeTiB(Long baseSizeTiB)
      Set the baseSizeTiB property: Base size of the Elastic San appliance in TiB.
      Parameters:
      baseSizeTiB - the baseSizeTiB value to set.
      Returns:
      the ElasticSanUpdateProperties object itself.
    • extendedCapacitySizeTiB

      public Long extendedCapacitySizeTiB()
      Get the extendedCapacitySizeTiB property: Extended size of the Elastic San appliance in TiB.
      Returns:
      the extendedCapacitySizeTiB value.
    • withExtendedCapacitySizeTiB

      public ElasticSanUpdateProperties withExtendedCapacitySizeTiB(Long extendedCapacitySizeTiB)
      Set the extendedCapacitySizeTiB property: Extended size of the Elastic San appliance in TiB.
      Parameters:
      extendedCapacitySizeTiB - the extendedCapacitySizeTiB value to set.
      Returns:
      the ElasticSanUpdateProperties object itself.
    • publicNetworkAccess

      public PublicNetworkAccess publicNetworkAccess()
      Get the publicNetworkAccess property: Allow or disallow public network access to ElasticSan Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
      Returns:
      the publicNetworkAccess value.
    • withPublicNetworkAccess

      public ElasticSanUpdateProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
      Set the publicNetworkAccess property: Allow or disallow public network access to ElasticSan Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the ElasticSanUpdateProperties object itself.
    • autoScaleProperties

      public AutoScaleProperties autoScaleProperties()
      Get the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.
      Returns:
      the autoScaleProperties value.
    • withAutoScaleProperties

      public ElasticSanUpdateProperties withAutoScaleProperties(AutoScaleProperties autoScaleProperties)
      Set the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.
      Parameters:
      autoScaleProperties - the autoScaleProperties value to set.
      Returns:
      the ElasticSanUpdateProperties 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<ElasticSanUpdateProperties>
      Throws:
      IOException
    • fromJson

      public static ElasticSanUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ElasticSanUpdateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ElasticSanUpdateProperties 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 ElasticSanUpdateProperties.