Add Resources Properties Using Adapter Kind

Add Resources Properties Using Adapter Kind

If the adapter kind specified is not present in the system, it will be created dynamically.
However if the adapter kind specified already exists, then it must be of OPENAPI adapter kind type.

Request
URI
POST
https://{api_host}/suite-api/api/resources/properties/adapterkinds/{adapterKind}
COPY
Path Parameters
string
adapterKind
Required

The Adapter Kind key of the adapter instance that will push the properties


Request Body

The properties for the Resources

resources-property-contents of type(s) application/json
Required
"{\n  \"values\" : [ {\n    \"resourceId\" : \"3997d407-31a5-4110-9818-9fb81772c6bf\",\n    \"property-contents\" : {\n      \"property-content\" : [ {\n        \"statKey\" : \"system|availability\",\n        \"timestamps\" : [ 1119844280663 ],\n        \"values\" : [ \"UP\" ]\n      }, {\n        \"statKey\" : \"config|num|processes\",\n        \"timestamps\" : [ 1119844280663 ],\n        \"data\" : [ 93.0 ]\n      } ]\n    }\n  }, {\n    \"resourceId\" : \"7124b167-95d4-4cbe-b885-923a61d0fa1a\",\n    \"property-contents\" : {\n      \"property-content\" : [ {\n        \"statKey\" : \"system|availability\",\n        \"timestamps\" : [ 1119844280663 ],\n        \"values\" : [ \"UP\" ]\n      }, {\n        \"statKey\" : \"config|num|processes\",\n        \"timestamps\" : [ 1119844280663 ],\n        \"data\" : [ 93.0 ]\n      } ]\n    }\n  } ]\n}"
array of object
values
Optional

Collection of resource property contents

Authentication
This operation uses the following authentication methods.
Responses
200

The properties are added successfully

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/suite-api/api/resources/properties/adapterkinds/{adapterKind}