notifications

Содержание

notifications#

usage: awx notifications [-h] action ...

positional arguments:
  action
    list
    get

optional arguments:
  -h, --help  show this help message and exit

awx notifications: the following arguments are required: action

notifications list#

usage: awx notifications list [-h] [--all] [--order_by ORDER_BY]
                              [-f {json,yaml,jq,human}] [--filter TEXT]
                              [--conf.color BOOLEAN] [-v]
                              [--type {notification}] [--created CREATED]
                              [--modified MODIFIED]
                              [--notification_template ID] [--error TEXT]
                              [--status {pending,successful,failed}]
                              [--notifications_sent INTEGER]
                              [--notification_type {email,grafana,irc,mattermost,pagerduty,rocketchat,slack,twilio,webhook}]
                              [--recipients TEXT] [--subject TEXT]
                              [--body JSON/YAML]

optional arguments:
  -h, --help            show this help message and exit
  --all                 fetch all pages of content from the API when returning
                        results (instead of just the first page)
  --order_by ORDER_BY   order results by given field name, prefix the field
                        name with a dash (-) to sort in reverse eg
                        --order_by='-name',multiple sorting fields may be
                        specified by separating the field names with a comma
                        (,)
  --type {notification}
                        only list notifications with the specified type
  --created CREATED     only list notifications with the specified created
  --modified MODIFIED   only list notifications with the specified modified
  --notification_template ID
                        only list notifications with the specified
                        notification_template
  --error TEXT          only list notifications with the specified error
  --status {pending,successful,failed}
                        only list notifications with the specified status
  --notifications_sent INTEGER
                        only list notifications with the specified
                        notifications_sent
  --notification_type {email,grafana,irc,mattermost,pagerduty,rocketchat,slack,twilio,webhook}
                        only list notifications with the specified
                        notification_type
  --recipients TEXT     only list notifications with the specified recipients
  --subject TEXT        only list notifications with the specified subject
  --body JSON/YAML      only list notifications with the specified body

input/output formatting:
  -f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
                        specify a format for the input and output
  --filter TEXT         specify an output filter (only valid with jq or human
                        format)
  --conf.color BOOLEAN  Display colorized output. Defaults to True
  -v, --verbose         print debug-level logs, including requests made

notifications get#

usage: awx notifications get [-h] [-f {json,yaml,jq,human}] [--filter TEXT]
                             [--conf.color BOOLEAN] [-v]
                             id

positional arguments:
  id                    the ID (or unique name) of the resource

optional arguments:
  -h, --help            show this help message and exit

input/output formatting:
  -f {json,yaml,jq,human}, --conf.format {json,yaml,jq,human}
                        specify a format for the input and output
  --filter TEXT         specify an output filter (only valid with jq or human
                        format)
  --conf.color BOOLEAN  Display colorized output. Defaults to True
  -v, --verbose         print debug-level logs, including requests made

awx notifications get: the following arguments are required: id