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

Query Latest Stats Of Resources

Description

Get the last “maxSamples” stats values for specified one or more Resources

Request

Request

URL

URL


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

Request Body

Request Body

latest-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 requested stats

Errors

Errors

404

Non of the resources could be found


500

Error during the query

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"currentOnly":false,"maxSamples":0,"metrics":false,"resourceId":["string"],"statKey":["string"]}' https://localhost/suite-api/api/resources/stats/latest/query


Feedback

Was this page helpful?