[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Add Relationship
Description- If at least a few of the Resource that are part of relatedIds list are valid resources then the operation is performed.
- If there are few Resource that are part of relatedIds list that will result in a cyclical relationship, then those resources will be skipped.
NOTE: Adding relationship is not synchronous. As a result, the add operation may not happen immediately. It is recommended to query the relationships of the specific Resource back to ensure that the operation was indeed successful.
Request
URLURL
https://localhost/suite-api/api/resources/{id}/relationships/{relationshipType}
Path Parameters
Path Parameters
string
id
Required
The UUID of the source resource
string
relationshipType
Required
The type of relationship of the objects; Uses the RelationshipType.representation value
Request Body
Request Body
uuid-values
of type(s) application/json, application/xml
Required
UUID of resources to add as related to this resource
Authentication
This operation uses the following authentication methods.
Errors
404
All of the Resource that are part of the relatedIds list are invalid/non-existent
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"uuids":["string"]}' https://localhost/suite-api/api/resources/{id}/relationships/{relationshipType}
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Resource Operations
post
post
post
delete
delete
get
Get Latest Stats
Changed
get
get
get
get
Get Stats Of Resource
Changed
get
Get Top N Stats Of Resource
Changed
put