forked from docs/doc-exports
Reviewed-by: Kabai, Zoltán Gábor <zoltan-gabor.kabai@t-systems.com> Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com> Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
410 lines
41 KiB
HTML
410 lines
41 KiB
HTML
<a name="iam_02_0012"></a><a name="iam_02_0012"></a>
|
|
|
|
<h1 class="topictitle1">Querying Custom Policy Details</h1>
|
|
<div id="body8662426"><div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section1128019219412"><h4 class="sectiontitle">Function</h4><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p02837264112">This API is provided for the administrator to query custom policy details.</p>
|
|
<p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p142851627411">The API can be called using both the global endpoint and region-specific endpoints.</p>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section16288326414"><h4 class="sectiontitle">URI</h4><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p2290202194115">GET /v3.0/OS-ROLE/roles/{role_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_table10292152174114" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row6291132164116"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1529362134117">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.2.3.2.5.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p529511210412">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1429819213416">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.3.2.5.1.4"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p103001211417">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row72917254113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1302822418">role_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p830412244117">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1530618214416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1330814216415">Custom policy ID. For details about how to obtain a custom policy ID, see <a href="iam_02_0011.html">Custom Policy ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section0310624419"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row19312521410"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1231482194119">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1231612234112">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.2.2.5.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p103188217417">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.2.5.1.4"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p432014216413">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row93123210417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p2032113219416">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p2032312215415">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p6325112144111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p153260214116">Fill <strong id="iam_02_0012__en-us_topic_0222393170_b6103726174215">application/json;charset=utf8</strong> in this field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row173122244116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p932819224111">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p13291629416">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1633110214112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1633392124120">Token with <strong id="iam_02_0012__b162114539458">Security Administrator</strong> permissions.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section1733610210411"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_responseParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response body</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row18339202144115"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p133414211417">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p8343825412">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.2.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1034462124110">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row1633917210410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p163462284115"><a href="#iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritem">role</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p18348142184113">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.2.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p15350626411">Custom policy information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritem"></a><a name="en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritem"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritem" frame="border" border="1" rules="all"><caption><b>Table 4 </b>role</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row125079552409"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p350955511405">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p351085574011">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p9511195524018">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row950775544018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p105121955114016">domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1851315557401">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p2515455114018">Domain ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row105071555194012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p251620558402">references</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p15517105516404">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p185181255154011">Number of references.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row155071955124012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p205192553409">updated_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p452075504011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p55211155184010">Time when the custom policy was last updated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row05071556406"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p652215550404">created_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p6523455124015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p135245556403">Time when the custom policy was created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row19507655184018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p55254550404">description_cn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p105261255104010">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1652712555404">Description of the custom policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row650715534013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p8528155154016">catalog</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1529195584013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1753015559404">Service catalog.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row12507855104011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p653205517401">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p19533185544015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p125341755194018">Name of the custom policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row5507155511402"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p115351355134020">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p653619554400">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p453718552408">Description of the custom policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row15074555401"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p10538175544013"><a href="#iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemLinks">links</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1553914553403">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p95401355194014">Resource link of the custom policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row195071355134011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p75422055144013">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p18543175504019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p754419556401">Policy ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row950765515404"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p55451655204018">display_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p254610556402">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p4547155514401">Display name of the custom policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row12507135514405"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p25482055194010">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p205491955114020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p18550195517407">Display mode.</p>
|
|
<div class="note" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_note255315517404"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul955514555409"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li11555055124014"><strong id="iam_02_0012__en-us_topic_0222393170_b1561481423">AX</strong>: Account level.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li3556135518408"><strong id="iam_02_0012__en-us_topic_0222393170_b169821948144217">XA</strong>: Project level.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li19558655124011">The display mode of a custom policy can only be <strong id="iam_02_0012__en-us_topic_0222393170_b1449418505425">AX</strong> or <strong id="iam_02_0012__en-us_topic_0222393170_b34941050134217">XA</strong>. A custom policy must be displayed at either of the two levels.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row1250845511401"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p655912553405"><a href="#iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicy">policy</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p11560155564014">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p15618552401">Content of custom policy.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemLinks"></a><a name="en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemLinks"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemLinks" frame="border" border="1" rules="all"><caption><b>Table 5 </b>role.links</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row856212553401"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p10564115564016">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p14565135512402">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p2566555164014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row756235512401"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p9567175511405">self</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1568105515405">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p5569115513409">Resource link.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicy"></a><a name="en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicy"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicy" frame="border" border="1" rules="all"><caption><b>Table 6 </b>role.policy</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row456995594014"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p195711855174015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p357285513408">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p157395517408">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row20569175594019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p75741655184010">Version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p20575175594017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p9576145512403">Policy version.</p>
|
|
<div class="note" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_note5579355184019"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul158145518403"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li10581155519401"><strong id="iam_02_0012__en-us_topic_0222393170_b760519559421">1.0</strong>: System-defined role. Only a limited number of service-level roles are provided for authorization.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li115821455134016"><strong id="iam_02_0012__en-us_topic_0222393170_b06713614436">1.1</strong>: Policy. A policy defines the permissions required to perform operations on a specific cloud resource under certain conditions.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row35701755174011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1458455514014"><a href="#iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritem">Statement</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p17585105524012">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1858625511405">Statement of the policy. A policy can contain a maximum of eight statements.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritem"></a><a name="en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritem"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritem" frame="border" border="1" rules="all"><caption><b>Table 7 </b>role.policy.Statement</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row85871554408"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p13589955134015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p559075514012">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p4591195594014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row12587555134017"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p359215520404">Action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1159395516404">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p959417559402">Specific operation permission on a resource. A maximum of 100 actions are allowed.</p>
|
|
<div class="note" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_note15597135513401"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul1659895514408"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li1598455184014">The value format is <em id="iam_02_0012__en-us_topic_0222393170_i544510524429">Service name</em>:<em id="iam_02_0012__en-us_topic_0222393170_i8445165218422">Resource type</em>:<em id="iam_02_0012__en-us_topic_0222393170_i944525210428">Operation</em>, for example, <strong id="iam_02_0012__en-us_topic_0222393170_b8445552204219">vpc:ports:create</strong>.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li156008555405"><em id="iam_02_0012__en-us_topic_0222393170_i23211459164212">Service name</em>: indicates the product name, such as <strong id="iam_02_0012__en-us_topic_0222393170_b132125918425">ecs</strong>, <strong id="iam_02_0012__en-us_topic_0222393170_b232117595422">evs</strong>, or <strong id="iam_02_0012__en-us_topic_0222393170_b183211059174212">vpc</strong>. Only lowercase letters are allowed. Resource types and operations are not case-sensitive. You can use an asterisk (*) to represent all operations.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li1460110550406">For a custom policy for agencies, this parameter should be set to <em id="iam_02_0012__i123015129458">"Action": ["iam:agencies:assume"]</em>.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row158735594019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1860385544019">Effect</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1960465574014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p2605115544016">Effect of the permission. The value can be <strong id="iam_02_0012__en-us_topic_0222393170_b8987123319420">Allow</strong> or <strong id="iam_02_0012__en-us_topic_0222393170_b1998763314215">Deny</strong>. If both Allow and Deny statements are found in a policy, the authentication starts from the Deny statements.</p>
|
|
<p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1360685511405">Options:</p>
|
|
<ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul3607205516402"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li156081655144015">Allow</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li18609155515400">Deny</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row1958714551407"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p06104551406"><a href="#iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemCondition">Condition</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p261213558406">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p6613655134014">Conditions for the permission to take effect. A maximum of 10 conditions are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row17587855184012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p561495515405">Resource</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1261520559407">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1461618557403">Cloud resource. The array can contain a maximum of 10 resource strings, and each string cannot exceed 128 characters.</p>
|
|
<div class="note" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_note361845520405"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul2062085519404"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li2062015555403">Format: <em id="iam_02_0012__en-us_topic_0222393170_i1613152315433">::::</em>. For example, <strong id="iam_02_0012__en-us_topic_0222393170_b10614172311437">obs:</strong><strong id="iam_02_0012__en-us_topic_0222393170_b16151323184315"><em id="iam_02_0012__i4615142344315">:</em></strong><strong id="iam_02_0012__en-us_topic_0222393170_b661611230434">:bucket:*</strong>. Asterisks are allowed.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li962245564011">The region segment can be <strong id="iam_02_0012__en-us_topic_0222393170_b8900102411430">*</strong> or a region accessible to the user. The specified resource must belong to the corresponding service that actually exists.</li><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li262385534020">In the case of a custom policy for agencies, the type of this parameter is Object, and the value should be set to <em id="iam_02_0012__i18262112919431">"Resource": {"uri": ["/iam/agencies/07805acaba800fdd4fbdc00b8f888c7c"]}</em>.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemCondition"></a><a name="en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemCondition"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemCondition" frame="border" border="1" rules="all"><caption><b>Table 8 </b>role.policy.Statement.Condition</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row1562512550400"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p8627355104015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p18628355134013">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p7629855184020">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row156251255104012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p14630195515406"><a href="#iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemConditionOperator">operator</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p13631455174010">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p8632165519408">Operator, for example, Bool and StringEquals.</p>
|
|
<ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul14633155518403"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li96331455184012">The parameter type is custom object.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemConditionOperator"></a><a name="en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemConditionOperator"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_response_Rs111RolesArritemPolicyStatementArritemConditionOperator" frame="border" border="1" rules="all"><caption><b>Table 9 </b>role.policy.Statement.Condition.operator</caption><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row10635055104012"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p263619559408">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1963710554407">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p963885513405">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row16635115519406"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p6639055194010">attribute</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p7640655184011">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p664165514407">Condition key. The condition key must correspond to the specified operator. A maximum of 10 condition keys are allowed.</p>
|
|
<ul id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_ul1964216551403"><li id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_li6643115510404">The parameter type is custom character string array.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section1256318212416"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_screen175661428413">GET https://<em id="iam_02_0012__i473115016599"></em>iam.eu-de.otc.t-systems.com/v3.0/OS-ROLE/roles/{role_id}</pre>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section157117284119"><h4 class="sectiontitle">Example Response</h4><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p5573925419"><strong id="iam_02_0012__en-us_topic_0222393170_b15973194124311">Status code: 200</strong></p>
|
|
<p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p6574112194110">The request is successful.</p>
|
|
<pre class="screen" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_screen12585112134112">{
|
|
"role": {
|
|
"domain_id": "d78cbac186b744899480f25bd02...",
|
|
"references": 0,
|
|
"description_cn": "Policy description",
|
|
"catalog": "CUSTOMED",
|
|
"name": "custom_d78cbac186b744899480f25bd022f468_11",
|
|
"description": "IAMDescription",
|
|
"links": {
|
|
"self": "https://<em id="iam_02_0012__i033712813262"></em>iam.eu-de.otc.t-systems.com/v3/roles/a24a71dcc41f4da989c2a1c900b52d1a"
|
|
},
|
|
"id": "a24a71dcc41f4da989c2a1c900b52d1a",
|
|
"display_name": "IAMCloudServicePolicy",
|
|
"type": "AX",
|
|
"policy": {
|
|
"Version": "1.1",
|
|
"Statement": [
|
|
{
|
|
"Condition": {
|
|
"StringStartWith": {
|
|
"g:ProjectName": [
|
|
"eu-de"
|
|
]
|
|
}
|
|
},
|
|
"Action": [
|
|
"obs:bucket:GetBucketAcl"
|
|
],
|
|
"Resource": [
|
|
"obs:*:*:bucket:*"
|
|
],
|
|
"Effect": "Allow"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section873412294110"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_table288" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row1563517210414"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p12736152164119">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p18737225413">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row12635429415"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p47384216413">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p16738112154111">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row463512124115"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p107391321419">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p9740192164118">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row6635102174117"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p177404211418">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p074113204116">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row15635421414"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p87427211411">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1742122144120">Access denied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_row186351826411"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1074382164114">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1974411215412">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_section2745142164118"><h4 class="sectiontitle">Error Codes</h4><p id="iam_02_0012__en-us_topic_0222393170_en-us_topic_0222037549_p1374620217417">None</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="iam_02_0010.html">Custom Policy Management</a></div>
|
|
</div>
|
|
</div>
|
|
|