2.51.5. hammer policy update


ポリシーを更新します。

Usage:
    hammer policy update [OPTIONS]

Options:
 --cron-line CRON_LINE                                 Policy schedule cron line (only if period == “custom”)
 --day-of-month DAY_OF_MONTH                           Policy schedule day of month (only if period == “monthly”)
 --deploy-by DEPLOY_BY                                 How the policy should be deployed
                                                       Possible value(s): 'puppet', 'ansible', 'manual'
 --description DESCRIPTION                             Policy description
 --host-ids HOST_IDS                                   Apply policy to hosts
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --hostgroup-ids HOSTGROUP_IDS                         Apply policy to host groups
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --hostgroups HOSTGROUP_NAMES                          Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --hosts HOST_NAMES                                    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
 --location LOCATION_NAME                              Name to search by
 --location-id LOCATION_ID
 --location-ids LOCATION_IDS                           REPLACE locations with given ids
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --locations LOCATION_NAMES                            Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --name NAME                                           Policy name
 --new-name NEW_NAME                                   Policy name
 --organization ORGANIZATION_NAME                      Name to search by
 --organization-id ORGANIZATION_ID                     Organization ID
 --organization-ids ORGANIZATION_IDS                   REPLACE organizations with given ids.
                                                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --organizations ORGANIZATION_NAMES                    Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                       JSON is acceptable and preferred way for complex parameters
 --period PERIOD                                       Policy schedule period (weekly, monthly, custom)
 --scap-content SCAP_CONTENT_TITLE                     SCAP content title
 --scap-content-id SCAP_CONTENT_ID
 --scap-content-profile-id SCAP_CONTENT_PROFILE_ID     Policy SCAP content profile ID
 --tailoring-file TAILORING_FILE_NAME                  Tailoring file name
 --tailoring-file-id TAILORING_FILE_ID
 --tailoring-file-profile-id TAILORING_FILE_PROFILE_ID Tailoring file profile ID
 --weekday WEEKDAY                                     Policy schedule weekday (only if period == “weekly”)
 -h, --help                                            Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

© 2024 Red Hat, Inc.