Class StampCapacityInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StampCapacityInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StampCapacityInner>
public final class StampCapacityInner
extends Object
implements com.azure.json.JsonSerializable<StampCapacityInner>
Stamp capacity information.
-
Method Summary
Modifier and TypeMethodDescriptionGet the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).Get the computeMode property: Shared/dedicated workers.Get the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps.static StampCapacityInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StampCapacityInner from the JsonReader.Get the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.isLinux()Get the isLinux property: Is this a linux stamp capacity.name()Get the name property: Name of the stamp.siteMode()Get the siteMode property: Shared or Dedicated.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).unit()Get the unit property: Name of the unit.voidvalidate()Validates the instance.Get the workerSize property: Size of the machines.Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
name
-
availableCapacity
Get the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).- Returns:
- the availableCapacity value.
-
totalCapacity
Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).- Returns:
- the totalCapacity value.
-
unit
-
computeMode
Get the computeMode property: Shared/dedicated workers.- Returns:
- the computeMode value.
-
workerSize
Get the workerSize property: Size of the machines.- Returns:
- the workerSize value.
-
workerSizeId
Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.- Returns:
- the workerSizeId value.
-
excludeFromCapacityAllocation
Get the excludeFromCapacityAllocation property: If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.- Returns:
- the excludeFromCapacityAllocation value.
-
isApplicableForAllComputeModes
Get the isApplicableForAllComputeModes property: <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.- Returns:
- the isApplicableForAllComputeModes value.
-
siteMode
Get the siteMode property: Shared or Dedicated.- Returns:
- the siteMode value.
-
isLinux
Get the isLinux property: Is this a linux stamp capacity.- Returns:
- the isLinux value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StampCapacityInner>- Throws:
IOException
-
fromJson
Reads an instance of StampCapacityInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StampCapacityInner 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 StampCapacityInner.
-