forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: fanqinying <fanqinying@huawei.com> Co-committed-by: fanqinying <fanqinying@huawei.com>
1043 lines
111 KiB
HTML
1043 lines
111 KiB
HTML
<a name="CreateVirtualInterface"></a><a name="CreateVirtualInterface"></a>
|
||
|
||
<h1 class="topictitle1">Creating a Virtual Interface</h1>
|
||
<div id="body8662426"><div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section15625172902810"><h4 class="sectiontitle">Function</h4><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18626229122810">This API is used to create a virtual interface.</p>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section156281229202814"><h4 class="sectiontitle">URI</h4><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p262912912284">POST /v3/{project_id}/dcaas/virtual-interfaces</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_table166331299285" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1763222911281"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10633182922812">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p186343299286">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p14634172919287">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p156341229112818">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row263213299285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p663502962811">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p0636192918288">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7637102913283">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p66389297282">Specifies the project ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section2639182917281"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row176411291284"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7643152912286">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p136431329192817">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p136451229172818">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p764512292289">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row2064222902818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p96451729182818">X-Auth-Token</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5646122915282">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1164612917286">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1646529102813">Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the <em id="CreateVirtualInterface__en-us_topic_0000001735825428_i091743201715">Identity and Access Management API Reference</em>. The token is the value of <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b11917132141717">X-Subject-Token</strong> in the response header.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p664614294283">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1491773221712">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18647152982814">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1991716325176">10240</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_request_CreateVirtualInterfaceRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row16481529202817"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p264952972818">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p76501529142814">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p965082922818">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p465072942816">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row96481529192813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1465162912289">virtual_interface</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p66511129122814">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16511929142813"><a href="#CreateVirtualInterface__en-us_topic_0000001735825428_request_CreateVirtualInterface">CreateVirtualInterface</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p465210298284">Specifies the virtual interface to be created.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001735825428_request_CreateVirtualInterface"></a><a name="en-us_topic_0000001735825428_request_CreateVirtualInterface"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_request_CreateVirtualInterface" frame="border" border="1" rules="all"><caption><b>Table 4 </b>CreateVirtualInterface</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row18654029152819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6658132992816">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p365932992812">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1165982982813">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p126601429172820">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row865562942820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7660122917286">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p86601129112818">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p766112291287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p196616298284">Specifies the virtual interface name.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18661329182814">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1992810329172">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12661102918286">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b18928113261719">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row17655172920284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7662329152816">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6662152912281">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15662152982812">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5663102916285">Provides supplementary information about the virtual interface.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p26633297286">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1293010324176">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6663629152815">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b5930532161713">128</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row565510292287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1866372992812">direct_connect_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p196641295285">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p166651929132818">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18665729172814">Specifies the ID of the connection associated with the virtual interface. When creating a virtual interface, you need to specify <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b118653614280">direct_connect_id</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19186136182818">lag_id</strong>. This parameter is mandatory when LAG is not supported at the site.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row14655122912289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1366572913282">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p366612292288">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6666929192817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5666202912818">Specifies the type of the virtual interface. The value is <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b2335155012283">private</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12666192982810">Enumeration values: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b45029322910">private</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row165517295283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9670429182812">vlan</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p267182913288">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1667122962812">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1867162912285">Specifies the customer VLAN to be connected. If you select a hosted connection, the VLAN must be the same as that of the hosted connection.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1067272982815">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b15938123211177">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2672112916289">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19388324176">3999</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row106551029102810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1672429142820">bandwidth</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p176721729192815">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18673182912817">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p26739298284">Specifies the virtual interface bandwidth.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1267382982818">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b493911326173">2</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16673152962820">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b149401332111710">2147483647</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row17656182922811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p367402914286">local_gateway_v4_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7674122910288">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7674329162810">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2067532911289">Specifies the IPv4 interface address of the gateway used on the cloud. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b794293210174">address_family</strong> is set to an IPv4 address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row16561529192814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7675152913280">remote_gateway_v4_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p067592982819">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1067582942810">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5676132919282">Specifies the IPv4 interface address of the gateway on the on-premises network. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1094373291714">address_family</strong> is set to an IPv4 address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row14656152942814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p167662919287">address_family</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p20676102916286">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3677132918283">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p267716296283">Specifies the address family of the virtual interface. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b694443201717">IPv4</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b594414324171">IPv6</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6677122972813">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b59451732121712">ipv4</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row3656112913287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p17677029152817">local_gateway_v6_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16678129182812">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1867822932813">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p206781129172811">Specifies the IPv6 interface address of the gateway used on the cloud. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b89461832121718">address_family</strong> is set to an IPv6 address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row6656192914282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6679172912282">remote_gateway_v6_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p267972932815">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p196791229152820">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2067922911288">Specifies the IPv6 interface address of the gateway on the on-premises network. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b994718324171">address_family</strong> is set to an IPv6 address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row10656829102812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p56801729142813">vgw_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p56804299286">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1468042911283">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p156811129102814">Specifies the ID of the virtual gateway connected by the virtual interface.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1165614297285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1568162914287">route_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19681152942810">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p176822294285">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p368282912281">Specifies the routing mode. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b895043291719">static</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b59502032101711">bgp</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10682102952815">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b695083220178">static</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p868372942818">Enumeration values:</p>
|
||
<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_ul4683029192816"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li2068315292287"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b6683029192813">static</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li168392922814"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b116832290281">bgp</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row18657929142815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p76846299283">bgp_asn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p468462917288">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p186847296282">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p17685152912818">Specifies the ASN of the BGP peer on the customer side.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13685129102812">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b189521832141716">1</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p56851229192810">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b695219323172">4294967295</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row176578298282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15685122952820">bgp_md5</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5686112914281">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1268619292285">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1868692952810">Specifies the MD5 password of the BGP peer.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row14657202916285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1068719293283">remote_ep_group</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p168722914287">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11687172914284">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1468852962816">Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row865722912810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16881029132810">service_ep_group</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8688182914282">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p66891829112819">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p136898294284">Specifies the subnets that access Internet services through a connection.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row06571290288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p0689329162819">enable_bfd</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p968982918285">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p569032914283">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p469032920281">Specifies whether to enable BFD (Bidirectional Forwarding Detection). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b189576327177">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1995720321173">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16691182917283">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b295719326174">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row166571929142815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p146911229182818">enable_nqa</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12692182952816">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p136920296288">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5692112962817">Specifies whether to enable NQA (Network Quality Analysis). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1995920327173">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1495943241713">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p146938298283">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b295919321173">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1465710297288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12693112932818">lag_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1669362914282">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p46941029182818">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1769652916286">Specifies the ID of the LAG associated with the virtual interface.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16697182942813">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19960163214171">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p369716298289">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b8961632101720">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row7657329182819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p0698152915286">resource_tenant_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1369922932814">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4699129162817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p126991297286">Specifies the project ID of another tenant, which is used to create virtual interfaces across tenants.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row7657122942818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p147003293287">enterprise_project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p57001929132813">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1770082912287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p870132919284">Specifies the ID of the enterprise project that the virtual interface belongs to.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11701102911288">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1579122688">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p17702192972814">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19964532161715">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row14658112992819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1270262910284">tags</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p470242962813">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1070382920282">Array of <a href="#CreateVirtualInterface__en-us_topic_0000001735825428_request_Tag">Tag</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1470362916289">Specifies the tags.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p0703152932817">Array length: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1699105411155">0–10</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001735825428_request_Tag"></a><a name="en-us_topic_0000001735825428_request_Tag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_request_Tag" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Tag</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row2704152912817"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p157061329132813">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13706192920282">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16706829142817">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1670752913289">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row13704429112811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p77071529202810">key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p370752912285">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p37089296287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><div class="p" id="CreateVirtualInterface__en-us_topic_0000001735825428_p988813512470">Specifies the tag key. The key:<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_ul161904329534"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li19190153219534">Cannot be left blank.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li7190432145319">Must be unique for each resource.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li181905324537">Can contain a maximum of 36 Unicode characters.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li1219019324535">Can contain only digits, letters, hyphens (-), underscores (_), at signs (@), and periods (.).</li></ul>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row770542918288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13709132916286">value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p14709529132815">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1471012916281">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><div class="p" id="CreateVirtualInterface__en-us_topic_0000001735825428_p422514116535">Specifies the tag value. The value:<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_ul15189353205316"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li51898538530">Can be left blank.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li16189195355312">Can contain a maximum of 43 Unicode characters.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li181891853115318">Can contain only digits, letters, hyphens (-), underscores (_), at signs (@), and periods (.).</li></ul>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section16711172919282"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1471117295282"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b20972163231717">Status code: 201</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_response_CreateVirtualInterfaceResponseBody" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1713182917285"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p177148296289">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13715112912287">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12715122911288">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row9713132911284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p197151029122812">request_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1571522942811">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1971615298288">Specifies the request ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row18714152918281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1471619292285">virtual_interface</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1950720308280"><a href="#CreateVirtualInterface__en-us_topic_0000001735825428_response_VirtualInterface">VirtualInterface</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7507113002812">Specifies the virtual interface.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001735825428_response_VirtualInterface"></a><a name="en-us_topic_0000001735825428_response_VirtualInterface"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_response_VirtualInterface" frame="border" border="1" rules="all"><caption><b>Table 7 </b>VirtualInterface</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1972042914283"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p150723052815">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1550783032812">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1950833082819">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row10720132942811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p65081730122816">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p150814302289">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p050833062814">Specifies the virtual interface ID.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9508230142811">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1716214339178">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1372052913283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1850853062815">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p250873022812">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1650893016281">Specifies the virtual interface name.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2508173011280">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b016263319177">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1572012942810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9508103062815">admin_state_up</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7508153062811">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3508430122811">Specifies the administrative status. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b61622332174">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1316243341716">false</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1872015293286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1550813018282">bandwidth</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15508203014283">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p05081307287">Specifies the virtual interface bandwidth.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13508183072816">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1686458640">2</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18508163092810">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1316312334172">2147483647</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row472019297287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p115081305288">create_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1750815308286">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1850811300288">Specifies when the virtual interface was created. The UTC time format is <em id="CreateVirtualInterface__en-us_topic_0000001735825428_i7104337142214">yyyy-MM-ddTHH:mm:ss.SSSZ</em>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1350973013281">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19163033151719">255</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row2720629112818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19509130202810">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p145099301284">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6509163012281">Provides supplementary information about the virtual interface.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13509113011285">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b131633338175">128</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row19720102918281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1950914309282">direct_connect_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p45097306283">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p17509030192813">Specifies the connection ID.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7509430172816">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b61641433161713">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1720132914289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7509163010288">service_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p550903002813">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p33720161173">Specifies the gateway type. The value is <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1658211894">VGW</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1072182912813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1850933014287">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1850913016285">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11510103012286">Specifies the operating status. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b17165173351717">ACTIVE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1816543318172">DOWN</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b14165133317179">BUILD</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b16165143341714">ERROR</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b12165113331715">PENDING_CREATE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b41651533191715">PENDING_UPDATE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b5165633151713">PENDING_DELETE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1216593317172">DELETED</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b20165153391718">AUTHORIZATION</strong>, or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b171651933161710">REJECTED</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row57215291289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9510193011288">tenant_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3510330152810">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1151019303280">Specifies the project ID.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p17510183014280">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b716512334171">32</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p185101730122816">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b3165143391711">32</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row187211293289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p125101730122813">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p251083014287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p35101730192812">Specifies the type of the virtual interface. The value is <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b349561420334">private</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7510193052812">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b20249122143320">private</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p115108305286">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b650405180">255</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p751020305287">Enumeration values:<strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b23101831193313"> private</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1472112912814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p95101630162816">vgw_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p651043015286">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p451023042814">Specifies the virtual gateway ID.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p20510203014284">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b121661033151710">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18511830132815">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b131673334176">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row7721152917280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1751111301289">vlan</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8511730132815">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11511153019286">Specifies the VLAN for connecting to the customer gateway. The value ranges from <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b17167133181715">0</strong> to <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b01672331177">3999</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3511203062810">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b15167133341711">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2051113052813">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b31677330171">3999</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1272152972813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10511203012284">route_limit</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p651193015284">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1051113092819">Specifies the remote subnet route configurations of the virtual interface.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16511183062812">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b171676338175">1</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6511103062818">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1816793313176">200</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19511133017283">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b7167173316175">50</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1372114297285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6511930112810">enable_nqa</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8511193012284">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1651153072817">Specifies whether to enable NQA (Network Quality Analysis). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1263349142211">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b36410497226">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1721132911281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1951123019289">enable_bfd</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p251133017281">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1251123016288">Specifies whether to enable BFD (Bidirectional Forwarding Detection). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b8641175418222">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b964212544227">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row972114295287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1251115306286">lag_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p951217308281">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18512113092812">Specifies the ID of the LAG associated with the virtual interface.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13512173017288">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b181681133181712">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p155121730202815">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1616863312176">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row10721162913284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6512173020286">device_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p115121030182817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10512113082814">Specifies the ID of the device that the virtual interface belongs to.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1722172915280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p85121030142814">enterprise_project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1151293016287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15512113042814">Specifies the ID of the enterprise project that the virtual interface belongs to.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p55121130172816">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1381013079">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8512193011285">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b679779385">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1772292962820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12512163032813">tags</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p14512430162811">Array of <a href="#CreateVirtualInterface__en-us_topic_0000001735825428_response_Tag">Tag</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p115121530152818">Specifies the tags.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1151211306280">Array length: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b7346123922512">0–10</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row8722192962814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18512203013286">local_gateway_v4_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13512103017281">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1851263013288">Specifies the IPv4 interface address of the gateway used on the cloud. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b417012330174">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1572262911287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1551273082811">remote_gateway_v4_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15512330102816">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10513113002816">Specifies the IPv4 interface address of the gateway used on premises. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b12170633161720">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row9722029182814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p185131730152816">ies_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1951363019287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p65139304287">Specifies the edge site ID. (This parameter is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row672212919281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1951343062819">reason</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19513193013282">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2513153015288">Displays error information if the status of a line is <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b217010336179">Error</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row177229291282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1551333022816">rate_limit</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p251313016287">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5513113018289">Specifies whether rate limiting is enabled on a virtual interface.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row87221129102810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10513133092812">address_family</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15513103018283">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1251383011280">Specifies the address family of the virtual interface. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1417173312175">IPv4</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1217123313173">IPv6</strong>. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b81716334171">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row137221329132814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11513113032813">local_gateway_v6_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1351393016287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7513143082818">Specifies the IPv6 interface address of the gateway used on the cloud. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b101711933101719">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row6722629102813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p175131306289">remote_gateway_v6_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1851333092817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6513103012280">Specifies the IPv6 interface address of the gateway used on premises. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b41711733131713">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1972215293284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p205137301281">lgw_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p951433032816">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2051483019281">Specifies the ID of the local gateway, which is used in IES scenarios. (This parameter is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row11723102972812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p751473072819">gateway_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12514130142817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p35141930102815">Specifies the ID of the gateway associated with the virtual interface. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row3723102912285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12514153052817">remote_ep_group</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8514130102819">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p751413017284">Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1298660015">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row172332912287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5514730112811">service_ep_group</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10514130172818">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p185141630112817">Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1230644517349">vifpeer</strong> parameter list and will be discarded later.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row9723142932816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p185141830132816">bgp_route_limit</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p851493082815">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p16514130102817">Specifies the BGP route configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row372319291280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19514183092820">priority</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p165141430112814">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4514630172814">Specifies the priority of a virtual interface. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b881163876">normal</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1455420309">low</strong>. If the priorities are the same, the virtual interfaces work in load balancing mode. If the priorities are different, the virtual interfaces work in active/standby pairs. Outbound traffic is preferentially forwarded to the normal virtual interface with a higher priority. This option is only supported by virtual interfaces that use BGP routing.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1351419302285">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1675067056">normal</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p951453092811">Enumeration values:</p>
|
||
<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_ul7515193052816"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li7515130162816"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19515133018284">normal</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li251523052810"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b18515133022818">low</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row77231295285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1551583002815">vif_peers</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4515230142811">Array of <a href="#CreateVirtualInterface__en-us_topic_0000001735825428_response_VifPeer">VifPeer</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p651503010286">Provides information about virtual interface peers. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row572392922814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p55151230122811">extend_attribute</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p135151830132819"><a href="#CreateVirtualInterface__en-us_topic_0000001735825428_response_VifExtendAttribute">VifExtendAttribute</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1751563011281">Provides extended parameter information. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001735825428_response_Tag"></a><a name="en-us_topic_0000001735825428_response_Tag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_response_Tag" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Tag</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_row386111195349"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p71389204345">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p113892053413">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p19138320103413">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_row68621619203416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p1313811204343">key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p6138132013342">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><div class="p" id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p988813512470">Specifies the tag key. The key:<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_ul161904329534_1"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li19190153219534_1">Cannot be left blank.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li7190432145319_1">Must be unique for each resource.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li181905324537_1">Can contain a maximum of 36 Unicode characters.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li1219019324535_1">Can contain only digits, letters, hyphens (-), underscores (_), at signs (@), and periods (.).</li></ul>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_row78621819123417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p2138122003420">value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p8138182073414">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><div class="p" id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_p422514116535">Specifies the tag value. The value:<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_ul15189353205316_1"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li51898538530_1">Can be left blank.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li16189195355312_1">Can contain a maximum of 43 Unicode characters.</li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_en-us_topic_0000001735825404_li181891853115318_1">Can contain only digits, letters, hyphens (-), underscores (_), at signs (@), and periods (.).</li></ul>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001735825428_response_VifPeer"></a><a name="en-us_topic_0000001735825428_response_VifPeer"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_response_VifPeer" frame="border" border="1" rules="all"><caption><b>Table 9 </b>VifPeer</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row6787529142815"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p85161530152814">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13516130112818">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p17516630172815">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row9787112932810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p135167306284">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p151633082811">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1851613082819">Specifies the resource ID.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p12516730122818">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b81761233151718">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p20516030172810">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b11761133121719">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row147881829102818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p451623042813">tenant_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15516133022818">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p165161030132813">Specifies the ID of the project that the virtual interface peer belongs to.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p151693022819">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b3176933181710">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p25177303282">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b317613371717">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1278811292283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1551753019288">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13517203011289">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4517183013281">Specifies the name of the virtual interface peer.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13517133015283">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b19176163321711">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13517133010287">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b332941694">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row778822912819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18517123014284">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p35177307287">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p551712308284">Provides supplementary information about the virtual interface peer.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1151717305285">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b17177133311174">0</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p45178302280">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b7177193310179">128</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1178802914284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p135171130192814">address_family</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p551713022815">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1351718302284">Specifies the address family of the virtual interface. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b6177433141712">IPv4</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b2017723317178">IPv6</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row8788129112815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2517930112816">local_gateway_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p115171330202817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11517153092816">Specifies the gateway address of the virtual interface peer used on the cloud. </p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row187881929152818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1451713062818">remote_gateway_ip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p195171730192812">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13517130142815">Specifies the gateway of the virtual interface peer used in the on-premises data center.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1778810295286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p551753012281">route_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p851814305289">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p65187305285">Specifies the routing mode. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b151781533151710">static</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1117813371714">bgp</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1551863042817">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b917820332170">255</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9518183011286">Enumeration values:</p>
|
||
<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_ul5518173002812"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li351853017286"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b145181630142817">bgp</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li2518230162811"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b11518103012286">static</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1078832932811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p175183303289">bgp_asn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p2518193015283">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11518203015284">Specifies the ASN of the BGP peer.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1951833062815">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b12179103361717">1</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1451873092810">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b83598110">4294967295</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row187884299282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p751811306282">bgp_md5</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p651853082817">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p195184307283">Specifies the MD5 password of the BGP peer.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1778852922818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9518193018284">remote_ep_group</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p145186309287">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15180303285">Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row7788129112815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13518203082810">service_ep_group</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p451813062818">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p155191530122810">Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1378816298280"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p185191930182812">device_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p105199301284">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p65191930142817">Specifies the ID of the device that the virtual interface peer belongs to.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row5789172912817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p351973019285">bgp_route_limit</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p175191030192813">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p7519103015284">Specifies the BGP route configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row18789929102815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1851933082811">bgp_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p551918308281">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p55191630172813">Specifies the BGP protocol status of the virtual interface peer. If the virtual interface peer uses static routing, the status is <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b61809332176">null</strong>.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9519173052815">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b101807331177">10</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1378952910281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p551963016287">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1351953012811">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p45199304285">Specifies the status of the virtual interface peer.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row578919293288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p6519123017281">vif_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p13519113012818">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1051953082811">Specifies the ID of the virtual interface corresponding to the virtual interface peer.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p95191430132815">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b518043351715">36</strong></p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4519830132818">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b218193341716">36</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1678922917286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8519730122812">receive_route_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1651973092810">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4519133017285">Specifies the number of received BGP routes if BGP routing is used. If static routing is used, this parameter is meaningless and the value is <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b31813336171">-1</strong>. If this parameter cannot be obtained, contact customer service to migrate your ports.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row15789152913285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19519123042810">enable_nqa</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p135201230162819">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p11520163019289">Specifies whether to enable NQA (Network Quality Analysis). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1817724318113">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b8178443111119">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1678917296282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8520133013286">enable_bfd</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15203301286">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8520143011285">Specifies whether to enable BFD (Bidirectional Forwarding Detection). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1223534612311">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b2235144652313">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001735825428_response_VifExtendAttribute"></a><a name="en-us_topic_0000001735825428_response_VifExtendAttribute"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_response_VifExtendAttribute" frame="border" border="1" rules="all"><caption><b>Table 10 </b>VifExtendAttribute</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row780342912820"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p4520163015282">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p152015308288">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p752014301282">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row198034296283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p35201830152815">ha_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p9520193013284">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1852063072811">Specifies the availability detection type of the virtual interface.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10520153082811">Enumeration values:</p>
|
||
<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_ul7520103013288"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li652083011287"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1052073002811">nqa</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li1952014306284"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b185202030162810">bfd</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row7803132918284"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1252033018288">ha_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p18520143017289">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1052063011284">Specifies the availability detection mode.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p45201830142813">Enumeration values:</p>
|
||
<ul id="CreateVirtualInterface__en-us_topic_0000001735825428_ul552014306287"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li952113011285"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b15217301289">auto_single</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li1052133016287"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1852153012284">auto_multi</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li10521183072818"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b1652113012287">static_single</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li195211830182815"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b9521430112814">static_multi</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li155211930152820"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b25211230172811">enhance_nqa</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row14803162916287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p5521430122816">detect_multiplier</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p152153020288">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1152133014286">Specifies the number of detection retries.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p05211630172819">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b21849334173">5</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row980342972816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p165214309286">min_rx_interval</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p052103011282">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p10521130132810">Specifies the interval for receiving detection packets.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8521173072820">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b13184533141713">1000</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1180302915286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p175216303283">min_tx_interval</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1452117301284">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p15213302284">Specifies the interval for sending detection packets.</p>
|
||
<p id="CreateVirtualInterface__en-us_topic_0000001735825428_p85212030192810">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b131842339172">1000</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row58031329142811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p8522193072815">remote_disclaim</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1852218304286">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1052293052812">Specifies the remote identifier of the static BFD session.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row14803162952813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3522103015285">local_disclaim</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3522183014281">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p3522530192811">Specifies the local identifier of the static BFD session.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section1522103092820"><h4 class="sectiontitle">Example Requests</h4><ul id="CreateVirtualInterface__en-us_topic_0000001735825428_ul8332151725015"><li id="CreateVirtualInterface__en-us_topic_0000001735825428_li1533211705010">Creating a private virtual interface, with the bandwidth set to 2 Mbit/s, VLAN to 332, local gateway to 1.1.1.1/30, and remote gateway to 1.1.1.2/30, and routing mode to static routing<pre class="screen" id="CreateVirtualInterface__en-us_topic_0000001735825428_screen13522330182811">POST https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces
|
||
|
||
{
|
||
"virtual_interface" : {
|
||
"name" : "vif-0819",
|
||
"description" : "mytest",
|
||
"direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1",
|
||
"vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b",
|
||
"vlan" : 332,
|
||
"bandwidth" : 2,
|
||
"local_gateway_v4_ip" : "1.1.1.1/30",
|
||
"remote_gateway_v4_ip" : "1.1.1.2/30",
|
||
"type" : "private",
|
||
"route_mode" : "static",
|
||
"remote_ep_group" : [ "1.1.2.0/30" ]
|
||
}
|
||
}</pre>
|
||
</li></ul>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section05222301284"><h4 class="sectiontitle">Example Responses</h4><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p452213062819"><strong id="CreateVirtualInterface__en-us_topic_0000001735825428_b8641142373718">Status code: 201</strong></p>
|
||
<div class="p" id="CreateVirtualInterface__en-us_topic_0000001735825428_p6522930102812">Created<pre class="screen" id="CreateVirtualInterface__en-us_topic_0000001735825428_screen25231830162815">{
|
||
"virtual_interface" : {
|
||
"id" : "0d0fdf63-f2c4-491c-8866-d504796189be",
|
||
"name" : "vif-0819",
|
||
"description" : "mytest",
|
||
"tenant_id" : "0605768a3300d5762f82c01180692873",
|
||
"direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1",
|
||
"vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b",
|
||
"type" : "private",
|
||
"service_type" : "VGW",
|
||
"vlan" : 332,
|
||
"bandwidth" : 2,
|
||
"device_id" : "18.9.215.131",
|
||
"status" : "ACTIVE",
|
||
"create_time" : "2022-08-19T11:28:06.000Z",
|
||
"admin_state_up" : true,
|
||
"enable_bfd" : false,
|
||
"route_limit" : 50,
|
||
"enable_nqa" : false,
|
||
"local_gateway_v4_ip" : "1.1.1.1/30",
|
||
"remote_gateway_v4_ip" : "1.1.1.2/30",
|
||
"ies_id" : null,
|
||
"reason" : null,
|
||
"rate_limit" : false,
|
||
"local_gateway_v6_ip" : null,
|
||
"remote_gateway_v6_ip" : null,
|
||
"lgw_id" : null,
|
||
"lag_id" : null,
|
||
"priority" : "normal",
|
||
"tags": [],
|
||
"vif_peers" : [ {
|
||
"id" : "c768eb52-12a8-4859-9b43-81194643040c",
|
||
"tenant_id" : "0605768a3300d5762f82c01180692873",
|
||
"name" : "vif-0819",
|
||
"description" : "",
|
||
"address_family" : "ipv4",
|
||
"local_gateway_ip" : "1.1.1.1/30",
|
||
"remote_gateway_ip" : "1.1.1.2/30",
|
||
"route_mode" : "static",
|
||
"bgp_asn" : null,
|
||
"bgp_md5" : null,
|
||
"device_id" : "18.9.215.131",
|
||
"bgp_route_limit" : 100,
|
||
"bgp_status" : null,
|
||
"status" : "ACTIVE",
|
||
"vif_id" : "0d0fdf63-f2c4-491c-8866-d504796189be",
|
||
"receive_route_num" : -1,
|
||
"remote_ep_group" : [ "1.1.2.0/30" ],
|
||
"enable_bfd" : false,
|
||
"enable_nqa" : false,
|
||
"service_ep_group" : null
|
||
} ],
|
||
"enterprise_project_id" : "0"
|
||
},
|
||
"request_id" : "5633df7af874576d819a481c76673236"
|
||
}</pre>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section1352893010281"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001735825428_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1783842910286"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p19529630102815">Status Code</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p652953082819">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001735825428_row1783862932817"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p1052903002811">201</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p25291302285">Created</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001735825428_section13529203012288"><h4 class="sectiontitle">Error Codes</h4><p id="CreateVirtualInterface__en-us_topic_0000001735825428_p85291030182813">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000002.html">Virtual Interfaces</a></div>
|
||
</div>
|
||
</div>
|
||
|