検索

2.43. hammer lifecycle-environment

download PDF

サーバーで 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 lifecycle-environment create

環境を作成します。

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 lifecycle-environment delete

環境を破棄します。

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 lifecycle-environment info

環境を表示します。

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 lifecycle-environment list

組織の環境のリストを表示します。

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 lifecycle-environment paths

環境パスのリストを表示します。

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 lifecycle-environment update

環境を更新します。

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
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.