Files
python-zunclient/doc/source/cli/command-objects/action.rst
namrata 96a1cc67f1 Doc: Add appcontainer action list and appcontainer action show
Add command list documentation for the 'appcontainer action list'
and 'appcontainer action show' commands and moved existing content
on the doc-migration specification.

Partially Implements: blueprint zun-cli-guide

Change-Id: I08f569866b6c22f39c2fade6842ee35f4198a89f
2018-07-26 11:32:55 +00:00

3.3 KiB

appcontainer action

An appcontainer action specifies the action details for a container.

appcontainer action list

List actions on a container

appcontainer action list

openstack appcontainer action list [-h]
                                   [-f {csv,json,table,value,yaml}]
                                   [-c COLUMN] [--max-width <integer>]
                                   [--fit-width] [--print-empty]
                                   [--noindent]
                                   [--quote {all,minimal,none,nonnumeric}]
                                   [--sort-column SORT_COLUMN]
                                   <container>

<container>

ID or name of the container to list actions.

-h, --help

show this help message and exit

-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

--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.

--noindent

whether to disable indenting the JSON

--quote {all,minimal,none,nonnumeric}

when to include quotes, defaults to nonnumeric

appcontainer action show

Shows action

appcontainer action show

openstack appcontainer action show [-h]
                                   [-f {json,shell,table,value,yaml}]
                                   [-c COLUMN] [--max-width <integer>]
                                   [--fit-width] [--print-empty]
                                   [--noindent] [--prefix PREFIX]
                                   <container> <request_id>

<container>

ID or name of the container to show.

<request_id>

request ID of action to describe.

-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

--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.

--noindent

whether to disable indenting the JSON

--prefix PREFIX

add a prefix to all variable names