Moving a CPE to a Different Compartment
Move a CPE from one compartment to another.
You can move a CPE object from one compartment to another. When you move a CPE to a new compartment, policies applied to that compartment apply immediately to the CPE.
For more information about using compartments and policies to control access to a cloud network, see Access Control. For general information about compartments, see Managing Compartments.
- On the Customer-premises equipment list page, find the CPE that you want to move. If you need help finding the list page, see Listing CPEs.
- From the for the CPE, select Move Resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Use the network cpe change-compartment command and required parameters to move a CPE from one compartment to another:
oci network cpe change-compartment --cpe-id cpe-ocid --compartment-id compartment-ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeCpeCompartment operation to move a CPE from one compartment to another.