Renaming an Environment

Rename an active environment in the Oracle Cloud Migrations service.

As a prerequisite, you have created a source environment.

    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 rename.
    3. On the environment details page, click Edit.
    4. In the Edit source environment panel, update the name and click Save changes.
  • To rename a source environment, use the update command with the required parameters.

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

    The required parameter for the update command is:

    --environment-id: Specifies the unique external site 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 update command, run:

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

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

  • To rename a source environment, use the UpdateEnvironment operation.