2.80. hammer 订阅
操作订阅
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
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 订阅 delete-manifest 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
从红帽供应商中删除清单
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
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 订阅列表 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
列出机构订阅
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 -----------|-----|--------
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 订阅清单 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
获取订阅的清单历史记录
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 ---------------|-----|--------
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 订阅 refresh-manifest 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
刷新之前为红帽供应商导入的清单
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
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 订阅上传 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
上传订阅清单
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
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