Files
doc-exports/docs/ucs/api-ref/ListRule.html
qiujiandong1 535e30e292 UCS API initial update 20250523 version
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2026-02-23 09:12:31 +00:00

326 lines
27 KiB
HTML

<a name="ListRule"></a><a name="ListRule"></a>
<h1 class="topictitle1">Obtaining the Permission Policy List</h1>
<div id="body8662426"><div class="section" id="ListRule__en-us_topic_0000002537803533_section601395472105"><h4 class="sectiontitle">Function</h4><p id="ListRule__en-us_topic_0000002537803533_p379770071105">This API is used to obtain the permission policy list.</p>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section1964551525"><h4 class="sectiontitle">URI</h4><p id="ListRule__en-us_topic_0000002537803533_p1694886896105">GET /v1/permissions/rules</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_table183667696105" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Query parameters</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row497545063105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ListRule__en-us_topic_0000002537803533_p1391717682105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ListRule__en-us_topic_0000002537803533_p883581759105">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ListRule__en-us_topic_0000002537803533_p723200365105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ListRule__en-us_topic_0000002537803533_p588509260105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row980106038105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1484865944105">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p397844918105">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p802968172105">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListRule__en-us_topic_0000002537803533_p189399704105">The number of records allowed on each page when the list is queried by page. The default value is <strong id="ListRule__en-us_topic_0000002537803533_b10982176824929">-1</strong>.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1690711867105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1244497618105">offset</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1266889474105">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1826414963105">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListRule__en-us_topic_0000002537803533_p1878556178105">Start offset when the list is queried by page. The default value is <strong id="ListRule__en-us_topic_0000002537803533_b14900279174936">0</strong>.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1946644006105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p677389055105">order_by</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p118674553105">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p685437142105">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListRule__en-us_topic_0000002537803533_p980201154105">Sorting parameter when the list is queried by page. The value can be <strong id="ListRule__en-us_topic_0000002537803533_b11133562274944">create_at</strong> or <strong id="ListRule__en-us_topic_0000002537803533_b10535889654944">update_at</strong>.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row773556752105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p865565250105">order</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p54826462105">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p864764211105">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListRule__en-us_topic_0000002537803533_p1296481404105">Sorting order when the list is queried by page. The value can be <strong id="ListRule__en-us_topic_0000002537803533_b13001747774949">desc</strong> or <strong id="ListRule__en-us_topic_0000002537803533_b7694083844949">asc</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section109996882105"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row1530278923105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="ListRule__en-us_topic_0000002537803533_p966260142105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="ListRule__en-us_topic_0000002537803533_p1582241148105">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="ListRule__en-us_topic_0000002537803533_p1426332901105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="ListRule__en-us_topic_0000002537803533_p380234161105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row1930429309105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p812499899105">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p71739646105">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1846631902105">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="ListRule__en-us_topic_0000002537803533_p2067203171105">Identity authentication information</p>
<p id="ListRule__en-us_topic_0000002537803533_p1209532400105">Minimum length: <strong id="ListRule__en-us_topic_0000002537803533_b169785731641434">1</strong></p>
<p id="ListRule__en-us_topic_0000002537803533_p514738533105">Maximum length: <strong id="ListRule__en-us_topic_0000002537803533_b59311754841455">16384</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section1859590737105"><h4 class="sectiontitle">Response Parameters</h4><p id="ListRule__en-us_topic_0000002537803533_p735696746105"><strong id="ListRule__en-us_topic_0000002537803533_b180545857741511">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_response_RuleList" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response body</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row836625622105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="ListRule__en-us_topic_0000002537803533_p1864258313105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="ListRule__en-us_topic_0000002537803533_p1126672397105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="ListRule__en-us_topic_0000002537803533_p763273273105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row1014364011105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p265082031105">items</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p2118563409105">Array of <a href="#ListRule__en-us_topic_0000002537803533_response_Rule">Rule</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1914163692105">Permission policy list</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1193378597105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1522060904105">total</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p407539306105">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1392993545105">Total number of records on all pages</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListRule__en-us_topic_0000002537803533_response_Rule"></a><a name="en-us_topic_0000002537803533_response_Rule"></a><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_response_Rule" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Rule</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row694481822105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="ListRule__en-us_topic_0000002537803533_p1930947729105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="ListRule__en-us_topic_0000002537803533_p839410175105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="ListRule__en-us_topic_0000002537803533_p1204733376105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row1763932674105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p740610249105">kind</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p624063719105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1370740329105">API type.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row438802908105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1712610553105">apiVersion</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1343636316105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1320192288105">API version. The value is fixed at <strong id="ListRule__en-us_topic_0000002537803533_b15190570514166">v1</strong> and cannot be changed.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row823352327105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1099545021105">metadata</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1787743065105"><a href="#ListRule__en-us_topic_0000002537803533_response_ObjectMeta">ObjectMeta</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1159184222105">Basic information.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1964291773105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1816260281105">spec</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1872006140105"><a href="#ListRule__en-us_topic_0000002537803533_response_RuleSpec">RuleSpec</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p141316252105">Details about the permission policy. UCS creates or updates the permission policy by <strong id="ListRule__en-us_topic_0000002537803533_b64493153141724">spec</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListRule__en-us_topic_0000002537803533_response_ObjectMeta"></a><a name="en-us_topic_0000002537803533_response_ObjectMeta"></a><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_response_ObjectMeta" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ObjectMeta</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row1401926699105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="ListRule__en-us_topic_0000002537803533_p1560027555105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="ListRule__en-us_topic_0000002537803533_p1617899005105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="ListRule__en-us_topic_0000002537803533_p1963565906105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row999283643105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1822267940105">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1913536988105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p221566259105">Cluster ID</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1784274924105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1743554253105">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1936102793105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1141567217105">Cluster name</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row248196877105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1627875053105">labels</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p857235698105">Map&lt;String,String&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1586104027105">Labels</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1368094325105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p731936200105">creationTimestamp</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p476259059105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p704410949105">Creation time. It is the UTC time in the RFC 3339 format.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row813703210105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1908311335105">updateTimestamp</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p787746787105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p492472478105">Update timestamp</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListRule__en-us_topic_0000002537803533_response_RuleSpec"></a><a name="en-us_topic_0000002537803533_response_RuleSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_response_RuleSpec" frame="border" border="1" rules="all"><caption><b>Table 6 </b>RuleSpec</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row106351252105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="ListRule__en-us_topic_0000002537803533_p310081556105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="ListRule__en-us_topic_0000002537803533_p1738921204105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="ListRule__en-us_topic_0000002537803533_p221146221105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row1886006931105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1653214255105">iamuserids</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p725242704105">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1166978615105">Information of IAM users associated with a permission policy</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1006158682105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p774323282105">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p155237916105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p472483011105">Permission policy type. The value can be <strong id="ListRule__en-us_topic_0000002537803533_b180627380763155">readonly</strong>, <strong id="ListRule__en-us_topic_0000002537803533_b190063607063155">develop</strong>, <strong id="ListRule__en-us_topic_0000002537803533_b85202677263155">admin</strong>, or <strong id="ListRule__en-us_topic_0000002537803533_b15930155963155">custom</strong>.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row414828890105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p2143430699105">contents</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1344945304105">Array of <a href="#ListRule__en-us_topic_0000002537803533_response_Content">Content</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1817535273105">Permission policy content</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row347533162105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1299754576105">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p915137624105">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1847633715105">Permission policy description</p>
<p id="ListRule__en-us_topic_0000002537803533_p1999562750105">Minimum length: <strong id="ListRule__en-us_topic_0000002537803533_b21061579463216">0</strong></p>
<p id="ListRule__en-us_topic_0000002537803533_p378358740105">Maximum length: <strong id="ListRule__en-us_topic_0000002537803533_b170945930363221">255</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListRule__en-us_topic_0000002537803533_response_Content"></a><a name="en-us_topic_0000002537803533_response_Content"></a><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_response_Content" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Content</caption><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row607653059105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="ListRule__en-us_topic_0000002537803533_p821242516105">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="ListRule__en-us_topic_0000002537803533_p1657306229105">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="ListRule__en-us_topic_0000002537803533_p2102696803105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row2116864790105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p147878559105">verbs</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p9404152105">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p1934006350105">Action list</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row109889220105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1399848046105">resources</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1629480109105">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListRule__en-us_topic_0000002537803533_p2135420401105">Resource list</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section1403862240105"><h4 class="sectiontitle">Example Requests</h4><p id="ListRule__en-us_topic_0000002537803533_p1935942963105">None</p>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section745854753105"><h4 class="sectiontitle">Example Responses</h4><p id="ListRule__en-us_topic_0000002537803533_p1926668002105"><strong id="ListRule__en-us_topic_0000002537803533_b38576632441511">Status code: 200</strong></p>
<p id="ListRule__en-us_topic_0000002537803533_p1441529939105">Permission policy list</p>
<pre class="screen" id="ListRule__en-us_topic_0000002537803533_screen1736181271105">{
"items" : [ {
"metadata" : {
"name" : "admin",
"uid" : "3dcdef78-65bb-11ee-bdf2-0255ac100033",
"creationTimestamp" : "2023-10-08 09:15:36.526016 +0000 UTC",
"updateTimestamp" : "2023-10-08 09:15:36.526016 +0000 UTC"
},
"spec" : {
"iamUserIDs" : [ "873395a21c8d4d8ba9e37d6d32debc41" ],
"type" : "admin",
"contents" : [ {
"verbs" : [ "*" ],
"resources" : [ "*" ]
} ]
}
} ],
"total" : 1
}</pre>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section1312111106105"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListRule__en-us_topic_0000002537803533_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ListRule__en-us_topic_0000002537803533_row942345053105"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ListRule__en-us_topic_0000002537803533_p773821704105">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ListRule__en-us_topic_0000002537803533_p216570866105">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListRule__en-us_topic_0000002537803533_row844524907105"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1271953479105">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p638784803105">Permission policy list</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row964561679105"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p826664091105">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p1494147584105">Client request error. The server could not execute the request.</p>
</td>
</tr>
<tr id="ListRule__en-us_topic_0000002537803533_row1750095289105"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListRule__en-us_topic_0000002537803533_p1520637263105">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListRule__en-us_topic_0000002537803533_p300586959105">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListRule__en-us_topic_0000002537803533_section555165882105"><h4 class="sectiontitle">Error Codes</h4><p id="ListRule__en-us_topic_0000002537803533_p462712444105">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000002.html">Permissions</a></div>
</div>
</div>