Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
The instance view of the VM Agent running on the virtual machine.
/**
* The instance view of the VM Agent running on the virtual machine.
*/
public class VirtualMachineAgentInstanceView {
The VM Agent full version.
/**
* The VM Agent full version.
*/
@JsonProperty(value = "vmAgentVersion")
private String vmAgentVersion;
The virtual machine extension handler instance view.
/**
* The virtual machine extension handler instance view.
*/
@JsonProperty(value = "extensionHandlers")
private List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers;
The resource status information.
/**
* The resource status information.
*/
@JsonProperty(value = "statuses")
private List<InstanceViewStatus> statuses;
Get the VM Agent full version.
Returns: the vmAgentVersion value
/**
* Get the VM Agent full version.
*
* @return the vmAgentVersion value
*/
public String vmAgentVersion() {
return this.vmAgentVersion;
}
Set the VM Agent full version.
Params: - vmAgentVersion – the vmAgentVersion value to set
Returns: the VirtualMachineAgentInstanceView object itself.
/**
* Set the VM Agent full version.
*
* @param vmAgentVersion the vmAgentVersion value to set
* @return the VirtualMachineAgentInstanceView object itself.
*/
public VirtualMachineAgentInstanceView withVmAgentVersion(String vmAgentVersion) {
this.vmAgentVersion = vmAgentVersion;
return this;
}
Get the virtual machine extension handler instance view.
Returns: the extensionHandlers value
/**
* Get the virtual machine extension handler instance view.
*
* @return the extensionHandlers value
*/
public List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers() {
return this.extensionHandlers;
}
Set the virtual machine extension handler instance view.
Params: - extensionHandlers – the extensionHandlers value to set
Returns: the VirtualMachineAgentInstanceView object itself.
/**
* Set the virtual machine extension handler instance view.
*
* @param extensionHandlers the extensionHandlers value to set
* @return the VirtualMachineAgentInstanceView object itself.
*/
public VirtualMachineAgentInstanceView withExtensionHandlers(List<VirtualMachineExtensionHandlerInstanceView> extensionHandlers) {
this.extensionHandlers = extensionHandlers;
return this;
}
Get the resource status information.
Returns: the statuses value
/**
* Get the resource status information.
*
* @return the statuses value
*/
public List<InstanceViewStatus> statuses() {
return this.statuses;
}
Set the resource status information.
Params: - statuses – the statuses value to set
Returns: the VirtualMachineAgentInstanceView object itself.
/**
* Set the resource status information.
*
* @param statuses the statuses value to set
* @return the VirtualMachineAgentInstanceView object itself.
*/
public VirtualMachineAgentInstanceView withStatuses(List<InstanceViewStatus> statuses) {
this.statuses = statuses;
return this;
}
}