python-openstackclient/doc/source/command-objects/container.rst
TerryHowe 514a168656 Add recursive object delete for containers
Change-Id: Ib291e79864c218464e842a08efd3742193ba5ff0
2016-02-05 11:18:46 -07:00

2.3 KiB

container

Object Storage v1

container create

Create new container

container create

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

<container-name>

New container name(s)

container delete

Delete container

container delete

os 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

os 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

os container save
    <container>

<container>

Container to save

container set

Set container properties

container set

os 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

os container show
    [<container>]

<container>

Container to display

container unset

Unset container properties

container unset

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

--property <key>

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

<container>

Container to modify