add-notification-preference
Adds preferences for the notification service.
add-notification-preference
[-c value | --configuration=value]
[-b value | --bootstrap-config=value]
<-s value | --source=value>
<-t value | --category=value>
[-e <true|false> | --enabled=<true|false>]
{-Avalue}
{-Lkey=value}
Overview
Use this command to add preferences for the notification service. See also Configuring an email notification and Configuring an HTTP notification.
Options
| Option | Optional or Required | Default Value | Description |
|---|---|---|---|
|
Optional | configuration.xml | The path to the server configuration file. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Required | none | Identifies the origin of the notification.
Applicable values are
automation-services and
scheduled-updates. This parameter is required
to define which notifications to add.
|
|
Required | none | Defines the type of notifications that the
recipient will receive. The available options are:
all,
failed, and
successful. This lets you add notifications
for one category of events only.
|
|
Optional | true | Determines whether the notification preference is enabled. |
|
Optional | none | Specifies the email addresses to which notifications will be sent. By default, all specified addresses are included as 'bcc' in outgoing emails to ensure privacy and confidentiality. This argument can be specified multiple times with different values. |
|
Optional | none | Defines the label keys which are incorporated into the HTTP notification's payload. This argument can be specified multiple times with different keys. |
Parent topic: Command-line reference