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.
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. - On the Jobs list page, find the job that you want to work with. If you need help finding the list page or the stack, see Listing Jobs.
-
To add a tag:
-
To view and edit existing tags:
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.