[{"label":"Latest (v1.0)","version":"latest"}]
nsx-intelligence-and-application-platform

Update Telemetry Definitions

Description

This API creates telemetrys on telemetry plugin and defines their value type and aggregation method. If telemetry definitions already exist, and the new definition is different, the API will throw error.

Request

Request

URL

URL


put
https://api_host/napp/api/v1/platform/telemetry/telemetry-definitions
Copy

Request Body

Request Body

TelemetryDefinitionList of type(s) application/json Optional

List of telemetry definitions to be registered in telemetry plugin

{
	"definitions": [
		{
			"aggregation_method": "MIN",
			"name": "string",
			"value_type": "STRING"
		}
	]
}
definitions Required

Array of telemetry definitions

Authentication

Authentication

This operation uses the following authentication methods.


Response

Response

Response Body

Response Body

200 OK

Returns TelemetryDefinitionList of type(s) application/json
definitions Required

Array of telemetry definitions

Errors

Errors

400

Invalid Input

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"definitions":[{"aggregation_method":"MIN","name":"string","value_type":"STRING"}]}' https://api_host/napp/api/v1/platform/telemetry/telemetry-definitions


[{"label":"Latest (v1.0)","version":"latest"}]
nsx-intelligence-and-application-platform
Feedback

Was this page helpful?