public class VirtualMachineInstanceView extends Object
| Constructor and Description |
|---|
VirtualMachineInstanceView() |
| Modifier and Type | Method and Description |
|---|---|
BootDiagnosticsInstanceView |
bootDiagnostics()
Get boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
|
String |
computerName()
Get the computer name assigned to the virtual machine.
|
List<DiskInstanceView> |
disks()
Get the virtual machine disk information.
|
List<VirtualMachineExtensionInstanceView> |
extensions()
Get the extensions information.
|
MaintenanceRedeployStatus |
maintenanceRedeployStatus()
Get the Maintenance Operation status on the virtual machine.
|
String |
osName()
Get the Operating System running on the virtual machine.
|
String |
osVersion()
Get the version of Operating System running on the virtual machine.
|
Integer |
platformFaultDomain()
Get specifies the fault domain of the virtual machine.
|
Integer |
platformUpdateDomain()
Get specifies the update domain of the virtual machine.
|
String |
rdpThumbPrint()
Get the Remote desktop certificate thumbprint.
|
List<InstanceViewStatus> |
statuses()
Get the resource status information.
|
VirtualMachineAgentInstanceView |
vmAgent()
Get the VM Agent running on the virtual machine.
|
VirtualMachineInstanceView |
withBootDiagnostics(BootDiagnosticsInstanceView bootDiagnostics)
Set boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
|
VirtualMachineInstanceView |
withComputerName(String computerName)
Set the computer name assigned to the virtual machine.
|
VirtualMachineInstanceView |
withDisks(List<DiskInstanceView> disks)
Set the virtual machine disk information.
|
VirtualMachineInstanceView |
withExtensions(List<VirtualMachineExtensionInstanceView> extensions)
Set the extensions information.
|
VirtualMachineInstanceView |
withMaintenanceRedeployStatus(MaintenanceRedeployStatus maintenanceRedeployStatus)
Set the Maintenance Operation status on the virtual machine.
|
VirtualMachineInstanceView |
withOsName(String osName)
Set the Operating System running on the virtual machine.
|
VirtualMachineInstanceView |
withOsVersion(String osVersion)
Set the version of Operating System running on the virtual machine.
|
VirtualMachineInstanceView |
withPlatformFaultDomain(Integer platformFaultDomain)
Set specifies the fault domain of the virtual machine.
|
VirtualMachineInstanceView |
withPlatformUpdateDomain(Integer platformUpdateDomain)
Set specifies the update domain of the virtual machine.
|
VirtualMachineInstanceView |
withRdpThumbPrint(String rdpThumbPrint)
Set the Remote desktop certificate thumbprint.
|
VirtualMachineInstanceView |
withStatuses(List<InstanceViewStatus> statuses)
Set the resource status information.
|
VirtualMachineInstanceView |
withVmAgent(VirtualMachineAgentInstanceView vmAgent)
Set the VM Agent running on the virtual machine.
|
public Integer platformUpdateDomain()
public VirtualMachineInstanceView withPlatformUpdateDomain(Integer platformUpdateDomain)
platformUpdateDomain - the platformUpdateDomain value to setpublic Integer platformFaultDomain()
public VirtualMachineInstanceView withPlatformFaultDomain(Integer platformFaultDomain)
platformFaultDomain - the platformFaultDomain value to setpublic String computerName()
public VirtualMachineInstanceView withComputerName(String computerName)
computerName - the computerName value to setpublic String osName()
public VirtualMachineInstanceView withOsName(String osName)
osName - the osName value to setpublic String osVersion()
public VirtualMachineInstanceView withOsVersion(String osVersion)
osVersion - the osVersion value to setpublic String rdpThumbPrint()
public VirtualMachineInstanceView withRdpThumbPrint(String rdpThumbPrint)
rdpThumbPrint - the rdpThumbPrint value to setpublic VirtualMachineAgentInstanceView vmAgent()
public VirtualMachineInstanceView withVmAgent(VirtualMachineAgentInstanceView vmAgent)
vmAgent - the vmAgent value to setpublic MaintenanceRedeployStatus maintenanceRedeployStatus()
public VirtualMachineInstanceView withMaintenanceRedeployStatus(MaintenanceRedeployStatus maintenanceRedeployStatus)
maintenanceRedeployStatus - the maintenanceRedeployStatus value to setpublic List<DiskInstanceView> disks()
public VirtualMachineInstanceView withDisks(List<DiskInstanceView> disks)
disks - the disks value to setpublic List<VirtualMachineExtensionInstanceView> extensions()
public VirtualMachineInstanceView withExtensions(List<VirtualMachineExtensionInstanceView> extensions)
extensions - the extensions value to setpublic BootDiagnosticsInstanceView bootDiagnostics()
public VirtualMachineInstanceView withBootDiagnostics(BootDiagnosticsInstanceView bootDiagnostics)
bootDiagnostics - the bootDiagnostics value to setpublic List<InstanceViewStatus> statuses()
public VirtualMachineInstanceView withStatuses(List<InstanceViewStatus> statuses)
statuses - the statuses value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/