Add Resources Properties

Add Resources Properties

In this case, the adapter instance used for pushing data will default to vRealizeOpsMgrAPI.
It is recommended (though not required) to use this API when the resources were created using the API
POST /api/resources/{id}/adapters/{adapterInstanceId}. Otherwise an additional
adapter instance might be created.

Request
URI
POST
https://{api_host}/suite-api/api/resources/properties
COPY
Request Body

The properties for the Resources

resources-property-contents of type(s) application/json
Required
"{\n  \"values\" : [ {\n    \"resourceId\" : \"185f2ece-a924-4a62-b1b0-dab0844f71fc\",\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\" : \"21c0726c-cb81-4758-abbf-0fee77b3518c\",\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