VirtualMachineInstanceView Class

The instance view of a virtual machine.

Constructor

VirtualMachineInstanceView(*args: Any, **kwargs: Any)

Variables

Name Description
platform_update_domain
int

Specifies the update domain of the virtual machine.

platform_fault_domain
int

Specifies the fault domain of the virtual machine.

computer_name
str

The computer name assigned to the virtual machine.

os_name
str

The Operating System running on the virtual machine.

os_version
str

The version of Operating System running on the virtual machine.

hyper_v_generation

Specifies the HyperVGeneration Type associated with a resource. Known values are: "V1" and "V2".

rdp_thumb_print
str

The Remote desktop certificate thumbprint.

vm_agent

The VM Agent running on the virtual machine.

maintenance_redeploy_status

The Maintenance Operation status on the virtual machine.

disks

The virtual machine disk information.

extensions

The extensions information.

vm_health

The health status for the VM.

boot_diagnostics

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.

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

statuses

The resource status information.

patch_status

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

is_vm_in_standby_pool

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

Attributes

assigned_host

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.

assigned_host: str | None

boot_diagnostics

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.

boot_diagnostics: _models.BootDiagnosticsInstanceView | None

computer_name

The computer name assigned to the virtual machine.

computer_name: str | None

disks

The virtual machine disk information.

disks: list['_models.DiskInstanceView'] | None

extensions

The extensions information.

extensions: list['_models.VirtualMachineExtensionInstanceView'] | None

hyper_v_generation

"V1" and "V2".

hyper_v_generation: str | _models.HyperVGenerationType | None

is_vm_in_standby_pool

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

is_vm_in_standby_pool: bool | None

maintenance_redeploy_status

The Maintenance Operation status on the virtual machine.

maintenance_redeploy_status: _models.MaintenanceRedeployStatus | None

os_name

The Operating System running on the virtual machine.

os_name: str | None

os_version

The version of Operating System running on the virtual machine.

os_version: str | None

patch_status

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

patch_status: _models.VirtualMachinePatchStatus | None

platform_fault_domain

Specifies the fault domain of the virtual machine.

platform_fault_domain: int | None

platform_update_domain

Specifies the update domain of the virtual machine.

platform_update_domain: int | None

rdp_thumb_print

The Remote desktop certificate thumbprint.

rdp_thumb_print: str | None

statuses

The resource status information.

statuses: list['_models.InstanceViewStatus'] | None

vm_agent

The VM Agent running on the virtual machine.

vm_agent: _models.VirtualMachineAgentInstanceView | None

vm_health

The health status for the VM.

vm_health: _models.VirtualMachineHealthStatus | None