Este contenido no está disponible en el idioma seleccionado.
Chapter 52. project
This chapter describes the commands under the project command.
52.1. project create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create new project
| Value | Summary |
|---|---|
| <project-name> | New project name |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --description <description> | Project description |
| --enable | Enable project (default) |
| --disable | Disable project |
| --property <key=value> | Add a property to <name> (repeat option to set multiple properties) |
| --or-show | Return existing 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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
52.2. project delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack project delete [-h] <project> [<project> ...]
openstack project delete [-h] <project> [<project> ...]
Delete project(s)
| Value | Summary |
|---|---|
| <project> | Project(s) to delete (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
52.3. project list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List projects
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --long | List additional fields in output |
| --sort <key>[:<direction>] | Sort output by selected keys and directions (asc or desc) (default: asc), repeat this option to specify multiple keys and directions. |
| 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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
52.4. project purge Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack project purge [-h] [--dry-run] [--keep-project]
(--auth-project | --project <project>)
[--project-domain <project-domain>]
openstack project purge [-h] [--dry-run] [--keep-project]
(--auth-project | --project <project>)
[--project-domain <project-domain>]
Clean resources associated with a project
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --dry-run | List a project’s resources |
| --keep-project | Clean project resources, but don’t delete the project |
| --auth-project | Delete resources of the project used to authenticate |
| --project <project> | Project to clean (name or id) |
| --project-domain <project-domain> | Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. |
52.5. project set Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack project set [-h] [--name <name>]
[--description <description>]
[--enable | --disable] [--property <key=value>]
<project>
openstack project set [-h] [--name <name>]
[--description <description>]
[--enable | --disable] [--property <key=value>]
<project>
Set project properties
| Value | Summary |
|---|---|
| <project> | Project to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Set project name |
| --description <description> | Set project description |
| --enable | Enable project |
| --disable | Disable project |
| --property <key=value> | Set a project property (repeat option to set multiple properties) |
52.6. project show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Display project details
| Value | Summary |
|---|---|
| <project> | Project to display (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
52.7. project unset Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack project unset [-h] [--property <key>] <project>
openstack project unset [-h] [--property <key>] <project>
Unset project properties
| Value | Summary |
|---|---|
| <project> | Project to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --property <key> | Unset a project property (repeat option to unset multiple properties) |