Skip to main content

Edit Alert Definitions

Edit Alert Definition details

Path Parameters
  • id int32 required
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 int32

    id of the associated entity

  • name string

    name of the associated entity

  • type string

    Possible 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 int32

    id of the associated entity

  • name string

    name of the associated entity

  • type string

    Possible 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 int32

    id of the associated entity

  • name string

    name of the associated entity

  • type string

    Possible 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 int32

    id of the associated entity

  • name string

    name of the associated entity

  • type string

    Possible 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 int32

    id of the associated entity

  • name string

    name of the associated entity

  • type string

    Possible 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 string

    Possible values: [ADD, DELETE, OVERWRITE]

    Allows adding to, overwriting and deleting existing recipients. default is adding to existing recipients

  • recipients object
  • to object[]
  • id int32
  • name string
  • type string

    Possible values: [USER, USER_GROUP, EMAIL, AD_USERGROUP]

  • cc object[]
  • id int32
  • name string
  • type string

    Possible values: [USER, USER_GROUP, EMAIL, AD_USERGROUP]

  • bcc object[]
  • id int32
  • name string
  • type string

    Possible values: [USER, USER_GROUP, EMAIL, AD_USERGROUP]

  • webHookId int32

    id 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 int32
  • name string
  • email string

    the message template for the email notification. Contains both email subject as well as body

  • console string

    the message template for the console notification

  • eventViewer string

    the message template for the event viewer notification

  • webhook string

    the message template for the webhook notification

Responses

Success


Schema
  • errorMessage string
  • errorCode int32
Loading...