vapi metadata privilege: component info

The component_info structure contains the privilege information of a component element.

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

Representation:

{
    "packages"[
        {
            "key""obj-103",
            "value"{
                "privileges"[
                    "string",
                    "string"
                ],
                "services"[
                    {
                        "key""obj-103",
                        "value"{
                            "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
packages list Privilege information of all the package elements. The key in the key/value pairs is the identifier of the package element and the value in the key/value pairs is the privilege information for the package element.

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

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.package. 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.package.List of {"key": string, "value": package_info}