vapi metadata privilege: service info

The service_info structure contains privilege information of a service element.

For an explanation of privilege information contained within service elements, see vapi.metadata.privilege.service.

Representation:

{
    "operations"[
        {
            "key""obj-103",
            "value"{
                "privilege_info"[
                    {
                        "privileges"[
                            "string",
                            "string"
                        ],
                        "property_path""string"
                    },
                    {
                        "privileges"[
                            "string",
                            "string"
                        ],
                        "property_path""string"
                    }
                ],
                "privileges"[
                    "string",
                    "string"
                ]
            }
        }
    ]
}

Attributes:

Name Type Description
Required
operations list Information about all operation elements contained in this service element that contain privilege information. The key in the key/value pairs is the identifier of the operation element and the value in the key/value pairs is the privilege information for the operation element.

For an explanation of containment of privilege information within operation elements, see vapi.metadata.privilege.service.operation.

When clients pass a value of this structure as a parameter, the key in the field key/value pairs must be an identifier for the resource type: com.vmware.vapi.operation. When operations return a value of this structure as a result, the key in the field key/value pairs will be an identifier for the resource type: com.vmware.vapi.operation.List of {"key": string, "value": operation_info}