Moving a Desktop Pool Between Compartments

Move an existing desktop pool to a different compartment within the same tenancy by using Secure Desktops.

When you move a desktop pool, attached resources don't move to the new compartment. You can move these attached resources independently.

  • Note

    To perform this task, you must be the desktop administrator.
    1. Open the navigation menu and click Compute. Under Secure Desktops, click Desktop Pools.
    2. Under List scope, select the compartment that contains the desktop pool.
    3. Click the desktop pool name.
    4. On the Desktop Pool Details page, click More actions and select Move resource.
    5. Enter the destination compartment and click Move resource. Otherwise, click Cancel to exit the operation.
  • Use the desktop-pool change-compartment command and required parameters to move a desktop pool into a different compartment within the same tenancy:
    oci desktops desktop-pool change-compartment --desktop-pool-id <ocid> --compartment-id <ocid> [OPTIONS]

    Where --compartment-id <ocid> indicates the OCID of the compartment that will contain the desktop pool.

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

  • Run the ChangeDesktopPoolCompartment operation to move a desktop pool into a different compartment within the same tenancy.