REST API - privilege_info
com.vmware.vapi.metadata.privilege
privilege_info
The
privilege_info
structure contains the privilege information for a parameter element in an operation element.- Representations:
-
{
"privileges": [
"string",
"string"
],
"property_path": "string"
}<?xml version="1.0" ?>
<ns0:PrivilegeInfo xmlns:ns0="http://vmware.com/vapi/metadata/privilege" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<privileges-array>
<array-item>string</array-item>
<array-item>string</array-item>
</privileges-array>
<property_path>string</property_path>
</ns0:PrivilegeInfo> - Attributes:
-
Name Type Required Description property_path *
string Yes The property_path
points to an entity that is used in the operation element. An entity can either be present in one of the parameter elements or if a parameter is a structure element, it could also be present in one of the field elements.If the privilege is assigned to an entity used in the parameter,
property_path
will just contain the name of the parameter field. If the privilege is assigned to an entity in one of the field elements of a parameter element that is a structure element, thenproperty_path
will contain a path to the field element starting from the parameter name.privileges *
List<string> Yes List of privileges assigned to the entity that is being referred by com.vmware.vapi.metadata.privilege.privilege_info.property_path.
Copyright © 2014. All Rights Reserved.