Resource Pool Query Resource Config Option

Resource Pool Query Resource Config Option

Deprecated as of vSphere API 6.5.

Get a value range and default values for ResourceConfigSpec.

This API was never implemented, and there is no replacement for it.

Required privileges: Resource.EditPool

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/ResourcePool/{moId}/QueryResourceConfigOption
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
200
Returns ResourceConfigOption of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "cpuAllocationOption": {
        "_typeName": "string",
        "sharesOption": {
            "_typeName": "string",
            "sharesOption": {
                "_typeName": "string",
                "valueIsReadonly": false,
                "min": 0,
                "max": 0,
                "defaultValue": 0
            },
            "defaultLevel": "string"
        }
    },
    "memoryAllocationOption": {
        "_typeName": "string",
        "sharesOption": {
            "_typeName": "string",
            "sharesOption": {
                "_typeName": "string",
                "valueIsReadonly": false,
                "min": 0,
                "max": 0,
                "defaultValue": 0
            },
            "defaultLevel": "string"
        }
    }
}
cpuAllocationOption
Required

The ResourceAllocationOption data object specifies value ranges and default values for ResourceAllocationInfo.

memoryAllocationOption
Required

The ResourceAllocationOption data object specifies value ranges and default values for ResourceAllocationInfo.