VirtualMachineInstanceViewInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineInstanceViewInner
- com.
Implements
public final class VirtualMachineInstanceViewInner
implements JsonSerializable<VirtualMachineInstanceViewInner>
The instance view of a virtual machine.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineInstanceViewInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
assignedHost()
Get the assigned |
Boot |
bootDiagnostics()
Get the boot |
String |
computerName()
Get the computer |
List<Disk |
disks()
Get the disks property: The virtual machine disk information. |
List<Virtual |
extensions()
Get the extensions property: The extensions information. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Hyper |
hyperVGeneration()
Get the hyper |
Boolean |
isVMInStandbyPool()
Get the is |
Maintenance |
maintenanceRedeployStatus()
Get the maintenance |
String |
osName()
Get the os |
String |
osVersion()
Get the os |
Virtual |
patchStatus()
Get the patch |
Integer |
platformFaultDomain()
Get the platform |
Integer |
platformUpdateDomain()
Get the platform |
String |
rdpThumbPrint()
Get the rdp |
List<Instance |
statuses()
Get the statuses property: The resource status information. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
vmAgent()
Get the vm |
Virtual |
vmHealth()
Get the vm |
Virtual |
withBootDiagnostics(BootDiagnosticsInstanceView bootDiagnostics)
Set the boot |
Virtual |
withComputerName(String computerName)
Set the computer |
Virtual |
withDisks(List<DiskInstanceView> disks)
Set the disks property: The virtual machine disk information. |
Virtual |
withExtensions(List<VirtualMachineExtensionInstanceView> extensions)
Set the extensions property: The extensions information. |
Virtual |
withHyperVGeneration(HyperVGenerationType hyperVGeneration)
Set the hyper |
Virtual |
withMaintenanceRedeployStatus(MaintenanceRedeployStatus maintenanceRedeployStatus)
Set the maintenance |
Virtual |
withOsName(String osName)
Set the os |
Virtual |
withOsVersion(String osVersion)
Set the os |
Virtual |
withPatchStatus(VirtualMachinePatchStatus patchStatus)
Set the patch |
Virtual |
withPlatformFaultDomain(Integer platformFaultDomain)
Set the platform |
Virtual |
withPlatformUpdateDomain(Integer platformUpdateDomain)
Set the platform |
Virtual |
withRdpThumbPrint(String rdpThumbPrint)
Set the rdp |
Virtual |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information. |
Virtual |
withVmAgent(VirtualMachineAgentInstanceView vmAgent)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineInstanceViewInner
public VirtualMachineInstanceViewInner()
Creates an instance of VirtualMachineInstanceViewInner class.
Method Details
assignedHost
public String assignedHost()
Get the assignedHost property: Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. Minimum api-version: 2020-06-01.
Returns:
bootDiagnostics
public BootDiagnosticsInstanceView bootDiagnostics()
Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
Returns:
computerName
public String computerName()
Get the computerName property: The computer name assigned to the virtual machine.
Returns:
disks
public List
Get the disks property: The virtual machine disk information.
Returns:
extensions
public List
Get the extensions property: The extensions information.
Returns:
fromJson
public static VirtualMachineInstanceViewInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInstanceViewInner from the JsonReader.
Parameters:
Returns:
Throws:
hyperVGeneration
public HyperVGenerationType hyperVGeneration()
Get the hyperVGeneration property: Specifies the HyperVGeneration Type associated with a resource.
Returns:
isVMInStandbyPool
public Boolean isVMInStandbyPool()
Get the isVMInStandbyPool property: [Preview Feature] Specifies whether the VM is currently in or out of the Standby Pool.
Returns:
maintenanceRedeployStatus
public MaintenanceRedeployStatus maintenanceRedeployStatus()
Get the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.
Returns:
osName
public String osName()
Get the osName property: The Operating System running on the virtual machine.
Returns:
osVersion
public String osVersion()
Get the osVersion property: The version of Operating System running on the virtual machine.
Returns:
patchStatus
public VirtualMachinePatchStatus patchStatus()
Get the patchStatus property: [Preview Feature] The status of virtual machine patch operations.
Returns:
platformFaultDomain
public Integer platformFaultDomain()
Get the platformFaultDomain property: Specifies the fault domain of the virtual machine.
Returns:
platformUpdateDomain
public Integer platformUpdateDomain()
Get the platformUpdateDomain property: Specifies the update domain of the virtual machine.
Returns:
rdpThumbPrint
public String rdpThumbPrint()
Get the rdpThumbPrint property: The Remote desktop certificate thumbprint.
Returns:
statuses
public List
Get the statuses property: The resource status information.
Returns:
toJson
validate
public void validate()
Validates the instance.
vmAgent
public VirtualMachineAgentInstanceView vmAgent()
Get the vmAgent property: The VM Agent running on the virtual machine.
Returns:
vmHealth
public VirtualMachineHealthStatus vmHealth()
Get the vmHealth property: The health status for the VM.
Returns:
withBootDiagnostics
public VirtualMachineInstanceViewInner withBootDiagnostics(BootDiagnosticsInstanceView bootDiagnostics)
Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
Parameters:
Returns:
withComputerName
public VirtualMachineInstanceViewInner withComputerName(String computerName)
Set the computerName property: The computer name assigned to the virtual machine.
Parameters:
Returns:
withDisks
public VirtualMachineInstanceViewInner withDisks(List
Set the disks property: The virtual machine disk information.
Parameters:
Returns:
withExtensions
public VirtualMachineInstanceViewInner withExtensions(List
Set the extensions property: The extensions information.
Parameters:
Returns:
withHyperVGeneration
public VirtualMachineInstanceViewInner withHyperVGeneration(HyperVGenerationType hyperVGeneration)
Set the hyperVGeneration property: Specifies the HyperVGeneration Type associated with a resource.
Parameters:
Returns:
withMaintenanceRedeployStatus
public VirtualMachineInstanceViewInner withMaintenanceRedeployStatus(MaintenanceRedeployStatus maintenanceRedeployStatus)
Set the maintenanceRedeployStatus property: The Maintenance Operation status on the virtual machine.
Parameters:
Returns:
withOsName
public VirtualMachineInstanceViewInner withOsName(String osName)
Set the osName property: The Operating System running on the virtual machine.
Parameters:
Returns:
withOsVersion
public VirtualMachineInstanceViewInner withOsVersion(String osVersion)
Set the osVersion property: The version of Operating System running on the virtual machine.
Parameters:
Returns:
withPatchStatus
public VirtualMachineInstanceViewInner withPatchStatus(VirtualMachinePatchStatus patchStatus)
Set the patchStatus property: [Preview Feature] The status of virtual machine patch operations.
Parameters:
Returns:
withPlatformFaultDomain
public VirtualMachineInstanceViewInner withPlatformFaultDomain(Integer platformFaultDomain)
Set the platformFaultDomain property: Specifies the fault domain of the virtual machine.
Parameters:
Returns:
withPlatformUpdateDomain
public VirtualMachineInstanceViewInner withPlatformUpdateDomain(Integer platformUpdateDomain)
Set the platformUpdateDomain property: Specifies the update domain of the virtual machine.
Parameters:
Returns:
withRdpThumbPrint
public VirtualMachineInstanceViewInner withRdpThumbPrint(String rdpThumbPrint)
Set the rdpThumbPrint property: The Remote desktop certificate thumbprint.
Parameters:
Returns:
withStatuses
public VirtualMachineInstanceViewInner withStatuses(List
Set the statuses property: The resource status information.
Parameters:
Returns:
withVmAgent
public VirtualMachineInstanceViewInner withVmAgent(VirtualMachineAgentInstanceView vmAgent)
Set the vmAgent property: The VM Agent running on the virtual machine.
Parameters:
Returns: