Tagging a Private Template When Updating
Add metadata to a private template when you update it. This metadata enables you to define keys and values and to associate them with resources.
- On the Private templates list page, select the private template that you want to work with. If you need help finding the list page or the private template, see Listing Private Templates.
- To add a tag, select Add tags, and enter the tag namespace, key, and value.
- To view existing tags, select the Tags tab and then select Defined tags or Free-form tags.
- To edit an existing tag, select the edit icon, update the value in the Edit tag dialog box, and then select Save.
- To remove a tag, select the edit icon and then select Remove tag.
Use the
oci resource-manager template update
command and required parameters to tag a private template when you update it.oci resource-manager template update [--defined-tags | --freeform-tags] <tags> [...]
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Run the UpdateTemplate operation to tag a private template when you update it. Include the
definedTags
andfreeformTags
attributes and their values.