Tagging an Events Rule when Updating

Add metadata to a rule when you update it. This metadata enables you to define keys and values and associate them with resources.

    1. Navigate to the events list page. If you need help finding the list page, see Listing Events Rules.
    2. Select a rule, then select Tags.
    3. Select Add.
    4. Enter or select values for these items:

      • Namespace
      • Key
      • Value
      Note

      See Overview of Tagging for descriptions of these fields.
    5. Select Add tag to add another tag. Select X to remove a tag.

    6. Select Add tags.

    You see the tags you added.

  • Use the --defined-tags or --freeform-tags options when running the oci events rule update command to tag a rule when you update it:

    oci events rule update [...] [--defined-tags | --freeform-tags] tags
                            

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the UpdateRule operation to update a rule. Include the definedTags and freeformTags attributes and their values.