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 Summary
ConstructorsConstructorDescriptionCreates an instance of ElasticSanUpdateProperties class. -
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 ElasticSanUpdateProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ElasticSanUpdateProperties from the JsonReader.Get the publicNetworkAccess property: Allow or disallow public network access to ElasticSan Account.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.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
-
ElasticSanUpdateProperties
public ElasticSanUpdateProperties()Creates an instance of ElasticSanUpdateProperties class.
-
-
Method Details
-
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 ElasticSanUpdateProperties 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 ElasticSanUpdateProperties 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 ElasticSanUpdateProperties 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 ElasticSanUpdateProperties 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<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.
-