public final class VirtualMachineAgentInstanceView extends Object
Constructor and Description |
---|
VirtualMachineAgentInstanceView() |
Modifier and Type | Method and Description |
---|---|
List<VirtualMachineExtensionHandlerInstanceView> |
extensionHandlers()
Get the extensionHandlers property: The virtual machine extension handler instance view.
|
List<InstanceViewStatus> |
statuses()
Get the statuses property: The resource status information.
|
void |
validate()
Validates the instance.
|
String |
vmAgentVersion()
Get the vmAgentVersion property: The VM Agent full version.
|
VirtualMachineAgentInstanceView |
withExtensionHandlers(List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers)
Set the extensionHandlers property: The virtual machine extension handler instance view.
|
VirtualMachineAgentInstanceView |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information.
|
VirtualMachineAgentInstanceView |
withVmAgentVersion(String vmAgentVersion)
Set the vmAgentVersion property: The VM Agent full version.
|
public String vmAgentVersion()
public VirtualMachineAgentInstanceView withVmAgentVersion(String vmAgentVersion)
vmAgentVersion
- the vmAgentVersion value to set.public List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers()
public VirtualMachineAgentInstanceView withExtensionHandlers(List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers)
extensionHandlers
- the extensionHandlers value to set.public List<InstanceViewStatus> statuses()
public VirtualMachineAgentInstanceView withStatuses(List<InstanceViewStatus> statuses)
statuses
- the statuses value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.