API Reference
Class
HyperVInventoryInfo
Consolidated read-only Hyper-V inventory gathered through native Hyper-V WMI v2 queries.
Inheritance
- Object
- HyperVInventoryInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method HyperVInventoryQuery.Get
- Method HyperVInventoryQuery.GetAsync
Constructors
public HyperVInventoryInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<HyperVVirtualMachineInfo> VirtualMachines { get; set; } #Display(Order = 2)Virtual machine state rows.
public IReadOnlyList<HyperVVirtualMachineConfigurationInfo> Configurations { get; set; } #Display(Order = 3)Virtual machine configuration rows.
public IReadOnlyList<HyperVVirtualMachineResourceInfo> Resources { get; set; } #Display(Order = 4)Virtual machine CPU and memory allocation rows.
public IReadOnlyList<HyperVVirtualDiskInfo> VirtualDisks { get; set; } #Display(Order = 5)Virtual disk allocation rows.
public IReadOnlyList<HyperVVirtualNetworkAdapterInfo> VirtualNetworkAdapters { get; set; } #Display(Order = 6)Virtual network adapter rows.
public IReadOnlyList<HyperVSwitchInfo> Switches { get; set; } #Display(Order = 7)Virtual switch rows.
public Int32 VirtualMachineCount { get; set; } #Display(Order = 8)Number of virtual machines in VirtualMachines.
public Int32 VirtualDiskCount { get; set; } #Display(Order = 10)Number of virtual disk rows in VirtualDisks.
public Int32 VirtualNetworkAdapterCount { get; set; } #Display(Order = 11)Number of virtual network adapter rows in VirtualNetworkAdapters.
public IReadOnlyList<String> Warnings { get; set; } #Display(Order = 12)Optional warnings from child queries.
public String DataSource { get; set; } #Display(Order = 13)Data source used to populate this object.