Creating Migration Assets in a Migration Project
In Oracle Cloud Migrations, you can use the inventory module to add inventory assets for migration that is not already associated with another migration project.
Using the Console
Using the CLI
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 the
create
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 Command Line Reference.
Using the API
To add inventory assets to a migration project, use the CreateMigrationAsset
operation.