Files
doc-exports/docs/as/dev/en-us_topic_0110252686.html
guoyanyan a044aa42ec as_dev_1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-12-07 12:01:08 +00:00

136 lines
14 KiB
HTML

<a name="EN-US_TOPIC_0110252686"></a><a name="EN-US_TOPIC_0110252686"></a>
<h1 class="topictitle1">Response Parameters for Querying VPCs</h1>
<div id="body54046213"><p class="msonormal" id="EN-US_TOPIC_0110252686__p31777804"><strong id="EN-US_TOPIC_0110252686__b8745456194113">Response parameters are as follows.</strong></p>
<p id="EN-US_TOPIC_0110252686__p501047164112">Parameter description</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252686__table155821713153111" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Response parameter</caption><thead align="left"><tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row6055323715519"><th align="left" class="cellrowborder" valign="top" width="18.34%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p586512615519">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.97%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p2771539415519">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.690000000000005%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p3035446115519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row4279228915519"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p4362334815519">vpcs</p>
</td>
<td class="cellrowborder" valign="top" width="27.97%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p26395826172022">Array of <a href="#EN-US_TOPIC_0110252686__table15235118194511">vpcs</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="53.690000000000005%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p1714182515519">Specifies the VPCs.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0110252686__p70123614420">Descriptions of <strong id="EN-US_TOPIC_0110252686__b2046991818314">vpcs</strong> fields</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0110252686__table15235118194511"></a><a name="table15235118194511"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252686__table15235118194511" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="EN-US_TOPIC_0110252686__b1364001115456">vpcs</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row16647026"><th align="left" class="cellrowborder" valign="top" width="15.870000000000001%" id="mcps1.3.5.2.4.1.1"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p6231886">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.91%" id="mcps1.3.5.2.4.1.2"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p25347041174441">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.22%" id="mcps1.3.5.2.4.1.3"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p18111828">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row57771982"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p49018956">id</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p39844479174441">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p27697526">Specifies a resource ID in UUID format.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row47951145"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p58837506">name</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p6177377174441">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul951112614463"><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li0511326144618">Specifies the VPC name.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li1511202620460">The value can contain no more than 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li1751182634613">Each VPC name of a tenant must be unique if the VPC name is not left blank.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row18577115091311"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p174994533139">description</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p349935312131">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul16499115318137"><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li6499175391315">Provides supplementary information about the VPC.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li16499453141312">The value can contain no more than 255 characters and cannot contain angle brackets (&lt; or &gt;).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row2894687"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p33143133">cidr</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p30605552174441">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul10389173917465"><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li1389739194615">Specifies the available IP address ranges for subnets in the VPC.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li10294123376">Possible values are as follows:<ul id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_en-us_topic_0201534275_ul53161626155413"><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_en-us_topic_0201534275_li19197628192317">10.0.0.0/8-24</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_en-us_topic_0201534275_li181981528172314">172.16.0.0/12-24</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_en-us_topic_0201534275_li191981628122312">192.168.0.0/16-24</li></ul>
</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li898228181014">If <strong id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_b1338817432">cidr</strong> is not specified, the default value is left blank.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li138920394463">The value must be in CIDR format, for example, <strong id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_b118892120317">192.168.0.0/16</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row40205569"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p35425694">status</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p63130643174441">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul74552213513"><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li54552219516">Specifies the VPC status.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li1638165285418">Possible values are as follows:<ul id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_ul5890854165417"><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li1065610385510"><strong id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_b768725632">CREATING</strong>: The VPC is being created.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_li1545513255116"><strong id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_b412910318311">OK</strong>: The VPC is created successfully.</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row56256918135346"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p60516514135346">routes</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p32811915135346">Array of <a href="#EN-US_TOPIC_0110252686__table4828823104613">route</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul93249349513"><li id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_li732313413512">Specifies the route information.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_li2323163415518">For details about constraints, see <a href="#EN-US_TOPIC_0110252686__table4828823104613">Table 3</a>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row1426011201318"><td class="cellrowborder" valign="top" width="15.870000000000001%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p41373254402">enable_shared_snat</p>
</td>
<td class="cellrowborder" valign="top" width="21.91%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p18137202516409">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="62.22%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p51371325174011">Specifies whether the shared SNAT function is enabled. The value <strong id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_b84235270612178">true</strong> indicates that the function is enabled, and the value <strong id="EN-US_TOPIC_0110252686__en-us_topic_0201534109_b84235270614243">false</strong> indicates that the function is not enabled.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0110252686__p4945704515">Description of the <strong id="EN-US_TOPIC_0110252686__b716310165517">route</strong> field</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0110252686__table4828823104613"></a><a name="table4828823104613"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252686__table4828823104613" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_b814711358115">route</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row921218691556"><th align="left" class="cellrowborder" valign="top" width="18.34%" id="mcps1.3.7.2.4.1.1"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p798956991556">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.38%" id="mcps1.3.7.2.4.1.2"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p754435891556">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.28%" id="mcps1.3.7.2.4.1.3"><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p711326791556">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row3930377391556"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p2948903591556">destination</p>
</td>
<td class="cellrowborder" valign="top" width="22.38%" headers="mcps1.3.7.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p270722191556">String</p>
</td>
<td class="cellrowborder" valign="top" width="59.28%" headers="mcps1.3.7.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul5555115211517"><li id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_li855455210519">Specifies the destination network segment of a route.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_li1755517529512">The value must be in the CIDR format. Currently, only the value <strong>0.0.0.0/0</strong> is supported.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_row6565233911054"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p1623922311054">nexthop</p>
</td>
<td class="cellrowborder" valign="top" width="22.38%" headers="mcps1.3.7.2.4.1.2 "><p id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_p4377761311054">String</p>
</td>
<td class="cellrowborder" valign="top" width="59.28%" headers="mcps1.3.7.2.4.1.3 "><ul id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_ul69731859205110"><li id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_li149732597518">Specifies the next hop of a route.</li><li id="EN-US_TOPIC_0110252686__en-us_topic_0020090625_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>
<p class="msonormal" id="EN-US_TOPIC_0110252686__p17564787"><strong id="EN-US_TOPIC_0110252686__b1048855413313">Example response</strong></p>
<pre class="screen" id="EN-US_TOPIC_0110252686__screen732319458474">{
"vpc":
{
"id": "99d9d709-8478-4b46-9f3f-2206b1023fd3",
"name": "vpc",
"description": "test",
"cidr": "192.168.0.0/16",
"status": "CREATING",
"enterprise_project_id": "0aad99bc-f5f6-4f78-8404-c598d76b0ed2",
"routes": []
}
}</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0110252685.html">Appendix</a></div>
</div>
</div>