forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
230 lines
20 KiB
HTML
230 lines
20 KiB
HTML
<a name="vpc_api01_0003"></a><a name="vpc_api01_0003"></a>
|
|
|
|
<h1 class="topictitle1">Querying VPCs</h1>
|
|
<div id="body13265486"><div class="section" id="vpc_api01_0003__section14477792"><h4 class="sectiontitle">Function</h4><p id="vpc_api01_0003__p762549">This API is used to query VPCs using search criteria and to display the VPCs in a list.</p>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section63191266"><h4 class="sectiontitle">URI</h4><p id="vpc_api01_0003__p20816422175214">GET /v1/{project_id}/vpcs</p>
|
|
<div class="p" id="vpc_api01_0003__p169212392218">Example:<pre class="screen" id="vpc_api01_0003__screen1779766143652">GET https://{Endpoint}/v1/{project_id}/vpcs?limit=10&marker=13551d6b-755d-4757-b956-536f674975c0</pre>
|
|
</div>
|
|
<div class="p" id="vpc_api01_0003__p49351428920"><a href="#vpc_api01_0003__table39337169">Table 1</a> describes the parameters.
|
|
<div class="tablenoborder"><a name="vpc_api01_0003__table39337169"></a><a name="table39337169"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_api01_0003__table39337169" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_api01_0003__row33970761"><th align="left" class="cellrowborder" valign="top" width="13.530000000000001%" id="mcps1.3.2.4.2.2.5.1.1"><p id="vpc_api01_0003__p168245">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.240000000000002%" id="mcps1.3.2.4.2.2.5.1.2"><p id="vpc_api01_0003__p13627845">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.280000000000001%" id="mcps1.3.2.4.2.2.5.1.3"><p id="vpc_api01_0003__p17267522174356">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.949999999999996%" id="mcps1.3.2.4.2.2.5.1.4"><p id="vpc_api01_0003__p30113633">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_api01_0003__row23285234"><td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.4.2.2.5.1.1 "><p id="vpc_api01_0003__p7055840">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.240000000000002%" headers="mcps1.3.2.4.2.2.5.1.2 "><p id="vpc_api01_0003__p34652178">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.280000000000001%" headers="mcps1.3.2.4.2.2.5.1.3 "><p id="vpc_api01_0003__p56492018174356">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.2.4.2.2.5.1.4 "><p id="vpc_api01_0003__p10487112">Specifies the project ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row28505468"><td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.4.2.2.5.1.1 "><p id="vpc_api01_0003__p27241609">marker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.240000000000002%" headers="mcps1.3.2.4.2.2.5.1.2 "><p id="vpc_api01_0003__p59086710">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.280000000000001%" headers="mcps1.3.2.4.2.2.5.1.3 "><p id="vpc_api01_0003__p12450755174356">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.2.4.2.2.5.1.4 "><p id="vpc_api01_0003__p578753420475">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_api01_0003__p5486141973418">This parameter can work together with the parameter <strong id="vpc_api01_0003__b650614119446">limit</strong>.</p>
|
|
<ul id="vpc_api01_0003__ul8767912103412"><li id="vpc_api01_0003__li325418407124">If parameters <strong id="vpc_api01_0003__b736582413514">marker</strong> and <strong id="vpc_api01_0003__b17435293518">limit</strong> are not passed, resource records on the first page will be returned.</li><li id="vpc_api01_0003__li1923817171338">If the parameter <strong id="vpc_api01_0003__b1505159195414">marker</strong> is not passed and the value of parameter <strong id="vpc_api01_0003__b14146122925417">limit</strong> is set to <strong id="vpc_api01_0003__b13594516546">10</strong>, the first 10 resource records will be returned.</li><li id="vpc_api01_0003__li2076741203417">If the value of the parameter <strong id="vpc_api01_0003__b13589356163415">marker</strong> is set to the resource ID of the 10th record and the value of parameter <strong id="vpc_api01_0003__b1557415118357">limit</strong> is set to <strong id="vpc_api01_0003__b10574171193511">10</strong>, the 11th to 20th resource records will be returned.</li><li id="vpc_api01_0003__li108512113551">If the value of the parameter <strong id="vpc_api01_0003__b9403193716543">marker</strong> is set to the resource ID of the 10th record and the parameter <strong id="vpc_api01_0003__b10358823165519">limit</strong> is not passed, resource records starting from the 11th records (including 11th) will be returned.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row21315230"><td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.4.2.2.5.1.1 "><p id="vpc_api01_0003__p48812047">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.240000000000002%" headers="mcps1.3.2.4.2.2.5.1.2 "><p id="vpc_api01_0003__p61461766">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.280000000000001%" headers="mcps1.3.2.4.2.2.5.1.3 "><p id="vpc_api01_0003__p1878236174356">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.2.4.2.2.5.1.4 "><p id="vpc_api01_0003__p108618598123">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_api01_0003__p536916131933"><strong id="vpc_api01_0003__b7164124258">limit</strong> can be used together with <strong id="vpc_api01_0003__b15985310854">marker</strong>. For details, see the parameter description of <strong id="vpc_api01_0003__b193281854847">marker</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row1068512542210"><td class="cellrowborder" valign="top" width="13.530000000000001%" headers="mcps1.3.2.4.2.2.5.1.1 "><p id="vpc_api01_0003__p55289571029">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.240000000000002%" headers="mcps1.3.2.4.2.2.5.1.2 "><p id="vpc_api01_0003__p15529457128">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.280000000000001%" headers="mcps1.3.2.4.2.2.5.1.3 "><p id="vpc_api01_0003__p165291857925">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.949999999999996%" headers="mcps1.3.2.4.2.2.5.1.4 "><ul id="vpc_api01_0003__ul152391731105011"><li id="vpc_api01_0003__li1123993155013">Specifies the enterprise project ID. This field can be used to filter out the VPCs associated with a specified enterprise project.</li><li id="vpc_api01_0003__li152395319503">The value is <strong id="vpc_api01_0003__b139061514123612">0</strong> or a string that contains a maximum of 36 characters in UUID format with hyphens (-). Value <strong id="vpc_api01_0003__b8979161617366">0</strong> indicates the default enterprise project. To obtain the VPCs bound to all enterprise projects of the user, set <strong id="vpc_api01_0003__b32561229284636">all_granted_eps</strong>.</li><li id="vpc_api01_0003__li1199610268181">If this parameter is not specified, VPCs in the default enterprise project are queried and are authenticated based on the default enterprise project.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section31850483"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_api01_0003__p60400126203515">None</p>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section15366125117299"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_api01_0003__screen11311533163914">GET https://{Endpoint}/v1/{project_id}/vpcs</pre>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section18218892"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="vpc_api01_0003__table6229176715519" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameter</caption><thead align="left"><tr id="vpc_api01_0003__row6055323715519"><th align="left" class="cellrowborder" valign="top" width="18.34%" id="mcps1.3.5.2.2.4.1.1"><p id="vpc_api01_0003__p586512615519">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.97%" id="mcps1.3.5.2.2.4.1.2"><p id="vpc_api01_0003__p2771539415519">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.690000000000005%" id="mcps1.3.5.2.2.4.1.3"><p id="vpc_api01_0003__p3035446115519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_api01_0003__row4279228915519"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.5.2.2.4.1.1 "><p id="vpc_api01_0003__p4362334815519">vpcs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.97%" headers="mcps1.3.5.2.2.4.1.2 "><p id="vpc_api01_0003__p26395826172022">Array of <a href="#vpc_api01_0003__table65129753">vpcs</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.690000000000005%" headers="mcps1.3.5.2.2.4.1.3 "><p id="vpc_api01_0003__p1714182515519">Specifies the VPCs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_api01_0003__table65129753"></a><a name="table65129753"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_api01_0003__table65129753" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of the <strong id="vpc_api01_0003__b1571739155113">vpcs</strong> field</caption><thead align="left"><tr id="vpc_api01_0003__row16647026"><th align="left" class="cellrowborder" valign="top" width="15.870000000000001%" id="mcps1.3.5.3.2.4.1.1"><p id="vpc_api01_0003__p6231886">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.91%" id="mcps1.3.5.3.2.4.1.2"><p id="vpc_api01_0003__p25347041174441">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="62.22%" id="mcps1.3.5.3.2.4.1.3"><p id="vpc_api01_0003__p18111828">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_api01_0003__row57771982"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p49018956">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p39844479174441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_api01_0003__p27697526">Specifies a resource ID in UUID format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row47951145"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p58837506">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p6177377174441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_api01_0003__ul951112614463"><li id="vpc_api01_0003__li0511326144618">Specifies the VPC name.</li><li id="vpc_api01_0003__li1511202620460">The value can contain no more than 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li><li id="vpc_api01_0003__li1751182634613">Each VPC name of a tenant must be unique if the VPC name is not left blank.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row18577115091311"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p174994533139">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p349935312131">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_api01_0003__ul16499115318137"><li id="vpc_api01_0003__li6499175391315">Provides supplementary information about the VPC.</li><li id="vpc_api01_0003__li16499453141312">The value can contain no more than 255 characters and cannot contain angle brackets (< or >).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row2894687"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p33143133">cidr</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p30605552174441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_api01_0003__ul10389173917465"><li id="vpc_api01_0003__li1389739194615">Specifies the available IP address ranges for subnets in the VPC.</li><li id="vpc_api01_0003__li10294123376">Possible values are as follows:<ul id="vpc_api01_0003__vpc_api01_0001_ul53161626155413"><li id="vpc_api01_0003__vpc_api01_0001_li19197628192317">10.0.0.0/8-24</li><li id="vpc_api01_0003__vpc_api01_0001_li181981528172314">172.16.0.0/12-24</li><li id="vpc_api01_0003__vpc_api01_0001_li191981628122312">192.168.0.0/16-24</li></ul>
|
|
</li><li id="vpc_api01_0003__li898228181014">If <strong id="vpc_api01_0003__b1338817432">cidr</strong> is not specified, the default value is left blank.</li><li id="vpc_api01_0003__li138920394463">The value must be in CIDR format, for example, <strong id="vpc_api01_0003__b118892120317">192.168.0.0/16</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row40205569"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p35425694">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p63130643174441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_api01_0003__ul74552213513"><li id="vpc_api01_0003__li54552219516">Specifies the VPC status.</li><li id="vpc_api01_0003__li1638165285418">Possible values are as follows:<ul id="vpc_api01_0003__ul5890854165417"><li id="vpc_api01_0003__li1065610385510"><strong id="vpc_api01_0003__b768725632">CREATING</strong>: The VPC is being created.</li><li id="vpc_api01_0003__li1545513255116"><strong id="vpc_api01_0003__b412910318311">OK</strong>: The VPC is created successfully.</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row1340951516517"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p28181711511">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p488171056">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_api01_0003__ul10874181418512"><li id="vpc_api01_0003__li1087431465112">Specifies the enterprise project ID.</li><li id="vpc_api01_0003__li087411141519">The value is <strong id="vpc_api01_0003__b482532214367">0</strong> or a string that contains a maximum of 36 characters in UUID format with hyphens (-). Value <strong id="vpc_api01_0003__b1386732773615">0</strong> indicates the default enterprise project.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row56256918135346"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p60516514135346">routes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p32811915135346">Array of <a href="#vpc_api01_0003__table3576833291556">route</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><ul id="vpc_api01_0003__ul93249349513"><li id="vpc_api01_0003__li732313413512">Specifies the route information.</li><li id="vpc_api01_0003__li2323163415518">For details, see <a href="#vpc_api01_0003__table3576833291556">Table 4</a>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row1426011201318"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.3.2.4.1.1 "><p id="vpc_api01_0003__p41373254402">enable_shared_snat</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.3.2.4.1.2 "><p id="vpc_api01_0003__p18137202516409">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.3.2.4.1.3 "><p id="vpc_api01_0003__p51371325174011">Specifies whether the shared SNAT function is enabled. The value <strong id="vpc_api01_0003__b84235270612178">true</strong> indicates that the function is enabled, and the value <strong id="vpc_api01_0003__b84235270614243">false</strong> indicates that the function is not enabled.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="vpc_api01_0003__table3576833291556"></a><a name="table3576833291556"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_api01_0003__table3576833291556" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="vpc_api01_0003__b814711358115">route</strong> objects</caption><thead align="left"><tr id="vpc_api01_0003__row921218691556"><th align="left" class="cellrowborder" valign="top" width="18.34%" id="mcps1.3.5.4.2.4.1.1"><p id="vpc_api01_0003__p798956991556">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.38%" id="mcps1.3.5.4.2.4.1.2"><p id="vpc_api01_0003__p754435891556">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.28%" id="mcps1.3.5.4.2.4.1.3"><p id="vpc_api01_0003__p711326791556">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_api01_0003__row3930377391556"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_api01_0003__p2948903591556">destination</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_api01_0003__p270722191556">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.28%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_api01_0003__ul5555115211517"><li id="vpc_api01_0003__li855455210519">Specifies the destination network segment of a route.</li><li id="vpc_api01_0003__li1755517529512">The value must be in the CIDR format. Currently, only the value <strong id="vpc_api01_0003__b82261612162910">0.0.0.0/0</strong> is supported.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_api01_0003__row6565233911054"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.5.4.2.4.1.1 "><p id="vpc_api01_0003__p1623922311054">nexthop</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.38%" headers="mcps1.3.5.4.2.4.1.2 "><p id="vpc_api01_0003__p4377761311054">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.28%" headers="mcps1.3.5.4.2.4.1.3 "><ul id="vpc_api01_0003__ul69731859205110"><li id="vpc_api01_0003__li149732597518">Specifies the next hop of a route.</li><li id="vpc_api01_0003__li6973205995115">The value must be an IP address and must belong to the subnet in the VPC. Otherwise, this value does not take effect.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section179341558935"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="vpc_api01_0003__screen14637104143616">{
|
|
"vpcs": [
|
|
{
|
|
"id": "13551d6b-755d-4757-b956-536f674975c0",
|
|
"name": "default",
|
|
"description": "test",
|
|
"cidr": "172.16.0.0/16",
|
|
"status": "OK",
|
|
"enterprise_project_id": "0",
|
|
"routes": [],
|
|
"enable_shared_snat": false
|
|
},
|
|
{
|
|
"id": "3ec3b33f-ac1c-4630-ad1c-7dba1ed79d85",
|
|
"name": "222",
|
|
"description": "test",
|
|
"cidr": "192.168.0.0/16",
|
|
"status": "OK",
|
|
"enterprise_project_id": "0635d733-c12d-4308-ba5a-4dc27ec21038",
|
|
"routes": [],
|
|
"enable_shared_snat": false
|
|
},
|
|
{
|
|
"id": "99d9d709-8478-4b46-9f3f-2206b1023fd3",
|
|
"name": "vpc",
|
|
"description": "test",
|
|
"cidr": "192.168.0.0/16",
|
|
"status": "OK",
|
|
"enterprise_project_id": "0",
|
|
"routes": [],
|
|
"enable_shared_snat": false
|
|
}
|
|
]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_api01_0003__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="vpc_api01_0003__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_api01_0003__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_api01_0000.html">Virtual Private Cloud</a></div>
|
|
</div>
|
|
</div>
|
|
|