你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineInstanceView Class
The instance view of a virtual machine.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.compute._serialization.ModelVirtualMachineInstanceView
Constructor
VirtualMachineInstanceView(*, platform_update_domain: int | None = None, platform_fault_domain: int | None = None, computer_name: str | None = None, os_name: str | None = None, os_version: str | None = None, hyper_v_generation: str | _models.HyperVGenerationType | None = None, rdp_thumb_print: str | None = None, vm_agent: _models.VirtualMachineAgentInstanceView | None = None, maintenance_redeploy_status: _models.MaintenanceRedeployStatus | None = None, disks: List[_models.DiskInstanceView] | None = None, extensions: List[_models.VirtualMachineExtensionInstanceView] | None = None, boot_diagnostics: _models.BootDiagnosticsInstanceView | None = None, statuses: List[_models.InstanceViewStatus] | None = None, patch_status: _models.VirtualMachinePatchStatus | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
platform_update_domain
|
Specifies the update domain of the virtual machine. |
platform_fault_domain
|
Specifies the fault domain of the virtual machine. |
computer_name
|
The computer name assigned to the virtual machine. |
os_name
|
The Operating System running on the virtual machine. |
os_version
|
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
|
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. |
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. |
statuses
|
The resource status information. |
patch_status
|
[Preview Feature] The status of virtual machine patch operations. |
Variables
Name | Description |
---|---|
platform_update_domain
|
Specifies the update domain of the virtual machine. |
platform_fault_domain
|
Specifies the fault domain of the virtual machine. |
computer_name
|
The computer name assigned to the virtual machine. |
os_name
|
The Operating System running on the virtual machine. |
os_version
|
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
|
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
|
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. |