5.18. tag
The
tag resource type groups all tags in a Red Hat Enterprise Virtualization environment.
Table 5.48. Tag parameters
| Name | Type | Description | Required | User Creatable | User Updatable |
|---|---|---|---|---|---|
--name
|
string
|
The name of the tag.
|
Yes
|
Yes
|
Yes
|
--description
|
string
|
A description for the string.
|
Yes
|
Yes
|
Yes
|
--parent-name
|
string
|
A reference to the parent tag that the tag is attached.
|
Yes
|
Yes
|
Yes
|
Example 5.36. Creating a new tag
[RHEVM shell (connected)]# add tag --name MyTag --description "A virtual machine tag" --parent MyParentTag