Compute Resource Get Resource Pool

Compute Resource Get Resource Pool

Reference to root resource pool.

Required privileges: System.View

Request
URI
GET
https://{api_host}/sdk/vim25/{release}/ComputeResource/{moId}/resourcePool
COPY
Path Parameters
string
moId
Required

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

string
release
Required

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


Authentication
This operation uses the following authentication methods.
Responses
200

OK

This response body class contains all of the following: MoRefResourcePool
{
    "0": "M",
    "1": "o",
    "2": "R",
    "3": "e",
    "4": "f",
    "5": "R",
    "6": "e",
    "7": "s",
    "8": "o",
    "9": "u",
    "10": "r",
    "11": "c",
    "12": "e",
    "13": "P",
    "14": "o",
    "15": "o",
    "16": "l",
    "17": " ",
    "18": "O",
    "19": "b",
    "20": "j",
    "21": "e",
    "22": "c",
    "23": "t"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/ComputeResource/{moId}/resourcePool