[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Create Notification Plugin Rule
DescriptionThe Notification Plugin with which the Rule needs to be associated must be specified as part of the request.
Request
URLURL
https://localhost/suite-api/api/notifications/rules
Request Body
Request Body
notification-rule
of type(s) application/json, application/xml
Required
The notification rule that needs to be created
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
NotificationRule
of type(s) application/json, application/xml
The Notification Rule was created successfully in the system
Errors
404
An invalid Alert Definition identifier was specified as part of Alert Definition Filter
422
An invalid request body was specified or any constraints were violated
500
There was an error during the creation of the Notification Rule
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"alertControlStates":["OPEN"],"alertDefinitionIdFilters":{"values":["string"]},"alertImpactFilters":{"values":["string"]},"alertStatuses":["NEW"],"alertTypeFilters":[{"alertSubTypes":[0],"alertType":0}],"collectorGroupId":"string","collectorUUId":"string","criticalities":["UNKNOWN"],"id":"string","links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","pluginId":"string","properties":[{"name":"string","value":"string"}],"resourceFilter":{"childrenResourceKindFilters":["string"],"childrenResourceKindKeyFilters":[{"adapterKind":"string","resourceKind":"string"}],"matchResourceIdOnly":false,"relationship":"PARENT","resourceId":"string"},"resourceFilters":[{"childrenResourceKindFilters":["string"],"childrenResourceKindKeyFilters":[{"adapterKind":"string","resourceKind":"string"}],"matchResourceIdOnly":false,"relationship":"PARENT","resourceId":"string"}],"resourceKindFilter":{"adapterKind":"string","resourceKind":"string"},"resourceKindFilters":[{"adapterKind":"string","resourceKind":"string"}],"templateId":"string"}' https://localhost/suite-api/api/notifications/rules
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Notifications Operations
delete
post
delete