tag

tag create

Usage

usage: -c tag create [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                  [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                  [--max-width <integer>] [--noindent] [--prefix PREFIX]
                  [--description DESCRIPTION] [--scope SCOPE]
                  [--project-id PROJECT_ID]
                  tag

Description

Create a new tag. A tag has a name. The tag can be created as a public tag which is visible to all projects. The tag may also be created by an admin for a project.

Return

Returns dict: Tag

Optional

 optional arguments:
-h, --help            show this help message and exit
--description DESCRIPTION
                      Description of tag
--scope SCOPE         Public or private
--project-id PROJECT_ID
                      Project ID for the tag

tag get

Usage

usage: -c tag get [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
               [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
               [--max-width <integer>] [--noindent] [--prefix PREFIX]
               tag

Description

Get the details of a tag.

Return

Returns dict: Tag

Optional

 optional arguments:
-h, --help            show this help message and exit

tag list

Usage

usage: -c tag list [-h] [-f {adaptive_table,csv,json,table,value,yaml}]
                [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                [--max-width <integer>] [--noindent]
                [--quote {all,minimal,none,nonnumeric}] [--type TYPE]
                [--obj-id OBJ_ID] [--project-id PROJECT_ID]

Description

Get the list of tags.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--type TYPE           Type of object (compute, node, image, volume, or snapshot)
--obj-id OBJ_ID       ID of object to query
--project-id PROJECT_ID
                      Project ID of object to query

tag remove

Usage

usage: -c tag remove [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                  [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                  [--max-width <integer>] [--noindent] [--prefix PREFIX]
                  [--project-id PROJECT_ID]
                  tag

Description

Delete a tag.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--project-id PROJECT_ID
                      Project ID for the tag

tag update

Usage

usage: -c tag update [-h] [-f {adaptive_table,json,shell,table,value,yaml}]
                  [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                  [--max-width <integer>] [--noindent] [--prefix PREFIX]
                  [--new-tag NEW_TAG] [--new-description NEW_DESCRIPTION]
                  [--new-scope NEW_SCOPE] [--project-id PROJECT_ID]
                  tag

Description

Update the tag parameters: name, scope, description.

Return

Returns dict: Tag

Optional

 optional arguments:
-h, --help            show this help message and exit
--new-tag NEW_TAG     New name for tag
--new-description NEW_DESCRIPTION
                      New description of tag
--new-scope NEW_SCOPE
                      Can only be changed from private to public
--project-id PROJECT_ID
                      Project ID for the tag