Host Cache Configuration Manager Configure Host Cache Task
Configure host cache/swap performance enhancement.
Required privileges: Host.Config.AdvancedConfig
Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostCacheConfigurationManager/{moId}/ConfigureHostCache_Task
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 HostCacheConfigurationManager/{moId}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
Request Body
ConfigureHostCacheRequestType
of type(s)
application/json
Required
"ConfigureHostCacheRequestType Object"
object
spec
Required
Host cache configuration specification.
Responses
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostCacheConfigurationManager/{moId}/ConfigureHostCache_Task
On This Page
Host Cache Configuration Manager Operations
POST
Host Cache Configuration Manager Configure Host Cache Task
GET
Host Cache Configuration Manager Get Cache Configuration Info