Add Properties Using Push 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/{id}/properties/adapterkinds/{adapterKind}
COPY
Path Parameters
string
adapterKind
Required
The Adapter Kind key of the adapter instance that will push the properties
string
id
Required
The ID of the resource
Request Body
The properties for the Resource
property-contents
of type(s)
application/json
Required
Show optional properties
{
"property-content": [
{
"statKey": "string",
"timestamps": [
{}
]
}
]
}
"{\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}"
array of
object
property-content
Required
Collection of property contents
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 '{"property-content":["object"]}' https://{api_host}/suite-api/api/resources/{id}/properties/adapterkinds/{adapterKind}
On This Page
Resource Operations
GET
Get Relationship
PUT
Set Relationship
POST
Add Relationship
PUT
Stop Monitoring Resource
Deprecated
PUT
Start Monitoring Resource
Deprecated
PUT
Mark Resource As Being Maintained
DELETE
Unmark Resource As Being Maintained
PUT
Update Geo Location Of Resource
GET
Get Stats Of Resource
POST
Add Stats
POST
Get Stats For Resource
POST
Add Stats Using Push Adapter Kind
GET
Get Resource Properties
POST
Add Properties
POST
Add Properties Using Push Adapter Kind
GET
Get Resource
DELETE
Delete Resource
GET
Get Top N Stats Of Resource
GET
Get Latest Stats
GET
Get DT Stats Of Resource
GET
Get Stat Keys
GET
Get Relationships
DELETE
Delete Relationship