2.58. hammer proxy


スマートプロキシーを操作します。

Usage:
    hammer proxy [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 content                       Manage the capsule content
 create                        Create a capsule
 delete, destroy               Delete a capsule
 import-classes                Import puppet classes from puppet Capsule
 info, show                    Show a capsule
 list, index                   List all capsules
 refresh-features              Refresh capsule features
 update                        Update a capsule

Options:
 -h, --help                    Print help

2.58.1. hammer proxy content

Capsule コンテンツを管理します。

Usage:
    hammer proxy content [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 add-lifecycle-environment        Add lifecycle environments to the capsule
 available-lifecycle-environments List the lifecycle environments not attached to the capsule
 cancel-synchronization           Cancel running capsule synchronization
 info                             Get current capsule synchronization status
 lifecycle-environments           List the lifecycle environments attached to the capsule
 remove-lifecycle-environment     Remove lifecycle environments from the capsule
 synchronization-status           Get current capsule synchronization status
 synchronize                      Synchronize the content to the capsule

Options:
 -h, --help                    Print help

2.58.1.1. hammer proxy content add-lifecycle-environment

ライフサイクル環境を Capsule に追加します。

Usage:
    hammer proxy content add-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME                      Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                     (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id ID                                             Id of the capsule
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name to search by
 --organization NAME                                 Organization name
 --organization-id ID                                Organization ID
 -h, --help                                          Print help

2.58.1.2. hammer proxy content available-lifecycle-environments

Capsule に割り当てられていないライフサイクル環境を一覧表示します。

Usage:
    hammer proxy content available-lifecycle-environments [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 capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to limit environments on
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

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

2.58.1.3. hammer proxy content cancel-synchronization

実行中の Capsule 同期をキャンセルします。

Usage:
    hammer proxy content cancel-synchronization [OPTIONS]

Options:
 --id ID                       Id of the capsule
 --name NAME                   Name to search by
 -h, --help                    Print help

2.58.1.4. hammer proxy content info

現在の Capsule 同期ステータスを取得します。

Usage:
    hammer proxy content info [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 capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to get the status for
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  -------------------------------------------------------------------|-----|--------
  FIELDS                                                             | ALL | DEFAULT
  -------------------------------------------------------------------|-----|--------
  Lifecycle Environments/Name                                        | x   | x
  Lifecycle Environments/Organization                                | x   | x
  Lifecycle Environments/Content Views/Name                          | x   | x
  Lifecycle Environments/Content Views/Composite                     | x   | x
  Lifecycle Environments/Content Views/Last Published                | x   | x
  Lifecycle Environments/Content Views/Content/Hosts                 | x   | x
  Lifecycle Environments/Content Views/Content/Products              | x   | x
  Lifecycle Environments/Content Views/Content/Yum repos             | x   | x
  Lifecycle Environments/Content Views/Content/Container Image repos | x   | x
  Lifecycle Environments/Content Views/Content/Packages              | x   | x
  Lifecycle Environments/Content Views/Content/Package groups        | x   | x
  Lifecycle Environments/Content Views/Content/Errata                | x   | x
  Lifecycle Environments/Content Views/Content/Puppet modules        | x   | x
  -------------------------------------------------------------------|-----|--------

2.58.1.5. hammer proxy content lifecycle-environments

Capsule に割り当てられたライフサイクル環境を一覧表示します。

Usage:
    hammer proxy content lifecycle-environments [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 capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to limit environments on
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

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

2.58.1.6. hammer proxy content remove-lifecycle-environment

ライフサイクル環境を Capsule から削除します。

Usage:
    hammer proxy content remove-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME                      Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                     (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id ID                                             Id of the capsule
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name to search by
 --organization NAME                                 Organization name
 --organization-id ID                                Organization ID
 -h, --help                                          Print help

2.58.1.7. hammer proxy content synchronization-status

現在の Capsule 同期ステータスを取得します。

Usage:
    hammer proxy content synchronization-status [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 capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to get the status for
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  --------------------------------------|-----|--------
  FIELDS                                | ALL | DEFAULT
  --------------------------------------|-----|--------
  Last sync                             | x   | x
  Status                                | x   | x
  Currently running sync tasks/Task id  | x   | x
  Currently running sync tasks/Progress | x   | x
  Last failure/Task id                  | x   | x
  Last failure/Messages                 | x   | x
  --------------------------------------|-----|--------

2.58.1.8. hammer proxy content synchronize

コンテンツと Capsule を同期します。

Usage:
    hammer proxy content synchronize [OPTIONS]

Options:
 --async                                             Do not wait for the task
 --environment ENVIRONMENT_NAME                      Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                     (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id ID                                             Id of the capsule
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name to search by
 --organization NAME                                 Organization name
 --organization-id ID                                Organization ID
 --skip-metadata-check SKIP_METADATA_CHECK           Skip metadata check on each repository on the capsule
                                                     One of true/false, yes/no, 1/0.
 -h, --help                                          Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

© 2024 Red Hat, Inc.