Moving a Load Balancer to a Different Compartment
Move a load balancer to a different compartment in your Oracle Cloud Infrastructure tenancy.
Use the oci lb load-balancer change-compartment command and required parameters to move a load balancer to a different compartment:
oci lb load-balancer change-compartment --compartment-id compartment_id [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeLoadBalancerCompartment operation to move a load balancer to a different compartment.