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

Create Alert Definition

Description

Once the Alert Definition is created, a unique identifier will be generated by the system for the Alert Definition

Request

Request

URL

URL


post
https://localhost/suite-api/api/alertdefinitions
Copy

Request Body

Request Body

alert-definition of type(s) application/json, application/xml Required

The Alert Definition that needs to be created

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created returns AlertDefinition of type(s) application/json, application/xml

The created Alert Definition

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"adapterKindKey":"string","cancelCycles":0,"description":"string","id":"string","name":"string","resourceKindKey":"string","states":[{"impact":{"detail":"string","impactType":"BADGE"},"recommendationPriorityMap":{"key":0},"severity":"UNKNOWN","symptoms":{}}],"subType":0,"type":0,"waitCycles":0}' https://localhost/suite-api/api/alertdefinitions


Feedback

Was this page helpful?