Este contenido no está disponible en el idioma seleccionado.
Chapter 62. service
This chapter describes the commands under the service command.
62.1. service create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create new service
| Value | Summary |
|---|---|
| <type> | New service type (compute, image, identity, volume, etc) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | New service name |
| --description <description> | New service description |
| 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 |
62.2. service delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack service delete [-h] <service> [<service> ...]
openstack service delete [-h] <service> [<service> ...]
Delete service(s)
| Value | Summary |
|---|---|
| <service> | Service(s) to delete (type, name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
62.3. service list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List services
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --long | List additional fields in output |
| 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 |
62.4. service show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Display service details
| Value | Summary |
|---|---|
| <service> | Service to display (type, name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --catalog | Show service catalog information |
| 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 |