Tagging a Private Template at Creation

Add metadata to a private template when you first create 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 Create private template. If you need help finding the list page or the private template, see Listing Private Templates.
    2. To show tagging options, select Show advanced options.
    3. To add a defined tag, select the namespace and key, then enter a value.
    4. To add a free-form tag, enter a key and value.
    5. Enter other values as needed.
      For more information about the fields, see Creating a Private Template.
    6. Select Create.
  • Use the oci resource-manager template create command and required parameters to tag a private template when you create it.

    oci resource-manager template create [--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 CreateTemplate operation to tag a private template when you create it. Include the definedTags and freeformTags attributes and their values.