ResourceRelation
This object contains a resource, its relation type and the list of objects to which this resource is related.
Properties
The relationship type to the target collection
Possible values are: PARENT , CHILD , CONTAINS , CONTAINED_BY , REFERENCES , REFERENCED_BY , USES , USED_BY , SELF , DESCENDANT , ANCESTOR , TST , ALL
JSON Example
{
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "NEXT"
}
],
"pageInfo": {
"page": 0,
"pageSize": 0,
"sortBy": "string",
"sortOrder": "string",
"totalCount": 0
},
"relationshipType": "PARENT",
"resourceList": [
{
"badges": [
{
"color": "GREEN",
"score": 0,
"type": "ANOMALY"
}
],
"creationTime": 0,
"credentialInstanceId": "string",
"description": "string",
"dtEnabled": false,
"extension": {
"anyObjects": {}
},
"geoLocation": {
"latitude": 0,
"longitude": 0
},
"identifier": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "NEXT"
}
],
"monitoringInterval": 0,
"monitoringIntervalMinutes": 0,
"monitoringIntervalSeconds": 0,
"relatedResources": [
"string"
],
"resourceHealth": "GREEN",
"resourceHealthValue": 0,
"resourceKey": {
"adapterKindKey": "string",
"extension": {
"anyObjects": {}
},
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "NEXT"
}
],
"name": "string",
"resourceIdentifiers": [
{
"identifierType": {
"dataType": "STRING",
"extension": {
"anyObjects": {}
},
"isPartOfUniqueness": false,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "NEXT"
}
],
"name": "string"
},
"key": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "NEXT"
}
],
"name": "string",
"uniquelyIdentifying": false,
"value": "string"
}
],
"resourceKindKey": "string"
},
"resourceStatusStates": [
{
"adapterInstanceId": "string",
"resourceState": "STOPPED",
"resourceStatus": "NONE",
"statusMessage": "string"
}
]
}
]
}
Returned By
Get Relationships
Get Relationship