Class ElasticSanProperties

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

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

    • ElasticSanProperties

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

    • sku

      public Sku sku()
      Get the sku property: resource sku.
      Returns:
      the sku value.
    • withSku

      public ElasticSanProperties withSku(Sku sku)
      Set the sku property: resource sku.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ElasticSanProperties object itself.
    • availabilityZones

      public List<String> availabilityZones()
      Get the availabilityZones property: Logical zone for Elastic San resource; example: ["1"].
      Returns:
      the availabilityZones value.
    • withAvailabilityZones

      public ElasticSanProperties withAvailabilityZones(List<String> availabilityZones)
      Set the availabilityZones property: Logical zone for Elastic San resource; example: ["1"].
      Parameters:
      availabilityZones - the availabilityZones value to set.
      Returns:
      the ElasticSanProperties object itself.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: State of the operation on the resource.
      Returns:
      the provisioningState value.
    • baseSizeTiB

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

      public ElasticSanProperties 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 ElasticSanProperties 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 ElasticSanProperties 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 ElasticSanProperties object itself.
    • totalVolumeSizeGiB

      public Long totalVolumeSizeGiB()
      Get the totalVolumeSizeGiB property: Total size of the provisioned Volumes in GiB.
      Returns:
      the totalVolumeSizeGiB value.
    • volumeGroupCount

      public Long volumeGroupCount()
      Get the volumeGroupCount property: Total number of volume groups in this Elastic San appliance.
      Returns:
      the volumeGroupCount value.
    • totalIops

      public Long totalIops()
      Get the totalIops property: Total Provisioned IOPS of the Elastic San appliance.
      Returns:
      the totalIops value.
    • totalMBps

      public Long totalMBps()
      Get the totalMBps property: Total Provisioned MBps Elastic San appliance.
      Returns:
      the totalMBps value.
    • totalSizeTiB

      public Long totalSizeTiB()
      Get the totalSizeTiB property: Total size of the Elastic San appliance in TB.
      Returns:
      the totalSizeTiB value.
    • privateEndpointConnections

      public List<PrivateEndpointConnectionInner> privateEndpointConnections()
      Get the privateEndpointConnections property: The list of Private Endpoint Connections.
      Returns:
      the privateEndpointConnections value.
    • publicNetworkAccess

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

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

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

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

      public static ElasticSanProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ElasticSanProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ElasticSanProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ElasticSanProperties.