VMware

Operation Namespace

The Operation namespace provides commands to retrieve privilege information of an operation element. An operation element is said to contain privilege information if there are any privileges assigned to the operation element or if one of the parameter elements contained in it has privileges assigned in privilege definition file.

List of commands:



List Command

dcli com vmware vapi metadata privilege service operation list

Description

Returns the identifiers for the operation elements contained in the service element corresponding to service-id that have privilege information.

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 privilege service operation list --service-id testId


Get Command

dcli com vmware vapi metadata privilege service operation get

Description

Retrieves the privilege 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 privilege service operation get --service-id testId --operation-id testId