[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Add Stats For Resources Using Push Adapter Kind

Description

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

Request

URL

URL


post
https://localhost/suite-api/api/resources/stats/adapterkinds/{adapterKind}
Copy

Path Parameters

Path Parameters

string
adapterKind Required

The ID of the adapter kind that will push the stats


Query Parameters

Query Parameters

boolean
disableAnalyticsProcessing Optional

Whether the current data set goes through Analytics processing (Threshold checking, Alert generation) or not. Defaults to false. But when set to true will result in no evaluation of Alerts but the data gets stored.

disableAnalyticsProcessing example
map[code:false
]

Request Body

Request Body

resources-stat-contents of type(s) application/json, application/xml Required

The Resources and their Stats

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

The stats are added successfully

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"list":[{"id":"string","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"},"stat-contents":[{"data":[0],"statKey":"string","timestamps":[0],"values":["string"]}]}]}' https://localhost/suite-api/api/resources/stats/adapterkinds/{adapterKind}


Feedback

Was this page helpful?