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.
You can now create a migration project. See Creating a Migration Project. To import inventory assets, use the
import-via-assetscommand.oci cloud-bridge inventory inventory import-via-assets --compartment-id target_compartment_ID --inventory-id inventory_ID [OPTIONS]The required parameters for theimport-via-assetscommand 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 -hTo get help for the
import-via-assetscommand, run:oci cloud-bridge inventory inventory import-via-assets -hFor a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To import inventory assets, use the
ImportInventoryoperation.