Este contenido no está disponible en el idioma seleccionado.
Chapter 44. object
This chapter describes the commands under the object
command.
44.1. object create Copiar enlaceEnlace copiado en el portapapeles!
Upload object to container
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Value | Summary |
---|---|
<filename> | Local filename(s) to upload |
<container> | Container for new object |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
output formatter options-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 |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--name <name> | Upload a file and rename it. can only be used when uploading a single object |
-h, --help | Show this help message and exit |
44.2. object delete Copiar enlaceEnlace copiado en el portapapeles!
Delete object from container
Usage:
openstack object delete [-h] <container> <object> [<object> ...]
openstack object delete [-h] <container> <object> [<object> ...]
Value | Summary |
---|---|
<object> | Object(s) to delete |
<container> | Delete object(s) from <container> |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
44.3. object list Copiar enlaceEnlace copiado en el portapapeles!
List objects
Usage:
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Value | Summary |
---|---|
<container> | Container to list |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
output formatter options-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 |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--marker <marker> | Anchor for paging |
--long | List additional fields in output |
--delimiter <delimiter> | Roll up items with <delimiter> |
--limit <num-objects> | Limit the number of objects returned |
--end-marker <end-marker> | End anchor for paging |
-h, --help | Show this help message and exit |
--prefix <prefix> | Filter list using <prefix> |
--all | List all objects in container (default is 10000) |
44.4. object save Copiar enlaceEnlace copiado en el portapapeles!
Save object locally
Usage:
openstack object save [-h] [--file <filename>] <container> <object>
openstack object save [-h] [--file <filename>] <container> <object>
Value | Summary |
---|---|
<object> | Object to save |
<container> | Download <object> from <container> |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--file <filename> | Destination filename (defaults to object name); using - as the filename will print the file to stdout |
44.5. object set Copiar enlaceEnlace copiado en el portapapeles!
Set object properties
Usage:
openstack object set [-h] --property <key=value> <container> <object>
openstack object set [-h] --property <key=value> <container> <object>
Value | Summary |
---|---|
<object> | Object to modify |
<container> | Modify <object> from <container> |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--property <key=value> | Set a property on this object (repeat option to set multiple properties) |
44.6. object show Copiar enlaceEnlace copiado en el portapapeles!
Display object details
Usage:
openstack object show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] <container> <object>
openstack object show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
<container> <object>
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Value | Summary |
---|---|
<object> | Object to display |
<container> | Display <object> from <container> |
Value | Summary |
---|---|
output formatter options-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 |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
44.7. object store account set Copiar enlaceEnlace copiado en el portapapeles!
Set account properties
Usage:
openstack object store account set [-h] --property <key=value>
openstack object store account set [-h] --property <key=value>
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--property <key=value> | Set a property on this account (repeat option to set multiple properties) |
44.8. object store account show Copiar enlaceEnlace copiado en el portapapeles!
Display account details
Usage:
openstack object store account show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX]
openstack object store account show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--fit-width] [--print-empty]
[--noindent] [--prefix PREFIX]
Value | Summary |
---|---|
--print-empty | Print empty table if there is no data to show. |
--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 |
Value | Summary |
---|---|
output formatter options-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 |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
44.9. object store account unset Copiar enlaceEnlace copiado en el portapapeles!
Unset account properties
Usage:
openstack object store account unset [-h] --property <key>
openstack object store account unset [-h] --property <key>
Value | Summary |
---|---|
--property <key> | Property to remove from account (repeat option to remove multiple properties) |
-h, --help | Show this help message and exit |
44.10. object unset Copiar enlaceEnlace copiado en el portapapeles!
Unset object properties
Usage:
openstack object unset [-h] --property <key> <container> <object>
openstack object unset [-h] --property <key> <container> <object>
Value | Summary |
---|---|
<object> | Object to modify |
<container> | Modify <object> from <container> |
Value | Summary |
---|---|
--property <key> | Property to remove from object (repeat option to remove multiple properties) |
-h, --help | Show this help message and exit |