VMware

Operation Namespace

The Operation namespace provides commands to retrieve metamodel information of an operation element in the interface definition language.

List of commands:



List Command

dcli com vmware vapi metadata metamodel service operation list

Description

Returns the identifiers for the operation elements that are defined in the scope of service-id.

Options

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

Example

dcli com vmware vapi metadata metamodel service operation list --service-id testId


Get Command

dcli com vmware vapi metadata metamodel service operation get

Description

Retrieves the metamodel information about an operation element corresponding to operation-id contained in the service element corresponding to service-id.

Options

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

Example

dcli com vmware vapi metadata metamodel service operation get --service-id testId --operation-id testId