forked from docs/doc-exports
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiaoli <qiaoli@huawei.com> Co-committed-by: qiaoli <qiaoli@huawei.com>
945 lines
76 KiB
HTML
945 lines
76 KiB
HTML
<a name="UpdateAclRule"></a><a name="UpdateAclRule"></a>
|
|
|
|
<h1 class="topictitle1">Updating an ACL Rule</h1>
|
|
<div id="body1708331107508"><div class="section" id="UpdateAclRule__section172207538282"><h4 class="sectiontitle">Function</h4><p id="UpdateAclRule__p17220125332814">This API is used to update an ACL rule.</p>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section622112536280"><h4 class="sectiontitle">URI</h4><p id="UpdateAclRule__p8221853162813">PUT /v1/{project_id}/acl-rule/{acl_rule_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__table22222053132813" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateAclRule__row1222125322812"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateAclRule__p19222195313289">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateAclRule__p18223105318282">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateAclRule__p1622315322811">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateAclRule__p1322312531286">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row172228531287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateAclRule__p72232537289">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateAclRule__p722310534286">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateAclRule__p162241353132815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateAclRule__p1922415531283">Project ID, which can be obtained by calling an API or from the console. For details, see <a href="cfw_02_0015.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1222753132819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateAclRule__p142241053172811">acl_rule_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateAclRule__p19224853172811">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateAclRule__p8225125312286">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateAclRule__p11225195322810">Rule ID, which can be obtained by calling the <a href="ListAclRules.html">API for querying protection rules</a>. Find the value in <strong id="UpdateAclRule__b12251053132814">data.records.rule_id</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__table922625317285" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="UpdateAclRule__row14225195311287"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="UpdateAclRule__p17226753182814">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="UpdateAclRule__p1922615534287">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="UpdateAclRule__p42269538285">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="UpdateAclRule__p1522714538285">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row18225195313287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="UpdateAclRule__p522725310283">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="UpdateAclRule__p6227353132817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="UpdateAclRule__p1522795312815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="UpdateAclRule__p42288533287">Enterprise project ID, which is the ID of a project planned based on organizations. You can obtain the enterprise project ID by referring to <a href="cfw_02_0027.html">Obtaining an Enterprise Project ID</a>. If the enterprise project function is not enabled, the value is <strong id="UpdateAclRule__b5228853162812">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row14225105312280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="UpdateAclRule__p222875322814">fw_instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="UpdateAclRule__p422825319286">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="UpdateAclRule__p122819536288">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="UpdateAclRule__p422955310282">Firewall ID, which can be obtained by referring to <a href="cfw_02_0028.html">Obtaining a Firewall ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section132291953122817"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="UpdateAclRule__row423011531283"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateAclRule__p52301653122812">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateAclRule__p18230105311282">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateAclRule__p122311453172815">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateAclRule__p12311753102810">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row16230195315287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateAclRule__p13231253102816">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateAclRule__p423165310281">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateAclRule__p2023215313280">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateAclRule__p142325535287">User token. You can obtain the token by referring to <a href="cfw_02_0029.html">Obtaining a User Token</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row125471813192910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateAclRule__p16987185572214">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateAclRule__p1453216872313">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateAclRule__p598785514223">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateAclRule__p1821149193417">Content type. It can only be set to application/json.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_UpdateRuleAclDto" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Request body parameters</caption><thead align="left"><tr id="UpdateAclRule__row14232185318287"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateAclRule__p17234165312283">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateAclRule__p1723405362811">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateAclRule__p923413532284">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateAclRule__p1523515392817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row192324534286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p202351153192812">address_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p52351953142820">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p82351653132813">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p192361453192811">Address type: <strong id="UpdateAclRule__b42361253112812">0</strong> (IPv4), <strong id="UpdateAclRule__b323675352813">1</strong> (IPv6).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row723285302815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p4236105392810">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p32367533285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p7236253112811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p22371653162817">Rule name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row20233115382810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p16237145322814">direction</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p2237195322811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p19237165362817">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p723818538282">Direction: <strong id="UpdateAclRule__b19238953132819">0</strong> (inbound) or <strong id="UpdateAclRule__b223845392819">1</strong> (outbound). This parameter is mandatory when <strong id="UpdateAclRule__b11238135332820">type</strong> is set to <strong id="UpdateAclRule__b19238553162815">0</strong> (Internet rule) or <strong id="UpdateAclRule__b523819537289">2</strong> (NAT rule).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row15233115315289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p12238175362818">action_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p11238653122817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p15239155312284">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p13239145318280">Rule action: <strong id="UpdateAclRule__b02391253142812">0</strong> (permit), <strong id="UpdateAclRule__b1323918533281">1</strong> (deny).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row18233135310286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p1223995342810">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p22401053142819">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p16240853172818">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p14240155322819">Rule status: <strong id="UpdateAclRule__b424075315287">0</strong> (disabled), <strong id="UpdateAclRule__b8240153102817">1</strong> (enabled).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row5233553152819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p1124005332813">applications</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p524119536285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p62416539289">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p10242115322820">Rule application list. Rule application type: <strong id="UpdateAclRule__b19242165382810">HTTP</strong>, <strong id="UpdateAclRule__b112422536284">HTTPS</strong>, <strong id="UpdateAclRule__b18242153192815">TLS1</strong>, <strong id="UpdateAclRule__b1224235332816">DNS</strong>, <strong id="UpdateAclRule__b524235318283">SSH</strong>, <strong id="UpdateAclRule__b124215362815">MYSQL</strong>, <strong id="UpdateAclRule__b13242115362817">SMTP</strong>, <strong id="UpdateAclRule__b1724295352816">RDP</strong>, <strong id="UpdateAclRule__b324275319286">RDPS</strong>, <strong id="UpdateAclRule__b10242135352811">VNC</strong>, <strong id="UpdateAclRule__b16242053112810">POP3</strong>, <strong id="UpdateAclRule__b16242135313287">IMAP4</strong>, <strong id="UpdateAclRule__b142421153142810">SMTPS</strong>, <strong id="UpdateAclRule__b1124211531288">POP3S</strong>, <strong id="UpdateAclRule__b11242165372812">FTPS</strong>, <strong id="UpdateAclRule__b92421053152813">ANY</strong>, or <strong id="UpdateAclRule__b924215534282">BGP</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row4233175317286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p2024265319289">applicationsJsonString</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p424325392815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p1924315315288">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p17243153152815">JSON string converted from the <strong id="UpdateAclRule__b924315313284">applications</strong> field in the application list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1623345342813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p22445532288">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p824411532287">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p2244115312281">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p324535322814">Rule description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row7233853112818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p15245185352819">long_connect_time_hour</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p10245125352818">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p2246453142819">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p62461153202810">Persistent connection duration (hour).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1523385311283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p162469534288">long_connect_time_minute</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p1724715342813">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p92471953122815">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p10247175320282">Persistent connection duration (minute).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row18233175342820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p5248135392811">long_connect_time_second</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p1024865313286">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p1724935342815">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p1724965352814">Persistent connection duration (second).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row122333531287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p16249105314284">long_connect_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p19250205372815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p1525045314289">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p1825018533286">Persistent connection duration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row623395302819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p825114535288">long_connect_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p102511653172814">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p1825195317285">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p13252175382818">Whether to support persistent connections: <strong id="UpdateAclRule__b225215319287">0</strong> (no), <strong id="UpdateAclRule__b1925210536282">1</strong> (yes).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row18233145313287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p1625216536283">source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p725355312819">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p132536537289"><a href="#UpdateAclRule__request_RuleAddressDto">RuleAddressDto</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p325355342816">Source address Data Transport Object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1723345311281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p225415332810">destination</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p8254953192820">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p1925485392819"><a href="#UpdateAclRule__request_RuleAddressDto">RuleAddressDto</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p1255135310282">Destination address Data Transport Object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row923312532287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p72551553142819">service</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p102561534285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p1225685392819"><a href="#UpdateAclRule__request_RuleServiceDto">RuleServiceDto</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p1725635392815">Service object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1223395342817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p12257115312288">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p925715533288">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p22571553162815">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p12586535285">Rule type: <strong id="UpdateAclRule__b3258155310284">0</strong> (Internet rule), <strong id="UpdateAclRule__b1425895319283">1</strong> (VPC rule), or <strong id="UpdateAclRule__b152581653192812">2</strong> (NAT rule).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row223355372811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateAclRule__p1425865392810">tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateAclRule__p1425825313282">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateAclRule__p3259145302815"><a href="#UpdateAclRule__request_TagsVO">TagsVO</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateAclRule__p18259165311289">Tag object attached to a rule.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_RuleAddressDto"></a><a name="request_RuleAddressDto"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_RuleAddressDto" frame="border" border="1" rules="all"><caption><b>Table 5 </b>RuleAddressDto</caption><thead align="left"><tr id="UpdateAclRule__row19259145362811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="UpdateAclRule__p72612539283">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="UpdateAclRule__p926105352819">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="UpdateAclRule__p1426145311286">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="UpdateAclRule__p1726145310281">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row4259155319289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p19261195352817">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p1826235322815">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p10262125317283">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p1326225312814">Address type: <strong id="UpdateAclRule__b2263115392815">0</strong> (manual input), <strong id="UpdateAclRule__b5263115319285">1</strong> (associated IP address group), <strong id="UpdateAclRule__b726375322817">2</strong> (domain name), <strong id="UpdateAclRule__b132631753172812">3</strong> (geographical location), <strong id="UpdateAclRule__b826316535287">4</strong> (domain name group) <strong id="UpdateAclRule__b11263753192816">5</strong> (multiple objects), <strong id="UpdateAclRule__b3263205313284">6</strong> (domain name group - network), <strong id="UpdateAclRule__b7263453102818">7</strong> (domain name group - application).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row62591053202820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p826385316284">address_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p7263453182814">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p1926345322819">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p1126435319281">Address type: <strong id="UpdateAclRule__b1826425319286">0</strong> (IPv4), <strong id="UpdateAclRule__b1126413532283">1</strong> (IPv6). If <strong id="UpdateAclRule__b9264115311284">type</strong> is <strong id="UpdateAclRule__b16264453192816">0</strong>, the input cannot be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row625916535282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p826415311284">address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p18264253122815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p18264155311282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p026545332819">IP address information. It cannot be left blank if <strong id="UpdateAclRule__b42651153182817">type</strong> is set to <strong id="UpdateAclRule__b18265125332811">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row182593536286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p126555313287">address_set_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p1726595322815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p22651535288">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p9266753142819">ID of an associated IP address group. This parameter cannot be left blank when <strong id="UpdateAclRule__b42666539285">type</strong> is set to <strong id="UpdateAclRule__b726618530287">1</strong>. You can obtain the value by calling the <a href="ListAddressSets.html">API for querying the address group list</a>. Find the value in <strong id="UpdateAclRule__b2266105318289">data.records.set_id</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row0260053152814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p3266115320284">address_set_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p162661537284">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p17266153112814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p172671653122812">Name of an associated IP address group. This parameter cannot be left blank when <strong id="UpdateAclRule__b17267653182813">type</strong> is set to <strong id="UpdateAclRule__b226755392816">1</strong>. You can obtain the value by calling the <a href="ListAddressSets.html">API for querying the address group list</a>. Find the value in <strong id="UpdateAclRule__b72671531287">data.records.name</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row8260195317280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p226765318288">domain_address_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p13267185382816">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p13268135362818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p202681653192815">Name of a domain name address. This parameter is valid when <strong id="UpdateAclRule__b11268453132818">type</strong> is set to <strong id="UpdateAclRule__b8268175312812">2</strong> (domain name) or <strong id="UpdateAclRule__b126885320283">7</strong> (application domain name group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1926018539284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p1226825310289">region_list_json</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p1926811535284">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p72699535283">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p9269953172817">JSON value of the rule region list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row326095310289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p026965319281">region_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p726910533285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p7270155312284">Array of <a href="#UpdateAclRule__request_IpRegionDto">IpRegionDto</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p2027045382816">Rule region list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row162608534289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p427020539289">domain_set_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p427125320284">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p927195310286">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p12271135318287">Domain group ID. The value cannot be left blank when <strong id="UpdateAclRule__b102711353142813">type</strong> is set to <strong id="UpdateAclRule__b122717537286">4</strong> (domain name group) or <strong id="UpdateAclRule__b18271195312812">7</strong> (domain name group - application). Its value can be obtained by calling the <a href="ListDomainSets.html">API for querying the domain name group list</a>. Find the value in <strong id="UpdateAclRule__b122711353192819">data.records.set_id</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1026055342815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p17272953142812">domain_set_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p17272125311283">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p627245319281">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p027215310285">Domain group name. The value cannot be left blank when <strong id="UpdateAclRule__b1027325315286">type</strong> is set to <strong id="UpdateAclRule__b20273175316287">4</strong> (domain name group) or <strong id="UpdateAclRule__b1027313537284">7</strong> (domain name group - application). Its value can be obtained by calling the <a href="ListDomainSets.html">API for querying the domain name group list</a>. Find the value in <strong id="UpdateAclRule__b1027319536281">data.records.name</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row12260205312282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p927311535286">ip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p3273145314286">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p1727305352812">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p827445392815">IP address list. This parameter cannot be left blank when <strong id="UpdateAclRule__b12274105310282">type</strong> is set to <strong id="UpdateAclRule__b127417531284">5</strong> (multiple objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row192601053182817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p427416531281">address_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p1227425352812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p1427415535284">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p16275125352818">Address group ID list. This parameter cannot be left blank when <strong id="UpdateAclRule__b1927515362819">type</strong> is set to <strong id="UpdateAclRule__b22751353162812">5</strong> (multiple objects). Its value can be obtained by calling the <a href="ListAddressSets.html">API for querying the address group list</a>. Find the value in <strong id="UpdateAclRule__b627505312819">data.records.set_id</strong> (The period [.] is used to separate different levels of objects). In the search criteria, <strong id="UpdateAclRule__b1827510530288">query_address_set_type</strong> must be set to <strong id="UpdateAclRule__b327545362812">0</strong> (user-defined address group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row926045322814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p122751653102817">address_group_names</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p14275135332814">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p9276105362817">Array of <a href="#UpdateAclRule__request_AddressGroupVO">AddressGroupVO</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p18276105352815">Address group name list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row726017539288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p327605342819">address_set_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p527615310285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p92761753102813">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p1527795382816">Address group type. It cannot be left blank when <strong id="UpdateAclRule__b327785313288">type</strong> is set to <strong id="UpdateAclRule__b18277125382811">1</strong> (associated IP address group). It value can be <strong id="UpdateAclRule__b12771253152811">0</strong> (user-defined address group), <strong id="UpdateAclRule__b152777532289">1</strong> (WAF back-to-source IP address group), <strong id="UpdateAclRule__b027717534284">2</strong> (DDoS back-to-source IP address group), or <strong id="UpdateAclRule__b16277125352820">3</strong> (NAT64 address group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row72601753142817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateAclRule__p16277135372819">predefined_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateAclRule__p1027735352812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateAclRule__p8278135312816">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateAclRule__p1278553102813">Pre-defined address group ID list. This parameter cannot be left blank when <strong id="UpdateAclRule__b18278953142815">type</strong> is set to <strong id="UpdateAclRule__b12278205312284">5</strong> (multiple objects). Its value can be obtained by calling the <a href="ListAddressSets.html">API for querying the address group list</a>. Find the value in <strong id="UpdateAclRule__b2278155317287">data.records.set_id</strong> (The period [.] is used to separate different levels of objects). In the search criteria, <strong id="UpdateAclRule__b6278175316287">query_address_set_type</strong> must be set to <strong id="UpdateAclRule__b12789531284">1</strong> (predefined address group).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_IpRegionDto"></a><a name="request_IpRegionDto"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_IpRegionDto" frame="border" border="1" rules="all"><caption><b>Table 6 </b>IpRegionDto</caption><thead align="left"><tr id="UpdateAclRule__row727905314280"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="UpdateAclRule__p92791353182810">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="UpdateAclRule__p192792536281">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="UpdateAclRule__p1128075332819">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="UpdateAclRule__p1728011535287">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row52791953182812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateAclRule__p2280953132818">region_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateAclRule__p1628016533285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateAclRule__p11281135318283">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateAclRule__p8281135318280">Region ID. You can obtain the ID by referring to <a href="cfw_02_0030.html">Obtaining Information About Account, IAM User, Group, Project, Region, and Agency</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1279185392816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateAclRule__p1340465352812">region_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateAclRule__p64047539286">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateAclRule__p1540435362813">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateAclRule__p204048534283">Region type: <strong id="UpdateAclRule__b13404553102818">0</strong> (country), <strong id="UpdateAclRule__b10404153142819">1</strong> (province), and <strong id="UpdateAclRule__b17404135312287">2</strong> (continent). It can be obtained from the <a href="cfw_02_0031.html">region information table</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_AddressGroupVO"></a><a name="request_AddressGroupVO"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_AddressGroupVO" frame="border" border="1" rules="all"><caption><b>Table 7 </b>AddressGroupVO</caption><thead align="left"><tr id="UpdateAclRule__row18283115332811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="UpdateAclRule__p940515319287">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="UpdateAclRule__p640516538286">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="UpdateAclRule__p8405553172814">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="UpdateAclRule__p34051953142815">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row1528375310288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateAclRule__p12405253112818">address_set_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateAclRule__p7405135315286">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateAclRule__p74050531284">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateAclRule__p17405125313285">Address group type: <strong id="UpdateAclRule__b1405115302811">0</strong> (user-defined address group), <strong id="UpdateAclRule__b1840585314285">1</strong> (WAF back-to-source IP address group), <strong id="UpdateAclRule__b0405105318289">2</strong> (DDoS back-to-source IP address group), or <strong id="UpdateAclRule__b440516536283">3</strong> (NAT64 address group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1228405318288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateAclRule__p154051353112816">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateAclRule__p040510537287">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateAclRule__p1740555316285">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateAclRule__p18405165310286">Name of an associated IP address group, which can be obtained by calling the <a href="ListAddressSets.html">API for querying the address group list</a>. Find the value in <strong id="UpdateAclRule__b4405165311287">data.records.name</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row3284155392816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateAclRule__p204051053122815">set_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateAclRule__p54061353112814">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateAclRule__p4406175382819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateAclRule__p140675315285">ID of an associated IP address group, which can be obtained by calling the <a href="ListAddressSets.html">API for querying the address group list</a>. Find the value in <strong id="UpdateAclRule__b144061536281">data.records.set_id</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_RuleServiceDto"></a><a name="request_RuleServiceDto"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_RuleServiceDto" frame="border" border="1" rules="all"><caption><b>Table 8 </b>RuleServiceDto</caption><thead align="left"><tr id="UpdateAclRule__row152870534288"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="UpdateAclRule__p1740613532289">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="UpdateAclRule__p20406053102817">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="UpdateAclRule__p84069539288">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="UpdateAclRule__p4406145319281">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row828745317286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p144061553102818">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p1406195342818">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p124065537281">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p1440614537281">Service input type: <strong id="UpdateAclRule__b18406253162815">0</strong> (manual), <strong id="UpdateAclRule__b13407165310286">1</strong> (automatic).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1428795332819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p640715539286">protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p2407195312281">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p8407155313285">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p0407105317285">Protocol type: <strong id="UpdateAclRule__b194076536283">6</strong> (TCP), <strong id="UpdateAclRule__b54073536283">17</strong> (UDP), <strong id="UpdateAclRule__b134070536284">1</strong> (ICMP), <strong id="UpdateAclRule__b1140755372816">58</strong> (ICMPv6), or <strong id="UpdateAclRule__b4407753122818">-1</strong> (any). It cannot be left blank when <strong id="UpdateAclRule__b1140705310284">type</strong> is set to <strong id="UpdateAclRule__b13407953202811">0</strong> (manual).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row22871553202812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p194071553192816">protocols</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p8407053162818">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p2407153132818">Array of integers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p13407453182814">Protocol list. Protocol type: <strong id="UpdateAclRule__b12407155342810">6</strong> (TCP), <strong id="UpdateAclRule__b74071253162810">17</strong> (UDP), <strong id="UpdateAclRule__b9407165312287">1</strong> (ICMP), <strong id="UpdateAclRule__b2407195352810">58</strong> (ICMPv6), or <strong id="UpdateAclRule__b3407195315282">-1</strong> (any). It cannot be left blank when <strong id="UpdateAclRule__b6407753202816">type</strong> is set to <strong id="UpdateAclRule__b1640711532282">0</strong> (manual).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1728785315281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p0407105310286">source_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p3407185362812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p74071253192812">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p8407185362818">Source port.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row9288185322817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p6407125320288">dest_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p15407253142814">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p6408753172811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p4408553132818">Destination port.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1728825318286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p1240885315282">service_set_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p1740885319282">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p44082053132813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p4408553162819">Service group ID. This parameter cannot be left blank when <strong id="UpdateAclRule__b1040805382816">type</strong> is set to <strong id="UpdateAclRule__b14081253172820">1</strong> (associated IP address group). Its value can be obtained by calling the <a href="ListServiceSets.html">API for querying the service group list</a>. Find the value in <strong id="UpdateAclRule__b2408165312289">data.records.set_id</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row9288135318285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p3408553102810">service_set_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p1040865352813">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p1340812537282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p240865315281">Service group name. This parameter cannot be left blank when <strong id="UpdateAclRule__b540875310288">type</strong> is set to <strong id="UpdateAclRule__b18408175313282">1</strong> (associated IP address group). Its value can be obtained by calling the <a href="ListServiceSets.html">API for querying the service group list</a>. Find the value in <strong id="UpdateAclRule__b3408253152815">data.records.name</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row13288165362818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p144081153182815">custom_service</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p2408185315287">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p144081753122810">Array of <a href="#UpdateAclRule__request_ServiceItem">ServiceItem</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p16408195322813">Custom service.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1728805392818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p19409125372812">predefined_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p124091353182812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p34091953142811">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p74091753102816">Predefined service group ID list. The service group ID can be obtained by calling the <a href="ListServiceSets.html">API for querying the service group list</a>. Find the value in <strong id="UpdateAclRule__b16409135372815">data.records.set_id</strong> (The period [.] is used to separate different levels of objects). In the search criteria, <strong id="UpdateAclRule__b134097531285">query_service_set_type</strong> must be set to <strong id="UpdateAclRule__b124091253132815">1</strong> (predefined service group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row11288115315286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p11409253182817">service_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p740911534281">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p11409115313284">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p340945314282">Service group ID list. The service group ID can be obtained by calling the <a href="ListServiceSets.html">API for querying the service group list</a>. Find the value in <strong id="UpdateAclRule__b144090539288">data.records.set_id</strong> (The period [.] is used to separate different levels of objects). In the search criteria, <strong id="UpdateAclRule__b18409105332816">query_service_set_type</strong> must be set to <strong id="UpdateAclRule__b1440910533281">0</strong> (user-defined service group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row112889532289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p184092539282">service_group_names</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p134096530286">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p1240915332811">Array of <a href="#UpdateAclRule__request_ServiceGroupVO">ServiceGroupVO</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p3409753132811">Service group name list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row12288155342820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateAclRule__p13409105315282">service_set_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateAclRule__p1240919539288">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateAclRule__p10409953142817">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateAclRule__p4410175372818">Service group type: <strong id="UpdateAclRule__b1741016539283">0</strong> (user-defined service group), <strong id="UpdateAclRule__b941016531280">1</strong> (common web service), <strong id="UpdateAclRule__b94100538283">2</strong> (common remote login and ping), or <strong id="UpdateAclRule__b17410145332816">3</strong> (common database).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_ServiceItem"></a><a name="request_ServiceItem"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_ServiceItem" frame="border" border="1" rules="all"><caption><b>Table 9 </b>ServiceItem</caption><thead align="left"><tr id="UpdateAclRule__row62998533281"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="UpdateAclRule__p14410125342810">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="UpdateAclRule__p1410753162819">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="UpdateAclRule__p12410153192815">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="UpdateAclRule__p17410145382813">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row330020532287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateAclRule__p1141015313288">protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateAclRule__p8410115332812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateAclRule__p1241075310281">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateAclRule__p841011533287">Protocol type: <strong id="UpdateAclRule__b94101253202814">6</strong> (TCP), <strong id="UpdateAclRule__b17410853182819">17</strong> (UDP), <strong id="UpdateAclRule__b174101253192810">1</strong> (ICMP), <strong id="UpdateAclRule__b104101053132816">58</strong> (ICMPv6), or <strong id="UpdateAclRule__b74106538282">-1</strong> (any). It cannot be left blank when <strong id="UpdateAclRule__b1641035317283">RuleServiceDto.type</strong> is set to <strong id="UpdateAclRule__b341005382814">0</strong> (manual).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row11300653162814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateAclRule__p8410115382811">source_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateAclRule__p2041005314289">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateAclRule__p1041116534285">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateAclRule__p1741125310282">Source port.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row0300175392817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateAclRule__p44111653172814">dest_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateAclRule__p441105314285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateAclRule__p1541120532285">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateAclRule__p341175382816">Destination port.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row12300155392818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateAclRule__p184111153132818">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateAclRule__p841185319284">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateAclRule__p1141119537282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateAclRule__p64112531283">Service member description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row18300253112819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateAclRule__p5411135310287">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateAclRule__p741185312817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateAclRule__p17411175312812">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateAclRule__p1641112535288">Service member name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_ServiceGroupVO"></a><a name="request_ServiceGroupVO"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_ServiceGroupVO" frame="border" border="1" rules="all"><caption><b>Table 10 </b>ServiceGroupVO</caption><thead align="left"><tr id="UpdateAclRule__row53041653172817"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.1"><p id="UpdateAclRule__p1941125318285">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.2"><p id="UpdateAclRule__p941265314284">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.3"><p id="UpdateAclRule__p841216539287">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.9.2.5.1.4"><p id="UpdateAclRule__p1441214539287">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row63041853152812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateAclRule__p15412853132813">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateAclRule__p341255312818">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateAclRule__p8412195322816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateAclRule__p174121653192815">Service group name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row5304253122812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateAclRule__p114121653132817">protocols</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateAclRule__p84121853202817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateAclRule__p10412185362820">Array of integers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateAclRule__p1641245320289">Protocol list. Protocol type: <strong id="UpdateAclRule__b84127531284">6</strong> (TCP), <strong id="UpdateAclRule__b1841215342819">17</strong> (UDP), <strong id="UpdateAclRule__b8412105311285">1</strong> (ICMP), <strong id="UpdateAclRule__b1412155362812">58</strong> (ICMPv6), or <strong id="UpdateAclRule__b64120535287">-1</strong> (any).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row153049531281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateAclRule__p4412175392812">service_set_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateAclRule__p1641295319289">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateAclRule__p2041285310283">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateAclRule__p1441265311284">Service group type: <strong id="UpdateAclRule__b4413353152817">0</strong> (user-defined service group), <strong id="UpdateAclRule__b11413953142812">1</strong> (predefined service group).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1730595316283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateAclRule__p541315534283">set_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateAclRule__p9413553172813">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateAclRule__p16413125312286">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateAclRule__p1841317539283">Service group ID, which can be obtained by calling the <a href="ListServiceSets.html">API for querying the service group list</a>. Find the value in <strong id="UpdateAclRule__b6413105314288">data.records.set_id</strong> (The period [.] is used to separate different levels of objects).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__request_TagsVO"></a><a name="request_TagsVO"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__request_TagsVO" frame="border" border="1" rules="all"><caption><b>Table 11 </b>TagsVO</caption><thead align="left"><tr id="UpdateAclRule__row13097534289"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.1"><p id="UpdateAclRule__p2041312538285">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.2"><p id="UpdateAclRule__p1841395302816">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.3"><p id="UpdateAclRule__p3413175322817">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.10.2.5.1.4"><p id="UpdateAclRule__p84131533284">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row330935318289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateAclRule__p3413205342819">tag_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateAclRule__p7413185372815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateAclRule__p1141345322815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateAclRule__p1641445322814">Rule ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row730995382814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateAclRule__p24141853202811">tag_key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateAclRule__p44141853202810">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateAclRule__p9414205352819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateAclRule__p44141053112812">Rule tag key.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row14309155313286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateAclRule__p74140537285">tag_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateAclRule__p741411531287">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateAclRule__p541412531280">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateAclRule__p7414195372810">Rule tag value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section11414053192820"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateAclRule__p15414175312287"><strong id="UpdateAclRule__b341465342813">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__response_UpdateRuleAclResponse" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="UpdateAclRule__row1313853142819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="UpdateAclRule__p1241435332812">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="UpdateAclRule__p16414185319282">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="UpdateAclRule__p841445318287">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row1731305313288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAclRule__p1741511531288">data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAclRule__p841515318284"><a href="#UpdateAclRule__response_RuleId">RuleId</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAclRule__p441511534287">Rule data.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="UpdateAclRule__response_RuleId"></a><a name="response_RuleId"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__response_RuleId" frame="border" border="1" rules="all"><caption><b>Table 13 </b>RuleId</caption><thead align="left"><tr id="UpdateAclRule__row73147538285"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="UpdateAclRule__p18415175352814">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="UpdateAclRule__p13415155312286">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="UpdateAclRule__p1941515535288">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row103141353152810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="UpdateAclRule__p0415185322810">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="UpdateAclRule__p1041519536284">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="UpdateAclRule__p6415155319284">Rule ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row15315155332818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="UpdateAclRule__p184151253152820">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="UpdateAclRule__p11415653182820">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="UpdateAclRule__p64158535281">Rule name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="UpdateAclRule__p14415135313281"><strong id="UpdateAclRule__b134151953102819">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__response_ErrorRsp" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="UpdateAclRule__row1431625315282"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="UpdateAclRule__p94167530282">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="UpdateAclRule__p1641635372812">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="UpdateAclRule__p8416125322817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row9316105318288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateAclRule__p041615536286">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateAclRule__p4416053182811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateAclRule__p164161953192810">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row6316145311284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateAclRule__p12416553112820">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateAclRule__p041611534282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateAclRule__p194161537285">Error description.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section4416125313289"><h4 class="sectiontitle">Example Requests</h4><p id="UpdateAclRule__p144161253192818">The following example shows how to update an IPv4 inbound rule. The rule name is <strong id="UpdateAclRule__b174165530283">Test rule</strong>, the source is the IP address 1.1.1.1, the destination is the IP address 2.2.2.2, the service type is service, the protocol type is TCP, the source port is 0, and the destination port is 0. Persistent connections are not supported. The action is to allow. The status is enabled.</p>
|
|
<pre class="screen" id="UpdateAclRule__screen1241625311289">https://{Endpoint}/v1/9d80d070b6d44942af73c9c3d38e0429/acl-rule/ceaa0407-b9c8-4dfd-9eca-b6ead2dfd031
|
|
|
|
{
|
|
"name" : "Test rule.",
|
|
"status" : 1,
|
|
"action_type" : 0,
|
|
"description" : "",
|
|
"source" : {
|
|
"type" : 0,
|
|
"address" : "1.1.1.1"
|
|
},
|
|
"destination" : {
|
|
"type" : 0,
|
|
"address" : "2.2.2.2"
|
|
},
|
|
"service" : {
|
|
"type" : 0,
|
|
"protocol" : 6,
|
|
"source_port" : "0",
|
|
"dest_port" : "0"
|
|
},
|
|
"type" : 0,
|
|
"address_type" : 0,
|
|
"tag" : {
|
|
"tag_key" : "",
|
|
"tag_value" : ""
|
|
},
|
|
"long_connect_enable" : 0,
|
|
"direction" : 0
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section1241812536287"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateAclRule__p11418185310286"><strong id="UpdateAclRule__b19418953112810">Status code: 200</strong></p>
|
|
<p id="UpdateAclRule__p54181753102810">OK</p>
|
|
<pre class="screen" id="UpdateAclRule__screen6418155320284">{
|
|
"data" : {
|
|
"id" : "ceaa0407-b9c8-4dfd-9eca-b6ead2dfd031"
|
|
}
|
|
}</pre>
|
|
<p id="UpdateAclRule__p1041885319286"><strong id="UpdateAclRule__b1441845314286">Status code: 400</strong></p>
|
|
<p id="UpdateAclRule__p1641865392815">Bad Request</p>
|
|
<pre class="screen" id="UpdateAclRule__screen124181853112812">{
|
|
"error_code" : "CFW.00200005",
|
|
"error_msg" : "Object not found."
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section743045332814"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAclRule__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateAclRule__row19355135314285"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateAclRule__p443045362811">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateAclRule__p1943015332817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAclRule__row1035565311285"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAclRule__p4431175315285">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAclRule__p6431753102816">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1235511535289"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAclRule__p1543175322815">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAclRule__p643135318287">Bad Request</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row113559531284"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAclRule__p343195332816">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAclRule__p1543165352818">Unauthorized</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row19355125318285"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAclRule__p114311253122813">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAclRule__p12431155316287">Forbidden</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row1735515535282"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAclRule__p13431115352810">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAclRule__p543117536283">Not Found</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAclRule__row143559532284"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAclRule__p17431125319287">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAclRule__p743115342818">Internal Server Error</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAclRule__section143114532286"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateAclRule__p7431165352812">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">ACL Rule Management</a></div>
|
|
</div>
|
|
</div>
|
|
|