Configuring a Target Asset
Configure a target asset for migration.
Next, you can generate a Resource Manager stack. To create a target asset and configure it, use the
createcommand.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 thecreatecommand 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 -hTo get help for the
createcommand, run:oci cloud-migrations target-asset create -hFor a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To configure a target asset, use the
CreateTargetAssetoperation.