NAT api 0920

Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: zhoumeng35 <zhoumeng35@huawei.com>
Co-committed-by: zhoumeng35 <zhoumeng35@huawei.com>
This commit is contained in:
2025-05-05 12:02:05 +00:00
committed by zuul
parent 193ee42159
commit f463d397b5
74 changed files with 13207 additions and 231 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,98 @@
<a name="DeletePrivateDnat"></a><a name="DeletePrivateDnat"></a>
<h1 class="topictitle1">Deleting a DNAT Rule</h1>
<div id="body1708331107508"><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to delete a specified DNAT rule.</p>
</div>
<div class="section" id="DeletePrivateDnat__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the project ID.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>dnat_rule_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the DNAT rule ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeletePrivateDnat__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p>X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p>Specifies the user token.</p>
<p>It is a response to the API used to obtain a user token. This API is the only one that does not require authentication.</p>
<p>The value of <strong>X-Subject-Token</strong> in the response header is the token value.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Response Parameters</h4><p><strong>Status code: 204</strong></p>
<p>DNAT rule deleted.</p>
<p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Example Requests</h4><pre class="screen">DELETE https://{Endpoint}/v3/da261828016849188f4dcc2ef94d9da9/private-nat/dnat-rules/24dd6bf5-48f2-4915-ad0b-5bb111d39c83</pre>
</div>
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeletePrivateDnat__status_code" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p>Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p>204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p>DNAT rule deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Error Codes</h4><p>See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="PrivateNatDnat.html">DNAT Rules</a></div>
</div>
</div>

View File

@ -0,0 +1,98 @@
<a name="DeletePrivateNat"></a><a name="DeletePrivateNat"></a>
<h1 class="topictitle1">Deleting a Private NAT Gateway</h1>
<div id="body1708331107508"><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to delete a private NAT gateway.</p>
</div>
<div class="section" id="DeletePrivateNat__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v3/{project_id}/private-nat/gateways/{gateway_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>gateway_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the private NAT gateway ID.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the project ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeletePrivateNat__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p>X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p>Specifies the user token.</p>
<p>It is a response to the API used to obtain a user token. This API is the only one that does not require authentication.</p>
<p>The value of <strong>X-Subject-Token</strong> in the response header is the token value.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Response Parameters</h4><p><strong>Status code: 204</strong></p>
<p>Private NAT gateway deleted.</p>
<p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Example Requests</h4><pre class="screen">DELETE https://{Endpoint}/v3/70505c941b9b4dfd82fd351932328a2f/private-nat/gateways/14338426-6afe-4019-996b-3a9525296e11</pre>
</div>
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeletePrivateNat__status_code" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p>Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p>204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p>Private NAT gateway deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Error Codes</h4><p>See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="PrivateNat.html">Private NAT Gateways</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,98 @@
<a name="DeletePrivateSnat"></a><a name="DeletePrivateSnat"></a>
<h1 class="topictitle1">Deleting an SNAT Rule</h1>
<div id="body1708331107508"><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to delete a specified SNAT rule.</p>
</div>
<div class="section" id="DeletePrivateSnat__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v3/{project_id}/private-nat/snat-rules/{snat_rule_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the project ID.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>snat_rule_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the SNAT rule ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeletePrivateSnat__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p>X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p>Specifies the user token.</p>
<p>It is a response to the API used to obtain a user token. This API is the only one that does not require authentication.</p>
<p>The value of <strong>X-Subject-Token</strong> in the response header is the token value.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Response Parameters</h4><p><strong>Status code: 204</strong></p>
<p>SNAT rule deleted.</p>
<p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Example Requests</h4><pre class="screen">DELETE https://{Endpoint}/v3/cfa563efb77d4b6d9960781d82530fd8/private-nat/snat-rules/8a522ff9-8158-494b-83cd-533b045700e6</pre>
</div>
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeletePrivateSnat__status_code" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p>Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p>204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p>SNAT rule deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Error Codes</h4><p>See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="PrivateNatSnat.html">SNAT Rules</a></div>
</div>
</div>

View File

