forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: fanqinying <fanqinying@huawei.com> Co-committed-by: fanqinying <fanqinying@huawei.com>
541 lines
72 KiB
HTML
541 lines
72 KiB
HTML
<a name="vpc_apiroutetab_0004"></a><a name="vpc_apiroutetab_0004"></a>
|
|
|
|
<h1 class="topictitle1">Updating a Route Table</h1>
|
|
<div id="body1548666369734"><div class="section" id="vpc_apiroutetab_0004__section37919223219"><h4 class="sectiontitle">Function</h4><p id="vpc_apiroutetab_0004__p588237327">This API is used to update a route table.</p>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section1679182143213"><h4 class="sectiontitle">URI</h4><p id="vpc_apiroutetab_0004__p98813113214">PUT /v1/{project_id}/routetables/{routetable_id}</p>
|
|
<p id="vpc_apiroutetab_0004__p5448182217122"><a href="#vpc_apiroutetab_0004__table13791152173213">Table 1</a> describes the parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__table13791152173213"></a><a name="table13791152173213"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table13791152173213" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row168873193214"><th align="left" class="cellrowborder" valign="top" width="21.41%" id="mcps1.3.2.4.2.5.1.1"><p id="vpc_apiroutetab_0004__p68853103215"><strong id="vpc_apiroutetab_0004__b171292115326">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.45%" id="mcps1.3.2.4.2.5.1.2"><p id="vpc_apiroutetab_0004__p98820317327"><strong id="vpc_apiroutetab_0004__b45432022193214">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.57%" id="mcps1.3.2.4.2.5.1.3"><p id="vpc_apiroutetab_0004__p0881131329"><strong id="vpc_apiroutetab_0004__b14870323113211">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.57%" id="mcps1.3.2.4.2.5.1.4"><p id="vpc_apiroutetab_0004__p15889310320"><strong id="vpc_apiroutetab_0004__b86298247322">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row08816303216"><td class="cellrowborder" valign="top" width="21.41%" headers="mcps1.3.2.4.2.5.1.1 "><p id="vpc_apiroutetab_0004__p148818323216">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.45%" headers="mcps1.3.2.4.2.5.1.2 "><p id="vpc_apiroutetab_0004__p16881234320">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.2.4.2.5.1.3 "><p id="vpc_apiroutetab_0004__p48817317322">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.2.4.2.5.1.4 "><p id="vpc_apiroutetab_0004__p10487112">Specifies the project ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row138817315320"><td class="cellrowborder" valign="top" width="21.41%" headers="mcps1.3.2.4.2.5.1.1 "><p id="vpc_apiroutetab_0004__p15881132322">routetable_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.45%" headers="mcps1.3.2.4.2.5.1.2 "><p id="vpc_apiroutetab_0004__p14881316326">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.2.4.2.5.1.3 "><p id="vpc_apiroutetab_0004__p208823203219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.2.4.2.5.1.4 "><p id="vpc_apiroutetab_0004__p14885353216">Specifies the route table ID that uniquely identifies a route table.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section479172103214"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table157917218327" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameter</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row0885373219"><th align="left" class="cellrowborder" valign="top" width="21.65%" id="mcps1.3.3.2.2.5.1.1"><p id="vpc_apiroutetab_0004__p10881339324"><strong id="vpc_apiroutetab_0004__b03287466322">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.65%" id="mcps1.3.3.2.2.5.1.2"><p id="vpc_apiroutetab_0004__p108815313210"><strong id="vpc_apiroutetab_0004__b7751347103213">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.71%" id="mcps1.3.3.2.2.5.1.3"><p id="vpc_apiroutetab_0004__p98818353211"><strong id="vpc_apiroutetab_0004__b495244713220">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.99%" id="mcps1.3.3.2.2.5.1.4"><p id="vpc_apiroutetab_0004__p58814311322"><strong id="vpc_apiroutetab_0004__b8653154873217">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row48813312324"><td class="cellrowborder" valign="top" width="21.65%" headers="mcps1.3.3.2.2.5.1.1 "><p id="vpc_apiroutetab_0004__p38820319328">routetable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.65%" headers="mcps1.3.3.2.2.5.1.2 "><p id="vpc_apiroutetab_0004__p28863193215">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.2.2.5.1.3 "><p id="vpc_apiroutetab_0004__p168816373212"><a href="#vpc_apiroutetab_0004__table188071229326">routetable</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.99%" headers="mcps1.3.3.2.2.5.1.4 "><p id="vpc_apiroutetab_0004__p10881833322">Specifies the route table. For details, see <a href="#vpc_apiroutetab_0004__table188071229326">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__table188071229326"></a><a name="table188071229326"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table188071229326" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of the <strong id="vpc_apiroutetab_0004__b107605568322">routetable</strong> field</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row9882333213"><th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.3.3.2.5.1.1"><p id="vpc_apiroutetab_0004__p16886333219"><strong id="vpc_apiroutetab_0004__b11239419173316">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.3.3.2.5.1.2"><p id="vpc_apiroutetab_0004__p19882315323"><strong id="vpc_apiroutetab_0004__b516002013317">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.3.3.2.5.1.3"><p id="vpc_apiroutetab_0004__p108823193217"><strong id="vpc_apiroutetab_0004__b81811621143315">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41.835816418358164%" id="mcps1.3.3.3.2.5.1.4"><p id="vpc_apiroutetab_0004__p4881032328"><strong id="vpc_apiroutetab_0004__b4924132120335">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row78843163213"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.1 "><p id="vpc_apiroutetab_0004__p1188336328">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.2 "><p id="vpc_apiroutetab_0004__p17889315320">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.3 "><p id="vpc_apiroutetab_0004__p1688633326">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.835816418358164%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul1288103103211"><li id="vpc_apiroutetab_0004__li18881334325">Specifies the route table name.</li><li id="vpc_apiroutetab_0004__li14889353213">The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row9887314327"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.1 "><p id="vpc_apiroutetab_0004__p15881733323">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.2 "><p id="vpc_apiroutetab_0004__p7881139325">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.3 "><p id="vpc_apiroutetab_0004__p2881839327">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.835816418358164%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul1388331325"><li id="vpc_apiroutetab_0004__li19881332328">Provides supplementary information about the route.</li><li id="vpc_apiroutetab_0004__li10881233321">The value can contain up to 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row48813183211"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.1 "><p id="vpc_apiroutetab_0004__p158814373217">routes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.2 "><p id="vpc_apiroutetab_0004__p688331321">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.3.2.5.1.3 "><p id="vpc_apiroutetab_0004__p5561175914144"><a href="#vpc_apiroutetab_0004__request_RouteTableRouteAction">RouteTableRouteAction</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.835816418358164%" headers="mcps1.3.3.3.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul4882320328"><li id="vpc_apiroutetab_0004__li28810318328">Specifies the route list. For details, see <a href="#vpc_apiroutetab_0004__request_RouteTableRouteAction">Table 4</a>.</li><li id="vpc_apiroutetab_0004__li185003374464">Constraints:<ul id="vpc_apiroutetab_0004__ul13330184004617"><li id="vpc_apiroutetab_0004__li1688133123216">Each route table can have a maximum of 200 routes.</li><li id="vpc_apiroutetab_0004__li1661114310465">The destination cannot be modified directly. To modify the destination, run the <strong id="vpc_apiroutetab_0004__b39418541008">del</strong> command to delete the corresponding route, and then run the <strong id="vpc_apiroutetab_0004__b75871768116">add</strong> command to add a route.</li></ul>
|
|
</li><li id="vpc_apiroutetab_0004__li13519379411">Specifies the operation to perform. Possible values are as follows:<ul id="vpc_apiroutetab_0004__ul19543122334115"><li id="vpc_apiroutetab_0004__li6776111174112"><strong id="vpc_apiroutetab_0004__b14016261354">add</strong>: Adds a route. Parameters <strong id="vpc_apiroutetab_0004__b19391195544011">type</strong>, <strong id="vpc_apiroutetab_0004__b3562173144120">destination</strong>, and <strong id="vpc_apiroutetab_0004__b18126145411">nexthop</strong> are mandatory.</li><li id="vpc_apiroutetab_0004__li18458122604113"><strong id="vpc_apiroutetab_0004__b3469105393912">mod</strong>: Modifies a route. Parameters <strong id="vpc_apiroutetab_0004__b1158614154117">type</strong>, <strong id="vpc_apiroutetab_0004__b13587184174120">destination</strong>, and <strong id="vpc_apiroutetab_0004__b25875416419">nexthop</strong> are mandatory.</li><li id="vpc_apiroutetab_0004__li167302274416"><strong id="vpc_apiroutetab_0004__b1355823111428">del</strong>: Deletes a route. Parameter <strong id="vpc_apiroutetab_0004__b4607753255">destination</strong> is mandatory.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__request_RouteTableRouteAction"></a><a name="request_RouteTableRouteAction"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__request_RouteTableRouteAction" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Description of the <strong id="vpc_apiroutetab_0004__b0251196389">route</strong> field</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row18561145961414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="vpc_apiroutetab_0004__p13562205910148">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.510000000000002%" id="mcps1.3.3.4.2.5.1.2"><p id="vpc_apiroutetab_0004__p7562165910144">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.490000000000002%" id="mcps1.3.3.4.2.5.1.3"><p id="vpc_apiroutetab_0004__p135624597148">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="vpc_apiroutetab_0004__p256225912148">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row65611059151415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="vpc_apiroutetab_0004__p1256225913140">add</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.510000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="vpc_apiroutetab_0004__p17563205931419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.490000000000002%" headers="mcps1.3.3.4.2.5.1.3 "><p id="vpc_apiroutetab_0004__p185637592142">Array of <a href="#vpc_apiroutetab_0004__table11648235202119">AddRouteTableRoute</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="vpc_apiroutetab_0004__p1289403712273">Adds a route. For details, see <a href="#vpc_apiroutetab_0004__table11648235202119">Table 5</a>.</p>
|
|
<p id="vpc_apiroutetab_0004__p756385971416">Parameters <strong id="vpc_apiroutetab_0004__b419810132113">type</strong>, <strong id="vpc_apiroutetab_0004__b155578312110">destination</strong>, and <strong id="vpc_apiroutetab_0004__b154221768214">nexthop</strong> are mandatory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row55611959151417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="vpc_apiroutetab_0004__p18563155971412">mod</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.510000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="vpc_apiroutetab_0004__p17563155915144">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.490000000000002%" headers="mcps1.3.3.4.2.5.1.3 "><p id="vpc_apiroutetab_0004__p6564125917144">Array of <a href="#vpc_apiroutetab_0004__table1294364718262">ModRouteTableRoute</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="vpc_apiroutetab_0004__p1966164712716">Modifies a route. For details, see <a href="#vpc_apiroutetab_0004__table1294364718262">Table 6</a>.</p>
|
|
<p id="vpc_apiroutetab_0004__p205641359151417">Parameters <strong id="vpc_apiroutetab_0004__b7550141817213">type</strong>, <strong id="vpc_apiroutetab_0004__b1955018182211">destination</strong>, and <strong id="vpc_apiroutetab_0004__b19550418162113">nexthop</strong> are mandatory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row105611359101418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="vpc_apiroutetab_0004__p175643595142">del</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.510000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="vpc_apiroutetab_0004__p165641559161419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.490000000000002%" headers="mcps1.3.3.4.2.5.1.3 "><p id="vpc_apiroutetab_0004__p155641259161410">Array of <a href="#vpc_apiroutetab_0004__table27171519267">DelRouteTableRoute</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="vpc_apiroutetab_0004__p8766195672720">Deletes a route. For details, see <a href="#vpc_apiroutetab_0004__table27171519267">Table 7</a>.</p>
|
|
<p id="vpc_apiroutetab_0004__p165641959121410">Parameter <strong id="vpc_apiroutetab_0004__b6347113719216">destination</strong> is mandatory.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__table11648235202119"></a><a name="table11648235202119"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table11648235202119" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Field description of adding a route</caption><thead align="left"><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_row146621794617"><th align="left" class="cellrowborder" valign="top" width="20.61793820617938%" id="mcps1.3.3.5.2.5.1.1"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p1066181714620">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.58804119588041%" id="mcps1.3.3.5.2.5.1.2"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p146691710466">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.58804119588041%" id="mcps1.3.3.5.2.5.1.3"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p146661718466">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.205979402059796%" id="mcps1.3.3.5.2.5.1.4"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p66601774617">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_row8553154414415"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.5.2.5.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p7553044144118">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p9553134418419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.3 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p1155318441418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.205979402059796%" headers="mcps1.3.3.5.2.5.1.4 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_ul193021143425"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li13194174943813">Specifies the route type.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1719418493388">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul16261353173811"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li19020720376"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193325221666">ecs</strong> (ECS)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109021479374"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1829722314619">eni</strong> (NIC)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1790220753714"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b22746249616">vip</strong> (Virtual IP address)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li49028715373"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1928920893020">nat</strong> (NAT gateway)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109023723719"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1380518261296">peering</strong> (VPC peering connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3902777379"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b116334289290">vpn</strong> (VPN)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li490317183717"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b11814429112920">dc</strong> (Direct Connect connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li390320743713"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14690112514523">egw</strong>: VPC endpoint. This route type is not supported.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1762023194020"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b2082313198401">er</strong>: enterprise router</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li176942105378"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b19253062103">subeni</strong>: supplementary network interface. This type of route cannot be created or updated by users.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li89692309136"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b46488541257">local</strong>: reserved CIDR block. The destination CIDR block of the route configured cannot overlap with that defined by <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b12961114419475">local</strong>.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_row1866121774617"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.5.2.5.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p106613171468">destination</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p066101734618">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.3 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p96671720460">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.205979402059796%" headers="mcps1.3.3.5.2.5.1.4 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_vpc_apiroutetab_0001_ul1515313116131"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li2015312310139">Specifies the destination CIDR block of a route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li515316311133">Constraints: The value must be in valid IPv4 or IPv6 CIDR formats.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_row1966217104619"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.5.2.5.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p1166171714467">nexthop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p4662178463">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.3 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p366117134611">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.205979402059796%" headers="mcps1.3.3.5.2.5.1.4 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_vpc_apiroutetab_0001_ul1815303118137"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li139928812396">Specifies the ID of the next hop in the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3992684394">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul7886201515396"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li699210815391">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1133715543297">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193381354102918">ecs</strong>, the value is an ECS ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1499208133920">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b5230155652910">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1323015560298">eni</strong>, the value is an extension NIC ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109922818396">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b103481157192910">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1034917576294">vip</strong>, the value is a virtual IP address.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li11992583397">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b4409558182911">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b20410195822918">nat</strong>, the value a NAT gateway ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li119929819391">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b7522159152914">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1452215962914">peering</strong>, the value is a VPC peering connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1399220813913">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b32791405309">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14280110143012">vpn</strong>, the value is a VPN ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li179925810397">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b9222016303">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b162248163015">dc</strong>, the value is a Direct Connect connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li4774843203312">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b137248253258">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b8510112852517">egw</strong>, the value is a VPC endpoint ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li7973111319409">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b251935344110">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b185198539416">er</strong>, the value is the ID of an enterprise router.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li5776204312381">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b08319964316">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b3835954312">subeni</strong>, the value is the ID of a supplementary network interface.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_row12884647144112"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.5.2.5.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p28841847164118">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p988474724117">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.58804119588041%" headers="mcps1.3.3.5.2.5.1.3 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_p158841747174120">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.205979402059796%" headers="mcps1.3.3.5.2.5.1.4 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0003_ul92069015439"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li15155201024020">Provides supplementary information about the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li415520107401">The value can contain up to 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__table1294364718262"></a><a name="table1294364718262"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table1294364718262" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Field description of modifying a route</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row1294318472265"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.6.2.5.1.1"><p id="vpc_apiroutetab_0004__p159435479261">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.6.2.5.1.2"><p id="vpc_apiroutetab_0004__p10943847112619">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.57%" id="mcps1.3.3.6.2.5.1.3"><p id="vpc_apiroutetab_0004__p189431047122617">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35.43%" id="mcps1.3.3.6.2.5.1.4"><p id="vpc_apiroutetab_0004__p15943194792615">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row594314472269"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="vpc_apiroutetab_0004__p1794304752615">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.2 "><p id="vpc_apiroutetab_0004__p149431747142612">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.6.2.5.1.3 "><p id="vpc_apiroutetab_0004__p1994354732610">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.6.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul159439476267"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li13194174943813_1">Specifies the route type.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1719418493388_1">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul16261353173811_1"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li19020720376_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193325221666_1">ecs</strong> (ECS)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109021479374_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1829722314619_1">eni</strong> (NIC)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1790220753714_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b22746249616_1">vip</strong> (Virtual IP address)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li49028715373_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1928920893020_1">nat</strong> (NAT gateway)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109023723719_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1380518261296_1">peering</strong> (VPC peering connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3902777379_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b116334289290_1">vpn</strong> (VPN)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li490317183717_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b11814429112920_1">dc</strong> (Direct Connect connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li390320743713_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14690112514523_1">egw</strong>: VPC endpoint. This route type is not supported.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1762023194020_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b2082313198401_1">er</strong>: enterprise router</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li176942105378_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b19253062103_1">subeni</strong>: supplementary network interface. This type of route cannot be created or updated by users.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li89692309136_1"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b46488541257_1">local</strong>: reserved CIDR block. The destination CIDR block of the route configured cannot overlap with that defined by <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b12961114419475_1">local</strong>.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row4944164752613"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="vpc_apiroutetab_0004__p994484716266">destination</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.2 "><p id="vpc_apiroutetab_0004__p39441647172620">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.6.2.5.1.3 "><p id="vpc_apiroutetab_0004__p794454732617">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.6.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul16944147182612"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li2015312310139_1">Specifies the destination CIDR block of a route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li515316311133_1">Constraints: The value must be in valid IPv4 or IPv6 CIDR formats.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row59441147132616"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="vpc_apiroutetab_0004__p10944114772616">nexthop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.2 "><p id="vpc_apiroutetab_0004__p8944154711266">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.6.2.5.1.3 "><p id="vpc_apiroutetab_0004__p16944114732610">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.6.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul794484713268"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li139928812396_1">Specifies the ID of the next hop in the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3992684394_1">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul7886201515396_1"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li699210815391_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1133715543297_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193381354102918_1">ecs</strong>, the value is an ECS ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1499208133920_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b5230155652910_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1323015560298_1">eni</strong>, the value is an extension NIC ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109922818396_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b103481157192910_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1034917576294_1">vip</strong>, the value is a virtual IP address.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li11992583397_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b4409558182911_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b20410195822918_1">nat</strong>, the value a NAT gateway ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li119929819391_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b7522159152914_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1452215962914_1">peering</strong>, the value is a VPC peering connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1399220813913_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b32791405309_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14280110143012_1">vpn</strong>, the value is a VPN ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li179925810397_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b9222016303_1">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b162248163015_1">dc</strong>, the value is a Direct Connect connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li4774843203312_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b137248253258_1">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b8510112852517_1">egw</strong>, the value is a VPC endpoint ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li7973111319409_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b251935344110_1">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b185198539416_1">er</strong>, the value is the ID of an enterprise router.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li5776204312381_1">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b08319964316_1">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b3835954312_1">subeni</strong>, the value is the ID of a supplementary network interface.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row4945447192616"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="vpc_apiroutetab_0004__p594564712264">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.2 "><p id="vpc_apiroutetab_0004__p894574752612">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.6.2.5.1.3 "><p id="vpc_apiroutetab_0004__p894574712620">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.6.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul294513478269"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li15155201024020_1">Provides supplementary information about the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li415520107401_1">The value can contain up to 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__table27171519267"></a><a name="table27171519267"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table27171519267" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Field description of deleting a route</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row271715510269"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.7.2.5.1.1"><p id="vpc_apiroutetab_0004__p11717135182615">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.7.2.5.1.2"><p id="vpc_apiroutetab_0004__p97171951152619">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.57%" id="mcps1.3.3.7.2.5.1.3"><p id="vpc_apiroutetab_0004__p77170519262">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35.43%" id="mcps1.3.3.7.2.5.1.4"><p id="vpc_apiroutetab_0004__p07171751192611">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row16717125110269"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="vpc_apiroutetab_0004__p18717155111267">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.2 "><p id="vpc_apiroutetab_0004__p14717195192610">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.7.2.5.1.3 "><p id="vpc_apiroutetab_0004__p13717115182618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.7.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul97171515262"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li13194174943813_2">Specifies the route type.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1719418493388_2">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul16261353173811_2"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li19020720376_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193325221666_2">ecs</strong> (ECS)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109021479374_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1829722314619_2">eni</strong> (NIC)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1790220753714_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b22746249616_2">vip</strong> (Virtual IP address)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li49028715373_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1928920893020_2">nat</strong> (NAT gateway)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109023723719_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1380518261296_2">peering</strong> (VPC peering connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3902777379_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b116334289290_2">vpn</strong> (VPN)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li490317183717_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b11814429112920_2">dc</strong> (Direct Connect connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li390320743713_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14690112514523_2">egw</strong>: VPC endpoint. This route type is not supported.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1762023194020_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b2082313198401_2">er</strong>: enterprise router</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li176942105378_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b19253062103_2">subeni</strong>: supplementary network interface. This type of route cannot be created or updated by users.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li89692309136_2"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b46488541257_2">local</strong>: reserved CIDR block. The destination CIDR block of the route configured cannot overlap with that defined by <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b12961114419475_2">local</strong>.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row571820518268"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="vpc_apiroutetab_0004__p5718951172618">destination</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.2 "><p id="vpc_apiroutetab_0004__p1771815182614">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.7.2.5.1.3 "><p id="vpc_apiroutetab_0004__p9718165116265">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.7.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul187185516265"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li2015312310139_2">Specifies the destination CIDR block of a route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li515316311133_2">Constraints: The value must be in valid IPv4 or IPv6 CIDR formats.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row471845122613"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="vpc_apiroutetab_0004__p1371810512262">nexthop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.2 "><p id="vpc_apiroutetab_0004__p671875118263">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.7.2.5.1.3 "><p id="vpc_apiroutetab_0004__p771865142612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.7.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul27181351142613"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li139928812396_2">Specifies the ID of the next hop in the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3992684394_2">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul7886201515396_2"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li699210815391_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1133715543297_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193381354102918_2">ecs</strong>, the value is an ECS ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1499208133920_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b5230155652910_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1323015560298_2">eni</strong>, the value is an extension NIC ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109922818396_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b103481157192910_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1034917576294_2">vip</strong>, the value is a virtual IP address.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li11992583397_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b4409558182911_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b20410195822918_2">nat</strong>, the value a NAT gateway ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li119929819391_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b7522159152914_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1452215962914_2">peering</strong>, the value is a VPC peering connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1399220813913_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b32791405309_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14280110143012_2">vpn</strong>, the value is a VPN ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li179925810397_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b9222016303_2">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b162248163015_2">dc</strong>, the value is a Direct Connect connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li4774843203312_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b137248253258_2">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b8510112852517_2">egw</strong>, the value is a VPC endpoint ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li7973111319409_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b251935344110_2">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b185198539416_2">er</strong>, the value is the ID of an enterprise router.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li5776204312381_2">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b08319964316_2">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b3835954312_2">subeni</strong>, the value is the ID of a supplementary network interface.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__row6718175111267"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="vpc_apiroutetab_0004__p471875102613">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.2 "><p id="vpc_apiroutetab_0004__p1371875162620">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.57%" headers="mcps1.3.3.7.2.5.1.3 "><p id="vpc_apiroutetab_0004__p7718251142618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.43%" headers="mcps1.3.3.7.2.5.1.4 "><ul id="vpc_apiroutetab_0004__ul37181651152610"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li15155201024020_2">Provides supplementary information about the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li415520107401_2">The value can contain up to 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section362153475112"><h4 class="sectiontitle">Example Request</h4><ul id="vpc_apiroutetab_0004__ul12886538125113"><li id="vpc_apiroutetab_0004__li1088614380512">Change the route table whose ID is 3d42a0d4-a980-4613-ae76-a2cddecff054, add a route with next hop type of ECS, modify the route with next hop type of ECS, and delete the route whose destination is 20.20.10.0/24.<pre class="screen" id="vpc_apiroutetab_0004__screen188853173213">PUT https://{Endpoint}/v1/6fbe9263116a4b68818cf1edce16bc4f/routetables/3d42a0d4-a980-4613-ae76-a2cddecff054
|
|
|
|
{
|
|
"routetable": {
|
|
"name": "routertable-789",
|
|
"description": "abc",
|
|
"routes": {
|
|
"add": [
|
|
{
|
|
"type": "ecs",
|
|
"destination": "10.10.10.0/24",
|
|
"nexthop": "7c50463d-d36c-4417-aa85-cc11fa10f341",
|
|
"description": "abc"
|
|
}
|
|
],
|
|
"mod": [
|
|
{
|
|
"type": "ecs",
|
|
"destination": "20.10.10.0/24",
|
|
"nexthop": "7c50463d-d36c-4417-aa85-cc11fa10f341",
|
|
"description": "abc"
|
|
}
|
|
],
|
|
"del": [
|
|
{
|
|
"destination": "20.20.10.0/24"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
<p id="vpc_apiroutetab_0004__p188810393220"></p>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section690013243210"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table18916522328" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response parameter</caption><thead align="left"><tr id="vpc_apiroutetab_0004__row14881436321"><th align="left" class="cellrowborder" valign="top" width="22.45%" id="mcps1.3.5.2.2.4.1.1"><p id="vpc_apiroutetab_0004__p788113143214"><strong id="vpc_apiroutetab_0004__b144522117305">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="31.630000000000003%" id="mcps1.3.5.2.2.4.1.2"><p id="vpc_apiroutetab_0004__p1388339329"><strong id="vpc_apiroutetab_0004__b1741012222309">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45.92%" id="mcps1.3.5.2.2.4.1.3"><p id="vpc_apiroutetab_0004__p58811353216"><strong id="vpc_apiroutetab_0004__b299619253">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__row14881635326"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.2.2.4.1.1 "><p id="vpc_apiroutetab_0004__p588153193214">routetable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.630000000000003%" headers="mcps1.3.5.2.2.4.1.2 "><p id="vpc_apiroutetab_0004__p2088123113220"><a href="#vpc_apiroutetab_0004__table884119412392">routetable</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.92%" headers="mcps1.3.5.2.2.4.1.3 "><p id="vpc_apiroutetab_0004__p108816311327">Specifies the route table. For details, see <a href="#vpc_apiroutetab_0004__table884119412392">Table 9</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_apiroutetab_0004__table884119412392"></a><a name="table884119412392"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table884119412392" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Description of the <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b52771421125615">routetable</strong> field</caption><thead align="left"><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row2153143113131"><th align="left" class="cellrowborder" valign="top" width="22.45%" id="mcps1.3.5.3.2.4.1.1"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p11153203171311"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b950108994">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.45%" id="mcps1.3.5.3.2.4.1.2"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p16153103141315"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1273333645">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.1%" id="mcps1.3.5.3.2.4.1.3"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p41531131161315"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b10474913914">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row101531031111314"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p151531313136">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p315343151313">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul1815353171319"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li181532318139">Specifies the route table ID that uniquely identifies the route table.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li3153531201316">The value must be in standard UUID format.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row191533312137"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p91531631181315">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p10153163111137">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul1915323113139"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li3153113115138">Specifies the route table name.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li171531731181319">The value can contain up to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row7153331191314"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p1815318314131">default</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p4153331111318">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul51531531151314"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li2153123111137">Specifies whether the route table is the default one.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li915313171311">The value can be <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b203715672411">true</strong> (default route table) or <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1432413552514">false</strong> (custom route table).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_row512113911571"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p1122203915571">routes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p1269685835715">Array of <a href="vpc_apiroutetab_0002.html#vpc_apiroutetab_0002__table1687317463915">route</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul086816394595"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li15868103955918">Specifies the route list. For details, see <a href="vpc_apiroutetab_0002.html#vpc_apiroutetab_0002__table1687317463915">Table 4</a>.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li326581711292">Each route table can have a maximum of 200 routes.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row515318312131"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p14153133111134">subnets</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p315315313135">Array of <a href="vpc_apiroutetab_0002.html#vpc_apiroutetab_0002__table17950204203919">subnet</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul3153431131314"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li171536312133">Specifies the subnets associated with the route table. For details, see <a href="vpc_apiroutetab_0002.html#vpc_apiroutetab_0002__table17950204203919">Table 5</a>.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li10153831121316">Only subnets in the VPC to which the route table belongs can be associated with the route table.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row31531731141313"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p1715333191318">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p9153173114136">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul16478202755010"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li1547832714507">Specifies the project ID.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row1915313114132"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p1415393118135">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p81531531201312">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul31089364503"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li12108133610504">Specifies the ID of the VPC associated with the route table.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row1215373114136"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p161536314133">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p181538313131">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul9153531151310"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li915323112133">Provides supplementary information about the route table.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li1415323111313">The value can contain up to 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_row926474142118"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p106711441172119">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p867112418216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul13463133512"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li114610173513">Specifies the time (UTC) when the route table is created.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li84711133511">Format: <em id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_i578012564225">yyyy-MM-ddTHH:mm:ss</em></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_row72651641182114"><td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p96711541192118">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p1467116412217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.1%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul9899124133520"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li128991544351">Specifies the time (UTC) when the route table is updated.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li989913413351">Format: <em id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_i2057616117235">yyyy-MM-ddTHH:mm:ss</em></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table1687317463915" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Description of the <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1637410588517">route</strong> field</caption><thead align="left"><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row515383161311"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.5.4.2.4.1.1"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p2153931101310">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.4.2.4.1.2"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p3153173181310">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54.55%" id="mcps1.3.5.4.2.4.1.3"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p1415312315135">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_row1279917312363"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p1480043123618">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p158001311368">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.55%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul18902107153719"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li13194174943813_3">Specifies the route type.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1719418493388_3">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul16261353173811_3"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li19020720376_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193325221666_3">ecs</strong> (ECS)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109021479374_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1829722314619_3">eni</strong> (NIC)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1790220753714_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b22746249616_3">vip</strong> (Virtual IP address)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li49028715373_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1928920893020_3">nat</strong> (NAT gateway)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109023723719_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1380518261296_3">peering</strong> (VPC peering connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3902777379_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b116334289290_3">vpn</strong> (VPN)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li490317183717_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b11814429112920_3">dc</strong> (Direct Connect connection)</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li390320743713_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14690112514523_3">egw</strong>: VPC endpoint. This route type is not supported.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1762023194020_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b2082313198401_3">er</strong>: enterprise router</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li176942105378_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b19253062103_3">subeni</strong>: supplementary network interface. This type of route cannot be created or updated by users.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li89692309136_3"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b46488541257_3">local</strong>: reserved CIDR block. The destination CIDR block of the route configured cannot overlap with that defined by <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b12961114419475_3">local</strong>.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row1815318312139"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p315333113133">destination</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p815343121311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.55%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_ul1515313116131"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li2015312310139_3">Specifies the destination CIDR block of a route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_li515316311133_3">Constraints: The value must be in valid IPv4 or IPv6 CIDR formats.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row915313171320"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p1153173111318">nexthop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p141531331141316">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.55%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul99929820391"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li139928812396_3">Specifies the ID of the next hop in the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li3992684394_3">Values:<ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul7886201515396_3"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li699210815391_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1133715543297_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b193381354102918_3">ecs</strong>, the value is an ECS ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1499208133920_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b5230155652910_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1323015560298_3">eni</strong>, the value is an extension NIC ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li109922818396_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b103481157192910_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1034917576294_3">vip</strong>, the value is a virtual IP address.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li11992583397_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b4409558182911_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b20410195822918_3">nat</strong>, the value a NAT gateway ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li119929819391_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b7522159152914_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b1452215962914_3">peering</strong>, the value is a VPC peering connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li1399220813913_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b32791405309_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b14280110143012_3">vpn</strong>, the value is a VPN ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li179925810397_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b9222016303_3">type</strong> is <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b162248163015_3">dc</strong>, the value is a Direct Connect connection ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li4774843203312_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b137248253258_3">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b8510112852517_3">egw</strong>, the value is a VPC endpoint ID.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li7973111319409_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b251935344110_3">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b185198539416_3">er</strong>, the value is the ID of an enterprise router.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li5776204312381_3">When <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b08319964316_3">type</strong> is set to <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_b3835954312_3">subeni</strong>, the value is the ID of a supplementary network interface.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_row1343283418367"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p13432734173616">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_p19432133423620">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.55%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_ul18155710164020"><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li15155201024020_3">Provides supplementary information about the route.</li><li id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_li415520107401_3">The value can contain up to 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0004__table17950204203919" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Description of the <strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_b14181491115">subnet</strong> field</caption><thead align="left"><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row171531331131310"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.5.5.2.4.1.1"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p6153173121320"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_b1935205112115">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.5.2.4.1.2"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p191537315136"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_b1646311523114">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54.55%" id="mcps1.3.5.5.2.4.1.3"><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p15153173119138"><strong id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_b193346530117">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_row1015343151311"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.5.5.2.4.1.1 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p1153153110133">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.5.2.4.1.2 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p8153163112134">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.55%" headers="mcps1.3.5.5.2.4.1.3 "><p id="vpc_apiroutetab_0004__vpc_apiroutetab_0002_vpc_apiroutetab_0001_p141761235103513">Specifies the ID of the subnet associated with the route table.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section1721414588514"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="vpc_apiroutetab_0004__screen1690747104413">{
|
|
"routetable": {
|
|
"id": "3d42a0d4-a980-4613-ae76-a2cddecff054",
|
|
"vpc_id": "ab78be2d-782f-42a5-aa72-35879f6890ff",
|
|
"description": "abc",
|
|
"default": false,
|
|
"routes": [
|
|
{
|
|
"type": "ecs",
|
|
"destination": "10.10.10.0/24",
|
|
"nexthop": "7c50463d-d36c-4417-aa85-cc11fa10f341",
|
|
"description": "abc"
|
|
}
|
|
],
|
|
"subnets": [
|
|
{
|
|
"id": "8d4ce32f-d68a-4c4c-9f18-c68d8a5c7f2f"
|
|
}
|
|
],
|
|
"tenant_id": "6fbe9263116a4b68818cf1edce16bc4f",
|
|
"created_at": "2022-12-15T02:56:40",
|
|
"updated_at": "2022-12-15T03:03:42"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_apiroutetab_0004__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="vpc_apiroutetab_0004__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_apiroutetab_0004__p7233105282813">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="vpc_apiroutetab_0000.html">Route Table</a></div>
|
|
</div>
|
|
</div>
|
|
|