VMware

Component Namespace

The Component namespace providers commands to retrieve metamodel information of a component element. A component defines a set of functionality that is deployed together and versioned together. For example, all the namespaces that belong to VMware Content Library are part of a single component. A component element describes a component. A component element contains one or more package elements. The commands for package elements are provided by namespace Package.

List of commands:



List Command

dcli com vmware vapi metadata metamodel component list

Description

Returns the identifiers for the component elements that are registered with the infrastructure.

Example

dcli com vmware vapi metadata metamodel component list


Get Command

dcli com vmware vapi metadata metamodel component get

Description

Retrieves metamodel information about the component element corresponding to component-id. The ComponentData contains the metamodel information about the component and it's fingerprint. It contains information about all the package elements that are contained in this component element.

Options

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

Example

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


Fingerprint Command

dcli com vmware vapi metadata metamodel component fingerprint

Description

Retrieves the fingerprint computed from the metamodel metadata of the component element corresponding to component-id. The fingerprint provides clients an efficient way to check if the metadata for a particular component element has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of Component.get.

Options

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

Example

dcli com vmware vapi metadata metamodel component fingerprint --component-id testId