Moving an Events Rule Between Compartments
Move a rule to a different compartment.
- Navigate to the events list page. If you need help finding the list page, see Listing Events Rules.
- Select a rule you want to move to a different compartment.
- Select Actions.
- Select Move Resource.
The Move resource dialog box appears.
- Select the destination compartment.
- Select Move resource.
The events rule is moved to the new compartment.
Use the
oci events rule change-compartmentcommand and required parameters to move an events rule between compartmentsoci events rule change-compartment rule-id rule_ocid --compartment-id compartment_ocid [OPTIONS]For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeRuleCompartment operation to move a rule between compartments.