[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Get Resources Relationships
DescriptionGet resources that satisfy filtering criteria and are related to specified listof resources with the given relationship type
Request
URLURL
https://localhost/suite-api/api/resources/bulk/relationships
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-relationships-query
of type(s) application/json, application/xml
Required
Query spec that encapsulates various filtering criteria for related resources look up
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
ResourcesRelation
of type(s) application/json, application/xml
The Collection of Resources related to given set of resources and matching the query Spec
Errors
404
If could find none of the resources from ResourceRelationshipsQuery.resourceIds
500
If there is an error during the query
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"hierarchyDepth":0,"relationshipType":"PARENT","resourceIds":["string"],"resourceQuery":{"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/bulk/relationships
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Resources Operations
post
post
Add Resources Properties
Introduced
post
Add Resources Properties Using Adapter Kind
Introduced
post
delete
delete
delete
delete
get
get
get
Get Latest Stats Of Resources
Changed
get
get
Get Stats Of Resources
Changed
get
Get Top N Stats Of Resources
Changed
put