Creating an Inventory
Create an inventory when you start using your tenancy in OCI.
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 thecreate
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 CLI Command Reference.
To create an inventory, use the
CreateInventory
operation.