VMware

Enumeration Namespace

The Enumeration namespace provides commands to retrieve metamodel information about an enumeration element in the interface definition language. The Enumeration has a list of enumeration value elements.

List of commands:



List Command

dcli com vmware vapi metadata metamodel enumeration list

Description

Returns the identifiers for the enumeration elements that are contained in all the package elements, service elements and structure elements.

Example

dcli com vmware vapi metadata metamodel enumeration list


Get Command

dcli com vmware vapi metadata metamodel enumeration get

Description

Retrieves information about the enumeration element corresponding to enumeration-id. The EnumerationInfo contains the metamodel information about the enumeration value element contained in the enumeration element.

Options

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

Example

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