TestimoX

API Reference

Class

HyperVVirtualDiskInfo

Namespace ComputerX.HyperV
Assembly ComputerX
Modifiers sealed

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.

Constructors

public HyperVVirtualDiskInfo() #

Properties

public String ComputerName { get; set; } #
Display(Order = 0)

Target computer that was queried.

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 Name { get; set; } #
Display(Order = 3)

Friendly storage allocation name.

public String Caption { get; set; } #
Display(Order = 4)

WMI caption for the storage allocation.

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 String ResourceSubType { get; set; } #
Display(Order = 7)

Hyper-V storage resource subtype.

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 String AllocationUnits { get; set; } #
Display(Order = 12)

Allocation units reported by WMI.

public Nullable<UInt64> VirtualQuantity { get; set; } #
Display(Order = 13)

Virtual quantity reported by WMI.

public String PoolId { get; set; } #
Display(Order = 14)

Pool identifier reported by WMI.

public String DataSource { get; set; } #
Display(Order = 15)

Data source used to populate this object.