Creating an Inventory

Create an inventory when you start using your tenancy in OCI.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Inventory.
    2. On the Overview page, click Create inventory.
      Note

      The Create inventory button appears only if an inventory is not created. Inventory is a regional resource and only one exists at a time.
    The inventory is created in a few minutes.
    You can now create an asset source.
  • To create an inventory, use the create command.

    oci cloud-bridge inventory inventory create --compartment-id target_compartment_ID --display-name inventory_name [OPTIONS]
    The required parameters for the create command are:
    • --compartment-id: Specifies the OCID of the tenant ID.
    • --display-name: Specifies the name of the inventory.

    To get all the commands for inventory inventory, run:

    oci cloud-bridge inventory inventory -h

    To get help for the create command, run:

    oci cloud-bridge inventory inventory create -h

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

  • To create an inventory, use the CreateInventory operation.