Importing Assets for Inventory

Import assets from CSV files instead of setting up a source environment. However, if you import assets, you can't take advantage of the automated discovery and replication modules.

In such a scenario, the cost and recommendations during migrations are provided based on the information from the CSV files.

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Inventory.
    2. In the navigation pane, select Inventory Assets.
    3. On the Import assets list page, select Import assets.
    4. On the Import assets dialog box, drag or browse to and select the CSV file that you want to import.
    5. Select Import.

      The importing of assets takes a few minutes, and on the Import assets page, the asset state changes to Active (under the State column).

      To view the import job, in the navigation pane, select Work requests. When the importing job is complete, the status changes to Succeeded.
      To change the entries for an inventory asset, you must update the CSV file and import it again.
    You can now create a migration project. See Creating a Migration Project.
  • To import inventory assets, use the import-via-assets command.

    oci cloud-bridge inventory inventory import-via-assets --compartment-id target_compartment_ID --inventory-id inventory_ID [OPTIONS]
    The required parameters for the import-via-assets command are:
    • --compartment-id: Specifies the OCID of the compartment that the resources import.
    • --inventory-id: Specifies the OCID of inventory.

    To get all the commands for inventory inventory, run:

    oci cloud-bridge inventory inventory -h

    To get help for the import-via-assets command, run:

    oci cloud-bridge inventory inventory import-via-assets -h

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • To import inventory assets, use the ImportInventory operation.