Tagging a Database System

Manage the tags of an OCI Database with PostgreSQL database system.

If you have permissions to create a resource, then 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. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later. You can add tags when you create the database system or edit them after the database system is created.
    1. Open the navigation menu and select Databases. Under PostgreSQL, select DB Systems.
    2. (Optional) In the List scope section, under Compartment, select a compartment.
    3. Select the database system that you want to manage tags for.
    4. On the database system details page, click More actions and choose Add tags.
    5. In the Add tags dialog box, choose a Tag namespace, and choose or enter a Tag key, and enter a Tag value. Select Add tag to add another tag.
    6. Select Add tags to add tags to the database system.
    7. (Optional) To edit or remove tags, click the edit icon next to an existing tag on the Tags tab of the database system details page.
  • Use the oci psql db-system update command and the --defined-tags or --freeform-tags parameters to update a database:

    oci psql db-system update --db-system-id <database_OCID> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateDbSystem operation to add tags to a database.

    For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.