Defining Tagging Strategy
Tags are elements made up of pairs (key and values) whose main purpose is to allow the identification of resources or clusters. They are defined by the user and must be relevant and specific in order to facilitate the identification of the resources to which they will be assigned.
CREATION SYNTAX
Create a tag by giving elements of configuration
cnoctl adm create tag [name] [--flags]
name
: The name of the tag you want to create | [REQUIRED]
type
: The type of flag text or selection | [REQUIRED]text type
: a simple text field to assign a value to the tagselection type
: a selection field to assign a value to the tag
value
: the value of type selection value1,value2 | [OPTIONAL]required
: use it if our tag is required | [OPTIONAL]
GET SYNTAX
List informations about all tag
cnoctl adm get tag [tag_id]
tag_id
: The id of the tag from which we want to retrieve information. To specify if you want to get information about a specific tag | [OPTIONAL]