Renaming a Migration Asset
Rename a migration asset in a migration project.
- Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Migrations.
- On the Migrations page, click the active migration project that contains the migration asset that you want to rename.
- On the Migration project details page, under Resources, click Migration assets.
- Under Migration assets, select the asset that you want to rename.
- On the Migration asset details page, click Rename.
- In the Rename migration asset panel, update the name and click Save changes.
To rename a migration asset, use the
update
command with the required parameters and the optional parameter--display-name
along with the new display name.oci cloud-migrations migration-asset update --migration-asset-id migration_asset_ID --display-name new_display_name [OPTIONS]
The required parameters for the
update
command are:--migration-asset-id
: Specifies the unique identifier for the required migration asset.The optional parameter for the
update
command that specifies the name formigration-asset
is:--display-name
: (Optional) Specifies the display name for the migration asset.To get all the commands for
migration-asset
, run:oci cloud-migrations migration-asset -h
To get help for the
update
command, run:oci cloud-migrations migration-asset update -h
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To rename a migration asset, use the
UpdateMigrationAsset
operation.