Deleting an Environment

Delete an environment in the Oracle Cloud Migrations service.

If the environment has no active associated remote connections agents, the environment is permanently deleted. To delete an associated agent, see Deleting a Remote Agent Appliance.

Note

Terminate all the agents before deleting the environment with which it is associated.
    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Remote Connections.
    2. On the Source environments page, from the list of environments, select the active environment that you want to delete.
    3. On the environment details page, from More actions, click Delete.
    4. In the Delete source environment dialog box, click Delete.
  • To delete a source environment, use the delete command.

    oci cloud-bridge ocb-agent-svc environment delete --environment-id target_environment_ID [OPTIONS]

    The required parameter for the delete command is:

    --environment-id: Specifies the unique environment identifier.

    To get all the commands for ocb-agent-svc environment, run:

    oci cloud-bridge ocb-agent-svc environment -h

    To get help for the delete command, run:

    oci cloud-bridge ocb-agent-svc environment delete -h

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

  • To delete a source environment, use the DeleteEnvironment operation.