65.4. 设置注册的限制
更新有关注册限制的信息
使用方法:
openstack registered limit set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--service <service>] [--resource-name <resource-name>] [--default-limit <default-limit>] [--description <description>] [--region <region>] <registered-limit-id>
表 65.14. 位置参数
值 | 概述 |
---|---|
<registered-limit-id> | 注册的限制为更新(id) |
表 65.15. 可选参数
值 | 概述 |
---|---|
-h, --help | 显示帮助信息并退出 |
--service <service> | 负责更新要限制的资源的更新服务。--service、--resource-name 或 --region 必须与现有值不同,否则它将被重复条目 |
--resource-name <resource-name> | 负责更新资源的资源以限制。--service、--resource-name 或 --region 必须与现有值不同,否则它将被重复条目 |
--default-limit <default-limit> | 要消耗的资源的默认限值 |
--description <description> | 更新注册限制的描述 |
--region <region> | 要生效的注册限制的区域。--service、--resource-name 或 --region 必须与现有值不同,否则它将是重复的条目 |
表 65.16. 输出格式器
值 | 概述 |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | 输出格式,默认为 table |
-c COLUMN, --column COLUMN | 指定要包含的列,可以重复 |
表 65.17. JSON Formatter
值 | 概述 |
---|---|
--noindent | 是否禁用缩进 json |
表 65.18. shell Formatter
值 | 概述 |
---|---|
--prefix PREFIX | 为所有变量名称添加前缀 |
表 65.19. 表格式
值 | 概述 |
---|---|
--max-width <integer> | 最大显示宽度 <1 来禁用。您还可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数具有优先权。 |
--fit-width | 适合显示宽度的表。如果 --max-width 大于 0,则意味着。将环境变量 CLIFF_FIT_WIDTH=1 设置为 always 启用 |
--print-empty | 如果没有要显示数据,则打印空表。 |