Enabling and Disabling an Action for an Events Rule

Enable and disable an action for a rule.

See Matching Events with Filters for more information on using actions in an events rule.

    1. Open the navigation menu and click Observability & Management. Under Events Service, click Rules.
    2. Choose a Compartment you have permission to work in, and then click the Name of the rule you want to update.
    3. In the Resources menu, click Actions.
    4. Select an action.
    5. Go to Actions and specify Enable or Disable
    6. Confirm when prompted.
  • Use the --action option when running the oci events rule update command to enable or disable an action:

    oci events rule update [...] --action action 

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

  • Run the UpdateRule operation to update an events rule. Update the action and its values to enable or disable an action.