VirtualMachineHealthStatus Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineHealthStatus
- com.
Implements
public final class VirtualMachineHealthStatus
implements JsonSerializable<VirtualMachineHealthStatus>
The health status of the VM.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineHealthStatus() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Instance |
status()
Get the status property: The health status information for the VM. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineHealthStatus
public VirtualMachineHealthStatus()
Creates an instance of VirtualMachineHealthStatus class.
Method Details
fromJson
public static VirtualMachineHealthStatus fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineHealthStatus from the JsonReader.
Parameters:
Returns:
Throws:
status
public InstanceViewStatus status()
Get the status property: The health status information for the VM.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java