Represents a resource pool element of the Microsoft Windows Hyper-V platform.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
class Msvm_ResourcePoolComponent : Msvm_VirtualizationComponent
{
string CLSID;
uint32 Context = 1;
boolean Enabled = True;
string Name;
string AllocationCapabilitiesClassName;
string ResourcePoolClassName;
string ResourcePoolSettingDataClassName = "Msvm_ResourcePoolSettingData";
string PhysicalDeviceClassName;
string WmiFactoryCLSID;
uint8 MaxParentPools = 0;
};
Members
The Msvm_ResourcePoolComponent class has these types of members:
Properties
The Msvm_ResourcePoolComponent class has these properties.
AllocationCapabilitiesClassName
Data type: string
Access type: Read-only
The name of the class derived from CIM_AllocationCapabilities that describes the allocation capabilities of this resource pool.
CLSID
Data type: string
Access type: Read-only
A GUID that represents the class identifier of the service's COM object. This property is inherited from Msvm_VirtualizationComponent.
Context
Data type: uint32
Access type: Read-only
The context in which the newly created object will run. This value is passed in the dwClsContext parameter to CoCreateInstance. This property is inherited from Msvm_VirtualizationComponent, and it is always set to 1.
Enabled
Data type: boolean
Access type: Read-only
True if this instance is enabled and can be used to complete client requests; otherwise, False. This property is inherited from Msvm_VirtualizationComponent, and it is always set to True.
MaxParentPools
Data type: uint8
Access type: Read-only
The maximum number of parent resource pools that a child pool supports.
Name
Data type: string
Access type: Read-only
Qualifiers: Key
A language-neutral string that uniquely identifies the element. The following format is suggested to prevent naming conflicts: "vendor|component|version". For example, this name represents version 1.0 of the Microsoft Emulated Network Port Component: "Microsoft|EmulatedNetworkPortComponent|V1.0". This property is inherited from Msvm_VirtualizationComponent.
PhysicalDeviceClassName
Data type: string
Access type: Read-only
The name of the class derived from CIM_LogicalDevice that implements the physical device from which this pool allocates resources. This property can be Null if the virtual device class allocated from this pool is the same as the physical device class.
ResourcePoolClassName
Data type: string
Access type: Read-only
The name of the class derived from CIM_ResourcePool that implements the resource pool.
ResourcePoolSettingDataClassName
Data type: string
Access type: Read-only
The name of the class derived from CIM_SettingData that describes the non-allocation related settings of the resource pool.
WmiFactoryCLSID
Data type: string
Access type: Read-only
A GUID that represents the class identifier of the component's WMI object factory.
Remarks
Access to the Msvm_ResourcePoolComponent class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| End of client support | Windows 8.1 |
| End of server support | Windows Server 2012 R2 |
| Namespace | Root\Virtualization\V2 |
| MOF | WindowsVirtualization.V2.mof |
| DLL | Vmms.exe |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
