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

Get Matching Resources

Description

Gets a listing of resources based on the query spec specified

Request

Request

URL

URL


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

Query Parameters

Query Parameters

integer
page Optional

Page number from which data needs to be displayed (0-based)


integer
pageSize Optional

Expected number of entries per page


Request Body

Request Body

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

Query spec that encapsulates various filtering criteria for looking up Resources

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns Resources of type(s) application/json, application/xml

The Collection of Resources matching the specified query parameters

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"adapterInstanceId":["string"],"adapterKind":["string"],"collectorId":[0],"collectorName":["string"],"credentialId":["string"],"includeRelated":"PARENT","maintenanceScheduleId":["string"],"name":["string"],"parentId":["string"],"propertyConditions":{"conditions":[{"doubleValue":0,"key":"string","operator":"EQ","stringValue":"string"}],"conjunctionOperator":"AND"},"propertyName":"string","propertyValue":"string","recentlyAdded":0,"regex":["string"],"resourceHealth":["GREEN"],"resourceId":["string"],"resourceKind":["string"],"resourceState":["STOPPED"],"resourceStatus":["NONE"],"resourceTag":[{"category":"string","name":"string"}],"statConditions":{"conditions":[{"doubleValue":0,"key":"string","operator":"EQ","stringValue":"string"}],"conjunctionOperator":"AND"},"statKey":"string","statKeyInclusive":false,"statKeyLowerBound":0,"statKeyUpperBound":0}' https://localhost/suite-api/api/resources/query


Feedback

Was this page helpful?