VirtualMachineInstanceView Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestackhci.vm.models.VirtualMachineInstanceView

Implements

public final class VirtualMachineInstanceView
implements JsonSerializable<VirtualMachineInstanceView>

The instance view of a virtual machine.

Method Summary

Modifier and Type Method and Description
static VirtualMachineInstanceView fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineInstanceView from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineConfigAgentInstanceView vmAgent()

Get the vmAgent property: The VM Config Agent running on the virtual machine.

Methods inherited from java.lang.Object

Method Details

fromJson

public static VirtualMachineInstanceView fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineInstanceView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualMachineInstanceView if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualMachineInstanceView.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vmAgent

public VirtualMachineConfigAgentInstanceView vmAgent()

Get the vmAgent property: The VM Config Agent running on the virtual machine.

Returns:

the vmAgent value.

Applies to