Getting an Inventory Asset's Details
View the details of the inventory assets in Oracle Cloud Migrations.
The Asset details page displays details such as asset information, VM configurations, processors, and memory. You can now create a migration project. To view a list of inventory assets and then metadata of specific assets, use the
list
andget
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 CLI Command Reference.
To view a list of inventory assets, use the ListAssets operation.
To view the metadata of an asset, use the GetAsset operation.