[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Create Resource Using Adapter Kind
DescriptionThis adapter kind (referred to as ‘Push’ adapter kind) will be created if it does not exist in the system and an instance of it will be associated with the Resource being created. This adapter kind if it already exists must of OPENAPI adapter kind type. The API will also create the missing Adapter Kind and Resource Kind contained within the ResourceKey of the Resource if they do not exist.
Additional implementation notes:
- When creating a Resource, if the Resource Identifiers that are unique and required are not specified, the API would return an error with HTTP status code of 500 and an error message indicating the set of missing Resource Identifiers.
- When creating a Resource, if the Resource Identifiers that are unique but not required are not specified, the Resource is created where the uniquely identifying Resource Identifiers that were not specified will have their value as an empty string.
Request
URLURL
https://localhost/suite-api/api/resources/adapterkinds/{adapterKindKey}
Path Parameters
Path Parameters
string
adapterKindKey
Required
The adapter kind key
Request Body
Request Body
resource
of type(s) application/json, application/xml
Required
The request object that contains info necessary to create a new resource
Authentication
This operation uses the following authentication methods.
Errors
500
The ‘Push’ adapter kind specified already exists in the system and doesn’t correspond to an Adapter Kind that is of OPENAPI type
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"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"}]}' https://localhost/suite-api/api/resources/adapterkinds/{adapterKindKey}
[{"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