Edit Alert Definitions
Edit Alert Definition details
Path Parameters
- id int32 required
- application/json
Request Body
- newName string
The new name of the alert definition
- sendIndividualNotifications boolean
- associationsOperationType string
Possible values: [
ADD
,DELETE
,OVERWRITE
]Default value:
ADD
Allows adding to, overwriting and deleting existing alert associations. default is adding to existing alert associations
associations object[]
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
ALL_SERVERS
,ALL_SERVER_GROUPS_ENTITY
,SERVER_GROUP_ENTITY
,SERVER_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
,BACKUPSET_ENTITY
,SUBCLIENT_ENTITY
,REPLICATION_PAIR_ENTITY
,BLR_PAIR_ENTITY
,FS_REPLICATION_PAIR_ENTITY
]parentEntity1 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]parentEntity2 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]parentEntity3 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]parentEntity4 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]alertTarget object
Please note CONTENT_INDEX will be returned at all times as it is enabled at all times.
sendAlertTo string[]Possible values: [
LIVEFEEDS
,SNMP
,WEBHOOK
,EMAIL
,APPLOG
,CONTENT_INDEX
]recipientsOperationType stringPossible values: [
ADD
,DELETE
,OVERWRITE
]Allows adding to, overwriting and deleting existing recipients. default is adding to existing recipients
recipients object
to object[]
id int32name stringtype stringPossible values: [
USER
,USER_GROUP
,EMAIL
,AD_USERGROUP
]cc object[]
id int32name stringtype stringPossible values: [
USER
,USER_GROUP
,EMAIL
,AD_USERGROUP
]bcc object[]
id int32name stringtype stringPossible values: [
USER
,USER_GROUP
,EMAIL
,AD_USERGROUP
]webHookId int32id of the webhook to be associated with the alert definition. Only needed incase of webhook notif selected. To get a list of webhooks, use api GET Webhook
templates object
locale object
id int32name stringemail stringthe message template for the email notification. Contains both email subject as well as body
console stringthe message template for the console notification
eventViewer stringthe message template for the event viewer notification
webhook stringthe message template for the webhook notification
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error