你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineInstanceView Class

Definition

The instance view of a virtual machine.

public class VirtualMachineInstanceView : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineInstanceView>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineInstanceView>
type VirtualMachineInstanceView = class
    interface IJsonModel<VirtualMachineInstanceView>
    interface IPersistableModel<VirtualMachineInstanceView>
Public Class VirtualMachineInstanceView
Implements IJsonModel(Of VirtualMachineInstanceView), IPersistableModel(Of VirtualMachineInstanceView)
Inheritance
VirtualMachineInstanceView
Implements

Properties

AssignedHost

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.

BootDiagnostics

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.

ComputerName

The computer name assigned to the virtual machine.

Disks

The virtual machine disk information.

Extensions

The extensions information.

HyperVGeneration

Specifies the HyperVGeneration Type associated with a resource.

IsVmInStandbyPool

[Preview Feature] Specifies whether the VM is currently in or out of the Standby Pool.

MaintenanceRedeployStatus

The Maintenance Operation status on the virtual machine.

OSName

The Operating System running on the virtual machine.

OSVersion

The version of Operating System running on the virtual machine.

PatchStatus

[Preview Feature] The status of virtual machine patch operations.

PlatformFaultDomain

Specifies the fault domain of the virtual machine.

PlatformUpdateDomain

Specifies the update domain of the virtual machine.

RdpThumbPrint

The Remote desktop certificate thumbprint.

Statuses

The resource status information.

VmAgent

The VM Agent running on the virtual machine.

VmHealthStatus

The health status information for the VM.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineInstanceView>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineInstanceView>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineInstanceView>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineInstanceView>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineInstanceView>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to