Udostępnij za pośrednictwem


VirtualMachineInstanceView Constructors

Definition

Overloads

VirtualMachineInstanceView()

Initializes a new instance of the VirtualMachineInstanceView class.

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

Initializes a new instance of the VirtualMachineInstanceView class.

VirtualMachineInstanceView()

Initializes a new instance of the VirtualMachineInstanceView class.

public VirtualMachineInstanceView ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VirtualMachineInstanceView class.

public VirtualMachineInstanceView (int? platformUpdateDomain = default, int? platformFaultDomain = default, string computerName = default, string osName = default, string osVersion = default, string hyperVGeneration = default, string rdpThumbPrint = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineAgentInstanceView vmAgent = default, Microsoft.Azure.Management.Compute.Models.MaintenanceRedeployStatus maintenanceRedeployStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DiskInstanceView> disks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView> extensions = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineHealthStatus vmHealth = default, Microsoft.Azure.Management.Compute.Models.BootDiagnosticsInstanceView bootDiagnostics = default, string assignedHost = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> statuses = default, Microsoft.Azure.Management.Compute.Models.VirtualMachinePatchStatus patchStatus = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineInstanceView : Nullable<int> * Nullable<int> * string * string * string * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineAgentInstanceView * Microsoft.Azure.Management.Compute.Models.MaintenanceRedeployStatus * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DiskInstanceView> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView> * Microsoft.Azure.Management.Compute.Models.VirtualMachineHealthStatus * Microsoft.Azure.Management.Compute.Models.BootDiagnosticsInstanceView * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> * Microsoft.Azure.Management.Compute.Models.VirtualMachinePatchStatus -> Microsoft.Azure.Management.Compute.Models.VirtualMachineInstanceView
Public Sub New (Optional platformUpdateDomain As Nullable(Of Integer) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = Nothing, Optional computerName As String = Nothing, Optional osName As String = Nothing, Optional osVersion As String = Nothing, Optional hyperVGeneration As String = Nothing, Optional rdpThumbPrint As String = Nothing, Optional vmAgent As VirtualMachineAgentInstanceView = Nothing, Optional maintenanceRedeployStatus As MaintenanceRedeployStatus = Nothing, Optional disks As IList(Of DiskInstanceView) = Nothing, Optional extensions As IList(Of VirtualMachineExtensionInstanceView) = Nothing, Optional vmHealth As VirtualMachineHealthStatus = Nothing, Optional bootDiagnostics As BootDiagnosticsInstanceView = Nothing, Optional assignedHost As String = Nothing, Optional statuses As IList(Of InstanceViewStatus) = Nothing, Optional patchStatus As VirtualMachinePatchStatus = Nothing)

Parameters

platformUpdateDomain
Nullable<Int32>

Specifies the update domain of the virtual machine.

platformFaultDomain
Nullable<Int32>

Specifies the fault domain of the virtual machine.

computerName
String

The computer name assigned to the virtual machine.

osName
String

The Operating System running on the virtual machine.

osVersion
String

The version of Operating System running on the virtual machine.

hyperVGeneration
String

Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', 'V2'

rdpThumbPrint
String

The Remote desktop certificate thumbprint.

vmAgent
VirtualMachineAgentInstanceView

The VM Agent running on the virtual machine.

maintenanceRedeployStatus
MaintenanceRedeployStatus

The Maintenance Operation status on the virtual machine.

disks
IList<DiskInstanceView>

The virtual machine disk information.

extensions
IList<VirtualMachineExtensionInstanceView>

The extensions information.

vmHealth
VirtualMachineHealthStatus

The health status for the VM.

bootDiagnostics
BootDiagnosticsInstanceView

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.

assignedHost
String

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.

statuses
IList<InstanceViewStatus>

The resource status information.

patchStatus
VirtualMachinePatchStatus

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

Applies to