Share via


VirtualMachineScaleSetVMInstanceView Constructors

Definition

Overloads

VirtualMachineScaleSetVMInstanceView()

Initializes a new instance of the VirtualMachineScaleSetVMInstanceView class.

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

Initializes a new instance of the VirtualMachineScaleSetVMInstanceView class.

VirtualMachineScaleSetVMInstanceView()

Initializes a new instance of the VirtualMachineScaleSetVMInstanceView class.

public VirtualMachineScaleSetVMInstanceView ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VirtualMachineScaleSetVMInstanceView class.

public VirtualMachineScaleSetVMInstanceView (int? platformUpdateDomain = default, int? platformFaultDomain = 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, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> statuses = default, string assignedHost = default, string placementGroupId = default, string computerName = default, string osName = default, string osVersion = default, string hyperVGeneration = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceView : Nullable<int> * Nullable<int> * 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 * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> * string * string * string * string * string * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMInstanceView
Public Sub New (Optional platformUpdateDomain As Nullable(Of Integer) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = 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 statuses As IList(Of InstanceViewStatus) = Nothing, Optional assignedHost As String = Nothing, Optional placementGroupId As String = Nothing, Optional computerName As String = Nothing, Optional osName As String = Nothing, Optional osVersion As String = Nothing, Optional hyperVGeneration As String = Nothing)

Parameters

platformUpdateDomain
Nullable<Int32>

The Update Domain count.

platformFaultDomain
Nullable<Int32>

The Fault Domain count.

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 disks 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.

statuses
IList<InstanceViewStatus>

The resource status information.

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.

placementGroupId
String

The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.

computerName
String

Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> Max-length (Windows): 15 characters <br><br> Max-length (Linux): 64 characters. <br><br> For naming conventions and restrictions see Azure infrastructure services implementation guidelines.

osName
String

The Operating System running on the hybrid machine.

osVersion
String

The version of Operating System running on the hybrid machine.

hyperVGeneration
String

The hypervisor generation of the Virtual Machine [V1, V2]. Possible values include: 'V1', 'V2'

Applies to