Configuring a Target Asset
In Oracle Cloud Migrations, learn how to configure a target asset for migration.
Using the Console
Perform the following steps:
Using the CLI
To create a target asset and configure it, use the create
command.
oci cloud-migrations target-asset create --is-excluded-from-execution yes|no --migration-plan-id migration_plan_ID --type asset_type [OPTIONS]
The required parameters for the
create
command are:--is-excluded-from-execution
: Specifies whether an asset can be migrated.--migration-plan-id
: Specifies the OCID of the migration plan.--type
: Specifies the type of the target asset. The accepted value is, INSTANCE.
To get all the commands for target-asset
, run:
oci cloud-migrations target-asset -h
To get help for the create
command, run:
oci cloud-migrations target-asset create -h
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Using the API
To configure a target asset, use the CreateTargetAsset
operation.