Deactivating a Batch Context

Deactivate a batch context from accepting new jobs.

Note

You can deactivate a batch context only when it's in the Active state.
    1. On the Batch contexts list page, find the batch context that you want to deactivate. If you need help finding the list page, seeListing Batch Contexts.
    2. On the batch context details page, select the Details tab, if not already selected.
    3. Select the Actions menu (three dots), and then select Deactivate.
    4. In the Deactivate dialog box, select Deactivate.
      Note

      You can also select Deactivate from the Actions menu (three dots) for the batch context that you want to deactivate on the Batch contexts list page.
  • Use the oci batch batch-context stop command and required parameters to deactivate a batch context:
    oci batch batch-context stop [OPTIONS]

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

  • Run the StopBatchContext operation to deactivate a batch context.