VMware

File Namespace

The File namespace can be used to query for information on the files within a library item. Files are objects which are added to a library item through the UpdateSession and File namespaces.

List of commands:



Get Command

dcli com vmware content library item file get

Description

Retrieves the information for a single file in a library item by its name.

Options

Option Name Type Required Description
library‑item‑id string Yes Identifier of the library item whose file information should be returned. The parameter must be an identifier for the resource type: com.vmware.content.library.Item.
name string Yes Name of the file in the library item whose information should be returned.

Example

dcli com vmware content library item file get --library-item-id testId --name testString


List Command

dcli com vmware content library item file list

Description

Lists all of the files that are stored within a given library item.

Options

Option Name Type Required Description
library‑item‑id string Yes Identifier of the library item whose files should be listed. The parameter must be an identifier for the resource type: com.vmware.content.library.Item.

Example

dcli com vmware content library item file list --library-item-id testId