VirtualMachineScaleSetSkuInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineScaleSetSkuInner
- com.
Implements
public final class VirtualMachineScaleSetSkuInner
implements JsonSerializable<VirtualMachineScaleSetSkuInner>
Describes an available virtual machine scale set sku.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetSkuInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
capacity()
Get the capacity property: Specifies the number of virtual machines in the scale set. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
resourceType()
Get the resource |
Sku |
sku()
Get the sku property: The Sku. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetSkuInner
public VirtualMachineScaleSetSkuInner()
Creates an instance of VirtualMachineScaleSetSkuInner class.
Method Details
capacity
public VirtualMachineScaleSetSkuCapacity capacity()
Get the capacity property: Specifies the number of virtual machines in the scale set.
Returns:
fromJson
public static VirtualMachineScaleSetSkuInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetSkuInner from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The type of resource the sku applies to.
Returns:
sku
public Sku sku()
Get the sku property: The Sku.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java