doc-exports/docs/er/api-ref/ListStaticRoutes.html
fanqinying ccc163eb84 ER API 20240805 version
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>
2024-11-21 11:14:33 +00:00

348 lines
25 KiB
HTML

<a name="ListStaticRoutes"></a><a name="ListStaticRoutes"></a>
<h1 class="topictitle1">Querying Static Routes</h1>
<div id="body1708331107508"><div class="section" id="ListStaticRoutes__section12106935329"><h4 class="sectiontitle">Function</h4><p id="ListStaticRoutes__p810714352028">This API is used to query static routes.</p>
</div>
<div class="section" id="ListStaticRoutes__section41075356212"><h4 class="sectiontitle">Constraints</h4><ul id="ListStaticRoutes__ul14107143513212"><li id="ListStaticRoutes__li12107193519213">Pagination query is supported. The supported query criteria are <strong id="ListStaticRoutes__b12107183519213">destination</strong>, <strong id="ListStaticRoutes__b210723516219">attachment_id</strong>, <strong id="ListStaticRoutes__b1110773510218">resource_type</strong>, and <strong id="ListStaticRoutes__b161070351025">type</strong>.</li><li id="ListStaticRoutes__li151071535723">Only sorting by a single field (<strong id="ListStaticRoutes__b151074356219">id</strong>, <strong id="ListStaticRoutes__b13107193511217">destination</strong>, <strong id="ListStaticRoutes__b1710710351328">created_at</strong>, or <strong id="ListStaticRoutes__b510713351215">updated_at</strong>) is supported.</li></ul>
</div>
<div class="section" id="ListStaticRoutes__section15107035224"><h4 class="sectiontitle">URI</h4><p id="ListStaticRoutes__p810773512215">GET /v3/{project_id}/enterprise-router/route-tables/{route_table_id}/static-routes</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__table910813351210" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ListStaticRoutes__row2010814351024"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ListStaticRoutes__p11108835424">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ListStaticRoutes__p9108163519215">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ListStaticRoutes__p910913516211">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ListStaticRoutes__p1810917351728">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row131081835125"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListStaticRoutes__p181091235526">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListStaticRoutes__p1410911358212">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListStaticRoutes__p171095351421">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListStaticRoutes__p1109183517212">Project ID</p>
</td>
</tr>
<tr id="ListStaticRoutes__row181089351621"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListStaticRoutes__p91090352023">route_table_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListStaticRoutes__p31096351927">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListStaticRoutes__p310933517211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListStaticRoutes__p81106351520">Route table ID</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__table6110153516218" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="ListStaticRoutes__row211023516219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="ListStaticRoutes__p11111203520214">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="ListStaticRoutes__p17111143510218">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="ListStaticRoutes__p131111351328">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="ListStaticRoutes__p21118351429">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row1111015359211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p3111143516215">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p2111133516217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p91115356212">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p611116351212">Number of records on each page. Value range: <strong id="ListStaticRoutes__b61121351820">0</strong> to <strong id="ListStaticRoutes__b9112163515218">2000</strong></p>
<p id="ListStaticRoutes__p1711253512213">Minimum: <strong id="ListStaticRoutes__b181121735229">0</strong></p>
<p id="ListStaticRoutes__p1411215358211">Maximum: <strong id="ListStaticRoutes__b311223513215">2000</strong></p>
</td>
</tr>
<tr id="ListStaticRoutes__row6110193511214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p1112103516220">marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p1411293513211">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p31128353215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p911216357213">ID of the last enterprise router on the previous page. If this parameter is left blank, the first page is queried. This parameter must be used together with limit.</p>
<p id="ListStaticRoutes__p011273515212">Minimum: <strong id="ListStaticRoutes__b311263518212">1</strong></p>
<p id="ListStaticRoutes__p20113123517217">Maximum: <strong id="ListStaticRoutes__b1111313511211">128</strong></p>
</td>
</tr>
<tr id="ListStaticRoutes__row1711073518219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p01139352024">destination</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p6113335927">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p20113163514219">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p1811316359213">Destination address of the route</p>
</td>
</tr>
<tr id="ListStaticRoutes__row31105351122"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p1211323519213">attachment_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p111314351222">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p1311353518210">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p201132353210">Attachment ID</p>
</td>
</tr>
<tr id="ListStaticRoutes__row1811017351229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p101136351928">resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p211415351429">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p8114103512218">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p711411352023">Attachment type.</p>
<ul id="ListStaticRoutes__ul14114935726"><li id="ListStaticRoutes__li111473518215"><strong id="ListStaticRoutes__b1911433515218">vpc</strong>: VPC attachment</li></ul>
</td>
</tr>
<tr id="ListStaticRoutes__row10110163513215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p1311403511214">sort_key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p18114113514215">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p41142358213">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p8114535121">Keyword for sorting. The keyword can be <strong id="ListStaticRoutes__b171151535123">id</strong>, <strong id="ListStaticRoutes__b611515351529">name</strong>, or <strong id="ListStaticRoutes__b3115183515213">state</strong>. By default, <strong id="ListStaticRoutes__b15115103513215">id</strong> is used.</p>
</td>
</tr>
<tr id="ListStaticRoutes__row811083518218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStaticRoutes__p3115035329">sort_dir</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStaticRoutes__p911513351226">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStaticRoutes__p411514351922">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStaticRoutes__p17115435225">Sorting order. There are two value options: <strong id="ListStaticRoutes__b1711512355213">asc</strong> (ascending order) and <strong id="ListStaticRoutes__b1311518353218">desc</strong> (descending order). The default value is <strong id="ListStaticRoutes__b1811513351929">asc</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListStaticRoutes__section711593518212"><h4 class="sectiontitle">Request Parameters</h4><p id="ListStaticRoutes__p20115133518218">None</p>
</div>
<div class="section" id="ListStaticRoutes__section511513351822"><h4 class="sectiontitle">Response Parameters</h4><p id="ListStaticRoutes__p17116935923"><strong id="ListStaticRoutes__b411663519216">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__response_ListRoutes" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="ListStaticRoutes__row1311663515217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="ListStaticRoutes__p811611352212">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="ListStaticRoutes__p1111618353219">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="ListStaticRoutes__p16117183518219">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row71167351422"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListStaticRoutes__p1511712351127">routes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListStaticRoutes__p81171351823">Array of <a href="#ListStaticRoutes__response_Route">Route</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListStaticRoutes__p18117193520214">Routes</p>
</td>
</tr>
<tr id="ListStaticRoutes__row14116183520216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListStaticRoutes__p21173358219">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListStaticRoutes__p1711719356213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListStaticRoutes__p1311843518214">Request ID</p>
</td>
</tr>
<tr id="ListStaticRoutes__row1911683514212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListStaticRoutes__p201184355216">page_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListStaticRoutes__p13118173519219"><a href="#ListStaticRoutes__response_PageInfo">PageInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListStaticRoutes__p711813351229">Pagination query information</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListStaticRoutes__response_Route"></a><a name="response_Route"></a><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__response_Route" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Route</caption><thead align="left"><tr id="ListStaticRoutes__row811817356210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="ListStaticRoutes__p9119935428">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="ListStaticRoutes__p18119335920">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="ListStaticRoutes__p51196356215">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row10118193511217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p1511953511215">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p511917352218">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p1119163516214">Route ID</p>
</td>
</tr>
<tr id="ListStaticRoutes__row61181935326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p111205352220">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p101201535926">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p11200351324">Route type. The value is <strong id="ListStaticRoutes__b5120113516219">static</strong>.</p>
</td>
</tr>
<tr id="ListStaticRoutes__row21186351229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p7120163514211">state</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p141205351217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p6120435628">Route status. Value options: <strong id="ListStaticRoutes__b8120133517218">pending</strong>, <strong id="ListStaticRoutes__b91201235227">available</strong>, <strong id="ListStaticRoutes__b161201235625">modifying</strong>, <strong id="ListStaticRoutes__b10120535322">deleting</strong>, <strong id="ListStaticRoutes__b61206354217">deleted</strong>, and <strong id="ListStaticRoutes__b10120035929">failed</strong></p>
</td>
</tr>
<tr id="ListStaticRoutes__row1311814352214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p101201535629">is_blackhole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p1712033511212">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p181211735122">Whether the route is a blackhole route</p>
</td>
</tr>
<tr id="ListStaticRoutes__row3118203511211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p16121535827">destination</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p11211235726">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p6121735125">Destination address of the route</p>
</td>
</tr>
<tr id="ListStaticRoutes__row9118123514210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p7121133511214">attachments</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p81211035320">Array of <a href="#ListStaticRoutes__response_RouteAttachment">RouteAttachment</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p41211935026">Next hops</p>
</td>
</tr>
<tr id="ListStaticRoutes__row3118143513212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p212117357219">route_table_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p9121133519215">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p1122143517219">Route table ID</p>
</td>
</tr>
<tr id="ListStaticRoutes__row11198358211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p112273517217">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p181225351429">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p1612216358217">Creation time in the format YYYY-MM-DDTHH:mm:ss.sssZ</p>
</td>
</tr>
<tr id="ListStaticRoutes__row1011918351229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStaticRoutes__p6122113517215">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStaticRoutes__p212211352211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStaticRoutes__p61222353212">Update time in the format YYYY-MM-DDTHH:mm:ss.sssZ</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListStaticRoutes__response_RouteAttachment"></a><a name="response_RouteAttachment"></a><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__response_RouteAttachment" frame="border" border="1" rules="all"><caption><b>Table 5 </b>RouteAttachment</caption><thead align="left"><tr id="ListStaticRoutes__row1122153517216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="ListStaticRoutes__p1512310351823">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="ListStaticRoutes__p912393514215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="ListStaticRoutes__p12123163516212">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row71228351327"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ListStaticRoutes__p71231235928">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ListStaticRoutes__p1012373512219">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ListStaticRoutes__p1312343519215">Attached resource ID</p>
</td>
</tr>
<tr id="ListStaticRoutes__row81220351321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ListStaticRoutes__p7124203517211">resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ListStaticRoutes__p1612419352211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ListStaticRoutes__p11244350220">Attachment type.</p>
<ul id="ListStaticRoutes__ul1312411352024"><li id="ListStaticRoutes__li8124143516215"><strong id="ListStaticRoutes__b1112493513211">vpc</strong>: VPC attachment</li></ul>
</td>
</tr>
<tr id="ListStaticRoutes__row171232356217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ListStaticRoutes__p1112415351525">attachment_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ListStaticRoutes__p4124123515218">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ListStaticRoutes__p51241835427">Attachment ID</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="ListStaticRoutes__response_PageInfo"></a><a name="response_PageInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__response_PageInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>PageInfo</caption><thead align="left"><tr id="ListStaticRoutes__row312523514216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.1"><p id="ListStaticRoutes__p41251235926">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.2"><p id="ListStaticRoutes__p1012519351923">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.6.2.4.1.3"><p id="ListStaticRoutes__p1212516351326">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row131251351021"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="ListStaticRoutes__p61255351721">next_marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="ListStaticRoutes__p1412614354210">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="ListStaticRoutes__p1712612351828">Marker of the next page. The value is the resource UUID. If the value is empty, the resource is on the last page.</p>
</td>
</tr>
<tr id="ListStaticRoutes__row212513511216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="ListStaticRoutes__p19126163510218">current_count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="ListStaticRoutes__p21261835628">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="ListStaticRoutes__p2126193519210">Number of resources in the list</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListStaticRoutes__section912610351625"><h4 class="sectiontitle">Example Requests</h4><p id="ListStaticRoutes__p21261935026">Querying static routes</p>
<pre class="screen" id="ListStaticRoutes__screen512653510210">GET https://{erouter_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/enterprise-router/route-tables/915a14a6-867b-4af7-83d1-70efceb146f5/static-routes</pre>
</div>
<div class="section" id="ListStaticRoutes__section161267359213"><h4 class="sectiontitle">Example Responses</h4><p id="ListStaticRoutes__p512713351823"><strong id="ListStaticRoutes__b71271935621">Status code: 200</strong></p>
<p id="ListStaticRoutes__p212714355213">OK</p>
<pre class="screen" id="ListStaticRoutes__screen16127193511216">{
"routes" : [ {
"id" : "9b3b38a9-1c9d-4f01-9429-81af6b545289",
"type" : "static",
"destination" : "192.168.0.0/16",
"attachments" : [ {
"resource_id" : "9c4ab06a-0ab4-4fad-93a8-f733f3a4433d",
"resource_type" : "vpc",
"attachment_id" : "9b3b38a9-1c9d-4f01-9429-81af6b545289"
} ],
"route_table_id" : "19d334b7-78c1-4e0e-ba29-b797e641e23c",
"state" : "pending",
"created_at" : "2020-03-11T15:13:31Z",
"updated_at" : "2020-03-11T15:13:31Z"
} ],
"page_info" : {
"next_marker" : "1",
"current_count" : 1
},
"request_id" : "915a14a6-867b-4af7-83d1-70efceb146f9"
}</pre>
</div>
<div class="section" id="ListStaticRoutes__section612883518210"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStaticRoutes__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ListStaticRoutes__row01299355211"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="ListStaticRoutes__p213117351229">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="ListStaticRoutes__p1213193516218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ListStaticRoutes__row1913113513219"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStaticRoutes__p151313351329">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStaticRoutes__p1713116351824">OK</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ListStaticRoutes__section161311635625"><h4 class="sectiontitle">Error Codes</h4><p id="ListStaticRoutes__p1113218355218">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="Route.html">Routes</a></div>
</div>
</div>