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