resource-relationships-query
resource-relationships-query
Object used to lookup resources satisfying various filtering criteria and related to given set of resources
with given relation type.
JSON Example
{
"relationshipType": "string",
"resourceIds": [
"string"
],
"resourceQuery": {
"name": [
"string"
],
"regex": [
"string"
],
"adapterKind": [
"string"
],
"resourceKind": [
"string"
],
"collectorName": [
"string"
],
"collectorId": [
0
],
"maintenanceScheduleId": [
"string"
],
"adapterInstanceId": [
"string"
],
"recentlyAdded": 0,
"resourceState": [
"string"
],
"resourceStatus": [
"string"
],
"resourceHealth": [
"string"
],
"parentId": [
"string"
],
"credentialId": [
"string"
],
"resourceId": [
"string"
],
"propertyName": "string",
"propertyValue": "string",
"statKey": "string",
"statKeyLowerBound": "number",
"statKeyUpperBound": "number",
"statKeyInclusive": false,
"propertyConditions": {
"conjunctionOperator": "string",
"conditions": [
{
"key": "string",
"operator": "string",
"stringValue": "string",
"doubleValue": "number"
}
]
},
"statConditions": {
"conjunctionOperator": "string",
"conditions": [
{
"key": "string",
"operator": "string",
"stringValue": "string",
"doubleValue": "number"
}
]
},
"includeRelated": "string",
"resourceTag": [
{
"category": "string",
"name": "string"
}
]
},
"hierarchyDepth": 0
}
string
relationshipType
Required
Relationship Types between resources. All relationships are many-to-many.
Representation names are plural.
Possible values are :
PARENT,
CHILD,
DESCENDANT,
ANCESTOR,
ALL,
array of
string
resourceIds
Required
Resource uuids to get the related resources for
resourceQuery
Optional
Object used to lookup resources with various filtering criteria
integer As int32
As int32
hierarchyDepth
Optional
Relation hierarchy depth. Used with relationship types DESCENDANT, ANCESTOR and ALL. Defaults to 10.