Tagging a Job

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

Note

This page describes how to tag an existing job. You can also tag a new job during job creation.

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.

    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Jobs.
      You can also access jobs from a stack detail page. Click Stacks and then click the name of the stack you want.
    2. Choose a compartment that you have permission to work in (on the left side of the page).
    3. Click the name of the job that you want.
    4. Click Tags to view or edit existing tags, or click Add tags to add new ones.
  • 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 flags and variable options for CLI commands, see the Command Line Reference for Resource Manager.

  • Use the UpdateJob operation to tag a job.