Moving a Batch Context

Move a batch context to a different compartment in the same tenancy.

    1. On the Batch contexts list page, find the batch context that you want to move. If you need help finding the list page, see Listing Batch Contexts.
    2. From the Actions menu for the environment, select Move resource.
    3. In the Move resource panel, select the destination compartment from the list.
    4. Select Move resource.
  • Use the oci batch batch-context change-compartment command and required parameters to move a batch context to a different compartment in the same tenancy.
    oci batch batch-context change-compartment [OPTIONS]

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

  • Run the operation ChangeBatchContextCompartment to move a batch context to a different compartment.