1. Types
2. vapi
3. metadata
4. privilege

## 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.

### Representations:

- JSON
- XML

{
"operations": [
{
"key": "obj-103",
"value": {
"privilege_info": [
{
"privileges": [
"string",
"string"
],
"property_path": "string"
},
{
"privileges": [
"string",
"string"
],
"property_path": "string"
}
],
"privileges": [
"string",
"string"
]
}
}
]
}
<?xml version="1.0" ?>
<ns0:ServiceInfo xmlns:ns0="http://vmware.com/vapi/metadata/privilege" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<operations-array>
<array-item>
<value>
<privilege_info-array>
<array-item>
<privileges-array>
<array-item>string</array-item>
<array-item>string</array-item>
</privileges-array>
<property_path>string</property_path>
</array-item>
<array-item>
<privileges-array>
<array-item>string</array-item>
<array-item>string</array-item>
</privileges-array>
<property_path>string</property_path>
</array-item>
</privilege_info-array>
<privileges-array>
<array-item>string</array-item>
<array-item>string</array-item>
</privileges-array>
</value>
<key>obj-103</key>
</array-item>
</operations-array>
</ns0:ServiceInfo>

#### 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}