[{"label":"Latest (2022-10-31)","version":"latest"}]
vrealize-operations
Update Notification Plugin Rule
DescriptionUpdate a specific Notification Rule for a Notification Plugin Instance
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 updated
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
NotificationRule
of type(s) application/json, application/xml
The Notification Rule was updated successfully in the system
Errors
422
An invalid request body was specified or any constraints were violated
500
There was an error during the update of the Notification Rule
Code Samples
cURL Command
curl -X PUT -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 (2022-10-31)","version":"latest"}]
vrealize-operations
On This Page
Notifications Operations
delete
post
delete