@ -0,0 +1,98 @@
<a name="DeleteTransitIp"></a><a name="DeleteTransitIp"></a>
<h1 class="topictitle1">Releasing a Transit IP Address</h1>
<div id="body1708331107508"><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to release a transit IP address.</p>
</div>
<div class="section" id="DeleteTransitIp__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v3/{project_id}/private-nat/transit-ips/{transit_ip_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>transit_ip_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the ID of the transit IP address.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Specifies the project ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteTransitIp__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p>Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p>Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p>X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p>Specifies the user token.</p>
<p>It is a response to the API used to obtain a user token. This API is the only one that does not require authentication.</p>
<p>The value of <strong>X-Subject-Token</strong> in the response header is the token value.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Response Parameters</h4><p><strong>Status code: 204</strong></p>
<p>Transit IP address released.</p>
<p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Example Requests</h4><pre class="screen">DELETE https://{Endpoint}/v3/da261828016849188f4dcc2ef94d9da9/private-nat/transit-ips/a2845109-3b2f-4627-b08f-09a726c0a6e7</pre>
</div>
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p>None</p>
</div>
<div class="section"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteTransitIp__status_code" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p>Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p>Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p>204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p>Transit IP address released.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section"><h4 class="sectiontitle">Error Codes</h4><p>See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="PrivateNatTransitIp.html">Transit IP Addresses</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
<a name="PrivateNat"></a><a name="PrivateNat"></a>
<h1 class="topictitle1">Private NAT Gateways</h1>
<div><p> </p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="ListPrivateNats.html">Querying Private NAT Gateways</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="UpdatePrivateNat.html">Updating a Private NAT Gateway</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DeletePrivateNat.html">Deleting a Private NAT Gateway</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="CreatePrivateNat.html">Creating a Private NAT Gateway</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ShowPrivateNat.html">Querying Details About a Specified Private NAT Gateway</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_private_0000.html">APIs for Private NAT Gateways (v3.0)</a></div>
</div>
</div>

View File

@ -0,0 +1,24 @@
<a name="PrivateNatDnat"></a><a name="PrivateNatDnat"></a>
<h1 class="topictitle1">DNAT Rules</h1>
<div><p> </p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="ListPrivateDnats.html">Querying DNAT Rules</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="UpdatePrivateDnat.html">Updating a DNAT Rule</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="CreatePrivateDnat.html">Creating a DNAT Rule</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DeletePrivateDnat.html">Deleting a DNAT Rule</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ShowPrivateDnat.html">Querying Details About a Specified DNAT Rule</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_private_0000.html">APIs for Private NAT Gateways (v3.0)</a></div>
</div>
</div>

View File

@ -0,0 +1,24 @@
<a name="PrivateNatSnat"></a><a name="PrivateNatSnat"></a>
<h1 class="topictitle1">SNAT Rules</h1>
<div><p> </p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="ListPrivateSnats.html">Querying SNAT Rules</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ShowPrivateSnat.html">Querying Details About a Specified SNAT Rule</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="UpdatePrivateSnat.html">Updating an SNAT Rule</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="CreatePrivateSnat.html">Creating an SNAT Rule</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DeletePrivateSnat.html">Deleting an SNAT Rule</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_private_0000.html">APIs for Private NAT Gateways (v3.0)</a></div>
</div>
</div>

View File

@ -0,0 +1,26 @@
<a name="PrivateNatTags"></a><a name="PrivateNatTags"></a>
<h1 class="topictitle1">Private NAT Gateway Tags</h1>
<div><p> </p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="ListPrivateNatsByTags.html">Querying Private NAT Gateways</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ListPrivateNatTags.html">Querying Tags of All Private NAT Gateways in a Project</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ShowPrivateNatTags.html">Querying Tags of a Private NAT Gateway</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="CreatePrivateNatTag.html">Adding a Tag to a Private NAT Gateway</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="BatchCreateDeletePrivateNatTags.html">Batch Adding or Deleting Tags to or from a Private NAT Gateway</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DeletePrivateNatTag.html">Deleting a Tag from a Private NAT Gateway</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_private_0000.html">APIs for Private NAT Gateways (v3.0)</a></div>
</div>
</div>

View File

@ -0,0 +1,22 @@
<a name="PrivateNatTransitIp"></a><a name="PrivateNatTransitIp"></a>
<h1 class="topictitle1">Transit IP Addresses</h1>
<div><p> </p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="ListTransitIps.html">Querying Transit IP Addresses</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DeleteTransitIp.html">Releasing a Transit IP Address</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="CreateTransitIp.html">Assigning a Transit IP Address</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ShowTransitIp.html">Querying Details About a Specified Transit IP Address</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_private_0000.html">APIs for Private NAT Gateways (v3.0)</a></div>
</div>
</div>

View File

@ -0,0 +1,26 @@
<a name="PrivateNatTransitIpTags"></a><a name="PrivateNatTransitIpTags"></a>
<h1 class="topictitle1">Transit IP Address Tags</h1>
<div><p> </p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="ListTransitIpsByTags.html">Querying Transit IP Addresses by Tag</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ListTransitIpTags.html">Querying Tags of All Transit IP Addresses in a Specified Project</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="ShowTransitIpTags.html">Querying Tags of a Transit IP Address</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="CreateTransitIpTag.html">Adding a Tag to a Transit IP Address</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="BatchCreateDeleteTransitIpTags.html">Batch Adding or Deleting Tags to or from a Transit IP Address</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DeleteTransitIpTag.html">Deleting a Tag from a Transit IP Address</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_private_0000.html">APIs for Private NAT Gateways (v3.0)</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<a name="nat_api_0000"></a><a name="nat_api_0000"></a>
<h1 class="topictitle1">API v2.0</h1>
<h1 class="topictitle1">APIs for Public NAT Gateways (v2.0)</h1>
<div id="body1539591396647"></div>
<div>
<ul class="ullinks">

