VMware

Package Namespace

The Package namespace provides commands to retrieve metamodel information about a package element in the interface definition language. A package is a logical grouping of services, structures and enumerations. A package element describes the package. It contains the service elements, structure elements and enumeration elements that are grouped together.

List of commands:



List Command

dcli com vmware vapi metadata metamodel package list

Description

Returns the identifiers for the packages elements that are contained in all the registered component elements.

Example

dcli com vmware vapi metadata metamodel package list


Get Command

dcli com vmware vapi metadata metamodel package get

Description

Retrieves information about the package element corresponding to packagetId.

Options

Option Name Type Required Description
package‑id string Yes Identifier of the package element. The parameter must be an identifier for the resource type: com.vmware.vapi.package.

Example

dcli com vmware vapi metadata metamodel package get --package-id testId