python-openstackclient/doc/source/command-objects/container.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

2.4 KiB

container

Object Storage v1

container create

Create new container

container create

openstack container create
    <container-name> [<container-name> ...]

<container-name>

New container name(s)

container delete

Delete container

container delete

openstack container delete
    [-r] | [--recursive]
    <container> [<container> ...]

--recursive, -r

Recursively delete objects in container before container delete

<container>

Container(s) to delete

container list

List containers

container list

openstack container list
    [--prefix <prefix>]
    [--marker <marker>]
    [--end-marker <end-marker>]
    [--limit <limit>]
    [--long]
    [--all]

--prefix <prefix>

Filter list using <prefix>

--marker <marker>

Anchor for paging

--end-marker <end-marker>

End anchor for paging

--limit <limit>

Limit the number of containers returned

--long

List additional fields in output

--all

List all containers (default is 10000)

container save

Save container contents locally

container save

openstack container save
    <container>

<container>

Container to save

container set

Set container properties

container set

openstack container set
    [--property <key=value> [...] ]
    <container>

--property <key=value>

Set a property on this container (repeat option to set multiple properties)

<container>

Container to modify

container show

Display container details

container show

openstack container show
    <container>

<container>

Container to display

container unset

Unset container properties

container unset

openstack container unset
    [--property <key>]
    <container>

--property <key>

Property to remove from container (repeat option to remove multiple properties)

<container>

Container to modify