VirtualMachineScaleSetVMInstanceView Class

The instance view of a virtual machine scale set VM.

Constructor

VirtualMachineScaleSetVMInstanceView()

Variables

Name Description
platformUpdateDomain
int

The Update Domain count.

platformFaultDomain
int

The Fault Domain count.

rdpThumbPrint
str

The Remote desktop certificate thumbprint.

vmAgent
<xref:<xref:"VirtualMachineAgentInstanceView">>

The VM Agent running on the virtual machine.

maintenanceRedeployStatus
<xref:<xref:"MaintenanceRedeployStatus">>

The Maintenance Operation status on the virtual machine.

disks
list[<xref:"DiskInstanceView">]

The disks information.

extensions
list[<xref:"VirtualMachineExtensionInstanceView">]

The extensions information.

vmHealth
<xref:<xref:"VirtualMachineHealthStatus">>

The health status for the VM.

bootDiagnostics
<xref:<xref:"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
list[<xref:"InstanceViewStatus">]

The resource status information.

assignedHost
str

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
str

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

computerName
str

Specifies the host OS name of the virtual machine.

This name cannot be updated after the VM is created.

Max-length (Windows): 15 characters

Max-length (Linux): 64 characters.

For naming conventions and restrictions see Azure infrastructure services implementation guidelines.

osName
str

The Operating System running on the hybrid machine.

osVersion
str

The version of Operating System running on the hybrid machine.

hyperVGeneration
Union[str, <xref:"HyperVGeneration">]

The hypervisor generation of the Virtual Machine [V1, V2]. Known values are: "V1" and "V2".

interconnectInstanceView
<xref:<xref:"InterconnectInstanceView">>

The Interconnect runtime view of the Scale Set VM instance. Minimum api-version: 2026-03-01.

capacityReservationType
Union[str, <xref:"CapacityReservationType">]

Specifies which type of capacity reservation the virtual machine scale set VM instance 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. Known values are: "NotEligible", "Targeted", "Open", "Disabled", and "Block".

Attributes

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.

assignedHost: str

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.

bootDiagnostics: BootDiagnosticsInstanceView

capacityReservationType

Specifies which type of capacity reservation the virtual machine scale set VM instance 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. Known values are: "NotEligible", "Targeted", "Open", "Disabled", and "Block".

capacityReservationType: str | CapacityReservationType

computerName

Specifies the host OS name of the virtual machine.

This name cannot be updated after the VM is created.

Max-length (Windows): 15 characters

Max-length (Linux): 64 characters.

For naming conventions and restrictions see Azure infrastructure services implementation guidelines.

computerName: str

disks

The disks information.

disks: list['DiskInstanceView']

extensions

The extensions information.

extensions: list['VirtualMachineExtensionInstanceView']

hyperVGeneration

"V1" and "V2".

hyperVGeneration: str | HyperVGeneration

interconnectInstanceView

2026-03-01.

interconnectInstanceView: InterconnectInstanceView

maintenanceRedeployStatus

The Maintenance Operation status on the virtual machine.

maintenanceRedeployStatus: MaintenanceRedeployStatus

osName

The Operating System running on the hybrid machine.

osName: str

osVersion

The version of Operating System running on the hybrid machine.

osVersion: str

placementGroupId

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

placementGroupId: str

platformFaultDomain

The Fault Domain count.

platformFaultDomain: int

platformUpdateDomain

The Update Domain count.

platformUpdateDomain: int

rdpThumbPrint

The Remote desktop certificate thumbprint.

rdpThumbPrint: str

statuses

The resource status information.

statuses: list['InstanceViewStatus']

vmAgent

The VM Agent running on the virtual machine.

vmAgent: VirtualMachineAgentInstanceView

vmHealth

The health status for the VM.

vmHealth: VirtualMachineHealthStatus