Resource Pool Destroy Children

Resource Pool Destroy Children

Removes all child resource pools recursively.

All virtual machines and vApps associated with the child resource pools get associated with this resource pool.

Note that resource pools contained in child vApps are not affected.

The privilege checks performed are the following.

  • Resource.DeletePool privilege must be held on this object and each of it's immediate children to be destroyed.
  • If VMs are being moved, the privilege Resource.AssignVMToPool must be held on this resource pool as well as on any virtual machines being moved.
  • If vApps are being moved, the privilege Resource.AssignVAppToPool must be held on this resource pool as well as on any vApps being moved.
Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/ResourcePool/{moId}/DestroyChildren
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case ResourcePool/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure