VirtualMachineAgentInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineAgentInstanceView
- com.
Implements
public final class VirtualMachineAgentInstanceView
implements JsonSerializable<VirtualMachineAgentInstanceView>
The instance view of the VM Agent running on the virtual machine.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineAgentInstanceView() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Virtual |
extensionHandlers()
Get the extension |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
List<Instance |
statuses()
Get the statuses property: The resource status information. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
vmAgentVersion()
Get the vm |
Virtual |
withExtensionHandlers(List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers)
Set the extension |
Virtual |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information. |
Virtual |
withVmAgentVersion(String vmAgentVersion)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineAgentInstanceView
public VirtualMachineAgentInstanceView()
Creates an instance of VirtualMachineAgentInstanceView class.
Method Details
extensionHandlers
public List
Get the extensionHandlers property: The virtual machine extension handler instance view.
Returns:
fromJson
public static VirtualMachineAgentInstanceView fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineAgentInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
statuses
public List
Get the statuses property: The resource status information.
Returns:
toJson
validate
public void validate()
Validates the instance.
vmAgentVersion
public String vmAgentVersion()
Get the vmAgentVersion property: The VM Agent full version.
Returns:
withExtensionHandlers
public VirtualMachineAgentInstanceView withExtensionHandlers(List
Set the extensionHandlers property: The virtual machine extension handler instance view.
Parameters:
Returns:
withStatuses
public VirtualMachineAgentInstanceView withStatuses(List
Set the statuses property: The resource status information.
Parameters:
Returns:
withVmAgentVersion
public VirtualMachineAgentInstanceView withVmAgentVersion(String vmAgentVersion)
Set the vmAgentVersion property: The VM Agent full version.
Parameters:
Returns: