VirtualMachineScaleSetSkuCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetSkuCapacity
- com.
Implements
public final class VirtualMachineScaleSetSkuCapacity
implements JsonSerializable<VirtualMachineScaleSetSkuCapacity>
Describes scaling information of a sku.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetSkuCapacity() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
defaultCapacity()
Get the default |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Long |
maximum()
Get the maximum property: The maximum capacity that can be set. |
Long |
minimum()
Get the minimum property: The minimum capacity. |
Virtual |
scaleType()
Get the scale |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetSkuCapacity
public VirtualMachineScaleSetSkuCapacity()
Creates an instance of VirtualMachineScaleSetSkuCapacity class.
Method Details
defaultCapacity
public Long defaultCapacity()
Get the defaultCapacity property: The default capacity.
Returns:
fromJson
public static VirtualMachineScaleSetSkuCapacity fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetSkuCapacity 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 VirtualMachineScaleSetSkuScaleType 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