Lingua

ArmComputeModelFactory.VirtualMachineInstanceView Method

Definition

public static Azure.ResourceManager.Compute.Models.VirtualMachineInstanceView VirtualMachineInstanceView(int? platformUpdateDomain, int? platformFaultDomain, string computerName, string osName, string osVersion, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration, string rdpThumbPrint, Azure.ResourceManager.Compute.Models.VirtualMachineAgentInstanceView vmAgent, Azure.ResourceManager.Compute.Models.MaintenanceRedeployStatus maintenanceRedeployStatus, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DiskInstanceView> disks, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.VirtualMachineExtensionInstanceView> extensions, Azure.ResourceManager.Compute.Models.InstanceViewStatus vmHealthStatus, Azure.ResourceManager.Compute.Models.BootDiagnosticsInstanceView bootDiagnostics, string assignedHost, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses, Azure.ResourceManager.Compute.Models.VirtualMachinePatchStatus patchStatus, bool? isVmInStandbyPool, string interconnectSubgroupId, Azure.ResourceManager.Compute.Models.ComputeCapacityReservationType? capacityReservationType);
static member VirtualMachineInstanceView : Nullable<int> * Nullable<int> * string * string * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * string * Azure.ResourceManager.Compute.Models.VirtualMachineAgentInstanceView * Azure.ResourceManager.Compute.Models.MaintenanceRedeployStatus * seq<Azure.ResourceManager.Compute.Models.DiskInstanceView> * seq<Azure.ResourceManager.Compute.Models.VirtualMachineExtensionInstanceView> * Azure.ResourceManager.Compute.Models.InstanceViewStatus * Azure.ResourceManager.Compute.Models.BootDiagnosticsInstanceView * string * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * Azure.ResourceManager.Compute.Models.VirtualMachinePatchStatus * Nullable<bool> * string * Nullable<Azure.ResourceManager.Compute.Models.ComputeCapacityReservationType> -> Azure.ResourceManager.Compute.Models.VirtualMachineInstanceView
Public Shared Function VirtualMachineInstanceView (platformUpdateDomain As Nullable(Of Integer), platformFaultDomain As Nullable(Of Integer), computerName As String, osName As String, osVersion As String, hyperVGeneration As Nullable(Of HyperVGeneration), rdpThumbPrint As String, vmAgent As VirtualMachineAgentInstanceView, maintenanceRedeployStatus As MaintenanceRedeployStatus, disks As IEnumerable(Of DiskInstanceView), extensions As IEnumerable(Of VirtualMachineExtensionInstanceView), vmHealthStatus As InstanceViewStatus, bootDiagnostics As BootDiagnosticsInstanceView, assignedHost As String, statuses As IEnumerable(Of InstanceViewStatus), patchStatus As VirtualMachinePatchStatus, isVmInStandbyPool As Nullable(Of Boolean), interconnectSubgroupId As String, capacityReservationType As Nullable(Of ComputeCapacityReservationType)) As VirtualMachineInstanceView

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
Nullable<HyperVGeneration>

Specifies the HyperVGeneration Type associated with a resource.

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
IEnumerable<DiskInstanceView>

The virtual machine disk information.

extensions
IEnumerable<VirtualMachineExtensionInstanceView>

The extensions information.

vmHealthStatus
InstanceViewStatus

The health status information 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
IEnumerable<InstanceViewStatus>

The resource status information.

patchStatus
VirtualMachinePatchStatus

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

isVmInStandbyPool
Nullable<Boolean>

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

interconnectSubgroupId
String

The ID (GUID) of the Interconnect subgroup in which the Virtual Machine was placed.

capacityReservationType
Nullable<ComputeCapacityReservationType>

Specifies which type of capacity reservation the virtual machine will consume capacity from if eligible or whether it is explicitly opted out from being associated and consuming capacity from any reserved capacity available in the subscription. Minimum api-version: 2026-04-01.

Returns

A new VirtualMachineInstanceView instance for mocking.

Applies to