forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
288 lines
22 KiB
HTML
288 lines
22 KiB
HTML
<a name="nat_api_0003"></a><a name="nat_api_0003"></a>
|
|
|
|
<h1 class="topictitle1">Updating a NAT Gateway</h1>
|
|
<div id="body20839960"><div class="section" id="nat_api_0003__section53650918"><h4 class="sectiontitle">Function</h4><p id="nat_api_0003__p10315194">This API is used to update a NAT gateway.</p>
|
|
<div class="note" id="nat_api_0003__note1052053212615"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="nat_api_0003__p443222724816"><strong id="nat_api_0003__b8423527061918">admin_state_up = True & status = "ACTIVE"</strong> can be updated. The name, description, and type of a NAT gateway can be updated.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="nat_api_0003__section13096217"><h4 class="sectiontitle">URI</h4><p id="nat_api_0003__p2080894416158">PUT /v2.0/nat_gateways/{nat_gateway_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="nat_api_0003__table285161395713" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="nat_api_0003__row12912101317577"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.2.3.2.5.1.1"><p id="nat_api_0003__p791271313579">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12%" id="mcps1.3.2.3.2.5.1.2"><p id="nat_api_0003__p7912013105718">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.2.3.2.5.1.3"><p id="nat_api_0003__p1391221355716">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48%" id="mcps1.3.2.3.2.5.1.4"><p id="nat_api_0003__p1191216131572">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="nat_api_0003__row1591281345717"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.3.2.5.1.1 "><p id="nat_api_0003__p69121213115717">nat_gateway_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12%" headers="mcps1.3.2.3.2.5.1.2 "><p id="nat_api_0003__p179129138573">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.2.3.2.5.1.3 "><p id="nat_api_0003__p1291281325710">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48%" headers="mcps1.3.2.3.2.5.1.4 "><p id="nat_api_0003__p20912111395719">Specifies the NAT gateway ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="nat_api_0003__section54160660"><h4 class="sectiontitle">Request</h4><p id="nat_api_0003__p53421810153818"><a href="#nat_api_0003__table52686130">Table 2</a> describes the request parameter.</p>
|
|
|
|
<div class="tablenoborder"><a name="nat_api_0003__table52686130"></a><a name="table52686130"></a><table cellpadding="4" cellspacing="0" summary="" id="nat_api_0003__table52686130" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="nat_api_0003__row64917235"><th align="left" class="cellrowborder" valign="top" width="24.15%" id="mcps1.3.3.3.2.5.1.1"><p id="nat_api_0003__p23804665">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="8.89%" id="mcps1.3.3.3.2.5.1.2"><p id="nat_api_0003__p20086700">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.61%" id="mcps1.3.3.3.2.5.1.3"><p id="nat_api_0003__p49129749">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.35%" id="mcps1.3.3.3.2.5.1.4"><p id="nat_api_0003__p16410024">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="nat_api_0003__row2330579495259"><td class="cellrowborder" valign="top" width="24.15%" headers="mcps1.3.3.3.2.5.1.1 "><p id="nat_api_0003__p872120095259">nat_gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.89%" headers="mcps1.3.3.3.2.5.1.2 "><p id="nat_api_0003__p4304518595259">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.3.3.2.5.1.3 "><p id="nat_api_0003__p3532861095259">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.35%" headers="mcps1.3.3.3.2.5.1.4 "><p id="nat_api_0003__p6410795695259">Specifies the NAT gateway object. For details, see <a href="#nat_api_0003__table0906373491">Table 3</a>.</p>
|
|
<p id="nat_api_0003__p2978120995417">Mandatory field: None. Only the <strong id="nat_api_0003__b84235270610132">name</strong>, <strong id="nat_api_0003__b84235270610135">description</strong>, and <strong id="nat_api_0003__b84235270610138">spec</strong> fields can be updated. At least one attribute must be specified for the NAT gateway to be updated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="nat_api_0003__table0906373491"></a><a name="table0906373491"></a><table cellpadding="4" cellspacing="0" summary="" id="nat_api_0003__table0906373491" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of the <strong id="nat_api_0003__b1412261533918">nat_gateway</strong> field</caption><thead align="left"><tr id="nat_api_0003__row1926123710498"><th align="left" class="cellrowborder" valign="top" width="23.72%" id="mcps1.3.3.4.2.5.1.1"><p id="nat_api_0003__p12261203754915">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="8.219999999999999%" id="mcps1.3.3.4.2.5.1.2"><p id="nat_api_0003__p026183710495">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.56%" id="mcps1.3.3.4.2.5.1.3"><p id="nat_api_0003__p12611537194919">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.5%" id="mcps1.3.3.4.2.5.1.4"><p id="nat_api_0003__p4261537124914">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="nat_api_0003__row1526113794918"><td class="cellrowborder" valign="top" width="23.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="nat_api_0003__p1426114376495">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.219999999999999%" headers="mcps1.3.3.4.2.5.1.2 "><p id="nat_api_0003__p4261153734911">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.56%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0003__p62611137194910">String(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.5%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0003__p626113711491">Specifies the NAT gateway name.</p>
|
|
<p id="nat_api_0003__p426118376490">The name can contain only digits, letters, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row6261133718490"><td class="cellrowborder" valign="top" width="23.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="nat_api_0003__p1226113734915">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.219999999999999%" headers="mcps1.3.3.4.2.5.1.2 "><p id="nat_api_0003__p426153724918">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.56%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0003__p82619377493">String(255)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.5%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0003__p926113710497">Provides supplementary information about the NAT gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row142611379498"><td class="cellrowborder" valign="top" width="23.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="nat_api_0003__p12261193794913">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.219999999999999%" headers="mcps1.3.3.4.2.5.1.2 "><p id="nat_api_0003__p12261153724911">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.56%" headers="mcps1.3.3.4.2.5.1.3 "><p id="nat_api_0003__p1326133711499">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.5%" headers="mcps1.3.3.4.2.5.1.4 "><p id="nat_api_0003__p142611837184914">Specifies the NAT gateway type.</p>
|
|
<p id="nat_api_0003__p1126123713499">The type can be:</p>
|
|
<ul id="nat_api_0003__ul191213405211"><li id="nat_api_0003__li191264175216"><strong id="nat_api_0003__b945619198489">0</strong>: micro type, which supports up to 1,000 SNAT connections.</li></ul>
|
|
<ul id="nat_api_0003__ul1526193711496"><li id="nat_api_0003__li162611337174910"><strong id="nat_api_0003__b16132815133912">1</strong>: small type, which supports up to 10,000 SNAT connections.</li><li id="nat_api_0003__li226193712494"><strong id="nat_api_0003__b1913491573910">2</strong>: medium type, which supports up to 50,000 SNAT connections.</li><li id="nat_api_0003__li8261737124915"><strong id="nat_api_0003__b5139415113913">3</strong>: large type, which supports up to 200,000 SNAT connections.</li><li id="nat_api_0003__li626113371496"><strong id="nat_api_0003__b7142115113919">4</strong>: extra-large type, which supports up to 1,000,000 SNAT connections.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="nat_api_0003__section17683893"><h4 class="sectiontitle">Response</h4><p id="nat_api_0003__p1755218309013"><a href="#nat_api_0003__table26619133">Table 4</a> lists response parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="nat_api_0003__table26619133"></a><a name="table26619133"></a><table cellpadding="4" cellspacing="0" summary="" id="nat_api_0003__table26619133" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameter</caption><thead align="left"><tr id="nat_api_0003__row25196298"><th align="left" class="cellrowborder" valign="top" width="31.7%" id="mcps1.3.4.3.2.4.1.1"><p id="nat_api_0003__p27634258">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.080000000000002%" id="mcps1.3.4.3.2.4.1.2"><p id="nat_api_0003__p23782439">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51.22%" id="mcps1.3.4.3.2.4.1.3"><p id="nat_api_0003__p8475542">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="nat_api_0003__row15430272"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.3.2.4.1.1 "><p id="nat_api_0003__p41892502">nat_gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.3.2.4.1.2 "><p id="nat_api_0003__p37849538">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.3.2.4.1.3 "><p id="nat_api_0003__p28022645">Specifies the NAT gateway object. For details, see <a href="#nat_api_0003__table144824405116">Table 5</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="nat_api_0003__table144824405116"></a><a name="table144824405116"></a><table cellpadding="4" cellspacing="0" summary="" id="nat_api_0003__table144824405116" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Description of the <strong id="nat_api_0003__b121561515183917">nat_gateway</strong> field</caption><thead align="left"><tr id="nat_api_0003__row1265444165113"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.4.4.2.4.1.1"><p id="nat_api_0003__p2065413495118">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.18%" id="mcps1.3.4.4.2.4.1.2"><p id="nat_api_0003__p1465464125116">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.589999999999996%" id="mcps1.3.4.4.2.4.1.3"><p id="nat_api_0003__p1865414435114">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="nat_api_0003__row196541147512"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p176541446512">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p9654444513">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__p26546435114">Specifies the NAT gateway ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row186542045510"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p10654204185111">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p2654114145119">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__p86549465118">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row465474125112"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p36541418515">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p146544425110">String(64)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p196541435113">Specifies the NAT gateway name.</p>
|
|
<p id="nat_api_0003__p126544413514">The name can contain only digits, letters, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row467013417513"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p1670248519">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p767013465115">String(255)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p367015455118">Provides supplementary information about the NAT gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row367094135115"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p11670104135119">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p1267004195114">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__p2067064195110">Specifies the NAT gateway type.</p>
|
|
<p id="nat_api_0003__p76708418513">The type can be:</p>
|
|
<ul id="nat_api_0003__ul1608473572"><li id="nat_api_0003__li86010479572"><strong id="nat_api_0003__b1228344618483">0</strong>: micro type, which supports up to 1,000 SNAT connections.</li></ul>
|
|
<ul id="nat_api_0003__ul1167010455119"><li id="nat_api_0003__li16670445513"><strong id="nat_api_0003__b1197964664812">1</strong>: small type, which supports up to 10,000 SNAT connections.</li><li id="nat_api_0003__li167015465119"><strong id="nat_api_0003__b617071519396">2</strong>: medium type, which supports up to 50,000 SNAT connections.</li><li id="nat_api_0003__li567034195116"><strong id="nat_api_0003__b171721154398">3</strong>: large type, which supports up to 200,000 SNAT connections.</li><li id="nat_api_0003__li1567074175112"><strong id="nat_api_0003__b817410157391">4</strong>: extra-large type, which supports up to 1,000,000 SNAT connections.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row967013418512"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p18670241513">router_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p2670144155116">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__p126701419511">Specifies the router ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row86706419513"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p46700418514">internal_network_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p56701045510">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__p12670746512">Specifies the network ID of the downstream interface (the next hop of the DVR) of the NAT gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row2067015413511"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p76701143516">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p86704419513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><ul id="nat_api_0003__ul967015411514"><li id="nat_api_0003__li166706417517">Specifies the NAT gateway status.</li><li id="nat_api_0003__li196706414512">For details about all its values, see <a href="nat_api_0042.html#nat_api_0042__table1390614366107">Table 1</a>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row76701542515"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p19670443510">admin_state_up</p>
|
|
</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>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row1967044145114"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p1167011416513">created_at</p>
|
|
</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>
|
|
</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>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p12548144231816">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__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<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__p15286350201811">Specifies the ID of the enterprise project associated with the NAT gateway when the NAT gateway is created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row66365419186"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p66325411181">snat_rule_public_ip_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p7631854111811">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p46345461815">Specifies the maximum number of EIPs in an SNAT rule on a NAT gateway. The default value is <strong id="nat_api_0003__b193111746122115">20</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="nat_api_0003__row342310914191"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.4.4.2.4.1.1 "><p id="nat_api_0003__p242313951910">dnat_rules_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.18%" headers="mcps1.3.4.4.2.4.1.2 "><p id="nat_api_0003__p24231391193">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.4.4.2.4.1.3 "><p id="nat_api_0003__p442399161920">Specifies the maximum number of DNAT rules on a NAT gateway. The default value is <strong id="nat_api_0003__b10243104772113">200</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="nat_api_0003__section24937315"><h4 class="sectiontitle">Examples</h4><ul id="nat_api_0003__ul2598163912510"><li id="nat_api_0003__li1559814391654">Example request<pre class="screen" id="nat_api_0003__screen33760740102656">PUT https://{Endpoint}/v2.0/nat_gateways/a78fb3eb-1654-4710-8742-3fc49d5f04f8
|
|
{
|
|
"nat_gateway": {
|
|
"name": "new_name",
|
|
"description": "new description",
|
|
"spec": "1"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="nat_api_0003__ul1268411521652"><li id="nat_api_0003__li56841522518">Example response<pre class="screen" id="nat_api_0003__screen9913134666">{
|
|
"nat_gateway": {
|
|
"router_id": "d84f345c-80a1-4fa2-a39c-d0d397c3f09a",
|
|
"status": "ACTIVE",
|
|
"description": "new description",
|
|
"admin_state_up": true,
|
|
"tenant_id": "27e25061336f4af590faeabeb7fcd9a3",
|
|
"created_at": "2017-11-18 07:34:32.203044",
|
|
"spec": "1",
|
|
"internal_network_id": "89d66639-aacb-4929-969d-07080b0f9fd9",
|
|
"id": "a78fb3eb-1654-4710-8742-3fc49d5f04f8",
|
|
"billinginfo": "",
|
|
"dnat_rules_limit": 200,
|
|
"snat_rule_public_ip_limit": 20,
|
|
"freeze_info": null,
|
|
"sys_tags": [
|
|
"_sys_enterprise_project_id=0"
|
|
],
|
|
"name": "new_name"
|
|
}
|
|
} </pre>
|
|
</li></ul>
|
|
<div class="section" id="nat_api_0003__section6656623"><h4 class="sectiontitle">Status Codes</h4><p id="nat_api_0003__p7431898195432">See <a href="nat_api_0038.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="nat_api_0001.html">NAT Gateway Service</a></div>
|
|
</div>
|
|
</div>
|
|
|