2.64. hammer 重复日志


与重复逻辑相关的操作

Usage:
    hammer recurring-logic [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 cancel                        Cancel recurring logic
 delete                        Delete all recuring logics filtered by the arguments
 info, show                    Show recurring logic details
 list, index                   List recurring logics

Options:
 -h, --help                    Print help

2.64.1. hammerduplicate-logic cancel

取消重复的逻辑

Usage:
    hammer recurring-logic cancel [OPTIONS]

Options:
 --id ID                                 ID of the recurring logic
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 -h, --help                              Print help

2.64.2. hammer 重复删除

删除所有按参数过滤的递归逻辑

Usage:
    hammer recurring-logic delete [OPTIONS]

Options:
 --cancelled                   Only delete cancelled recurring logics
 --finished                    Only delete finished recurring logics
 -h, --help                    Print help

2.64.3. hammer 重复日志信息

显示重复的逻辑详情

Usage:
    hammer recurring-logic <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                                 ID of the recurring logic
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 -h, --help                              Print help

Predefined field sets:
  ----------------|-----|--------
  FIELDS          | ALL | DEFAULT
  ----------------|-----|--------
  Id              | x   | x
  Cron line       | x   | x
  Action          | x   | x
  Last occurrence | x   | x
  Next occurrence | x   | x
  Iteration       | x   | x
  Iteration limit | x   | x
  Repeat until    | x   | x
  State           | x   | x
  ----------------|-----|--------

2.64.4. hammer 重复日志列表

列出重复逻辑

Usage:
    hammer recurring-logic <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
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --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
  ----------|-----|--------
  Id        | x   | x
  Cron line | x   | x
  Iteration | x   | x
  End time  | x   | x
  State     | x   | x
  ----------|-----|--------
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.