Class ElasticSanUpdate
java.lang.Object
com.azure.resourcemanager.elasticsan.models.ElasticSanUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ElasticSanUpdate>
public final class ElasticSanUpdate
extends Object
implements com.azure.json.JsonSerializable<ElasticSanUpdate>
Response for ElasticSan update request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.Get the baseSizeTiB property: Base size of the Elastic San appliance in TiB.Get the extendedCapacitySizeTiB property: Extended size of the Elastic San appliance in TiB.static ElasticSanUpdate
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ElasticSanUpdate from the JsonReader.Get the publicNetworkAccess property: Allow or disallow public network access to ElasticSan Account.tags()
Get the tags property: Update tags.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAutoScaleProperties
(AutoScaleProperties autoScaleProperties) Set the autoScaleProperties property: Auto Scale Properties for Elastic San Appliance.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.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Allow or disallow public network access to ElasticSan Account.Set the tags property: Update 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
-
ElasticSanUpdate
public ElasticSanUpdate()Creates an instance of ElasticSanUpdate class.
-
-
Method Details
-
tags
Get the tags property: Update tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Update tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ElasticSanUpdate object itself.
-
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 ElasticSanUpdate object itself.
-
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 ElasticSanUpdate object itself.
-
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
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 ElasticSanUpdate 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 ElasticSanUpdate 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<ElasticSanUpdate>
- Throws:
IOException
-
fromJson
Reads an instance of ElasticSanUpdate from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ElasticSanUpdate 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 ElasticSanUpdate.
-