forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: fanqinying <fanqinying@huawei.com> Co-committed-by: fanqinying <fanqinying@huawei.com>
717 lines
62 KiB
HTML
717 lines
62 KiB
HTML
<a name="CreateFirewall"></a><a name="CreateFirewall"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Network ACL</h1>
|
|
<div id="body1708331107508"><div class="section" id="CreateFirewall__section9623205116385"><h4 class="sectiontitle">Function</h4><p id="CreateFirewall__p1062316512383">A network ACL is an optional layer of security for your subnets. You can add inbound and outbound rules to a network ACL and associate subnets with it to control traffic in and out of the subnets.</p>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section962405112389"><h4 class="sectiontitle">URI</h4><p id="CreateFirewall__p1062455120382">POST /v3/{project_id}/vpc/firewalls</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__table56258515381" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateFirewall__row1625185118386"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateFirewall__p4625185114389">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateFirewall__p0626105111388">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateFirewall__p2626135114387">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateFirewall__p12626105117387">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row18625145163818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateFirewall__p7626351103814">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateFirewall__p1562635116384">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateFirewall__p76261951143811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateFirewall__p0626105133811"><strong id="CreateFirewall__b1862685173815">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p762755143810">ID of the project that the network ACL belongs to.</p>
|
|
<p id="CreateFirewall__p462755173819"><strong id="CreateFirewall__b20627115115388">Range</strong>:</p>
|
|
<p id="CreateFirewall__p762785133816">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section12627125118388"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__request_CreateFirewallRequestBody" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="CreateFirewall__row1627155193818"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateFirewall__p3628351153817">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateFirewall__p96282515388">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateFirewall__p362811513388">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateFirewall__p262812518389">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row1362735153813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateFirewall__p16628175118384">firewall</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateFirewall__p1862814517386">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateFirewall__p562815143817"><a href="#CreateFirewall__request_CreateFirewallOption">CreateFirewallOption</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateFirewall__p16281051183816"><strong id="CreateFirewall__b962845117385">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p17628185103814">Request body for creating a network ACL.</p>
|
|
<p id="CreateFirewall__p46281951173819"><strong id="CreateFirewall__b196286514387">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p56286518387">N/A</p>
|
|
<p id="CreateFirewall__p17628165153813"><strong id="CreateFirewall__b3628351123811">Range</strong>:</p>
|
|
<p id="CreateFirewall__p2062895120388">N/A</p>
|
|
<p id="CreateFirewall__p1562805114385"><strong id="CreateFirewall__b126281251153814">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p1162811516380">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row1062785163810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateFirewall__p18629175133819">dry_run</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateFirewall__p2062920518385">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateFirewall__p162925143814">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateFirewall__p17629195123814"><strong id="CreateFirewall__b1629135119389">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p11629185133815">Whether to only check the request.</p>
|
|
<p id="CreateFirewall__p9629125183811"><strong id="CreateFirewall__b86292513385">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p14629135183810">N/A</p>
|
|
<p id="CreateFirewall__p2062910516385"><strong id="CreateFirewall__b10629451143819">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul462915193815"><li id="CreateFirewall__li2629751133810"><p id="CreateFirewall__p7629175123813"><a name="CreateFirewall__li2629751133810"></a><a name="li2629751133810"></a><strong id="CreateFirewall__b8629195173812">true</strong>: A check request will be sent and no network ACL will not be created. Check items include mandatory parameters, request format, and constraints. If the check fails, an error will be returned. If the check succeeds, response code 202 will be returned.</p>
|
|
</li><li id="CreateFirewall__li162985123812"><p id="CreateFirewall__p062915113810"><a name="CreateFirewall__li162985123812"></a><a name="li162985123812"></a>false: A request will be sent and a network ACL will be created.</p>
|
|
</li></ul>
|
|
<p id="CreateFirewall__p156298513381"><strong id="CreateFirewall__b106291519385">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p1262965193818">false</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateFirewall__request_CreateFirewallOption"></a><a name="request_CreateFirewallOption"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__request_CreateFirewallOption" frame="border" border="1" rules="all"><caption><b>Table 3 </b>CreateFirewallOption</caption><thead align="left"><tr id="CreateFirewall__row76304515385"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateFirewall__p14630251173816">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateFirewall__p7631651143818">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateFirewall__p1263135183817">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateFirewall__p2631051183817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row11630451153811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateFirewall__p1263105117383">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateFirewall__p176311851133810">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateFirewall__p263165117383">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateFirewall__p863119513387"><strong id="CreateFirewall__b26318519383">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p10631185143818">Name of the network ACL.</p>
|
|
<p id="CreateFirewall__p16631451113810"><strong id="CreateFirewall__b36312511384">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p1863135183817">The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods.</p>
|
|
<p id="CreateFirewall__p563135193815"><strong id="CreateFirewall__b463115173810">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1763105119383">N/A</p>
|
|
<p id="CreateFirewall__p12631185117382"><strong id="CreateFirewall__b763114510382">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p3631165143810">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row136303512388"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateFirewall__p18631451183817">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateFirewall__p146326518381">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateFirewall__p156322051113815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateFirewall__p13632115113384"><strong id="CreateFirewall__b7632165143810">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p2632155115381">Supplementary information about the network ACL.</p>
|
|
<p id="CreateFirewall__p863225153814"><strong id="CreateFirewall__b146321351173815">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p19632105113389">The value can contain 0 to 255 characters and cannot contain angle brackets (< or >).</p>
|
|
<p id="CreateFirewall__p116321851103817"><strong id="CreateFirewall__b1963265193820">Range</strong>:</p>
|
|
<p id="CreateFirewall__p963216516382">N/A</p>
|
|
<p id="CreateFirewall__p10632175173810"><strong id="CreateFirewall__b1463285123814">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p1632165123811">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row176301051183811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateFirewall__p76321551173819">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateFirewall__p96321451123812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateFirewall__p1063225113386">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateFirewall__p11632115143818"><strong id="CreateFirewall__b1963235113385">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p363217517381">ID of the enterprise project that the network ACL belongs to.</p>
|
|
<p id="CreateFirewall__p46331451133811"><strong id="CreateFirewall__b46336517387">Constraints</strong>:</p>
|
|
<ul id="CreateFirewall__ul116334513383"><li id="CreateFirewall__li14633195110387"><p id="CreateFirewall__p26331251143812"><a name="CreateFirewall__li14633195110387"></a><a name="li14633195110387"></a>The value can contain a maximum of 36 bytes.</p>
|
|
</li><li id="CreateFirewall__li46332516381"><p id="CreateFirewall__p1363345133819"><a name="CreateFirewall__li46332516381"></a><a name="li46332516381"></a>The value is <strong id="CreateFirewall__b156331151163813">0</strong> or a string in UUID format with hyphens (-).</p>
|
|
</li></ul>
|
|
<p id="CreateFirewall__p17633151193815"><strong id="CreateFirewall__b156332051203814">Range</strong>:</p>
|
|
<p id="CreateFirewall__p19633195116383">N/A</p>
|
|
<p id="CreateFirewall__p18633185183816"><strong id="CreateFirewall__b186331851183814">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p176331251133818"><strong id="CreateFirewall__b1263355123819">0</strong> indicates the default enterprise project.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row763012511382"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateFirewall__p1633145110387">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateFirewall__p206338516380">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateFirewall__p1463345116388">Array of <a href="#CreateFirewall__request_RequestTag">RequestTag</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateFirewall__p1763395183818"><strong id="CreateFirewall__b663313517388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p16633115143816">Tags of a network ACL, including tag keys and tag values, which can be used to classify and identify resources. For details, see the tag objects.</p>
|
|
<p id="CreateFirewall__p06331851193812"><strong id="CreateFirewall__b126331351143810">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p14634115111382">A maximum of 20 tag key-value pairs are supported.</p>
|
|
<p id="CreateFirewall__p16634051123815"><strong id="CreateFirewall__b1463475133817">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1963465113813">N/A</p>
|
|
<p id="CreateFirewall__p10634751143814"><strong id="CreateFirewall__b106341651183815">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p1463435173810">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row5630195119387"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateFirewall__p363405110383">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateFirewall__p763419515387">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateFirewall__p1763475153813">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateFirewall__p116341651153813"><strong id="CreateFirewall__b863411513385">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p363405118383">Network ACL administrative status.</p>
|
|
<p id="CreateFirewall__p146341051133816"><strong id="CreateFirewall__b1663495143819">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p5634151123813">N/A</p>
|
|
<p id="CreateFirewall__p763425117389"><strong id="CreateFirewall__b176341251113815">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul1463485115383"><li id="CreateFirewall__li76341551163818"><p id="CreateFirewall__p106341451123819"><a name="CreateFirewall__li76341551163818"></a><a name="li76341551163818"></a>true: The network ACL is enabled.</p>
|
|
</li><li id="CreateFirewall__li463435114387"><p id="CreateFirewall__p20634951113813"><a name="CreateFirewall__li463435114387"></a><a name="li463435114387"></a>false: The network ACL is disabled.</p>
|
|
</li></ul>
|
|
<p id="CreateFirewall__p116341951133819"><strong id="CreateFirewall__b8634105173810">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p163515173816">true</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateFirewall__request_RequestTag"></a><a name="request_RequestTag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__request_RequestTag" frame="border" border="1" rules="all"><caption><b>Table 4 </b>RequestTag</caption><thead align="left"><tr id="CreateFirewall__row9637205193816"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateFirewall__p363785117386">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateFirewall__p1163719514381">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateFirewall__p86372519383">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateFirewall__p963711518387">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row14637125112385"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateFirewall__p186371951153816">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateFirewall__p1763725118388">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateFirewall__p163712513389">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateFirewall__p9638105114389"><strong id="CreateFirewall__b17638175183813">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p163812515386">Tag key.</p>
|
|
<p id="CreateFirewall__p763845112382"><strong id="CreateFirewall__b11638115133819">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p14638051203815">N/A</p>
|
|
<p id="CreateFirewall__p18638105123810"><strong id="CreateFirewall__b063819514380">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul76381251203813"><li id="CreateFirewall__li1663817511383"><p id="CreateFirewall__p1163835116386"><a name="CreateFirewall__li1663817511383"></a><a name="li1663817511383"></a>A tag key can contain a maximum of 128 Unicode characters and cannot be left blank.</p>
|
|
</li><li id="CreateFirewall__li19638175173812"><p id="CreateFirewall__p36381151123813"><a name="CreateFirewall__li19638175173812"></a><a name="li19638175173812"></a>Each tag key of a resource must be unique.</p>
|
|
</li><li id="CreateFirewall__li1763895193820"><p id="CreateFirewall__p663811513385"><a name="CreateFirewall__li1763895193820"></a><a name="li1763895193820"></a>The value can contain:</p>
|
|
<ul id="CreateFirewall__ul763835110383"><li id="CreateFirewall__li10638175115388"><p id="CreateFirewall__p196381651123816"><a name="CreateFirewall__li10638175115388"></a><a name="li10638175115388"></a>Letters</p>
|
|
</li><li id="CreateFirewall__li10638185118386"><p id="CreateFirewall__p6638205113382"><a name="CreateFirewall__li10638185118386"></a><a name="li10638185118386"></a>Digits</p>
|
|
</li><li id="CreateFirewall__li1263818515389"><p id="CreateFirewall__p863845183819"><a name="CreateFirewall__li1263818515389"></a><a name="li1263818515389"></a>Special characters: underscores (_), periods (.), colons (:), plus signs (+), hyphens (-), at signs (@), and equal signs (=)</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
<p id="CreateFirewall__p13638195118384"><strong id="CreateFirewall__b16638951193810">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p363818513389">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row18637451153810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateFirewall__p0638155183811">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateFirewall__p1763955118386">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateFirewall__p16639135115384">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateFirewall__p106391051133817"><strong id="CreateFirewall__b1663919519385">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p11639195116385">Tag value.</p>
|
|
<p id="CreateFirewall__p763911514387"><strong id="CreateFirewall__b196391451173817">Constraints</strong>:</p>
|
|
<p id="CreateFirewall__p1263995163812">N/A</p>
|
|
<p id="CreateFirewall__p1163915119384"><strong id="CreateFirewall__b6639195183817">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul9639185117385"><li id="CreateFirewall__li1063918514383"><p id="CreateFirewall__p17639651133810"><a name="CreateFirewall__li1063918514383"></a><a name="li1063918514383"></a>Each value can contain a maximum of 255 Unicode characters and can be left blank.</p>
|
|
</li><li id="CreateFirewall__li1663918518384"><p id="CreateFirewall__p176391518383"><a name="CreateFirewall__li1663918518384"></a><a name="li1663918518384"></a>The value can contain:</p>
|
|
<ul id="CreateFirewall__ul1563935113816"><li id="CreateFirewall__li17639185133819"><p id="CreateFirewall__p1639251103818"><a name="CreateFirewall__li17639185133819"></a><a name="li17639185133819"></a>Letters</p>
|
|
</li><li id="CreateFirewall__li126391351193810"><p id="CreateFirewall__p1663910514382"><a name="CreateFirewall__li126391351193810"></a><a name="li126391351193810"></a>Digits</p>
|
|
</li><li id="CreateFirewall__li663935183819"><p id="CreateFirewall__p56391851183810"><a name="CreateFirewall__li663935183819"></a><a name="li663935183819"></a>Special characters: underscores (_), colons (:), plus signs (+), hyphens (-), at signs (@), and equal signs (=)</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
<p id="CreateFirewall__p56398518383"><strong id="CreateFirewall__b17640351163813">Default Value</strong>:</p>
|
|
<p id="CreateFirewall__p2064045113382">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section4640951133813"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateFirewall__p264011516389"><strong id="CreateFirewall__b1764005110386">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__response_CreateFirewallResponseBody" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="CreateFirewall__row11640165163816"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateFirewall__p186406515386">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateFirewall__p13640251113819">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateFirewall__p1664135111381">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row06401251143810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateFirewall__p15641175115382">firewall</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateFirewall__p176417513386"><a href="#CreateFirewall__response_FirewallDetail">FirewallDetail</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateFirewall__p1641165111383"><strong id="CreateFirewall__b106411851193815">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p56419512382">Response body for creating a network ACL.</p>
|
|
<p id="CreateFirewall__p1864135110386"><strong id="CreateFirewall__b6641551103812">Range</strong>:</p>
|
|
<p id="CreateFirewall__p16641351103817">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row1864035103819"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateFirewall__p6641125193818">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateFirewall__p1064115110382">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateFirewall__p136414512388"><strong id="CreateFirewall__b064175115389">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p8641551183815">Request ID.</p>
|
|
<p id="CreateFirewall__p7641251203813"><strong id="CreateFirewall__b196412513384">Range</strong>:</p>
|
|
<p id="CreateFirewall__p964135112385">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateFirewall__response_FirewallDetail"></a><a name="response_FirewallDetail"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__response_FirewallDetail" frame="border" border="1" rules="all"><caption><b>Table 6 </b>FirewallDetail</caption><thead align="left"><tr id="CreateFirewall__row1164255120385"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="CreateFirewall__p126431451163816">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="CreateFirewall__p964365111387">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="CreateFirewall__p864375111382">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row13642115183817"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p16643165143819">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p1964335111388">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p685185123816"><strong id="CreateFirewall__b10851195119382">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p6851175143818">Network ACL ID. Each network ACL comes with an ID, which uniquely identifies the network ACL.</p>
|
|
<p id="CreateFirewall__p18851651133810"><strong id="CreateFirewall__b1485112515386">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1185185112381">The value is in UUID format with hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row164245193817"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p1851105153817">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p4851451133820">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p208511151173815"><strong id="CreateFirewall__b1385155113384">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1585114512387">Name of the network ACL.</p>
|
|
<p id="CreateFirewall__p10851125123814"><strong id="CreateFirewall__b1485145119386">Range</strong>:</p>
|
|
<p id="CreateFirewall__p18511751113818">The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row464205113389"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p585112511387">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p1851135193813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p118511351153813"><strong id="CreateFirewall__b285195163813">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p168516519383">Supplementary information about the network ACL.</p>
|
|
<p id="CreateFirewall__p9851115193818"><strong id="CreateFirewall__b10851135113817">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1585112513381">The value can contain 0 to 255 characters and cannot contain angle brackets (< or >).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row464235103816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p1285125112385">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p15851651153817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p1785185153810"><strong id="CreateFirewall__b1585145193810">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1851125143818">ID of the project that the network ACL belongs to.</p>
|
|
<p id="CreateFirewall__p285165111387"><strong id="CreateFirewall__b38512051173816">Range</strong>:</p>
|
|
<p id="CreateFirewall__p11851115193816">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row126427514386"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p178511651193810">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p88515518385">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p9851165110387"><strong id="CreateFirewall__b108511851193816">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1585117516381">Time when the network ACL was created. The value is automatically generated by the system.</p>
|
|
<p id="CreateFirewall__p20851151123819"><strong id="CreateFirewall__b148511651103818">Range</strong>:</p>
|
|
<p id="CreateFirewall__p20851185153817">The value is a UTC time in the format of <em id="CreateFirewall__i88511451183813">yyyy-MM-ddTHH:mm:ssZ</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row164285133813"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p385115103817">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p685111510388">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p1185115113388"><strong id="CreateFirewall__b16851155153815">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1385165163812">Time when the network ACL was last updated. The value is automatically generated by the system.</p>
|
|
<p id="CreateFirewall__p1185105110382"><strong id="CreateFirewall__b9851651153811">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1985135133818">The value is a UTC time in the format of <em id="CreateFirewall__i185113516381">yyyy-MM-ddTHH:mm:ssZ</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row12642165111384"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p885111513385">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p198512510386">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p1285255110384"><strong id="CreateFirewall__b28526517388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1852155112386">Network ACL administrative status.</p>
|
|
<p id="CreateFirewall__p1685211515389"><strong id="CreateFirewall__b15852451123819">Range</strong></p>
|
|
<ul id="CreateFirewall__ul128521515382"><li id="CreateFirewall__li1585265133820"><p id="CreateFirewall__p5852145113816"><a name="CreateFirewall__li1585265133820"></a><a name="li1585265133820"></a>true: The network ACL is enabled.</p>
|
|
</li><li id="CreateFirewall__li88521551193815"><p id="CreateFirewall__p15852125133812"><a name="CreateFirewall__li88521551193815"></a><a name="li88521551193815"></a>false: The network ACL is disabled.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row19642115114389"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p11852151133816">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p185275113818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p1485245143820"><strong id="CreateFirewall__b08521651163819">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p78521751163816">Network ACL status.</p>
|
|
<p id="CreateFirewall__p1485235153815"><strong id="CreateFirewall__b68521851143812">Range</strong></p>
|
|
<ul id="CreateFirewall__ul12852351113815"><li id="CreateFirewall__li1885235114383"><p id="CreateFirewall__p1285219512386"><a name="CreateFirewall__li1885235114383"></a><a name="li1885235114383"></a>ACTIVE: The network ACL is associated with a subnet.</p>
|
|
</li><li id="CreateFirewall__li1852105110387"><p id="CreateFirewall__p18521651133810"><a name="CreateFirewall__li1852105110387"></a><a name="li1852105110387"></a>INACTIVE: The network ACL is not associated with a subnet.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row864275103811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p385285163815">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p15852551183815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p12852451173817"><strong id="CreateFirewall__b1385217511383">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p9852105112383">ID of the enterprise project that the network ACL belongs to.</p>
|
|
<p id="CreateFirewall__p15852115143813"><strong id="CreateFirewall__b585245153814">Range</strong>:</p>
|
|
<p id="CreateFirewall__p9852135183813">The value is <strong id="CreateFirewall__b885211518384">0</strong> or a string that contains a maximum of 36 characters in UUID format with hyphens (-). <strong id="CreateFirewall__b1852125123818">0</strong> indicates the default enterprise project.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row4642351173814"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p1385295119386">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p385212510388">Array of <a href="#CreateFirewall__response_ResponseTag">ResponseTag</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p17853651143818"><strong id="CreateFirewall__b1685310511381">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p78533514382">Tags of a network ACL, including tag keys and tag values, which can be used to classify and identify resources. For details, see the tag objects.</p>
|
|
<p id="CreateFirewall__p178531151123812"><strong id="CreateFirewall__b8853651103816">Range</strong>:</p>
|
|
<p id="CreateFirewall__p98532515389">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row1164318519387"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p5853351163815">associations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p785385113383">Array of <a href="#CreateFirewall__response_FirewallAssociation">FirewallAssociation</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p1853051163818"><strong id="CreateFirewall__b185314518388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p20853135116385">Subnets associated with the network ACL.</p>
|
|
<p id="CreateFirewall__p14853115110383"><strong id="CreateFirewall__b118538512388">Range</strong>:</p>
|
|
<p id="CreateFirewall__p158536510381">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row964325193816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p158537513383">ingress_rules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p68537517384">Array of <a href="#CreateFirewall__response_FirewallRuleDetail">FirewallRuleDetail</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p3853155119386"><strong id="CreateFirewall__b12853951193815">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p2085305117381">Network ACL inbound rules.</p>
|
|
<p id="CreateFirewall__p19853115117388"><strong id="CreateFirewall__b1485345110386">Range</strong>:</p>
|
|
<p id="CreateFirewall__p16853145111386">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row19643351163817"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateFirewall__p38531651143813">egress_rules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateFirewall__p12853851143811">Array of <a href="#CreateFirewall__response_FirewallRuleDetail">FirewallRuleDetail</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateFirewall__p15853195113385"><strong id="CreateFirewall__b1185325112386">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p48535519383">Network ACL outbound rules.</p>
|
|
<p id="CreateFirewall__p6853105110387"><strong id="CreateFirewall__b685310515387">Range</strong>:</p>
|
|
<p id="CreateFirewall__p8853251193814">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateFirewall__response_ResponseTag"></a><a name="response_ResponseTag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__response_ResponseTag" frame="border" border="1" rules="all"><caption><b>Table 7 </b>ResponseTag</caption><thead align="left"><tr id="CreateFirewall__row1664813510381"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="CreateFirewall__p12853165103815">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="CreateFirewall__p8853155113381">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="CreateFirewall__p885317518381">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row10648175117389"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateFirewall__p58531551193810">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateFirewall__p58531351163815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateFirewall__p1685310515388"><strong id="CreateFirewall__b11853175123813">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p188538514383">Tag key.</p>
|
|
<p id="CreateFirewall__p98531751143811"><strong id="CreateFirewall__b1185395114385">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul10853185111380"><li id="CreateFirewall__li485305143818"><p id="CreateFirewall__p10854551203811"><a name="CreateFirewall__li485305143818"></a><a name="li485305143818"></a>A tag key can contain a maximum of 128 Unicode characters and cannot be left blank.</p>
|
|
</li><li id="CreateFirewall__li7854145103816"><p id="CreateFirewall__p1854165114387"><a name="CreateFirewall__li7854145103816"></a><a name="li7854145103816"></a>Each tag key of a resource must be unique.</p>
|
|
</li><li id="CreateFirewall__li1885414517388"><p id="CreateFirewall__p985417512381"><a name="CreateFirewall__li1885414517388"></a><a name="li1885414517388"></a>The value can contain:</p>
|
|
<ul id="CreateFirewall__ul0854195143818"><li id="CreateFirewall__li19854155114384"><p id="CreateFirewall__p18854145110389"><a name="CreateFirewall__li19854155114384"></a><a name="li19854155114384"></a>Letters</p>
|
|
</li><li id="CreateFirewall__li1285417514384"><p id="CreateFirewall__p1585495123814"><a name="CreateFirewall__li1285417514384"></a><a name="li1285417514384"></a>Digits</p>
|
|
</li><li id="CreateFirewall__li16854195143818"><p id="CreateFirewall__p5854175112381"><a name="CreateFirewall__li16854195143818"></a><a name="li16854195143818"></a>Special characters: underscores (_), periods (.), colons (:), plus signs (+), hyphens (-), at signs (@), and equal signs (=)</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row17648175163813"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateFirewall__p88544517384">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateFirewall__p4854125117387">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateFirewall__p12854151153812"><strong id="CreateFirewall__b8854105113386">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p885435173817">Tag value.</p>
|
|
<p id="CreateFirewall__p585416519381"><strong id="CreateFirewall__b15854851193819">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul18547516385"><li id="CreateFirewall__li128545511387"><p id="CreateFirewall__p1485485113385"><a name="CreateFirewall__li128545511387"></a><a name="li128545511387"></a>Each value can contain a maximum of 255 Unicode characters and can be left blank.</p>
|
|
</li><li id="CreateFirewall__li15854351133819"><p id="CreateFirewall__p198541551163817"><a name="CreateFirewall__li15854351133819"></a><a name="li15854351133819"></a>The value can contain:</p>
|
|
<ul id="CreateFirewall__ul11854551193820"><li id="CreateFirewall__li1185495193817"><p id="CreateFirewall__p885445117389"><a name="CreateFirewall__li1185495193817"></a><a name="li1185495193817"></a>Letters</p>
|
|
</li><li id="CreateFirewall__li20854651113819"><p id="CreateFirewall__p185413517388"><a name="CreateFirewall__li20854651113819"></a><a name="li20854651113819"></a>Digits</p>
|
|
</li><li id="CreateFirewall__li68541351123817"><p id="CreateFirewall__p19854155116386"><a name="CreateFirewall__li68541351123817"></a><a name="li68541351123817"></a>Special characters: underscores (_), colons (:), plus signs (+), hyphens (-), at signs (@), and equal signs (=)</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateFirewall__response_FirewallAssociation"></a><a name="response_FirewallAssociation"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__response_FirewallAssociation" frame="border" border="1" rules="all"><caption><b>Table 8 </b>FirewallAssociation</caption><thead align="left"><tr id="CreateFirewall__row8649145115387"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="CreateFirewall__p168541551153812">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="CreateFirewall__p685465123817">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="CreateFirewall__p7854155115385">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row10649165114386"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateFirewall__p16854251153816">virsubnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateFirewall__p2854551103817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateFirewall__p1585475114384"><strong id="CreateFirewall__b485405183814">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p208541551143818">ID of the subnet associated with the network ACL.</p>
|
|
<p id="CreateFirewall__p20854145193811"><strong id="CreateFirewall__b16854135115388">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul208541251193817"><li id="CreateFirewall__li18854165183810"><p id="CreateFirewall__p1485455113810"><a name="CreateFirewall__li18854165183810"></a><a name="li18854165183810"></a>If the network ACL type is normal, it can only be associated with common subnets.</p>
|
|
</li><li id="CreateFirewall__li10854115133817"><p id="CreateFirewall__p48543511389"><a name="CreateFirewall__li10854115133817"></a><a name="li10854115133817"></a>If the network ACL type is CloudDCN, it can only be associated with CloudDCN subnets.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateFirewall__response_FirewallRuleDetail"></a><a name="response_FirewallRuleDetail"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__response_FirewallRuleDetail" frame="border" border="1" rules="all"><caption><b>Table 9 </b>FirewallRuleDetail</caption><thead align="left"><tr id="CreateFirewall__row10650185173814"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="CreateFirewall__p885425119381">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="CreateFirewall__p78551351153820">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="CreateFirewall__p485516514389">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row13650185153817"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p08551351173819">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p12855135173818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p0855105115385"><strong id="CreateFirewall__b1855205111388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1585514518381">Network ACL rule ID. Each network ACL rule comes with an ID, which uniquely identifies the network ACL rule.</p>
|
|
<p id="CreateFirewall__p18855351173815"><strong id="CreateFirewall__b1285515114387">Range</strong>:</p>
|
|
<p id="CreateFirewall__p168551515385">The value is in UUID format with hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row5650351183813"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p158557511384">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p68551251193814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p98554510386"><strong id="CreateFirewall__b785565143819">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1855175163812">Network ACL rule name.</p>
|
|
<p id="CreateFirewall__p38551751103819"><strong id="CreateFirewall__b1985515112386">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1785514512387">The value can contain 0 to 255 characters, including letters, digits, underscores (_), hyphens (-), and periods.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row19650135114382"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p1855135113381">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p785565173816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p1785505115386"><strong id="CreateFirewall__b1685511517380">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p085565113387">Supplementary information about the network ACL rule.</p>
|
|
<p id="CreateFirewall__p1485575112387"><strong id="CreateFirewall__b11855551183819">Range</strong>:</p>
|
|
<p id="CreateFirewall__p58551151173811">The value can contain 0 to 255 characters and cannot contain angle brackets (< or >).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row16650175123811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p4855451193810">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p585525173811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p585535114388"><strong id="CreateFirewall__b10855351153815">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p16855105183811">Whether a network ACL rule allows or denies traffic.</p>
|
|
<p id="CreateFirewall__p178551351153820"><strong id="CreateFirewall__b1085518518385">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul15855135153817"><li id="CreateFirewall__li198551551173817"><p id="CreateFirewall__p198551251133818"><a name="CreateFirewall__li198551551173817"></a><a name="li198551551173817"></a>allow: A network ACL rule allows traffic.</p>
|
|
</li><li id="CreateFirewall__li6855185183818"><p id="CreateFirewall__p485519515389"><a name="CreateFirewall__li6855185183818"></a><a name="li6855185183818"></a>deny: A network ACL rule denies traffic.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row2065025112381"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p385515193815">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p2855135111387">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p128551751173812"><strong id="CreateFirewall__b68555512388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p8855551123819">ID of the project that the network ACL rule belongs to.</p>
|
|
<p id="CreateFirewall__p085518517383"><strong id="CreateFirewall__b12855351133818">Range</strong>:</p>
|
|
<p id="CreateFirewall__p1085585115389">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row0650651143814"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p8855165110385">protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p985555110380">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p2855155123818"><strong id="CreateFirewall__b18551651123818">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p188551151153818">Communication protocol of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p9855551183815"><strong id="CreateFirewall__b178553517388">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul785517518384"><li id="CreateFirewall__li485595123814"><p id="CreateFirewall__p5855185110385"><a name="CreateFirewall__li485595123814"></a><a name="li485595123814"></a>tcp</p>
|
|
</li><li id="CreateFirewall__li198551051173814"><p id="CreateFirewall__p18855145111383"><a name="CreateFirewall__li198551051173814"></a><a name="li198551051173814"></a>udp</p>
|
|
</li><li id="CreateFirewall__li185575118381"><p id="CreateFirewall__p8855205111383"><a name="CreateFirewall__li185575118381"></a><a name="li185575118381"></a>icmp</p>
|
|
</li><li id="CreateFirewall__li14855551153815"><p id="CreateFirewall__p2855115110388"><a name="CreateFirewall__li14855551153815"></a><a name="li14855551153815"></a>icmpv6</p>
|
|
</li><li id="CreateFirewall__li17855175119381"><p id="CreateFirewall__p128552512388"><a name="CreateFirewall__li17855175119381"></a><a name="li17855175119381"></a>IP protocol number (0-255)</p>
|
|
</li><li id="CreateFirewall__li585520517386"><p id="CreateFirewall__p785545113384"><a name="CreateFirewall__li585520517386"></a><a name="li585520517386"></a>any: any protocol</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row865055110382"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p185516512387">ip_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p208551051133813">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p1785575113811"><strong id="CreateFirewall__b08565516389">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1856751113815">IP address version of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p185613512385"><strong id="CreateFirewall__b185614513388">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul158561151133816"><li id="CreateFirewall__li885615519382"><p id="CreateFirewall__p14856195115385"><a name="CreateFirewall__li885615519382"></a><a name="li885615519382"></a>4: IPv4 network ACL rule.</p>
|
|
</li><li id="CreateFirewall__li108567511383"><p id="CreateFirewall__p118567516383"><a name="CreateFirewall__li108567511383"></a><a name="li108567511383"></a>6: IPv6 network ACL rule.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row165025110386"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p168561251183812">source_ip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p685618518383">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p18856151113810"><strong id="CreateFirewall__b285618513380">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p78561451163819">Source IP address or source IP address range of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p885611519383"><strong id="CreateFirewall__b6856135111384">Range</strong>:</p>
|
|
<p id="CreateFirewall__p188561514385"><strong id="CreateFirewall__b1185695173818">source_ip_address</strong> and <strong id="CreateFirewall__b168561518383">source_address_group_id</strong> cannot be specified at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row465117510381"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p18856125163816">destination_ip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p1585610513382">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p98565511388"><strong id="CreateFirewall__b20856651183812">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p2856195110381">Destination IP address or destination IP address range of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p2856155112381"><strong id="CreateFirewall__b178561251183817">Range</strong>:</p>
|
|
<p id="CreateFirewall__p2856165183811"><strong id="CreateFirewall__b8856155113383">destination_ip_address</strong> and <strong id="CreateFirewall__b19856051123810">destination_address_group_id</strong> cannot be specified at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row1365145115382"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p1085645133810">source_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p4856175163814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p1885616517385"><strong id="CreateFirewall__b2856651113813">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1685635173817">Source port of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p15856151153819"><strong id="CreateFirewall__b1585645118385">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul685685115388"><li id="CreateFirewall__li198562051163817"><p id="CreateFirewall__p13856175183816"><a name="CreateFirewall__li198562051163817"></a><a name="li198562051163817"></a>Individual port: for example, 22</p>
|
|
</li><li id="CreateFirewall__li1185615193812"><p id="CreateFirewall__p118567516385"><a name="CreateFirewall__li1185615193812"></a><a name="li1185615193812"></a>Consecutive ports: for example, 22-30</p>
|
|
</li><li id="CreateFirewall__li0856175183812"><p id="CreateFirewall__p1856135163817"><a name="CreateFirewall__li0856175183812"></a><a name="li0856175183812"></a>Non-consecutive ports: ports and port ranges, such as <strong id="CreateFirewall__b5856651123816">22,23-30</strong>. You can specify up to 20 port ranges. Port ranges cannot overlap.</p>
|
|
</li><li id="CreateFirewall__li1385614511382"><p id="CreateFirewall__p16856151103811"><a name="CreateFirewall__li1385614511382"></a><a name="li1385614511382"></a>All ports: Leave it empty or enter 1-65535.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row96511851183816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p108561351193811">destination_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p208561351153815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p68561351143810"><strong id="CreateFirewall__b198561514388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p885675163816">Destination port of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p28560515381"><strong id="CreateFirewall__b10856951143811">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul3856551103818"><li id="CreateFirewall__li1785675173812"><p id="CreateFirewall__p18856135113387"><a name="CreateFirewall__li1785675173812"></a><a name="li1785675173812"></a>Individual port: for example, 22</p>
|
|
</li><li id="CreateFirewall__li58561512388"><p id="CreateFirewall__p12856115112389"><a name="CreateFirewall__li58561512388"></a><a name="li58561512388"></a>Consecutive ports: for example, 22-30</p>
|
|
</li><li id="CreateFirewall__li8856651173811"><p id="CreateFirewall__p2856551173820"><a name="CreateFirewall__li8856651173811"></a><a name="li8856651173811"></a>Non-consecutive ports: ports and port ranges, such as <strong id="CreateFirewall__b58561951133811">22,23-30</strong>. You can specify up to 20 port ranges. Port ranges cannot overlap.</p>
|
|
</li><li id="CreateFirewall__li1185635143810"><p id="CreateFirewall__p5856105118381"><a name="CreateFirewall__li1185635143810"></a><a name="li1185635143810"></a>All ports: Leave it empty or enter 1-65535.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row146511051183816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p1685655111381">source_address_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p19856751143810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p10856185116383"><strong id="CreateFirewall__b12856175113388">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p198561951163818">ID of the source IP address group of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p188562518385"><strong id="CreateFirewall__b18856151173810">Range</strong>:</p>
|
|
<p id="CreateFirewall__p08569511383"><strong id="CreateFirewall__b185619511382">source_ip_address</strong> and <strong id="CreateFirewall__b385655112385">source_address_group_id</strong> cannot be specified at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row16511051203810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p1385685118382">destination_address_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p15857651183811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p188571751153816"><strong id="CreateFirewall__b98571051163816">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p1085735133815">ID of the destination IP address group of a network ACL rule.</p>
|
|
<p id="CreateFirewall__p985775113388"><strong id="CreateFirewall__b20857145110389">Range</strong>:</p>
|
|
<p id="CreateFirewall__p19857155118385"><strong id="CreateFirewall__b285715112383">destination_ip_address</strong> and <strong id="CreateFirewall__b14857165112385">destination_address_group_id</strong> cannot be specified at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateFirewall__row1265155114383"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateFirewall__p1485712517383">enabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateFirewall__p1285765111388">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateFirewall__p58579513380"><strong id="CreateFirewall__b11857651143810">Definition</strong>:</p>
|
|
<p id="CreateFirewall__p20857185114385">Whether a network ACL rule is enabled.</p>
|
|
<p id="CreateFirewall__p1085735115380"><strong id="CreateFirewall__b138571251153810">Range</strong>:</p>
|
|
<ul id="CreateFirewall__ul1785745114380"><li id="CreateFirewall__li11857145163814"><p id="CreateFirewall__p188571514385"><a name="CreateFirewall__li11857145163814"></a><a name="li11857145163814"></a>true: (default value) A network ACL rule is enabled.</p>
|
|
</li><li id="CreateFirewall__li28572051133817"><p id="CreateFirewall__p178571151113815"><a name="CreateFirewall__li28572051133817"></a><a name="li28572051133817"></a>false: A network ACL rule is disabled.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section138571751123810"><h4 class="sectiontitle">Example Requests</h4><p id="CreateFirewall__p885775153817">Create a network ACL named <strong id="CreateFirewall__b17857165120383">network_acl_test1</strong>.</p>
|
|
<pre class="screen" id="CreateFirewall__screen785785119383">POST https://{Endpoint}/v3/{project_id}/vpc/firewalls
|
|
|
|
{
|
|
"firewall" : {
|
|
"name" : "network_acl_test1",
|
|
"description" : "network_acl_test1",
|
|
"enterprise_project_id" : "158ad39a-dab7-45a3-9b5a-2836b3cf93f9"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section188571519381"><h4 class="sectiontitle">Example Responses</h4><p id="CreateFirewall__p985720515389"><strong id="CreateFirewall__b1685715153815">Status code: 201</strong></p>
|
|
<p id="CreateFirewall__p585745193811">Normal response to the POST operation. For more status codes, see <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
<pre class="screen" id="CreateFirewall__screen1085715514386">{
|
|
"firewall" : {
|
|
"id" : "e9a7731d-5bd9-4250-a524-b9a076fd5629",
|
|
"name" : "network_acl_test1",
|
|
"description" : "network_acl_test1",
|
|
"project_id" : "9476ea5a8a9849c38358e43c0c3a9e12",
|
|
"created_at" : "2022-04-07T07:30:46.000+00:00",
|
|
"updated_at" : "2022-04-07T07:30:46.000+00:00",
|
|
"admin_state_up" : true,
|
|
"enterprise_project_id" : "158ad39a-dab7-45a3-9b5a-2836b3cf93f9",
|
|
"status" : "INACTIVE",
|
|
"tags" : [ ],
|
|
"ingress_rules" : [ ],
|
|
"egress_rules" : [ ],
|
|
"associations" : [ ]
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section4857751133810"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateFirewall__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateFirewall__row165715103813"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateFirewall__p585775117389">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateFirewall__p3857651103817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateFirewall__row665712515389"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateFirewall__p1385755111384">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateFirewall__p128575514385">Normal response to the POST operation. For more status codes, see <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateFirewall__section9858451173818"><h4 class="sectiontitle">Error Codes</h4><p id="CreateFirewall__p1585885123815">See <a href="vpc_api_0003.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000004.html">Network ACL</a></div>
|
|
</div>
|
|
</div>
|
|
|