doc-exports/docs/vpc/api-ref/vpc_peering_0001.html
fanqinying 9e7606681c VPC API 20241009 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 09:26:53 +00:00

274 lines
25 KiB
HTML

<a name="vpc_peering_0001"></a><a name="vpc_peering_0001"></a>
<h1 class="topictitle1">Querying VPC Peering Connections</h1>
<div id="body1504753416893"><div class="section" id="vpc_peering_0001__section16041996617"><h4 class="sectiontitle">Function</h4><p id="vpc_peering_0001__p1495217597211">This API is used to query all VPC peering connections accessible to the tenant submitting the request. The connections are filtered based on the filtering condition. For details about pagination query, see section <a href="vpc_version_0003.html">Pagination</a>.</p>
</div>
<div class="section" id="vpc_peering_0001__section13605791466"><h4 class="sectiontitle">URI</h4><p id="vpc_peering_0001__p387819561115">GET /v2.0/vpc/peerings</p>
<p id="vpc_peering_0001__p107651815220">Example:</p>
<pre class="screen" id="vpc_peering_0001__screen2024514371226">GET https://{Endpoint}/v2.0/vpc/peerings?id={id}&amp;name={name}&amp;status={status}&amp;tenant_id={tenant_id}&amp;vpc_id={vpc_id}&amp;limit={limit}&amp;marker={marker}</pre>
<div class="p" id="vpc_peering_0001__p68059106315"><a href="#vpc_peering_0001__table18880184689">Table 1</a> describes the parameters.
<div class="tablenoborder"><a name="vpc_peering_0001__table18880184689"></a><a name="table18880184689"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_peering_0001__table18880184689" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_peering_0001__row13968641385"><th align="left" class="cellrowborder" valign="top" width="22.222222222222225%" id="mcps1.3.2.5.2.2.5.1.1"><p id="vpc_peering_0001__p209684410817"><strong id="vpc_peering_0001__b3371155162638">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.14141414141414%" id="mcps1.3.2.5.2.2.5.1.2"><p id="vpc_peering_0001__p69681441386"><strong id="vpc_peering_0001__b842352706145619">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.27272727272727%" id="mcps1.3.2.5.2.2.5.1.3"><p id="vpc_peering_0001__p1096813412811"><strong id="vpc_peering_0001__b842352706145623">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.36363636363636%" id="mcps1.3.2.5.2.2.5.1.4"><p id="vpc_peering_0001__p139686416813"><strong id="vpc_peering_0001__b8423527061645">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_peering_0001__row19681041189"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p9968124681">id</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p1797015416817">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p19701411813">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><p id="vpc_peering_0001__p109701641488">Specifies that the VPC peering connection ID is used as the filtering condition.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row19701641482"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p16970114781">name</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p199701142815">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p79702041182">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><ul id="vpc_peering_0001__ul159912181345"><li id="vpc_peering_0001__li09910181443">Specifies that the peering connection name is used as the filter.</li><li id="vpc_peering_0001__li1699112184412">The value can contain no more than 64 characters.</li></ul>
</td>
</tr>
<tr id="vpc_peering_0001__row3970246817"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p189701141985">status</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p179703415816">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p7970749816">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><p id="vpc_peering_0001__p149701242818">Specifies that the VPC peering connection status is used as the filtering condition.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row1497012413813"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p199701941181">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p1297013420819">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p12970114088">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><p id="vpc_peering_0001__p169701241984">Specifies that the tenant ID is used as the filtering condition.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row297024581"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p39709420813">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p169701241084">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p1997074181">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><p id="vpc_peering_0001__p1997014414818">Specifies that the VPC ID is used as the filtering condition.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row119701147813"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p199701641815">marker</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p19970164582">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p209701447813">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><p id="vpc_peering_0001__p28526205175853">Specifies a resource ID for pagination query, indicating that the query starts from the next record of the specified resource ID.</p>
<p id="vpc_peering_0001__p538818488578">This parameter can work together with the parameter <strong id="vpc_peering_0001__vpc_api01_0003_b650614119446">limit</strong>.</p>
<ul id="vpc_peering_0001__ul12704811125810"><li id="vpc_peering_0001__vpc_api01_0003_li325418407124">If parameters <strong id="vpc_peering_0001__vpc_api01_0003_b736582413514">marker</strong> and <strong id="vpc_peering_0001__vpc_api01_0003_b17435293518">limit</strong> are not passed, resource records on the first page will be returned.</li><li id="vpc_peering_0001__vpc_api01_0003_li1923817171338">If the parameter <strong id="vpc_peering_0001__vpc_api01_0003_b1505159195414">marker</strong> is not passed and the value of parameter <strong id="vpc_peering_0001__vpc_api01_0003_b14146122925417">limit</strong> is set to <strong id="vpc_peering_0001__vpc_api01_0003_b13594516546">10</strong>, the first 10 resource records will be returned.</li><li id="vpc_peering_0001__vpc_api01_0003_li2076741203417">If the value of the parameter <strong id="vpc_peering_0001__vpc_api01_0003_b13589356163415">marker</strong> is set to the resource ID of the 10th record and the value of parameter <strong id="vpc_peering_0001__vpc_api01_0003_b1557415118357">limit</strong> is set to <strong id="vpc_peering_0001__vpc_api01_0003_b10574171193511">10</strong>, the 11th to 20th resource records will be returned.</li><li id="vpc_peering_0001__vpc_api01_0003_li108512113551">If the value of the parameter <strong id="vpc_peering_0001__vpc_api01_0003_b9403193716543">marker</strong> is set to the resource ID of the 10th record and the parameter <strong id="vpc_peering_0001__vpc_api01_0003_b10358823165519">limit</strong> is not passed, 11th to 2,000th resource records will be returned. The default value of <strong id="vpc_peering_0001__vpc_api01_0003_b112010101639">limit</strong> is <strong id="vpc_peering_0001__vpc_api01_0003_b206061121438">2000</strong>.</li></ul>
</td>
</tr>
<tr id="vpc_peering_0001__row139701041081"><td class="cellrowborder" valign="top" width="22.222222222222225%" headers="mcps1.3.2.5.2.2.5.1.1 "><p id="vpc_peering_0001__p159700419815">limit</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.2.5.2.2.5.1.2 "><p id="vpc_peering_0001__p49705419812">No</p>
</td>
<td class="cellrowborder" valign="top" width="27.27272727272727%" headers="mcps1.3.2.5.2.2.5.1.3 "><p id="vpc_peering_0001__p17970447810">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.2.5.2.2.5.1.4 "><p id="vpc_peering_0001__p2017153116589">Specifies the number of records that will be returned on each page. The value is from 0 to intmax (2^31-1). The default value is 2000.</p>
<p id="vpc_peering_0001__p125192338584"><strong id="vpc_peering_0001__vpc_api01_0003_b7164124258">limit</strong> can be used together with <strong id="vpc_peering_0001__vpc_api01_0003_b15985310854">marker</strong>. For details, see the parameter description of <strong id="vpc_peering_0001__vpc_api01_0003_b193281854847">marker</strong>.</p>
<p id="vpc_peering_0001__p94511262066">The default value is <strong id="vpc_peering_0001__b87296236273">2000</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="vpc_peering_0001__section20611598617"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_peering_0001__p62757993204733">None</p>
</div>
<div class="section" id="vpc_peering_0001__section15555379318"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_peering_0001__screen1597921117537">GET https://{Endpoint}/v2.0/vpc/peerings</pre>
</div>
<div class="section" id="vpc_peering_0001__section19612491665"><h4 class="sectiontitle">Response Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_peering_0001__table116121920611" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameter</caption><thead align="left"><tr id="vpc_peering_0001__row7829129169"><th align="left" class="cellrowborder" valign="top" width="22.09%" id="mcps1.3.5.2.2.4.1.1"><p id="vpc_peering_0001__p382916918611">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.42%" id="mcps1.3.5.2.2.4.1.2"><p id="vpc_peering_0001__p16829391367">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.49%" id="mcps1.3.5.2.2.4.1.3"><p id="vpc_peering_0001__p1282919368">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_peering_0001__row882919669"><td class="cellrowborder" valign="top" width="22.09%" headers="mcps1.3.5.2.2.4.1.1 "><p id="vpc_peering_0001__p138291791061">peerings</p>
</td>
<td class="cellrowborder" valign="top" width="24.42%" headers="mcps1.3.5.2.2.4.1.2 "><p id="vpc_peering_0001__p23471057175910">Array of <a href="#vpc_peering_0001__table1026243410414">peering</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.2.4.1.3 "><p id="vpc_peering_0001__p5829109666">Specifies the VPC peering connection object list. For details, see <a href="#vpc_peering_0001__table1026243410414">Table 3</a>.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row296203964419"><td class="cellrowborder" valign="top" width="22.09%" headers="mcps1.3.5.2.2.4.1.1 "><p id="vpc_peering_0001__p169621239104418">peerings_links</p>
</td>
<td class="cellrowborder" valign="top" width="24.42%" headers="mcps1.3.5.2.2.4.1.2 "><p id="vpc_peering_0001__p22857300454">Array of <a href="#vpc_peering_0001__table25150247450">peerings_link</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="53.49%" headers="mcps1.3.5.2.2.4.1.3 "><p id="vpc_peering_0001__p52901912464">Specifies the VPC peering connection object list. For details, see <a href="#vpc_peering_0001__table25150247450">Table 5</a>.</p>
<p id="vpc_peering_0001__p334511413543">Only when <strong id="vpc_peering_0001__b712818227234">limit</strong> is used for filtering and the number of resources exceeds the value of <strong id="vpc_peering_0001__b9134132222313">limit</strong> or 2000 (default value of <strong id="vpc_peering_0001__b161351722122320">limit</strong>), value <strong id="vpc_peering_0001__b6135132242313">next</strong> will be returned for <strong id="vpc_peering_0001__b121351622192316">rel</strong> and a link for <strong id="vpc_peering_0001__b121365227232">href</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="vpc_peering_0001__table1026243410414"></a><a name="table1026243410414"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_peering_0001__table1026243410414" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="vpc_peering_0001__b8423527069219">peering</strong> objects</caption><thead align="left"><tr id="vpc_peering_0001__row145386341548"><th align="left" class="cellrowborder" valign="top" width="32.81%" id="mcps1.3.5.3.2.4.1.1"><p id="vpc_peering_0001__p553843415417"><strong id="vpc_peering_0001__b111375042420">Attribute</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.43%" id="mcps1.3.5.3.2.4.1.2"><p id="vpc_peering_0001__p453814344418"><strong id="vpc_peering_0001__b20671165110249">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="43.76%" id="mcps1.3.5.3.2.4.1.3"><p id="vpc_peering_0001__p13539183410412"><strong id="vpc_peering_0001__b9221155314242">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_peering_0001__row195391034944"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p1053943410414">id</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p753963414417">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_peering_0001__p17539123411413">Specifies the VPC peering connection ID.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row185391134449"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p15540123413417">name</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p85405341547">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_peering_0001__p1654017341747">Specifies the VPC peering connection name.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row45401734847"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p354083416417">status</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p11540034946">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_peering_0001__p11298143785016">Specifies the VPC peering connection status. Possible values are as follows:</p>
<ul id="vpc_peering_0001__ul6640134318521"><li id="vpc_peering_0001__li146411343125218"><strong id="vpc_peering_0001__b1115813562257">PENDING_ACCEPTANCE</strong></li><li id="vpc_peering_0001__li186411432525"><strong id="vpc_peering_0001__b6368115792515">REJECTED</strong></li><li id="vpc_peering_0001__li1164164315525"><strong id="vpc_peering_0001__b3204112972619">EXPIRED</strong></li><li id="vpc_peering_0001__li146411643165213"><strong id="vpc_peering_0001__b92416425268">DELETED</strong></li><li id="vpc_peering_0001__li10641443115215"><strong id="vpc_peering_0001__b3500154916263">ACTIVE</strong></li></ul>
</td>
</tr>
<tr id="vpc_peering_0001__row155415343411"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p185411334349">request_vpc_info</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p1854183414414"><a href="#vpc_peering_0001__table1132310347417">vpc_info</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_peering_0001__p155422348412">Specifies information about the local VPC. For details, see <a href="#vpc_peering_0001__table1132310347417">Table 4</a>.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row145425341249"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p25421834641">accept_vpc_info</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p354211341141"><a href="#vpc_peering_0001__table1132310347417">vpc_info</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_peering_0001__p3542143419414">Specifies information about the peer VPC. For details, see <a href="#vpc_peering_0001__table1132310347417">Table 4</a>.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row17791105316527"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p9792195385219">description</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p3792205365218">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_peering_0001__p10792953155215">Provides supplementary information about the VPC peering connection.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row4121155915218"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p1312155914528">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p201218597524">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_peering_0001__ul13463133512"><li id="vpc_peering_0001__li114610173513">Specifies the time (UTC) when the VPC peering connection is created.</li><li id="vpc_peering_0001__li84711133511">Format: <em id="vpc_peering_0001__i0734249153712">yyyy-MM-ddTHH:mm:ss</em></li></ul>
</td>
</tr>
<tr id="vpc_peering_0001__row15465113115319"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_peering_0001__p74651838533">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_peering_0001__p8465203125315">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_peering_0001__ul18877425161812"><li id="vpc_peering_0001__li8877162513188">Specifies the time (UTC) when the VPC peering connection is updated.</li><li id="vpc_peering_0001__li487752561816">Format: <em id="vpc_peering_0001__i14782153112416">yyyy-MM-ddTHH:mm:ss</em></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="vpc_peering_0001__table1132310347417"></a><a name="table1132310347417"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_peering_0001__table1132310347417" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="vpc_peering_0001__b8423527069619">vpc_info</strong> objects</caption><thead align="left"><tr id="vpc_peering_0001__row65431034046"><th align="left" class="cellrowborder" valign="top" width="32.81%" id="mcps1.3.5.4.2.4.1.1"><p id="vpc_peering_0001__p14543173418413"><strong id="vpc_peering_0001__b1140044442814">Attribute</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.43%" id="mcps1.3.5.4.2.4.1.2"><p id="vpc_peering_0001__p1354353413410"><strong id="vpc_peering_0001__b3357134617282">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="43.76%" id="mcps1.3.5.4.2.4.1.3"><p id="vpc_peering_0001__p19543634641"><strong id="vpc_peering_0001__b915154732817">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_peering_0001__row4543434247"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_peering_0001__p13544163416415">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_peering_0001__p654410341549">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_peering_0001__p55448348416">Specifies the ID of a VPC involved in a VPC peering connection.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row65441334646"><td class="cellrowborder" valign="top" width="32.81%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_peering_0001__p14544034945">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_peering_0001__p454413347419">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.76%" headers="mcps1.3.5.4.2.4.1.3 "><p id="vpc_peering_0001__p105449344410">Specifies the ID of the project to which a VPC involved in the VPC peering connection belongs.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="vpc_peering_0001__table25150247450"></a><a name="table25150247450"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_peering_0001__table25150247450" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="vpc_peering_0001__b6313586361">peerings_link</strong> object</caption><thead align="left"><tr id="vpc_peering_0001__row10561424184513"><th align="left" class="cellrowborder" valign="top" width="14.14%" id="mcps1.3.5.5.2.4.1.1"><p id="vpc_peering_0001__p15562102474514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.14%" id="mcps1.3.5.5.2.4.1.2"><p id="vpc_peering_0001__p656212464511"><strong id="vpc_peering_0001__b104314123711">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="71.72%" id="mcps1.3.5.5.2.4.1.3"><p id="vpc_peering_0001__p856220242456"><strong id="vpc_peering_0001__b196743188375">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_peering_0001__row3562132464511"><td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.5.5.2.4.1.1 "><p id="vpc_peering_0001__p13562224194510">href</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.5.5.2.4.1.2 "><p id="vpc_peering_0001__p556214245453">String</p>
</td>
<td class="cellrowborder" valign="top" width="71.72%" headers="mcps1.3.5.5.2.4.1.3 "><p id="vpc_peering_0001__p145623247454">Specifies the API link.</p>
</td>
</tr>
<tr id="vpc_peering_0001__row656292454519"><td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.5.5.2.4.1.1 "><p id="vpc_peering_0001__p1756252484511">rel</p>
</td>
<td class="cellrowborder" valign="top" width="14.14%" headers="mcps1.3.5.5.2.4.1.2 "><p id="vpc_peering_0001__p056210247459">String</p>
</td>
<td class="cellrowborder" valign="top" width="71.72%" headers="mcps1.3.5.5.2.4.1.3 "><p id="vpc_peering_0001__p75621724194516">Specifies the relationship between the API link and the API version.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="vpc_peering_0001__section194431025430"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="vpc_peering_0001__screen64921332163712">{
"peerings": [
{
"request_vpc_info": {
"vpc_id": "9daeac7c-a98f-430f-8e38-67f9c044e299",
"tenant_id": "f65e9ebc-ed5d-418b-a931-9a723718ba4e"
},
"accept_vpc_info": {
"vpc_id": "f583c072-0bb8-4e19-afb2-afb7c1693be5",
"tenant_id": "f65e9ebc-ed5d-418b-a931-9a723718ba4e"
},
"name": "test",
"id": "b147a74b-39bb-4c7a-aed5-19cac4c2df13",
"status": "ACTIVE"
}
]
}</pre>
</div>
<div class="section" id="vpc_peering_0001__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_peering_0001__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="vpc_peering_0001__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_peering_0001__p17281622133910">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_peering_0000.html">VPC Peering Connection</a></div>
</div>
</div>