View File

@ -17,7 +17,7 @@
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0000.html">API v2.0</a></div>
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0000.html">APIs for Public NAT Gateways (v2.0)</a></div>
</div>
</div>

View File

@ -108,7 +108,7 @@
</td>
<td class="cellrowborder" valign="top" width="16.711671167116712%" headers="mcps1.3.2.4.2.5.1.3 "><p id="nat_api_0002__p1764614265487">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="53.855385538553854%" headers="mcps1.3.2.4.2.5.1.4 "><ul id="nat_api_0002__ul71858556358"><li id="nat_api_0002__li132051838164415">Specifies whether the NAT gateway is up or down.</li><li id="nat_api_0002__li12205203804411">The state can be:<ul id="nat_api_0002__ul16205638124410"><li id="nat_api_0002__li16206163884415"><strong id="nat_api_0002__b10363175444018">true</strong>: The NAT gateway is up.</li><li id="nat_api_0002__li102063382449"><strong id="nat_api_0002__b37341155114011">false</strong>: The NAT gateway is down.</li></ul>
<td class="cellrowborder" valign="top" width="53.855385538553854%" headers="mcps1.3.2.4.2.5.1.4 "><ul id="nat_api_0002__ul71858556358"><li id="nat_api_0002__li132051838164415">Specifies whether the NAT gateway is started or stopped.</li><li id="nat_api_0002__li12205203804411">The state can be:<ul id="nat_api_0002__ul16205638124410"><li id="nat_api_0002__li16206163884415"><strong id="nat_api_0002__b13210113316412">true</strong>: The NAT gateway is started.</li><li id="nat_api_0002__li102063382449"><strong id="nat_api_0002__b16907203517416">false</strong>: The NAT gateway is stopped.</li></ul>
</li></ul>
</td>
</tr>
@ -118,7 +118,7 @@
</td>
<td class="cellrowborder" valign="top" width="16.711671167116712%" headers="mcps1.3.2.4.2.5.1.3 "><p id="nat_api_0002__p1180818124411">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.855385538553854%" headers="mcps1.3.2.4.2.5.1.4 "><p id="nat_api_0002__p182375159231">Specifies when the NAT gateway is created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
<td class="cellrowborder" valign="top" width="53.855385538553854%" headers="mcps1.3.2.4.2.5.1.4 "><p id="nat_api_0002__p182375159231">Specifies when the NAT gateway was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
</td>
</tr>
</tbody>
@ -220,7 +220,7 @@
</td>
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0002__p159281825725">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0002__ul1238147165311"><li id="nat_api_0002__li1139147175316">Specifies whether the NAT gateway is up or down.</li><li id="nat_api_0002__li339271537">The state can be:<ul id="nat_api_0002__ul1039167155320"><li id="nat_api_0002__li539371532"><strong id="nat_api_0002__b594612310418">true</strong>: The NAT gateway is up.</li><li id="nat_api_0002__li19399725314"><strong id="nat_api_0002__b11714253414">false</strong>: The NAT gateway is down.</li></ul>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0002__ul1238147165311"><li id="nat_api_0002__li1139147175316">Specifies whether the NAT gateway is started or stopped.</li><li id="nat_api_0002__li339271537">The state can be:<ul id="nat_api_0002__ul1039167155320"><li id="nat_api_0002__li539371532"><strong id="nat_api_0002__b18758134715414">true</strong>: The NAT gateway is started.</li><li id="nat_api_0002__li19399725314"><strong id="nat_api_0002__b202008491346">false</strong>: The NAT gateway is stopped.</li></ul>
</li></ul>
</td>
</tr>
@ -228,7 +228,7 @@
</td>
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0002__p0294151110422">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0002__p14616181615910">Specifies when the NAT gateway is created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0002__p14616181615910">Specifies when the NAT gateway was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
</td>
</tr>
<tr id="nat_api_0002__row18580682589"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0002__p149362017222">billinginfo</p>
@ -288,7 +288,6 @@
"billinginfo": "",
"dnat_rules_limit": 200,
"snat_rule_public_ip_limit": 20,
"freeze_info": null,
"sys_tags": [
"_sys_enterprise_project_id=0"
],
@ -307,7 +306,6 @@
"billinginfo": "",
"dnat_rules_limit": 200,
"snat_rule_public_ip_limit": 20,
"freeze_info": null,
"sys_tags": [
"_sys_enterprise_project_id=0"
],

View File

@ -194,7 +194,7 @@
</td>
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p1764614265487">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0003__ul71858556358"><li id="nat_api_0003__li132051838164415">Specifies whether the NAT gateway is up or down.</li><li id="nat_api_0003__li12205203804411">The state can be:<ul id="nat_api_0003__ul16205638124410"><li id="nat_api_0003__li16206163884415"><strong id="nat_api_0003__b1082212644919">true</strong>: The NAT gateway is up.</li><li id="nat_api_0003__li102063382449"><strong id="nat_api_0003__b775182813495">false</strong>: The NAT gateway is down.</li></ul>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0003__ul71858556358"><li id="nat_api_0003__li132051838164415">Specifies whether the NAT gateway is started or stopped.</li><li id="nat_api_0003__li12205203804411">The state can be:<ul id="nat_api_0003__ul16205638124410"><li id="nat_api_0003__li16206163884415"><strong id="nat_api_0003__b117921826455">true</strong>: The NAT gateway is started.</li><li id="nat_api_0003__li102063382449"><strong id="nat_api_0003__b76034289518">false</strong>: The NAT gateway is stopped.</li></ul>
</li></ul>
</td>
</tr>
@ -202,7 +202,7 @@
</td>
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p2670141515">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p1914253805918">Specifies when the NAT gateway is created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p1914253805918">Specifies when the NAT gateway was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
</td>
</tr>
<tr id="nat_api_0003__row7548124281819"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p12548134218188">billinginfo</p>
@ -212,13 +212,6 @@
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p95484426186">Specifies the order information. This parameter is left blank by default.</p>
</td>
</tr>
<tr id="nat_api_0003__row686504681813"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p108651846161817">freeze_info</p>
</td>
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p1086594620185">String</p>
</td>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p188651846101813">Specifies information about the frozen NAT gateway.</p>
</td>
</tr>
<tr id="nat_api_0003__row528545061815"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p3285550111812">sys_tags</p>
</td>
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p8285105091817">List&lt;String&gt;</p>
@ -268,7 +261,6 @@
"billinginfo": "",
"dnat_rules_limit": 200,
"snat_rule_public_ip_limit": 20,
"freeze_info": null,
"sys_tags": [
"_sys_enterprise_project_id=0"
],

View File

@ -15,7 +15,7 @@
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0000.html">API v2.0</a></div>
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0000.html">APIs for Public NAT Gateways (v2.0)</a></div>
</div>
</div>

View File

@ -57,7 +57,7 @@
</td>
<td class="cellrowborder" valign="top" width="12.9%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0006__p9522830441">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.879999999999995%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0006__p115223302049">Specifies the network ID used by the SNAT rule. This parameter and <strong id="nat_api_0006__b1981911111551">cidr</strong> are alternative.</p>
<td class="cellrowborder" valign="top" width="55.879999999999995%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0006__p115223302049">Specifies the network ID used by the SNAT rule. Specify either this parameter or <strong id="nat_api_0006__b01420210149">cidr</strong>.</p>
</td>
</tr>
<tr id="nat_api_0006__row237617432112"><td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.3.4.2.5.1.1 "><p id="nat_api_0006__p56167320519">cidr</p>
@ -66,7 +66,7 @@
</td>
<td class="cellrowborder" valign="top" width="12.9%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0006__p7616132519">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.879999999999995%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0006__p96161631513">Specifies CIDR, which can be in the format of a network segment or a host IP address. This parameter and <strong id="nat_api_0006__b7582204212211">network_id</strong> are alternative.</p>
<td class="cellrowborder" valign="top" width="55.879999999999995%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0006__p96161631513">Specifies CIDR, which can be in the format of a network segment or a host IP address. Specify either this parameter or <strong id="nat_api_0006__b067412151341">network_id</strong>.</p>
<p id="nat_api_0006__p1861612320514">If <strong id="nat_api_0006__b26831022102418">source_type</strong> is set to <strong id="nat_api_0006__b1378414485243">0</strong>, <strong id="nat_api_0006__b7427184472216">cidr</strong> must be a subset of the VPC subnet.</p>
<p id="nat_api_0006__p20616431753">If <strong id="nat_api_0006__b2037173642310">source_type</strong> is set to <strong id="nat_api_0006__b23816365236">1</strong>, <strong id="nat_api_0006__b12395363237">cidr</strong> must be a CIDR block of your on-premises network connected to the VPC through Direct Connect or Cloud Connect.</p>
</td>
@ -167,16 +167,16 @@
</td>
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0006__p5266122121017">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0006__p10266122191010">Specifies a subset of the VPC subnet CIDR block or a CIDR block of Direct Connect connection.</p>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0006__p10266122191010">Specifies a subset of the VPC subnet CIDR block or a CIDR block of a Direct Connect connection.</p>
</td>
</tr>
<tr id="nat_api_0006__row16266192191014"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0006__p182661326103">source_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0006__p62661213102">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0006__p172664291014"><strong id="nat_api_0006__b1041307709">0</strong>: Either <strong id="nat_api_0006__b820464479">network_id</strong> or <strong id="nat_api_0006__b277453382">cidr</strong> can be specified in a VPC.</p>
<p id="nat_api_0006__p192667291014"><strong id="nat_api_0006__b1329169283">1</strong>: Only <strong id="nat_api_0006__b622048601">cidr</strong> can be specified over a Direct Connect connection.</p>
<p id="nat_api_0006__p1026615271011">If no value is entered, the default value <strong id="nat_api_0006__b2070433458">0</strong> (VPC) is used.</p>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0006__p172664291014"><strong id="nat_api_0006__b203821529">0</strong>: Either <strong id="nat_api_0006__b820861312">network_id</strong> or <strong id="nat_api_0006__b347290551">cidr</strong> can be specified in a VPC.</p>
<p id="nat_api_0006__p192667291014"><strong id="nat_api_0006__b1341094220">1</strong>: Only <strong id="nat_api_0006__b1862223470">cidr</strong> can be specified over a Direct Connect connection.</p>
<p id="nat_api_0006__p1026615271011">If no value is entered, the default value <strong id="nat_api_0006__b1859238831">0</strong> (VPC) is used.</p>
</td>
</tr>
<tr id="nat_api_0006__row1526617211109"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0006__p82661421103">floating_ip_id</p>
@ -190,7 +190,7 @@
</td>
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0006__p19266427107">String(1024)</p>
</td>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0006__ul026610212101"><li id="nat_api_0006__li926613210106">Specifies the <span id="nat_api_0006__text1372613141213"></span><span id="nat_api_0006__text117261731171214">EIP</span>. Use commas (,) to separate multiple <span id="nat_api_0006__text1218793316327"></span><span id="nat_api_0006__text121874334324">EIP</span>s.</li><li id="nat_api_0006__li1926632131014">The maximum length is 1,024 bytes.</li></ul>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0006__ul026610212101"><li id="nat_api_0006__li926613210106">Specifies the EIP. Use commas (,) to separate multiple EIPs.</li><li id="nat_api_0006__li1926632131014">The maximum length is 1,024 bytes.</li></ul>
</td>
</tr>
<tr id="nat_api_0006__row9151125520311"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0006__p389019177125">freezed_ip_address</p>
@ -226,7 +226,7 @@
</td>
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0006__p32669214104">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0006__p776395025914">Specifies when the SNAT rule is created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0006__p776395025914">Specifies when the SNAT rule was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
</td>
</tr>
</tbody>

View File

