此内容没有您所选择的语言版本。
Chapter 28. dns
This chapter describes the commands under the dns command.
28.1. dns quota list 复制链接链接已复制到粘贴板!
List quotas
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| --project-id PROJECT_ID | Project id default: current project |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
28.2. dns quota reset 复制链接链接已复制到粘贴板!
Reset quotas
Usage:
openstack dns quota reset [-h] [--all-projects] [--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
[--project-id PROJECT_ID]
openstack dns quota reset [-h] [--all-projects] [--edit-managed]
[--sudo-project-id SUDO_PROJECT_ID]
[--project-id PROJECT_ID]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| --project-id PROJECT_ID | Project id |
28.3. dns quota set 复制链接链接已复制到粘贴板!
Set quotas
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| --project-id PROJECT_ID | Project id |
| --api-export-size <api-export-size> | New value for the api-export-size quota |
| --recordset-records <recordset-records> | New value for the recordset-records quota |
| --zone-records <zone-records> | New value for the zone-records quota |
| --zone-recordsets <zone-recordsets> | New value for the zone-recordsets quota |
| --zones <zones> | New value for the zones quota |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
28.4. dns service list 复制链接链接已复制到粘贴板!
List service statuses
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --hostname HOSTNAME | Hostname |
| --service_name SERVICE_NAME | Service name |
| --status STATUS | Status |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
28.5. dns service show 复制链接链接已复制到粘贴板!
Show service status details
Usage:
| Value | Summary |
|---|---|
| id | Service status id |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show results from all projects. default: false |
| --edit-managed | Edit resources marked as managed. default: false |
| --sudo-project-id SUDO_PROJECT_ID | Project id to impersonate for this command. default: None |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |