搜索

2.46. hammer mail-notification

download PDF

管理电子邮件通知

Usage:
    hammer mail-notification [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info, show                    Show an email notification
 list, index                   List of email notifications

Options:
 -h, --help                    Print help

2.46.1. hammer 邮件通知信息

显示电子邮件通知

Usage:
    hammer mail-notification <info|show> [OPTIONS]

Options:
 --fields FIELDS               Show specified fields or predefined field sets only. (See below)
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                               JSON is acceptable and preferred way for complex parameters
 --id ID                       Numerical ID or email notification name
 --name NAME                   Name to search by
 -h, --help                    Print help

Predefined field sets:
  ------------------|-----|---------|-----
  FIELDS            | ALL | DEFAULT | THIN
  ------------------|-----|---------|-----
  Id                | x   | x       | x
  Name              | x   | x       | x
  Description       | x   | x       |
  Subscription type | x   | x       |
  ------------------|-----|---------|-----

2.46.2. hammer mail-notification list

电子邮件通知列表

Usage:
    hammer mail-notification <list|index> [OPTIONS]

Options:
 --fields FIELDS               Show specified fields or predefined field sets only. (See below)
                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                               JSON is acceptable and preferred way for complex parameters
 --order ORDER                 Sort field and order, eg. ‘id DESC’
 --page PAGE                   Page number, starting at 1
 --per-page PER_PAGE           Number of results per page to return, 'all' to return all results
 --search SEARCH               Filter results
 -h, --help                    Print help

Predefined field sets:
  -------|-----|---------|-----
  FIELDS | ALL | DEFAULT | THIN
  -------|-----|---------|-----
  Id     | x   | x       | x
  Name   | x   | x       | x
  -------|-----|---------|-----

Search / Order fields:
  description         text
  name                string
  user                string
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.