Moving a Cluster Network
Move a Compute cluster network with instance pools into a different compartment within the same tenancy.
- Navigate to the Compute Cluster networks list page. If you need help finding the list page, see Listing Cluster Networks.
- To view the cluster networks in a different compartment, use the Compartment filter to switch compartments.
You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
- Select the cluster network.
- Select the option you see:
- Actions then Move resource.
- Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Use the cluster-network change-compartment command and required parameters to move a cluster network with instance pools to another compartment:
oci compute-management cluster-network change-compartment --cluster-network-id <cluster_network_OCID> --compartment-id <compartment_OCID> ... [OPTIONS]
Or use a JSON file to set parameters:
oci compute-management cluster-network change-compartment --from-json <file://path/to/file.json>
<file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.
For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use this API operation to move a cluster network with instance pools to another compartment: