Moving a Protection Policy
Move a protection policy to a different compartment in your tenancy.
Using the Console
- On the Protection policies list page, select the policy that you want to work with. See Listing Protection Policies for detailed steps.
- From the Actions menu in the row for the policy, select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Using the CLI
Use the oci recovery protection-policy change-compartment command and the required parameters to move a policy to a different compartment.
See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.
Using the API
Run the ChangeProtectionPolicyCompartment API operation to move a policy to a different compartment.
Parent topic: Managing Protection Policies