[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Get Stats For Resource
DescriptionNOTE: When making an XML request, make sure the statKey field does not contain any key name with spaces.
Request
URLURL
https://localhost/suite-api/api/resources/{id}/stats/query
Path Parameters
Path Parameters
string
id
Required
The Identifier of the resource object
Request Body
Request Body
stat-query
of type(s) application/json, application/xml
Optional
The StatsQuery object which can be used to refine the query
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
StatsOfResources
of type(s) application/json, application/xml
Object, containing a map of List of Stat objects keyed by each resource UUID
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"begin":0,"currentOnly":false,"dt":false,"end":0,"intervalQuantifier":0,"intervalType":"HOURS","latestMaxSamples":0,"metrics":false,"resourceId":["string"],"rollUpType":"SUM","statKey":["string"],"wrapStatValues":false}' https://localhost/suite-api/api/resources/{id}/stats/query
[{"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