Moving a Group to Another Compartment

Move the group to another compartment in Autonomous Linux. Placing resources in a specific compartment can help restrict access.

  • Move resource

    1. On the group details page, select Actions, then Move resource.
    2. Select Compartment to move the group to.
    3. Select Move resource.
  • Use the oci os-management-hub managed-instance-group change-compartment command and required parameters to move the group to another compartment with the same tenancy.

    oci os-management-hub managed-instance-group change-compartment --group-id ocid --compartment-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ChangeManagedInstanceGroupCompartment operation to move the group to another compartment within the same tenancy.