ChangeParentResourcePool method of the CIM_ResourcePoolConfigurationService class

Starts a job to change the parent resource pool of a resource pool.

Syntax

uint32 ChangeParentResourcePool(
  [in]  CIM_ResourcePool REF ChildPool,
  [in]  CIM_ResourcePool REF ParentPool[],
  [in]  string               Settings[],
  [out] CIM_ConcreteJob  REF Job
);

Parameters

ChildPool [in]

A reference to the child resource pool.

ParentPool [in]

An array that contains references to the parent pool.

Settings [in]

An array that contains an embedded instance of CIM_SettingData that represents the settings for the parent resource pool.

Job [out]

A reference to the job for the operation. When the job is finished this parameter can be set to NULL.

Return value

The possible values are:

Job Completed with No Error (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

Incorrect ResourceType for the Pool (7)

Insufficient Resources (8)

DMTF Reserved (9 4095)

Method Parameters Checked - Job Started (4096)

Size Not Supported (4097)

Method Reserved (4098 32767)

Vendor Specific (32768 65535)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_ResourcePoolConfigurationService