VirtualMachineInstanceView Class

The instance view of a virtual machine.

Inheritance
VirtualMachineInstanceView

Constructor

VirtualMachineInstanceView(*, platform_update_domain: Optional[int] = None, platform_fault_domain: Optional[int] = None, computer_name: Optional[str] = None, os_name: Optional[str] = None, os_version: Optional[str] = None, hyper_v_generation: Optional[Union[str, azure.mgmt.compute.v2019_03_01.models._compute_management_client_enums.HyperVGenerationType]] = None, rdp_thumb_print: Optional[str] = None, vm_agent: Optional[azure.mgmt.compute.v2019_03_01.models._models_py3.VirtualMachineAgentInstanceView] = None, maintenance_redeploy_status: Optional[azure.mgmt.compute.v2019_03_01.models._models_py3.MaintenanceRedeployStatus] = None, disks: Optional[List[azure.mgmt.compute.v2019_03_01.models._models_py3.DiskInstanceView]] = None, extensions: Optional[List[azure.mgmt.compute.v2019_03_01.models._models_py3.VirtualMachineExtensionInstanceView]] = None, boot_diagnostics: Optional[azure.mgmt.compute.v2019_03_01.models._models_py3.BootDiagnosticsInstanceView] = None, statuses: Optional[List[azure.mgmt.compute.v2019_03_01.models._models_py3.InstanceViewStatus]] = None, **kwargs)

Parameters

platform_update_domain
int
Required

Specifies the update domain of the virtual machine.

platform_fault_domain
int
Required

Specifies the fault domain of the virtual machine.

computer_name
str
Required

The computer name assigned to the virtual machine.

os_name
str
Required

The Operating System running on the virtual machine.

os_version
str
Required

The version of Operating System running on the virtual machine.

hyper_v_generation
str or HyperVGenerationType
Required

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

rdp_thumb_print
str
Required

The Remote desktop certificate thumbprint.

vm_agent
VirtualMachineAgentInstanceView
Required

The VM Agent running on the virtual machine.

maintenance_redeploy_status
MaintenanceRedeployStatus
Required

The Maintenance Operation status on the virtual machine.

disks
list[DiskInstanceView]
Required

The virtual machine disk information.

extensions
list[VirtualMachineExtensionInstanceView]
Required

The extensions information.

boot_diagnostics
BootDiagnosticsInstanceView
Required

Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br>``<br> You can easily view the output of your console log. <br>``<br> Azure also enables you to see a screenshot of the VM from the hypervisor.

statuses
list[InstanceViewStatus]
Required

The resource status information.