ResourceSkuCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ResourceSkuCapacity
- com.
Implements
public final class ResourceSkuCapacity
implements JsonSerializable<ResourceSkuCapacity>
Describes scaling information of a SKU.
Constructor Summary
Constructor | Description |
---|---|
ResourceSkuCapacity() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
defaultProperty()
Get the default |
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
Long |
maximum()
Get the maximum property: The maximum capacity that can be set. |
Long |
minimum()
Get the minimum property: The minimum capacity. |
Resource |
scaleType()
Get the scale |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSkuCapacity
public ResourceSkuCapacity()
Creates an instance of ResourceSkuCapacity class.
Method Details
defaultProperty
public Long defaultProperty()
Get the defaultProperty property: The default capacity.
Returns:
fromJson
public static ResourceSkuCapacity fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuCapacity from the JsonReader.
Parameters:
Returns:
Throws:
maximum
public Long maximum()
Get the maximum property: The maximum capacity that can be set.
Returns:
minimum
public Long minimum()
Get the minimum property: The minimum capacity.
Returns:
scaleType
public ResourceSkuCapacityScaleType scaleType()
Get the scaleType property: The scale type applicable to the sku.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java