Tagging a Job

Add tag metadata to a job in Resource Manager. Tags are key-value pairs that you attach to resources to help you organize and track the resources across compartments.


This page describes how to tag an existing job. You can also tag a job when you create it.

If you have permissions to create a resource, you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags.

  • These steps show how to tag a job in a compartment. You can also tag a job in a stack.
    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Jobs.
    2. On the Jobs page, select the compartment that contains the job that you want.
    3. Click the name of the job that you want.
      The Job details page opens.
    4. To add a tag, click Add tags, and enter the tag namespace, key, and value.
    5. To view existing tags, click the Tags tab and then click Defined tags or Free-form tags.
    6. To edit an existing tag, click the edit icon, update the value in the Edit tag dialog box, and then click Save.
    7. To remove a tag, click the edit icon and then click Remove tag.
  • Use the oci resource-manager job update command and required parameters to tag a job.

    oci resource-manager job 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.

  • Use the UpdateJob operation to tag a job.