[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Get Stats For Resources

Description

Get stats for one or more Resources using the specific query spec

Request

Request

URL

URL


post
https://localhost/suite-api/api/resources/stats/query
Copy

Request Body

Request Body

stat-query of type(s) application/json, application/xml Required

The object which specifies the search criteria

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns StatsOfResources of type(s) application/json, application/xml

The object containing a map of list of stat objects keyed by each Resource identifier

No error details were provided in the OpenAPI specification.

Code Samples

Code 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"]}' https://localhost/suite-api/api/resources/stats/query


Feedback

Was this page helpful?