VirtualMachineStatusCodeCount Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineStatusCodeCount
- com.
Implements
public final class VirtualMachineStatusCodeCount
implements JsonSerializable<VirtualMachineStatusCodeCount>
The status code and count of the virtual machine scale set instance view status summary.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineStatusCodeCount() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The instance view status code. |
Integer |
count()
Get the count property: The number of instances having a particular status code. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineStatusCodeCount
public VirtualMachineStatusCodeCount()
Creates an instance of VirtualMachineStatusCodeCount class.
Method Details
code
public String code()
Get the code property: The instance view status code.
Returns:
count
public Integer count()
Get the count property: The number of instances having a particular status code.
Returns:
fromJson
public static VirtualMachineStatusCodeCount fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineStatusCodeCount from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java