Tagging a Budget When Updating
Add metadata tags to an existing budget in Billing and Cost Management. This metadata enables you to define keys and values and associate them with resources.
- Open the navigation menu and click Billing & Cost Management. Under Cost Management, click Budgets.
- Optionally, on the Budgets page, select the budget scope.
- Click the name of the budget that you want to tag.
- On the budget details page, add or edit tags as needed:
- To add one or more tags, click Add tags, and then enter the tag namespace (for a defined tag), key, and value.
- To edit or remove a tag, click the Tags tab, click the edit icon next to a tag, and change its value or remove it.
Use the
--defined-tags
or--freeform-tags
options when running the oci budgets budget update command to tag a budget when you are updating it:oci budgets budget update [...] [--defined-tags | --freeform-tags] tags [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateBudget operation to edit a budget. Include the definedTags and freeformTags attributes and their values.