Class ElasticSanInner
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.Get the availabilityZones property: Logical zone for Elastic San resource; example: ["1"].long
Get the baseSizeTiB property: Base size of the Elastic San appliance in TiB.long
Get the extendedCapacitySizeTiB property: Extended size of the Elastic San appliance in TiB.static ElasticSanInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ElasticSanInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.name()
Get the name property: The name of the resource.Get the privateEndpointConnections property: The list of Private Endpoint Connections.Get the provisioningState property: State of the operation on the resource.Get the publicNetworkAccess property: Allow or disallow public network access to ElasticSan.sku()
Get the sku property: resource sku.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the totalIops property: Total Provisioned IOPS of the Elastic San appliance.Get the totalMBps property: Total Provisioned MBps Elastic San appliance.Get the totalSizeTiB property: Total size of the Elastic San appliance in TB.Get the totalVolumeSizeGiB property: Total size of the provisioned Volumes in GiB.type()
Get the type property: The type of the resource.void
validate()
Validates the instance.Get the volumeGroupCount property: Total number of volume groups in this Elastic San appliance.withAutoScaleProperties
(AutoScaleProperties autoScaleProperties) Set the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.withAvailabilityZones
(List<String> availabilityZones) Set the availabilityZones property: Logical zone for Elastic San resource; example: ["1"].withBaseSizeTiB
(long baseSizeTiB) Set the baseSizeTiB property: Base size of the Elastic San appliance in TiB.withExtendedCapacitySizeTiB
(long extendedCapacitySizeTiB) Set the extendedCapacitySizeTiB property: Extended size of the Elastic San appliance in TiB.withLocation
(String location) withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Allow or disallow public network access to ElasticSan.Set the sku property: resource sku.Methods inherited from class com.azure.core.management.Resource
location, tags
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
-
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
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
sku
Get the sku property: resource sku.- Returns:
- the sku value.
-
withSku
Set the sku property: resource sku.- Parameters:
sku
- the sku value to set.- Returns:
- the ElasticSanInner object itself.
-
availabilityZones
Get the availabilityZones property: Logical zone for Elastic San resource; example: ["1"].- Returns:
- the availabilityZones value.
-
withAvailabilityZones
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
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
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
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
Get the totalVolumeSizeGiB property: Total size of the provisioned Volumes in GiB.- Returns:
- the totalVolumeSizeGiB value.
-
volumeGroupCount
Get the volumeGroupCount property: Total number of volume groups in this Elastic San appliance.- Returns:
- the volumeGroupCount value.
-
totalIops
Get the totalIops property: Total Provisioned IOPS of the Elastic San appliance.- Returns:
- the totalIops value.
-
totalMBps
Get the totalMBps property: Total Provisioned MBps Elastic San appliance.- Returns:
- the totalMBps value.
-
totalSizeTiB
Get the totalSizeTiB property: Total size of the Elastic San appliance in TB.- Returns:
- the totalSizeTiB value.
-
privateEndpointConnections
Get the privateEndpointConnections property: The list of Private Endpoint Connections.- Returns:
- the privateEndpointConnections value.
-
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
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
Get the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.- Returns:
- the autoScaleProperties value.
-
withAutoScaleProperties
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
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.
-