Inventory View Open Inventory View Folder

Inventory View Open Inventory View Folder

Adds the child objects of a given managed entity to the view.

If a Datacenter is returned as a child, the implicit virtual machine folder and host folder objects are also returned. If a ComputeResource is returned, the implicit root ResourcePool and HostSystem objects are also returned.

May partially succeed if some entities could not be resolved. The operation will still succeed for all entities which could be resolved, and the list of those which failed is returned as the result.

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/InventoryView/{moId}/OpenInventoryViewFolder
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 InventoryView/{moId}.

string
release
Required

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


Request Body
OpenInventoryViewFolderRequestType of type(s) application/json
Required
{
    "entity": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
entity
Required

An array of managed object references. Each array entry is a reference to an entity to expand. Expands each entity in the order given. If an entity is not in the current view, expands the view as needed.

Required privileges: System.View

Authentication
This operation uses the following authentication methods.
Responses
200

A list containing any entities in the argument could not be resolved.

Returns Array of MoRefManagedEntity of type(s) application/json
[
    {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
]