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.

For more information about tagging, see Resource Tags.
    1. 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.
    2. To add a tag, select Add tags, and enter the tag namespace, key, and value.
    3. To view existing tags, select the Tags tab and then select Defined tags or Free-form tags.
    4. To edit an existing tag, select the edit icon, update the value in the Edit tag dialog box, and then select Save.
    5. 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 and freeformTags attributes and their values.