このコンテンツは選択した言語では利用できません。

Chapter 51. lifecycle-environment


Manipulate lifecycle_environments on the server

Usage

# hammer lifecycle-environment [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

51.1. lifecycle-environment create

Create an environment

Usage

# hammer lifecycle-environment create [OPTIONS]
Copy to Clipboard Toggle word wrap

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
  • --path-id NUMBER – If you are adding an environment to an existing path after Library, pass the ID of the environment that is the current successor of Library in the path. It has to be the id of the old environment following library in this path.
  • --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

51.2. lifecycle-environment delete

Destroy an environment

Usage

# hammer lifecycle-environment <delete|destroy> [OPTIONS]
Copy to Clipboard Toggle word wrap

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

51.3. lifecycle-environment info

Show an environment

Usage

# hammer lifecycle-environment <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

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

Expand
FIELDSALLDEFAULTTHIN

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

 

51.4. lifecycle-environment list

List environments in an organization

Usage

# hammer lifecycle-environment <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

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 BOOLEAN – Set true if you want to see only library environments
  • --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

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Name

x

x

x

Prior

x

x

 

Search and order fields

  • id – integer
  • label – string
  • name – string
  • organization_id – integer

51.5. lifecycle-environment paths

List environment paths

Usage

# hammer lifecycle-environment paths [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --content-source-id NUMBER – Show whether each lifecycle environment is associated with the given Capsule id.
  • --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

Expand
FIELDSALLDEFAULT

Lifecycle path

x

x

51.6. lifecycle-environment update

Update an environment

Usage

# hammer lifecycle-environment update [OPTIONS]
Copy to Clipboard Toggle word wrap

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
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

Theme

© 2025 Red Hat