Viewing Inventory Assets
Learn how you can view the inventory assets in Oracle Cloud Migrations.
Using the Console
The real-time and historical metrics are useful for providing recommendations during Cloud Migrations about which assets need to migrate initially.
Using the CLI
To view a list of inventory assets and then metadata of specific assets, use the
list
and get
commands.
The syntax for the list
command is:
oci cloud-bridge inventory asset list --compartment-id target_compartment_ID [OPTIONS]
The required parameter for the list
command is:
--compartment-id
: Specifies the OCID of the compartment in which to
list the resources.
To get all the commands for inventory asset
, run:
oci cloud-bridge inventory asset -h
To get help for the list
command, run:
oci cloud-bridge inventory asset list -h
The syntax for the get
command is:
oci cloud-bridge inventory asset get --asset-id inventory_asset_ID [OPTIONS]
The required parameter for the get
command is:
--asset-id
: Specifies a unique asset identifier.
To get all the commands for inventory asset
, run:
oci cloud-bridge inventory asset -h
To get help for the get
command, run:
oci cloud-bridge inventory asset get -h
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Using the API
To view a list of inventory assets, use the ListAssets
operation.
To view the metadata of an asset, use the GetAsset
operation.