28.3. DNS 配额集

设置配额

使用方法:

openstack dns quota set [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--noindent] [--prefix PREFIX]
                               [--max-width <integer>] [--fit-width]
                               [--print-empty] [--all-projects]
                               [--edit-managed]
                               [--sudo-project-id SUDO_PROJECT_ID]
                               [--project-id PROJECT_ID]
                               [--api-export-size <api-export-size>]
                               [--recordset-records <recordset-records>]
                               [--zone-records <zone-records>]
                               [--zone-recordsets <zone-recordsets>]
                               [--zones <zones>]

表 28.7. 可选参数

概述

-h, --help

显示帮助信息并退出

--all-projects

显示所有项目的结果。default: false

--edit-managed

编辑标记为 managed. default: false的资源

--sudo-project-id SUDO_PROJECT_ID

这个命令的模拟项目 ID。default: None

--project-id PROJECT_ID

项目 ID

--api-export-size <api-export-size>

api-export-size 配额的新值

--recordset-records <recordset-records>

recordset-records 配额的新值

--zone-records <zone-records>

zone-records 配额的新值

--zone-recordsets <zone-recordsets>

zone-recordsets 配额的新值

--zones <zones>

zone 配额的新值

表 28.8. 输出格式器

概述

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

输出格式,默认为 table

-c COLUMN, --column COLUMN

指定要包含的列,可以重复

表 28.9. JSON Formatter

概述

--noindent

是否禁用缩进 json

表 28.10. shell Formatter

概述

--prefix PREFIX

为所有变量名称添加前缀

表 28.11. 表格式

概述

--max-width <integer>

最大显示宽度 <1 来禁用。您还可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数具有优先权。

--fit-width

适合显示宽度的表。如果 --max-width 大于 0,则意味着。将环境变量 CLIFF_FIT_WIDTH=1 设置为 always 启用

--print-empty

如果没有要显示数据,则打印空表。