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.
Terminate all the agents before deleting the environment with which it is associated.
- Open the navigation menu and select Migration & Disaster Recovery. Under Cloud Migrations, select Remote Connections.
- On the Source environment list page, select the active environment that you want to delete.
- On the environment details page, select the Actions menu and then select Delete.
- In the Delete source environment dialog box, select Delete.
To delete a source environment, use the
deletecommand.oci cloud-bridge ocb-agent-svc environment delete --environment-id target_environment_ID [OPTIONS]The required parameter for the
deletecommand 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 -hTo get help for the
deletecommand, run:oci cloud-bridge ocb-agent-svc environment delete -hFor a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To delete a source environment, use the
DeleteEnvironmentoperation.