Creating Migration Assets in a Migration Project
Add assets to a migration project using the Oracle Cloud Migrations inventory. You can add only those assets that are not associated with any other migration projects.
You can now change the migration plan, if required. To add inventory assets to a migration project, use the
create
command.oci cloud-migrations migration-asset create --availability-domain region_availability_domain --inventory-asset-id inventory_asset_ID --migration-id migration_ID --replication-compartment-id replication_compartment_ID --snap-shot-bucket replication_bucket [OPTINS]
The required parameters for thecreate
command are:--availability-domain
: Specifies the availability domain within a region where OCI is hosted.--inventory-asset-id
: Specifies the OCID of an inventory asset.--migration-id
: Specifies the OCID of the associated migration project.--replication-compartment-id
: Specifies the unique identifier for the replication compartment.--snap-shot-bucket
: Specifies the replication bucket for the migration assets.
To get all the commands for
migration-asset
, run:oci cloud-migrations migration-asset -h
To get help for the
create
command, run:oci cloud-migrations migration-asset create -h
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To add inventory assets to a migration project, use the
CreateMigrationAsset
operation.