Moving a Private View Between Compartments
Move a private domain name service (DNS) view from one compartment to another.
See Managing Compartments for information about compartments and access control.
See Private DNS and Private Views for a feature overview and more information about private views.
For general service information, see the DNS service overview.
- On the Private views list page, find the private view you want to work with. If you need help finding the list page, see Listing Views.
- From the Actions menu (three dots) for the view, select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Use the view change-compartment command and required parameters to move a view to a different compartment:
oci dns view change-compartment --view-id view_OCID --compartment-id compartment_OCID ... [OPTIONS]For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the ChangeViewCompartment operation to move a view from one compartment to another.