Excluding a Target Asset from Migration
Exclude a target asset from your current migration plan.
- Open the navigation menu and select Migration & Disaster Recovery. Under Cloud Migrations, select Migrations.
- On the Migrations page, select the active migration project for which you want to exclude the migration asset.
- On the Migration project details page, in the Migration plans section, select the active migration plan that has the asset you want to exclude.
- On the Migration plan details page, under Resources, click Target assets.
- In the Target Assets section, click the target asset you want to exclude from migration.
- On the Migration target asset details page, click Exclude from migration.
- In the Exclude from migration dialog box, click Submit.
To exclude a target asset from your current migration plan, use the
updatecommand with the required parameters and--is-excluded-from-executionset totrue.oci cloud-migrations target-asset update --target-asset-id target_asset_ID --type target_asset_type --is-excluded-from-execution true [OPTIONS]The required parameters for the
updatecommand are:--target-asset-id: Specifies the OCID of the required target asset.--type: Specifies the type of the required target asset.To get all the commands for
target-asset, run:oci cloud-migrations target-asset -hTo get help for the
updatecommand, run:For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.oci cloud-migrations target-asset update -hTo exclude a target asset from your current migration plan, use the
UpdateTargetAssetoption.