StampCapacityInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. StampCapacityInner
- com.
Implements
public final class StampCapacityInner
implements JsonSerializable<StampCapacityInner>
Stamp capacity information.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
availableCapacity()
Get the available |
|
Compute |
computeMode()
Get the compute |
| Boolean |
excludeFromCapacityAllocation()
Get the exclude |
|
static
Stamp |
fromJson(JsonReader jsonReader)
Reads an instance of Stamp |
| Boolean |
isApplicableForAllComputeModes()
Get the is |
| Boolean |
isLinux()
Get the is |
| String |
name()
Get the name property: Name of the stamp. |
| String |
siteMode()
Get the site |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
totalCapacity()
Get the total |
| String |
unit()
Get the unit property: Name of the unit. |
| void |
validate()
Validates the instance. |
|
Worker |
workerSize()
Get the worker |
| Integer |
workerSizeId()
Get the worker |
Methods inherited from java.lang.Object
Method Details
availableCapacity
public Long availableCapacity()
Get the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).
Returns:
computeMode
public ComputeModeOptions computeMode()
Get the computeMode property: Shared/dedicated workers.
Returns:
excludeFromCapacityAllocation
public Boolean excludeFromCapacityAllocation()
Get the excludeFromCapacityAllocation property: If true, it includes basic apps. Basic apps are not used for capacity allocation.
Returns:
fromJson
public static StampCapacityInner fromJson(JsonReader jsonReader)
Reads an instance of StampCapacityInner from the JsonReader.
Parameters:
Returns:
Throws:
isApplicableForAllComputeModes
public Boolean isApplicableForAllComputeModes()
Get the isApplicableForAllComputeModes property: true if capacity is applicable for all apps; otherwise, false.
Returns:
isLinux
public Boolean isLinux()
Get the isLinux property: Is this a linux stamp capacity.
Returns:
name
public String name()
Get the name property: Name of the stamp.
Returns:
siteMode
public String siteMode()
Get the siteMode property: Shared or Dedicated.
Returns:
toJson
totalCapacity
public Long totalCapacity()
Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).
Returns:
unit
public String unit()
Get the unit property: Name of the unit.
Returns:
validate
public void validate()
Validates the instance.
workerSize
public WorkerSizeOptions workerSize()
Get the workerSize property: Size of the machines.
Returns:
workerSizeId
public Integer workerSizeId()
Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.
Returns: