API Reference
Class
HyperVVirtualDiskInfo
Native Hyper-V virtual disk inventory gathered from the Hyper-V WMI v2 provider.
Inheritance
- Object
- HyperVVirtualDiskInfo
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
- Property HyperVInventoryInfo.VirtualDisks
- Method HyperVVirtualDiskQuery.Get
- Method HyperVVirtualDiskQuery.GetAsync
Constructors
public HyperVVirtualDiskInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String InstanceId { get; set; } #Display(Order = 1)WMI instance identity of the storage allocation row.
public String VirtualMachineId { get; set; } #Display(Order = 2)Virtual machine identifier parsed from the WMI instance identity, when available.
public String Description { get; set; } #Display(Order = 5)WMI description for the storage allocation.
public Nullable<Int32> ResourceType { get; set; } #Display(Order = 6)Resource type value reported by WMI.
public IReadOnlyList<String> HostResources { get; set; } #Display(Order = 8)Host resource references reported by WMI. For VHD/VHDX disks this usually contains the disk path.
public String PrimaryHostResource { get; set; } #Display(Order = 9)First host resource, commonly the VHD/VHDX path.
public String Parent { get; set; } #Display(Order = 10)Parent resource allocation identity, when reported.
public IReadOnlyList<String> Connections { get; set; } #Display(Order = 11)Controller/address connections reported by WMI.
public Nullable<UInt64> VirtualQuantity { get; set; } #Display(Order = 13)Virtual quantity reported by WMI.
public String DataSource { get; set; } #Display(Order = 15)Data source used to populate this object.