2.43. Hammer 生命周期-environment

操作服务器上的 lifecycle_environments

Usage:
    hammer lifecycle-environment [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 create                        Create an environment
 delete, destroy               Destroy an environment
 info, show                    Show an environment
 list, index                   List environments in an organization
 paths                         List environment paths
 update                        Update an environment

Options:
 -h, --help                    Print help

2.43.1. Hammer 生命周期-environment 创建

创建环境

Usage:
    hammer lifecycle-environment create [OPTIONS]

Options:
 --description VALUE                     Description of the environment
 --label VALUE                           Label of the environment
 --name VALUE                            Name of the environment
 --organization VALUE                    Organization name to search by
 --organization-id NUMBER                Name of organization
 --organization-label VALUE              Organization label to search by
 --organization-title VALUE              Organization title
 --prior VALUE                           Name of the prior environment
 --prior-id NUMBER                       ID of an environment that is prior to the new environment in the chain. It has
                                         to be either the ID of Library or the ID of an environment at the end of a
                                         chain.
 --registry-name-pattern VALUE           Pattern for container image names
 --registry-unauthenticated-pull BOOLEAN Allow unauthenticed pull of container images
 -h, --help                              Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.43.2. Hammer 生命周期环境删除

销毁环境

Usage:
    hammer lifecycle-environment <delete|destroy> [OPTIONS]

Options:
 --id NUMBER                   ID of the environment
 --name VALUE                  Lifecycle environment name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.43.3. Hammer 生命周期环境信息

显示环境

Usage:
    hammer lifecycle-environment <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id NUMBER                   ID of the environment
 --name VALUE                  Lifecycle environment name to search by
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      ID of the organization
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 -h, --help                    Print help

Predefined field sets:
  ----------------------------|-----|---------|-----
  FIELDS                      | ALL | DEFAULT | THIN
  ----------------------------|-----|---------|-----
  Id                          | x   | x       | x
  Name                        | x   | x       | x
  Label                       | x   | x       |
  Description                 | x   | x       |
  Organization                | x   | x       |
  Library                     | x   | x       |
  Prior lifecycle environment | x   | x       |
  Unauthenticated pull        | x   | x       |
  Registry name pattern       | x   | x       |
  ----------------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.43.4. Hammer 生命周期-environment 列表

列出机构中的环境

Usage:
    hammer lifecycle-environment <list|index> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN         Whether or not to show all results
 --label VALUE                 Filter only environments containing this label
 --library ENUM                Set true if you want to see only library environments
                               Possible value(s): 'true', 'false'
 --name VALUE                  Filter only environments containing this name
 --order VALUE                 Sort field and order, eg. 'id DESC'
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --page NUMBER                 Page number, starting at 1
 --per-page NUMBER             Number of results per page to return
 --search VALUE                Search string
 -h, --help                    Print help

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

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  id                  integer
  label               string
  name                string
  organization_id     integer

2.43.5. Hammer 生命周期环境路径

列出路径

Usage:
    hammer lifecycle-environment paths [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --organization VALUE          Organization name to search by
 --organization-id NUMBER      Organization identifier
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Organization title
 --permission-type VALUE       The associated permission type. One of (readable | promotable) Default: readable
 -h, --help                    Print help

Predefined field sets:
  ---------------|-----|--------
  FIELDS         | ALL | DEFAULT
  ---------------|-----|--------
  Lifecycle path | x   | x
  ---------------|-----|--------

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.43.6. Hammer 生命周期环境更新

更新环境

Usage:
    hammer lifecycle-environment update [OPTIONS]

Options:
 --async BOOLEAN                         Do not wait for the update action to finish. Default: true
 --description VALUE                     Description of the environment
 --id NUMBER                             ID of the environment
 --name VALUE                            Lifecycle environment name to search by
 --new-name VALUE                        New name to be given to the environment
 --organization VALUE                    Organization name to search by
 --organization-id NUMBER                Name of the organization
 --organization-label VALUE              Organization label to search by
 --organization-title VALUE              Organization title
 --registry-name-pattern VALUE           Pattern for container image names
 --registry-unauthenticated-pull BOOLEAN Allow unauthenticed pull of container images
 -h, --help                              Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string