java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.elasticsan.fluent.models.ElasticSanInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ElasticSanInner extends com.azure.core.management.Resource
Response for ElasticSan request.
  • Constructor Details

    • ElasticSanInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withLocation

      public ElasticSanInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ElasticSanInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • sku

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

      public ElasticSanInner withSku(Sku sku)
      Set the sku property: resource sku.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner 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 ElasticSanInner object itself.
    • autoScaleProperties

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

      public ElasticSanInner withAutoScaleProperties(AutoScaleProperties autoScaleProperties)
      Set the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.
      Parameters:
      autoScaleProperties - the autoScaleProperties value to set.
      Returns:
      the ElasticSanInner 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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.Resource
      Throws:
      IOException
    • fromJson

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