Enabling and Disabling an Events Rule
Enable and disable a rule.
- Open the navigation menu and click Observability & Management. Under Events Service, click Rules.
-
Select the Compartment from the list.
All events rules in that compartment are listed in tabular form.
-
Select the events rule you want to enable or disable.
The Rules dialog box appears
-
Click Enable or Disable depending on what action you want to take.
Alternatively, click the
and select Enable or Disable. - Confirm when prompted.
Use the
option when running the oci events rule update command to enable (--is-enabled
true
) or disable (false
) a rule:oci events rule update [...] --is-enabled [true|false]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the UpdateRule operation to create a rule. Include the
isEnabled
attribute and the valuestrue
andfalse
to enable and disable the rule respectively.