共用方式為


VirtualMachineInstanceView Class

Definition

The instance view of a virtual machine.

public class VirtualMachineInstanceView
type VirtualMachineInstanceView = class
Public Class VirtualMachineInstanceView
Inheritance
VirtualMachineInstanceView

Constructors

VirtualMachineInstanceView()

Initializes a new instance of the VirtualMachineInstanceView class.

VirtualMachineInstanceView(Nullable<Int32>, Nullable<Int32>, String, String, String, HyperVGenerationType, String, VirtualMachineAgentInstanceView, MaintenanceRedeployStatus, IList<DiskInstanceView>, IList<VirtualMachineExtensionInstanceView>, VirtualMachineHealthStatus, BootDiagnosticsInstanceView, String, IList<InstanceViewStatus>, VirtualMachinePatchStatus)

Initializes a new instance of the VirtualMachineInstanceView class.

Properties

AssignedHost

Gets 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. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.

BootDiagnostics

Gets or sets boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. &lt;br&gt;&lt;br&gt; You can easily view the output of your console log. &lt;br&gt;&lt;br&gt; Azure also enables you to see a screenshot of the VM from the hypervisor.

ComputerName

Gets or sets the computer name assigned to the virtual machine.

Disks

Gets or sets the virtual machine disk information.

Extensions

Gets or sets the extensions information.

HyperVGeneration

Gets or sets specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', 'V2'

MaintenanceRedeployStatus

Gets or sets the Maintenance Operation status on the virtual machine.

OsName

Gets or sets the Operating System running on the virtual machine.

OsVersion

Gets or sets the version of Operating System running on the virtual machine.

PatchStatus

Gets or sets the status of virtual machine patch operations.

PlatformFaultDomain

Gets or sets specifies the fault domain of the virtual machine.

PlatformUpdateDomain

Gets or sets specifies the update domain of the virtual machine.

RdpThumbPrint

Gets or sets the Remote desktop certificate thumbprint.

Statuses

Gets or sets the resource status information.

VmAgent

Gets or sets the VM Agent running on the virtual machine.

VmHealth

Gets the health status for the VM.

Applies to