@ -68,7 +68,9 @@
</td>
<td class="cellrowborder" valign="top" width="17.09%" headers="mcps1.3.2.4.2.5.1.3 "><p id="nat_api_0007__p51501158433">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.89%" headers="mcps1.3.2.4.2.5.1.4 "><p id="nat_api_0007__p2150201513432">Specifies a subset of the VPC subnet CIDR block or a CIDR block of Direct Connect connection.</p>
<td class="cellrowborder" valign="top" width="49.89%" headers="mcps1.3.2.4.2.5.1.4 "><p id="nat_api_0007__p96161631513">Specifies CIDR, which can be in the format of a network segment or a host IP address. Specify either this parameter or <strong id="nat_api_0007__b181641028171">network_id</strong>.</p>
<p id="nat_api_0007__p1861612320514">If <strong id="nat_api_0007__b160923410181">source_type</strong> is set to <strong id="nat_api_0007__b18609123481812">0</strong>, <strong id="nat_api_0007__b166097345181">cidr</strong> must be a subset of the VPC subnet.</p>
<p id="nat_api_0007__p20616431753">If <strong id="nat_api_0007__b14912050102210">source_type</strong> is set to <strong id="nat_api_0007__b1591135017224">1</strong>, <strong id="nat_api_0007__b591175052219">cidr</strong> must be a CIDR block of your on-premises network connected to the VPC through Direct Connect or Cloud Connect.</p>
</td>
</tr>
<tr id="nat_api_0007__row2150215104311"><td class="cellrowborder" valign="top" width="21.34%" headers="mcps1.3.2.4.2.5.1.1 "><p id="nat_api_0007__p1150915124313">source_type</p>
@ -134,7 +136,7 @@
</td>
<td class="cellrowborder" valign="top" width="17.09%" headers="mcps1.3.2.4.2.5.1.3 "><p id="nat_api_0007__p11150215184311">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.89%" headers="mcps1.3.2.4.2.5.1.4 "><p id="nat_api_0007__p39521571301">Specifies when the SNAT rule is created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
<td class="cellrowborder" valign="top" width="49.89%" headers="mcps1.3.2.4.2.5.1.4 "><p id="nat_api_0007__p39521571301">Specifies when the SNAT rule was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
</td>
</tr>
</tbody>
@ -205,16 +207,16 @@
</td>
<td class="cellrowborder" valign="top" width="28.162816281628167%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0007__p1959752813534">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.91509150915091%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0007__p85971428135313">Specifies a subset of the VPC subnet CIDR block or a CIDR block of Direct Connect connection.</p>
<td class="cellrowborder" valign="top" width="50.91509150915091%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0007__p85971428135313">Specifies a subset of the VPC subnet CIDR block or a CIDR block of a Direct Connect connection.</p>
</td>
</tr>
<tr id="nat_api_0007__row17894229186"><td class="cellrowborder" valign="top" width="20.92209220922092%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0007__p1859718289538">source_type</p>
</td>
<td class="cellrowborder" valign="top" width="28.162816281628167%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0007__p19597152810533">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50.91509150915091%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0007__p2597142811539"><strong id="nat_api_0007__b1287868360">0</strong>: Either <strong id="nat_api_0007__b233097477">network_id</strong> or <strong id="nat_api_0007__b139213317">cidr</strong> can be specified in a VPC.</p>
<td class="cellrowborder" valign="top" width="50.91509150915091%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0007__p2597142811539"><strong id="nat_api_0007__b223974110">0</strong>: Either <strong id="nat_api_0007__b175475677">network_id</strong> or <strong id="nat_api_0007__b2007310056">cidr</strong> can be specified in a VPC.</p>
<p id="nat_api_0007__p175971428185312"><strong id="nat_api_0007__b216113591626">1</strong>: Only <strong id="nat_api_0007__b141612591429">cidr</strong> can be specified over a Direct Connect connection.</p>
<p id="nat_api_0007__p159762875319">If no value is entered, the default value <strong id="nat_api_0007__b1729817579">0</strong> (VPC) is used.</p>
<p id="nat_api_0007__p159762875319">If no value is entered, the default value <strong id="nat_api_0007__b1464391411">0</strong> (VPC) is used.</p>
</td>
</tr>
<tr id="nat_api_0007__row1189413211817"><td class="cellrowborder" valign="top" width="20.92209220922092%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0007__p4597152810537">floating_ip_id</p>
@ -264,7 +266,7 @@
</td>
<td class="cellrowborder" valign="top" width="28.162816281628167%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0007__p1238211390533">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.91509150915091%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0007__p1748651410013">Specifies when the SNAT rule is created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
<td class="cellrowborder" valign="top" width="50.91509150915091%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0007__p1748651410013">Specifies when the SNAT rule was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.</p>
</td>
</tr>
</tbody>

View File

@ -91,7 +91,9 @@
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0008__p7180592555">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0008__p16180139205514">Specifies a subset of the VPC subnet CIDR block or a CIDR block of a Direct Connect connection.</p>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0008__p96161631513">Specifies CIDR, which can be in the format of a network segment or a host IP address. Specify either this parameter or <strong id="nat_api_0008__b198820627162229">network_id</strong>.</p>
<p id="nat_api_0008__p1861612320514">If <strong id="nat_api_0008__b112239439062249">source_type</strong> is set to <strong id="nat_api_0008__b1910908862249">0</strong>, <strong id="nat_api_0008__b7579521262249">cidr</strong> must be a subset of the VPC subnet.</p>
<p id="nat_api_0008__p20616431753">If <strong id="nat_api_0008__b1476114352255">source_type</strong> is set to <strong id="nat_api_0008__b07611835112513">1</strong>, <strong id="nat_api_0008__b676173510252">cidr</strong> must be a CIDR block of your on-premises network connected to the VPC through Direct Connect or Cloud Connect.</p>
</td>
</tr>
<tr id="nat_api_0008__row11326645162317"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0008__p0180129105513">source_type</p>

View File

@ -15,7 +15,7 @@
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0000.html">API v2.0</a></div>
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0000.html">APIs for Public NAT Gateways (v2.0)</a></div>
</div>
</div>

View File

