The PackageInfo structure contains the privilege information of a package element. For an explanation of privilege information contained within package elements, see Package.
|required||privileges||array of string||
List of default privileges to be used for all the operations present in this package. If a particular operation element has no explicit privileges defined in the privilege definition file, these privileges are used for enforcing authorization.
|required||services||map of PrivilegeServiceInfo||
Information about all service elements contained in this package element that contain privilege information. The key in the map is the identifier of the service element and the value in the map is the privilege information for the service element. For an explanation of privilege information containment within service elements, see Service. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.vapi.service. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.vapi.service.