[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Add Stats
DescriptionIn this case, the adapter instance used for pushing data will default to vRealizeOpsMgrAPI. It is recommended (though not required) to use this API when the resource was created using the API POST /api/resources/{id}/adapters/{adapterInstanceId}
. Otherwise an additional adapter instance might be created.
Request
URLURL
https://localhost/suite-api/api/resources/{id}/stats
Path Parameters
Path Parameters
string
id
Required
The Identifier of the resource object
Query Parameters
Query Parameters
boolean
disableAnalyticsProcessing
Optional
Whether the current data set goes through Analytics processing (Threshold checking, Alert generation) or not. Defaults to false. But when set to true will result in no evaluation of Alerts but the data gets stored.
disableAnalyticsProcessing example
false
Request Body
Request Body
stat-contents
of type(s) application/json, application/xml
Required
The stats for the Resource
Authentication
This operation uses the following authentication methods.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"stat-content":[{"data":[0],"statKey":"string","timestamps":[0],"values":["string"]}]}' https://localhost/suite-api/api/resources/{id}/stats
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Resource Operations
post
post
post
delete
delete
get
Get Latest Stats
Changed
get
get
get
get
Get Stats Of Resource
Changed
get
Get Top N Stats Of Resource
Changed
put