@ -2,12 +2,12 @@
<h1 class="topictitle1">Creating a DNAT Rule</h1>
<div id="body1516089194257"><div class="section" id="nat_api_0011__section2213133217038"><h4 class="sectiontitle">Function</h4><p id="nat_api_0011__p558179021710">This API is used to create a DNAT rule.</p>
<div class="note" id="nat_api_0011__note106471540162018"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="nat_api_0011__p193818469203">You can create a DNAT rule only when <strong id="nat_api_0011__b9176115783712">status</strong> of the NAT gateway is set to <strong id="nat_api_0011__b1017745743712">ACTIVE</strong> and <strong id="nat_api_0011__b14177457133719">admin_state_up</strong> of the NAT gateway administrator to <strong id="nat_api_0011__b01781257173710">True</strong>. Specify either <strong id="nat_api_0011__b987211413292">port_id</strong> or <strong id="nat_api_0011__b1387214432918">private_ip</strong> at a time. If you are going to create a DNAT rule that allows traffic to and from all ports of a server and an EIP, set <strong id="nat_api_0011__b197939508281">internal_service_port</strong> to <strong id="nat_api_0011__b137931550152816">0</strong>, <strong id="nat_api_0011__b979385014282">external_service_port</strong> to <strong id="nat_api_0011__b1979335082817">0</strong>, and <strong id="nat_api_0011__b5793135010281">protocol</strong> to <strong id="nat_api_0011__b1579418504289">any</strong>.</p>
<div class="note" id="nat_api_0011__note106471540162018"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="nat_api_0011__p193818469203">You can create a DNAT rule only when <strong id="nat_api_0011__b9176115783712">status</strong> of the NAT gateway is set to <strong id="nat_api_0011__b1017745743712">ACTIVE</strong> and <strong id="nat_api_0011__b14177457133719">admin_state_up</strong> of the NAT gateway administrator to <strong id="nat_api_0011__b01781257173710">True</strong>. Specify either <strong id="nat_api_0011__b829811164348">port_id</strong> or <strong id="nat_api_0011__b5299716143413">private_ip</strong> at a time. If you are going to create a DNAT rule that allows traffic to and from all ports of a server and an EIP, set <strong id="nat_api_0011__b197939508281">internal_service_port</strong> to <strong id="nat_api_0011__b137931550152816">0</strong>, <strong id="nat_api_0011__b979385014282">external_service_port</strong> to <strong id="nat_api_0011__b1979335082817">0</strong>, and <strong id="nat_api_0011__b5793135010281">protocol</strong> to <strong id="nat_api_0011__b1579418504289">any</strong>.</p>
</div></div>
</div>
<div class="section" id="nat_api_0011__section2631225217131"><h4 class="sectiontitle">URI</h4><p id="nat_api_0011__p45381815102019">POST /v2.0/dnat_rules</p>
</div>
<div class="section" id="nat_api_0011__section1572764517510"><h4 class="sectiontitle">Request</h4><p id="nat_api_0011__p2047595911203"><a href="#nat_api_0011__table19385203615518">Table 1</a> lists the request parameter.</p>
<div class="section" id="nat_api_0011__section1572764517510"><h4 class="sectiontitle">Request</h4><p id="nat_api_0011__p2047595911203"><a href="#nat_api_0011__table19385203615518">Table 1</a> describes the request parameter.</p>
<div class="tablenoborder"><a name="nat_api_0011__table19385203615518"></a><a name="table19385203615518"></a><table cellpadding="4" cellspacing="0" summary="" id="nat_api_0011__table19385203615518" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Request parameter</caption><thead align="left"><tr id="nat_api_0011__row7697336175113"><th align="left" class="cellrowborder" valign="top" width="21.19%" id="mcps1.3.3.3.2.5.1.1"><p id="nat_api_0011__p969713363516">Parameter</p>
</th>
@ -57,7 +57,7 @@
</td>
<td class="cellrowborder" valign="top" width="17.02%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0011__p540414431823">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.769999999999996%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0011__p86078310224">Specifies the port ID of the cloud server (<span id="nat_api_0011__text168825339383">ECS</span> or <span id="nat_api_0011__text8014498384">BMS</span>). Either this parameter or <strong id="nat_api_0011__b1694415249568">private_ip</strong> must be specified.</p>
<td class="cellrowborder" valign="top" width="49.769999999999996%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0011__p86078310224">Specifies the port ID of the cloud server (<span id="nat_api_0011__text168825339383">ECS</span> or <span id="nat_api_0011__text8014498384">BMS</span>). Specify either this parameter or <strong id="nat_api_0011__b3845530134710">private_ip</strong>.</p>
<p id="nat_api_0011__p19185113282111">When the DNAT rule is used in the VPC scenario, use this parameter.</p>
<p id="nat_api_0011__p13404243429"></p>
</td>
@ -68,7 +68,7 @@
</td>
<td class="cellrowborder" valign="top" width="17.02%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0011__p184045434218">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.769999999999996%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0011__p84041843221">Specifies the private IP address, for example, the IP address of an on-premises network connected by a Direct Connect connection. This parameter and <strong id="nat_api_0011__b2028335842614">port_id</strong> are alternative.</p>
<td class="cellrowborder" valign="top" width="49.769999999999996%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0011__p84041843221">Specifies the private IP address of a user, for example, the IP address of a VPC for Direct Connect connection. Specify either this parameter or <strong id="nat_api_0011__b135919342483">port_id</strong>.</p>
<p id="nat_api_0011__p675545942210">When the DNAT rule is used in the Direct Connect scenario, use this parameter.</p>
</td>
</tr>
@ -78,7 +78,7 @@
</td>
<td class="cellrowborder" valign="top" width="17.02%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0011__p740413431823">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.769999999999996%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0011__p1740419431628">Specifies the port number used by the cloud server (<span id="nat_api_0011__text4100154113109">ECS</span> or <span id="nat_api_0011__text510034114106">BMS</span>) to provide services for external systems. In VPC DNAT scenarios, this parameter indicates the protocol port number of the NIC of the cloud server (<span id="nat_api_0011__text126085814307">ECS</span> or <span id="nat_api_0011__text926013583309">BMS</span>) in the DNAT rule. In Direct Connect DNAT scenarios, this parameter indicates the protocol port number of your private IP address in the DNAT rule.</p>
<td class="cellrowborder" valign="top" width="49.769999999999996%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0011__p1740419431628">Specifies the port number used by the cloud server (<span id="nat_api_0011__text1371182073915">ECS</span> or <span id="nat_api_0011__text1172182020397">BMS</span>) to provide services for external systems. In VPC DNAT scenarios, this parameter indicates the protocol port number of the NIC of the cloud server (<span id="nat_api_0011__text657717415403">ECS</span> or <span id="nat_api_0011__text1577144164010">BMS</span>) in the DNAT rule. In Direct Connect DNAT scenarios, this parameter indicates the protocol port number of your private IP address in the DNAT rule.</p>
<p id="nat_api_0011__p223280102618">The value ranges from <strong id="nat_api_0011__b1281281159">0</strong> to <strong id="nat_api_0011__b158158155">65535</strong>.</p>
</td>
</tr>
@ -188,14 +188,14 @@
<td class="cellrowborder" valign="top" width="28.072807280728075%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0011__p1384220280311">String</p>
</td>
<td class="cellrowborder" valign="top" width="47.774777477747776%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0011__p1247121916108">Specifies the IP address of an on-premises network connected by a Direct Connect connection.</p>
<p id="nat_api_0011__p192471019141012">This parameter is used in the Direct Connect scenario. This parameter and <strong id="nat_api_0011__b8607127593">port_id</strong> are alternative.</p>
<p id="nat_api_0011__p192471019141012">This parameter is used in the Direct Connect scenario. Specify either this parameter or <strong id="nat_api_0011__b113398114501">port_id</strong>.</p>
</td>
</tr>
<tr id="nat_api_0011__row930619322026"><td class="cellrowborder" valign="top" width="24.152415241524153%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0011__p1984218280319">internal_service_port</p>
</td>
<td class="cellrowborder" valign="top" width="28.072807280728075%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0011__p11842928334">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="47.774777477747776%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0011__p284210281312">Specifies the port number used by the cloud server (<span id="nat_api_0011__text31841459409">ECS</span> or <span id="nat_api_0011__text8184345154013">BMS</span>) to provide services for external systems.</p>
<td class="cellrowborder" valign="top" width="47.774777477747776%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0011__p284210281312">Specifies the port number used by the cloud server (<span id="nat_api_0011__text17628636171815">ECS</span> or <span id="nat_api_0011__text1962813368184">BMS</span>) to provide services for external systems.</p>
</td>
</tr>
<tr id="nat_api_0011__row0306133219211"><td class="cellrowborder" valign="top" width="24.152415241524153%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0011__p1184216281632">floating_ip_id</p>
@ -245,7 +245,7 @@
</td>
<td class="cellrowborder" valign="top" width="28.072807280728075%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0011__p1764614265487">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="47.774777477747776%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0011__ul71858556358"><li id="nat_api_0011__li132051838164415">Specifies whether the NAT gateway is up or down.</li><li id="nat_api_0011__li12205203804411">The value can be:<ul id="nat_api_0011__ul16205638124410"><li id="nat_api_0011__li16206163884415"><strong id="nat_api_0011__b2017512911216">true</strong>: The DNAT rule is enabled.</li><li id="nat_api_0011__li102063382449"><strong id="nat_api_0011__b8164810229">false</strong>: The DNAT rule is disabled.</li></ul>
<td class="cellrowborder" valign="top" width="47.774777477747776%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0011__ul71858556358"><li id="nat_api_0011__li132051838164415">Specifies whether the DNAT rule is enabled or disabled.</li><li id="nat_api_0011__li12205203804411">The value can be:<ul id="nat_api_0011__ul16205638124410"><li id="nat_api_0011__li16206163884415"><strong id="nat_api_0011__b2017512911216">true</strong>: The DNAT rule is enabled.</li><li id="nat_api_0011__li102063382449"><strong id="nat_api_0011__b8164810229">false</strong>: The DNAT rule is disabled.</li></ul>
</li></ul>
</td>
</tr>

Some files were not shown because too many files have changed in this diff Show More