検索

2.80. hammer subscription

download PDF

サブスクリプションを操作します。

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

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

Subcommands:
 delete-manifest               Delete manifest from Red Hat provider
 list, index                   List organization subscriptions
 manifest-history              Obtain manifest history for subscriptions
 refresh-manifest              Refresh previously imported manifest for Red Hat provider
 upload                        Upload a subscription manifest

Options:
 -h, --help                    Print help

2.80.1. hammer subscription delete-manifest

Red Hat プロバイダーからマニフェストを削除します。

Usage:
    hammer subscription delete-manifest [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization id
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

2.80.2. hammer subscription list

組織サブスクリプションの一覧を表示します。

Usage:
    hammer subscription <list|index> [OPTIONS]

Options:
 --activation-key ACTIVATION_KEY_NAME    Activation key name to search by
 --activation-key-id ACTIVATION_KEY_ID   Activation key ID
 --available-for AVAILABLE_FOR           Object to show subscriptions available for, either 'host' or 'activation_key'
 --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
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0.
 --host HOST_NAME                        Host name
 --host-id HOST_ID                       Id of a host
 --match-host MATCH_HOST                 Ignore subscriptions that are unavailable to the specified host
                                         One of true/false, yes/no, 1/0.
 --match-installed MATCH_INSTALLED       Return subscriptions that match installed products of the specified host
                                         One of true/false, yes/no, 1/0.
 --name NAME                             Name of the subscription
 --no-overlap NO_OVERLAP                 Return subscriptions which do not overlap with a currently-attached subscription
                                         One of true/false, yes/no, 1/0.
 --order ORDER                           Sort field and order, eg. 'id DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

Predefined field sets:
  -----------|-----|--------
  FIELDS     | ALL | DEFAULT
  -----------|-----|--------
  Id         | x   | x
  Uuid       | x   | x
  Name       | x   | x
  Type       | x   | x
  Contract   | x   | x
  Account    | x   | x
  Support    | x   | x
  Start date | x   | x
  End date   | x   | x
  Quantity   | x   | x
  Consumed   | x   | x
  -----------|-----|--------

2.80.3. hammer subscription manifest-history

サブスクリプションのマニフェスト履歴を取得します。

Usage:
    hammer subscription manifest-history [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
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization ID
 --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
  ---------------|-----|--------
  Status         | x   | x
  Status message | x   | x
  Time           | x   | x
  ---------------|-----|--------

2.80.4. hammer subscription refresh-manifest

Red Hat プロバイダーに以前インポートしたマニフェストをリフレッシュします。

Usage:
    hammer subscription refresh-manifest [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization id
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

2.80.5. hammer subscription upload

サブスクリプションマニフェストをアップロードします

Usage:
    hammer subscription upload [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --file MANIFEST                         Subscription manifest file
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization id
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --repository-url REPOSITORY_URL         Repository url
 -h, --help                              Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

© 2024 Red Hat, Inc.