Este conteúdo não está disponível no idioma selecionado.
Chapter 56. resource
This chapter describes the commands under the resource command.
56.1. resource member create Copiar o linkLink copiado para a área de transferência!
Usage:
Shares a resource to another tenant.
| Value | Summary |
|---|---|
| resource_id | Resource id to be shared. |
| resource_type | Resource type. |
| member_id | Project id to whom the resource is shared to. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-mistralclient plugin.
56.2. resource member delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack resource member delete [-h] resource resource_type member_id
openstack resource member delete [-h] resource resource_type member_id
Delete a resource sharing relationship.
| Value | Summary |
|---|---|
| resource | Resource id to be shared. |
| resource_type | Resource type. |
| member_id | Project id to whom the resource is shared to. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
56.3. resource member list Copiar o linkLink copiado para a área de transferência!
Usage:
List all members.
| Value | Summary |
|---|---|
| resource_id | Resource id to be shared. |
| resource_type | Resource type. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-mistralclient plugin.
56.4. resource member show Copiar o linkLink copiado para a área de transferência!
Usage:
Show specific member information.
| Value | Summary |
|---|---|
| resource | Resource id to be shared. |
| resource_type | Resource type. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| -m MEMBER_ID, --member-id MEMBER_ID | Project ID to whom the resource is shared to. No need to provide this param if you are the resource member. |
| Value | Summary |
|---|---|
| -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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-mistralclient plugin.
56.5. resource member update Copiar o linkLink copiado para a área de transferência!
Usage:
Update resource sharing status.
| Value | Summary |
|---|---|
| resource_id | Resource id to be shared. |
| resource_type | Resource type. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| -m MEMBER_ID, --member-id MEMBER_ID | Project ID to whom the resource is shared to. No need to provide this param if you are the resource member. |
| -s {pending,accepted,rejected}, --status {pending,accepted,rejected} | status of the sharing. |
| Value | Summary |
|---|---|
| -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 |
|---|---|
| --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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-mistralclient plugin.