forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com> Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
375 lines
24 KiB
HTML
375 lines
24 KiB
HTML
<a name="iam_02_0027"></a><a name="iam_02_0027"></a>
|
|
|
|
<h1 class="topictitle1">Modifying the ACL for Console Access</h1>
|
|
<div id="body1597737539340"><div class="section" id="iam_02_0027__section1894252382013"><h4 class="sectiontitle">Function</h4><p id="iam_02_0027__p472524182010">This API is provided for the administrator to modify the ACL for console access.</p>
|
|
</div>
|
|
<div class="section" id="iam_02_0027__section79431723182016"><h4 class="sectiontitle">URI</h4><p id="iam_02_0027__p15721724182011">PUT /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/console-acl-policy</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table12943152317207" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="iam_02_0027__row37202422020"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="iam_02_0027__p472102412013">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_0027__p1672824122011">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_0027__p13722249202">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_0027__p1726242209">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row37242416205"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="iam_02_0027__p47242413209">domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="iam_02_0027__p7721124112019">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="iam_02_0027__p67272416209">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="iam_02_0027__p12721624142016">Domain ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0027__section13946723152017"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table109477238201" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="iam_02_0027__row8721424192020"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="iam_02_0027__p272152432016">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.2.2.5.1.2"><p id="iam_02_0027__p167292410206">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="iam_02_0027__p1972112410201">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_0027__p472142418205">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row147218244203"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_02_0027__p177212415202">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_02_0027__p972424192017">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_02_0027__p172182414203">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_02_0027__p14721124172016">Token with <strong id="iam_02_0027__b10772114614478">Security Administrator</strong> permissions.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table4950523132018" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the request body</caption><thead align="left"><tr id="iam_02_0027__row187220246201"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="iam_02_0027__p27202419202">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.3.2.5.1.2"><p id="iam_02_0027__p19721524132010">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="iam_02_0027__p1572122422017">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.2.5.1.4"><p id="iam_02_0027__p77217244201">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row1272142416200"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="iam_02_0027__p10722241206"><a href="#iam_02_0027__table4953122312014">console_acl_policy</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.3.2.5.1.2 "><p id="iam_02_0027__p1772224182011">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="iam_02_0027__p18721424162016">object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.5.1.4 "><p id="iam_02_0027__p57242420201">ACL for console access.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0027__table4953122312014"></a><a name="table4953122312014"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table4953122312014" frame="border" border="1" rules="all"><caption><b>Table 4 </b>console_acl_policy</caption><thead align="left"><tr id="iam_02_0027__row15724248209"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="iam_02_0027__p87212492012">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.4.2.5.1.2"><p id="iam_02_0027__p127232472015">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="iam_02_0027__p1872124102014">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.4.2.5.1.4"><p id="iam_02_0027__p10721224122017">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row8721524192018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_02_0027__p47212462019"><a href="#iam_02_0027__table1095716238208">allow_address_netmasks</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_02_0027__p19729240209">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_02_0027__p4326131012240">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_02_0027__p11801542194717">IPv4 CIDR blocks from which console access is allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row1272112452019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_02_0027__p15722242205"><a href="#iam_02_0027__table896132320207">allow_ip_ranges</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_02_0027__p127242414202">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_02_0027__p12311101642413">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_02_0027__p2080119424473">IP address ranges from which console access is allowed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0027__table1095716238208"></a><a name="table1095716238208"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table1095716238208" frame="border" border="1" rules="all"><caption><b>Table 5 </b>allow_address_netmasks</caption><thead align="left"><tr id="iam_02_0027__row1573724172013"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="iam_02_0027__p157317241207">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.5.2.5.1.2"><p id="iam_02_0027__p137352432017">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="iam_02_0027__p19731924132018">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.5.2.5.1.4"><p id="iam_02_0027__p67382420206">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row157318246207"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="iam_02_0027__p1073182482012">address_netmask</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.5.2.5.1.2 "><p id="iam_02_0027__p137313242207">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="iam_02_0027__p773102462020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.5.2.5.1.4 "><p id="iam_02_0027__p177311244209">IPv4 CIDR block, for example, <strong id="iam_02_0027__b661412916189">192.168.0.1/24</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row973024162011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="iam_02_0027__p177382462012">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.5.2.5.1.2 "><p id="iam_02_0027__p57392432017">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="iam_02_0027__p14730242204">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.5.2.5.1.4 "><p id="iam_02_0027__p167318248202">Description about the IPv4 CIDR block.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0027__table896132320207"></a><a name="table896132320207"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table896132320207" frame="border" border="1" rules="all"><caption><b>Table 6 </b>allow_ip_ranges</caption><thead align="left"><tr id="iam_02_0027__row1573624102014"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="iam_02_0027__p773122416209">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.6.2.5.1.2"><p id="iam_02_0027__p3738249208">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="iam_02_0027__p107392432016">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.6.2.5.1.4"><p id="iam_02_0027__p773424182013">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row97322472012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="iam_02_0027__p27316242201">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.6.2.5.1.2 "><p id="iam_02_0027__p67382420209">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="iam_02_0027__p8731924112011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.6.2.5.1.4 "><p id="iam_02_0027__p573122472015">Description about an IP address range.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row1273924182013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="iam_02_0027__p4731924192014">ip_range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.6.2.5.1.2 "><p id="iam_02_0027__p1773152462011">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="iam_02_0027__p1473142419204">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.6.2.5.1.4 "><p id="iam_02_0027__p87352452011">IP address range, for example, <strong id="iam_02_0027__b572572921820">0.0.0.0-255.255.255.255</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0027__section16964132372015"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table596552310207" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Parameters in the response body</caption><thead align="left"><tr id="iam_02_0027__row17731241208"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.1"><p id="iam_02_0027__p1173024192013">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_0027__p67392415203">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_0027__p1873142462011">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row17731024102014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.1 "><p id="iam_02_0027__p207312248203"><a href="#iam_02_0027__table19967323112013">console_acl_policy</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.2 "><p id="iam_02_0027__p1073124172018">object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.2.2.4.1.3 "><p id="iam_02_0027__p137311245207">ACL for console access.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0027__table19967323112013"></a><a name="table19967323112013"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table19967323112013" frame="border" border="1" rules="all"><caption><b>Table 8 </b>console_acl_policy</caption><thead align="left"><tr id="iam_02_0027__row18732244205"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="iam_02_0027__p167362415209">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_0027__p197342418204">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_0027__p4737243200">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row473124202012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0027__p117313247203"><a href="#iam_02_0027__table1897082311203">allow_address_netmasks</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0027__p187312242200">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0027__p1732248201">IPv4 CIDR blocks from which console access is allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row873112492013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_02_0027__p1373142417201"><a href="#iam_02_0027__table19974182311208">allow_ip_ranges</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_02_0027__p65591747112715">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_02_0027__p273172411205">IP address ranges from which console access is allowed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0027__table1897082311203"></a><a name="table1897082311203"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table1897082311203" frame="border" border="1" rules="all"><caption><b>Table 9 </b>allow_address_netmasks</caption><thead align="left"><tr id="iam_02_0027__row67322412017"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="iam_02_0027__p273172402019">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_0027__p19730245207">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_0027__p97319246200">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row2073202432016"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="iam_02_0027__p1873624192014">address_netmask</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="iam_02_0027__p473102416208">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="iam_02_0027__p1218585912477">IPv4 CIDR block, for example, <strong id="iam_02_0027__b88548386194">192.168.0.1/24</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row1773122418207"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="iam_02_0027__p67314248201">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="iam_02_0027__p2733241209">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="iam_02_0027__p19185145910476">Description about the IPv4 CIDR block.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="iam_02_0027__table19974182311208"></a><a name="table19974182311208"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table19974182311208" frame="border" border="1" rules="all"><caption><b>Table 10 </b>allow_ip_ranges</caption><thead align="left"><tr id="iam_02_0027__row12731324162017"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="iam_02_0027__p473182412205">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_0027__p07352442018">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_0027__p273924112018">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row1673724152013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="iam_02_0027__p12731024182013">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="iam_02_0027__p1373172432018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="iam_02_0027__p673152410208">Description about an IP address range.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row47342410209"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="iam_02_0027__p37302482015">ip_range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="iam_02_0027__p15731824112012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="iam_02_0027__p107313244208">IP address range, for example, <strong id="iam_02_0027__b6274151182013">0.0.0.0-255.255.255.255</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="iam_02_0027__section179768234209"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="iam_02_0027__screen47311248206">PUT https://sample.domain.com/v3.0/OS-SECURITYPOLICY/domains/{domain_id}/console-acl-policy
|
|
|
|
{
|
|
"console_acl_policy" : {
|
|
"allow_ip_ranges" : [ {
|
|
"ip_range" : "0.0.0.0-255.255.255.255",
|
|
"description" : "1"
|
|
}, {
|
|
"ip_range" : "0.0.0.0-255.255.255.253",
|
|
"description" : "12"
|
|
} ],
|
|
"allow_address_netmasks" : [ {
|
|
"address_netmask" : "192.168.0.1/24",
|
|
"description" : "3"
|
|
}, {
|
|
"address_netmask" : "192.168.0.2/23",
|
|
"description" : "4"
|
|
} ]
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="iam_02_0027__section698015231202"><h4 class="sectiontitle">Example Response</h4><p id="iam_02_0027__p1174624132011"><strong id="iam_02_0027__b192138514207">Status code: 200</strong></p>
|
|
<p id="iam_02_0027__p207472482014">The request is successful.</p>
|
|
<pre class="screen" id="iam_02_0027__screen197492422011">{
|
|
"console_acl_policy" : {
|
|
"allow_ip_ranges" : [ {
|
|
"ip_range" : "0.0.0.0-255.255.255.255",
|
|
"description" : ""
|
|
}, {
|
|
"ip_range" : "0.0.0.0-255.255.255.255",
|
|
"description" : ""
|
|
} ],
|
|
"allow_address_netmasks" : [ {
|
|
"address_netmask" : "192.168.0.1/24",
|
|
"description" : ""
|
|
}, {
|
|
"address_netmask" : "192.168.0.1/24",
|
|
"description" : ""
|
|
} ]
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<p id="iam_02_0027__p166083398285"><strong id="iam_02_0027__b1257916762017">Status code: 400</strong></p>
|
|
<p id="iam_02_0027__p260815399281">The request body is abnormal.</p>
|
|
<ul id="iam_02_0027__ul1960914396282"><li id="iam_02_0027__li66097398287">Example 1</li></ul>
|
|
<pre class="screen" id="iam_02_0027__screen176918462280">{
|
|
"error_msg" : "'%(key)s' is a required property.",
|
|
"error_code" : "IAM.0072"
|
|
}</pre>
|
|
<ul id="iam_02_0027__ul1019210480285"><li id="iam_02_0027__li17192748162816">Example 2</li></ul>
|
|
<pre class="screen" id="iam_02_0027__screen11311752122817">{
|
|
"error_msg" : "Invalid input for field '%(key)s'. The value is '%(value)s'.",
|
|
"error_code" : "IAM.0073"
|
|
}</pre>
|
|
<p id="iam_02_0027__p1360913391288"><strong id="iam_02_0027__b1913059182218">Status code: 500</strong></p>
|
|
<p id="iam_02_0027__p1160918396283">The system is abnormal.</p>
|
|
<pre class="screen" id="iam_02_0027__screen660933918284">{
|
|
"error_msg" : "An unexpected error prevented the server from fulfilling your request.",
|
|
"error_code" : "IAM.0006"
|
|
}</pre>
|
|
<div class="section" id="iam_02_0027__section498718233209"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_02_0027__table1798752362015" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_02_0027__row274624182017"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.16.2.1.3.1.1"><p id="iam_02_0027__p574424152013">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.16.2.1.3.1.2"><p id="iam_02_0027__p1174624192019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_02_0027__row15741224112012"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.16.2.1.3.1.1 "><p id="iam_02_0027__p574132482019">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.16.2.1.3.1.2 "><p id="iam_02_0027__p774152442013">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row1374162418200"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.16.2.1.3.1.1 "><p id="iam_02_0027__p1474112462016">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.16.2.1.3.1.2 "><p id="iam_02_0027__p1474162415209">The request body is abnormal.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row174152418209"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.16.2.1.3.1.1 "><p id="iam_02_0027__p5741824152013">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.16.2.1.3.1.2 "><p id="iam_02_0027__p167442422018">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row1274524122013"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.16.2.1.3.1.1 "><p id="iam_02_0027__p4741624172015">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.16.2.1.3.1.2 "><p id="iam_02_0027__p57410241205">Access denied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_02_0027__row1774202413204"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.16.2.1.3.1.1 "><p id="iam_02_0027__p14745245207">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.16.2.1.3.1.2 "><p id="iam_02_0027__p1474624192015">The system is abnormal.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="iam_02_0020.html">Security Settings</a></div>
|
|
</div>
|
|
</div>
|
|
|