SkuCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. signalr. models. SkuCapacity
- com.
Implements
public final class SkuCapacity
implements JsonSerializable<SkuCapacity>
Describes scaling information of a sku.
Constructor Summary
| Constructor | Description |
|---|---|
| SkuCapacity() |
Creates an instance of Sku |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<Integer> |
allowedValues()
Get the allowed |
| Integer |
defaultProperty()
Get the default |
|
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku |
| Integer |
maximum()
Get the maximum property: The highest permitted capacity for this resource. |
| Integer |
minimum()
Get the minimum property: The lowest permitted capacity for this resource. |
|
Scale |
scaleType()
Get the scale |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SkuCapacity
public SkuCapacity()
Creates an instance of SkuCapacity class.
Method Details
allowedValues
public List<Integer> allowedValues()
Get the allowedValues property: Allows capacity value list.
Returns:
defaultProperty
public Integer defaultProperty()
Get the defaultProperty property: The default capacity.
Returns:
fromJson
public static SkuCapacity fromJson(JsonReader jsonReader)
Reads an instance of SkuCapacity from the JsonReader.
Parameters:
Returns:
Throws:
maximum
public Integer maximum()
Get the maximum property: The highest permitted capacity for this resource.
Returns:
minimum
public Integer minimum()
Get the minimum property: The lowest permitted capacity for this resource.
Returns:
scaleType
public ScaleType scaleType()
Get the scaleType property: The scale type applicable to the sku.
Returns:
toJson
validate
public void validate()
Validates the instance.