2014-12-23 17:04:12 -06:00
|
|
|
======
|
|
|
|
object
|
|
|
|
======
|
|
|
|
|
2015-11-13 10:42:46 +08:00
|
|
|
Object Storage v1
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
object create
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Upload object to container
|
|
|
|
|
|
|
|
.. program:: object create
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object create
|
2016-08-22 00:26:46 +05:30
|
|
|
[--name <name>]
|
2014-12-23 17:04:12 -06:00
|
|
|
<container>
|
|
|
|
<filename> [<filename> ...]
|
|
|
|
|
2016-08-22 00:26:46 +05:30
|
|
|
.. option:: --name <name>
|
|
|
|
|
|
|
|
Upload a file and rename it. Can only be used when uploading a single object
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <container>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Container for new object
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <filename>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Local filename(s) to upload
|
|
|
|
|
|
|
|
object delete
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Delete object from container
|
|
|
|
|
|
|
|
.. program:: object delete
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object delete
|
2014-12-23 17:04:12 -06:00
|
|
|
<container>
|
|
|
|
<object> [<object> ...]
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <container>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Delete object(s) from <container>
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <object>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Object(s) to delete
|
|
|
|
|
2015-01-24 11:45:36 -08:00
|
|
|
object list
|
2014-12-23 17:04:12 -06:00
|
|
|
-----------
|
|
|
|
|
|
|
|
List objects
|
|
|
|
|
|
|
|
.. program object list
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object list
|
2014-12-23 17:04:12 -06:00
|
|
|
[--prefix <prefix>]
|
|
|
|
[--delimiter <delimiter>]
|
|
|
|
[--marker <marker>]
|
|
|
|
[--end-marker <end-marker>]
|
|
|
|
[--limit <limit>]
|
|
|
|
[--long]
|
|
|
|
[--all]
|
2016-09-25 15:46:18 +08:00
|
|
|
<container>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
.. option:: --prefix <prefix>
|
|
|
|
|
|
|
|
Filter list using <prefix>
|
|
|
|
|
|
|
|
.. option:: --delimiter <delimiter>
|
|
|
|
|
|
|
|
Roll up items with <delimiter>
|
|
|
|
|
|
|
|
.. option:: --marker <marker>
|
|
|
|
|
|
|
|
Anchor for paging
|
|
|
|
|
|
|
|
.. option:: --end-marker <end-marker>
|
|
|
|
|
|
|
|
End anchor for paging
|
|
|
|
|
|
|
|
.. option:: --limit <limit>
|
|
|
|
|
|
|
|
Limit number of objects returned
|
|
|
|
|
|
|
|
.. option:: --long
|
|
|
|
|
|
|
|
List additional fields in output
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. option:: --all
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
List all objects in <container> (default is 10000)
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <container>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Container to list
|
|
|
|
|
|
|
|
object save
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Save object locally
|
|
|
|
|
|
|
|
.. program:: object save
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object save
|
2014-12-23 17:04:12 -06:00
|
|
|
[--file <filename>]
|
2016-09-25 15:46:18 +08:00
|
|
|
<container>
|
|
|
|
<object>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
.. option:: --file <filename>
|
|
|
|
|
|
|
|
Destination filename (defaults to object name)
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <container>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Download <object> from <container>
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <object>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Object to save
|
|
|
|
|
2015-09-11 00:38:56 -05:00
|
|
|
object set
|
|
|
|
----------
|
|
|
|
|
|
|
|
Set object properties
|
|
|
|
|
|
|
|
.. program:: object set
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object set
|
2015-10-06 08:46:28 -05:00
|
|
|
[--property <key=value> [...] ]
|
2015-09-11 00:38:56 -05:00
|
|
|
<container>
|
2016-09-25 15:46:18 +08:00
|
|
|
<object>
|
2015-10-06 08:46:28 -05:00
|
|
|
|
|
|
|
.. option:: --property <key=value>
|
|
|
|
|
|
|
|
Set a property on this object (repeat option to set multiple properties)
|
2015-09-11 00:38:56 -05:00
|
|
|
|
|
|
|
.. describe:: <container>
|
|
|
|
|
|
|
|
Modify <object> from <container>
|
|
|
|
|
|
|
|
.. describe:: <object>
|
|
|
|
|
|
|
|
Object to modify
|
|
|
|
|
2014-12-23 17:04:12 -06:00
|
|
|
object show
|
|
|
|
-----------
|
|
|
|
|
2015-01-09 19:13:03 -05:00
|
|
|
Display object details
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
.. program:: object show
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object show
|
2014-12-23 17:04:12 -06:00
|
|
|
<container>
|
|
|
|
<object>
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <container>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Display <object> from <container>
|
|
|
|
|
2015-01-17 02:55:57 -05:00
|
|
|
.. describe:: <object>
|
2014-12-23 17:04:12 -06:00
|
|
|
|
|
|
|
Object to display
|
2015-09-11 00:38:56 -05:00
|
|
|
|
|
|
|
object unset
|
|
|
|
------------
|
|
|
|
|
|
|
|
Unset object properties
|
|
|
|
|
|
|
|
.. program:: object unset
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack object unset
|
2015-10-06 08:46:28 -05:00
|
|
|
[--property <key>]
|
2015-09-11 00:38:56 -05:00
|
|
|
<container>
|
2016-09-25 15:46:18 +08:00
|
|
|
<object>
|
2015-10-06 08:46:28 -05:00
|
|
|
|
|
|
|
.. option:: --property <key>
|
|
|
|
|
|
|
|
Property to remove from object (repeat option to remove multiple properties)
|
2015-09-11 00:38:56 -05:00
|
|
|
|
|
|
|
.. describe:: <container>
|
|
|
|
|
|
|
|
Modify <object> from <container>
|
|
|
|
|
|
|
|
.. describe:: <object>
|
|
|
|
|
|
|
|
Object to modify
|