VMware

Component Namespace

The Component namespace provides commands to retrieve privilege information of a component element. A component element is said to contain privilege information if any one of package elements in it contains privilege information.

List of commands:



List Command

dcli com vmware vapi metadata privilege component list

Description

Returns the identifiers for the component elements that have privilege information.

Example

dcli com vmware vapi metadata privilege component list


Get Command

dcli com vmware vapi metadata privilege component get

Description

Retrieves privilege information about the component element corresponding to component-id. The ComponentData contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to 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 privilege component get --component-id testId


Fingerprint Command

dcli com vmware vapi metadata privilege component fingerprint

Description

Retrieves the fingerprint computed from the privilege 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 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 privilege component fingerprint --component-id testId