forked from docs/doc-exports
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
1566 lines
116 KiB
HTML
1566 lines
116 KiB
HTML
<a name="CreateVpcChannelV2"></a><a name="CreateVpcChannelV2"></a>
|
||
|
||
<h1 class="topictitle1">Creating a VPC Channel</h1>
|
||
<div id="body54914361615"><div class="section" id="CreateVpcChannelV2__section550174317167"><h4 class="sectiontitle">Function</h4><p id="CreateVpcChannelV2__p250104312168">This API is used to create a VPC channel from APIG to your private VPC resources. Afterwards, when creating an API, you can configure your backend service to use this VPC channel so that APIG can directly access your private VPC resources.</p>
|
||
<div class="note" id="CreateVpcChannelV2__note15501943131618"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CreateVpcChannelV2__p145034361611">You can create a maximum of 30 VPC channels.</p>
|
||
</div></div>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__atuogenerate_1"><h4 class="sectiontitle">Calling Method</h4><p id="CreateVpcChannelV2__p0509433161">For details, see <a href="apig-api-180713003.html">Calling APIs</a>.</p>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="CreateVpcChannelV2__p951204301616">POST /v2/{project_id}/apigw/instances/{instance_id}/vpc-channels</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__table14521243151616" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row751164311168"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateVpcChannelV2__p35254311614">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateVpcChannelV2__p17526437161">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateVpcChannelV2__p20521243151613">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateVpcChannelV2__p17527439168">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row2511443121619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateVpcChannelV2__p1652194319168">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateVpcChannelV2__p19531543151610">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateVpcChannelV2__p85314311165">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateVpcChannelV2__p6535439164">Project ID. For details about how to obtain it, see <a href="apig-api-180713009.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row951194331616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateVpcChannelV2__p053154318161">instance_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateVpcChannelV2__p65304321619">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateVpcChannelV2__p1853144381615">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateVpcChannelV2__p125318433166">Gateway ID, which can be obtained from the gateway information on the APIG console.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__section175464315169"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row3541043111612"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="CreateVpcChannelV2__p1455143101610">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="CreateVpcChannelV2__p1555194317164">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="CreateVpcChannelV2__p6551437165">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="CreateVpcChannelV2__p145594315162">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row654194381618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="CreateVpcChannelV2__p185516434166">X-Auth-Token</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="CreateVpcChannelV2__p7565438168">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="CreateVpcChannelV2__p195616431165">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="CreateVpcChannelV2__p85674321613">User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a token.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_VpcCreate" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row155634320166"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="CreateVpcChannelV2__p12581143121610">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="CreateVpcChannelV2__p16581643111617">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="CreateVpcChannelV2__p1595432167">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="CreateVpcChannelV2__p1659443121620">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row155754311614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p19591243111620">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p1591243161614">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p1259114361619">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p18600432161">VPC channel name.</p>
|
||
<p id="CreateVpcChannelV2__p106084351611">It can contain 3 to 64 characters, starting with a letter. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row35784319166"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p760134381619">port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p196017433163">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p1460104312163">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p196013431165">Host port of the VPC channel.</p>
|
||
<p id="CreateVpcChannelV2__p1260134361618">Range: 1–65535.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row057243101614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p136084313161">balance_strategy</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p1661114314163">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p1611743141616">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p1261154391614">Distribution algorithm.</p>
|
||
<ul id="CreateVpcChannelV2__ul10612433167"><li id="CreateVpcChannelV2__li161243161616">1: Weighted round robin (WRR).</li><li id="CreateVpcChannelV2__li14615432169">2: Weighted least connections (WLC).</li><li id="CreateVpcChannelV2__li166154313165">3: Source hashing.</li><li id="CreateVpcChannelV2__li861943151619">4: URI hashing.</li></ul>
|
||
<p id="CreateVpcChannelV2__p362194331610">Default: <strong id="CreateVpcChannelV2__b96219432164">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p56217432163">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul12624433165"><li id="CreateVpcChannelV2__li662134301615"><strong id="CreateVpcChannelV2__b1462124321611">1</strong></li><li id="CreateVpcChannelV2__li1862164351611"><strong id="CreateVpcChannelV2__b662184313168">2</strong></li><li id="CreateVpcChannelV2__li26204331612"><strong id="CreateVpcChannelV2__b1962114331614">3</strong></li><li id="CreateVpcChannelV2__li1762164351613"><strong id="CreateVpcChannelV2__b176216433162">4</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row35711432167"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p116284311162">member_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p863643181616">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p66310433167">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p6631243131610">Member type of the VPC channel.</p>
|
||
<ul id="CreateVpcChannelV2__ul5631043171612"><li id="CreateVpcChannelV2__li1663134361618">ip</li><li id="CreateVpcChannelV2__li463134318166">ecs</li></ul>
|
||
<p id="CreateVpcChannelV2__p126320432167">Default: <strong id="CreateVpcChannelV2__b364843131617">ecs</strong></p>
|
||
<p id="CreateVpcChannelV2__p064743101610">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul146420432161"><li id="CreateVpcChannelV2__li7642043121613"><strong id="CreateVpcChannelV2__b6641243161620">ip</strong></li><li id="CreateVpcChannelV2__li16641443121611"><strong id="CreateVpcChannelV2__b196474331610">ecs</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1057104319162"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p96415438165">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p16474391611">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p96454311611">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p1364104331615">VPC channel type. The default type is server.</p>
|
||
<ul id="CreateVpcChannelV2__ul864743161613"><li id="CreateVpcChannelV2__li1064184311616">2: Server type.</li><li id="CreateVpcChannelV2__li136720433166">3: Microservice type.</li></ul>
|
||
<p id="CreateVpcChannelV2__p1467114316163">Default: <strong id="CreateVpcChannelV2__b86714313165">2</strong></p>
|
||
<p id="CreateVpcChannelV2__p1967114312168">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul1167104311162"><li id="CreateVpcChannelV2__li96710431167"><strong id="CreateVpcChannelV2__b1167743101615">2</strong></li><li id="CreateVpcChannelV2__li3677434160"><strong id="CreateVpcChannelV2__b1567043201615">3</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row55711436164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p56754341612">dict_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p667174310168">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p768154391616">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p568943131615">Dictionary code of the VPC channel.</p>
|
||
<p id="CreateVpcChannelV2__p186854391618">The value can contain letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="CreateVpcChannelV2__p1168164318163">This parameter is currently not supported.</p>
|
||
<p id="CreateVpcChannelV2__p268443171616">Minimum: <strong id="CreateVpcChannelV2__b16874371618">3</strong></p>
|
||
<p id="CreateVpcChannelV2__p168114321620">Maximum: <strong id="CreateVpcChannelV2__b9685431167">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row45719436165"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p17686434160">member_groups</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p116815438164">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p1469204310168">Array of <a href="#CreateVpcChannelV2__request_MemberGroupCreate">MemberGroupCreate</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p069164341616">Backend server groups of the VPC channel.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row457743121610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p176924381618">members</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p1669144317165">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p86994318167">Array of <a href="#CreateVpcChannelV2__request_MemberInfo">MemberInfo</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p1169124351616">Backend instances of the VPC channel.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row6571443161613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p196910432162">vpc_health_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p1770154317166">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p17016434163"><a href="#CreateVpcChannelV2__request_VpcHealthConfig">VpcHealthConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p9701443171619">Health check details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row19578431164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateVpcChannelV2__p77004313169">microservice_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateVpcChannelV2__p137074318167">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateVpcChannelV2__p16709438164"><a href="#CreateVpcChannelV2__request_MicroServiceCreate">MicroServiceCreate</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateVpcChannelV2__p187013431164">Microservice details.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_MemberGroupCreate"></a><a name="request_MemberGroupCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_MemberGroupCreate" frame="border" border="1" rules="all"><caption><b>Table 4 </b>MemberGroupCreate</caption><thead align="left"><tr id="CreateVpcChannelV2__row271114331619"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="CreateVpcChannelV2__p67244341613">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="CreateVpcChannelV2__p1972243201613">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="CreateVpcChannelV2__p1472174317167">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="CreateVpcChannelV2__p1772243141620">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row12717432164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p1173204314161">member_group_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p1173194316165">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p17310432166">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p177384311165">Name of the VPC channel's backend server group. It can contain 3 to 64 characters, starting with a letter. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row97114433163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p187324381617">member_group_remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p18731043171613">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p57344341618">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p1073443161614">Description of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p1731443101619">Maximum: <strong id="CreateVpcChannelV2__b373243141618">255</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row7712439166"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p19746432168">member_group_weight</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p274104321619">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p774134311161">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p8741943101620">Weight of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p474443161612">If the server group contains servers and a weight has been set for it, the weight is automatically used to assign weights to servers in this group.</p>
|
||
<p id="CreateVpcChannelV2__p12747438165">Minimum: <strong id="CreateVpcChannelV2__b074743201614">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p17745436168">Maximum: <strong id="CreateVpcChannelV2__b1074204316161">100</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row3711843191618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p19741043131619">dict_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p1174143111610">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p18755438169">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p075743101618">Dictionary code of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p1775174311614">The value can contain letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="CreateVpcChannelV2__p075154381613">Currently, this parameter is not supported.</p>
|
||
<p id="CreateVpcChannelV2__p107574313161">Minimum: <strong id="CreateVpcChannelV2__b137512431165">3</strong></p>
|
||
<p id="CreateVpcChannelV2__p5751843111611">Maximum: <strong id="CreateVpcChannelV2__b6751743121613">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row4715439169"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p13751643151615">microservice_version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p1575843121612">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p575114331614">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p10760432169">Version of the backend server group. This parameter is supported only when the VPC channel type is microservice.</p>
|
||
<p id="CreateVpcChannelV2__p5769433163">Maximum: <strong id="CreateVpcChannelV2__b197613437168">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row2711243101614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p976143191615">microservice_port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p976143101617">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p1276243121612">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p3761343111612">Port of the backend server group. This parameter is supported only when the VPC channel type is microservice. If the port number is 0, all addresses in the backend server group use the original load balancing port to inherit logic.</p>
|
||
<p id="CreateVpcChannelV2__p57674311610">Minimum: <strong id="CreateVpcChannelV2__b87664371619">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p977204318166">Maximum: <strong id="CreateVpcChannelV2__b77754318169">65535</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row15711143191618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateVpcChannelV2__p87714310164">microservice_labels</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateVpcChannelV2__p187774314163">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateVpcChannelV2__p1177843111617">Array of <a href="#CreateVpcChannelV2__request_MicroserviceLabel">MicroserviceLabel</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateVpcChannelV2__p47714310162">Tags of the backend server group. This parameter is supported only when the VPC channel type is microservice.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_MicroserviceLabel"></a><a name="request_MicroserviceLabel"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_MicroserviceLabel" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MicroserviceLabel</caption><thead align="left"><tr id="CreateVpcChannelV2__row1278194391618"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.1"><p id="CreateVpcChannelV2__p27974320168">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.2"><p id="CreateVpcChannelV2__p2079164321617">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.3"><p id="CreateVpcChannelV2__p147944391611">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.5.2.5.1.4"><p id="CreateVpcChannelV2__p18802438162">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row67811431164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="CreateVpcChannelV2__p28074315163">label_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="CreateVpcChannelV2__p780943151613">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="CreateVpcChannelV2__p1480184311169">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="CreateVpcChannelV2__p11811143171612">Tag name.</p>
|
||
<p id="CreateVpcChannelV2__p1281134315169">Start and end with a letter or digit. Use only letters, digits, hyphens (-), underscores (_), and periods (.). (Max. 63 characters.)</p>
|
||
<p id="CreateVpcChannelV2__p4811043171613">Minimum: <strong id="CreateVpcChannelV2__b981743101613">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p15811843181612">Maximum: <strong id="CreateVpcChannelV2__b68184310161">63</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row117834311613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="CreateVpcChannelV2__p481154313163">label_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="CreateVpcChannelV2__p482543131611">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="CreateVpcChannelV2__p78274312162">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="CreateVpcChannelV2__p782104314168">Tag value.</p>
|
||
<p id="CreateVpcChannelV2__p48213434169">Start and end with a letter or digit. Use only letters, digits, hyphens (-), underscores (_), and periods (.). (Max. 63 characters.)</p>
|
||
<p id="CreateVpcChannelV2__p108218434165">Minimum: <strong id="CreateVpcChannelV2__b1783104301618">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p1583943131613">Maximum: <strong id="CreateVpcChannelV2__b1383143141619">63</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_MemberInfo"></a><a name="request_MemberInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_MemberInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MemberInfo</caption><thead align="left"><tr id="CreateVpcChannelV2__row178415431169"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.1"><p id="CreateVpcChannelV2__p885164320162">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.2"><p id="CreateVpcChannelV2__p28664371610">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.3"><p id="CreateVpcChannelV2__p786124331614">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.6.2.5.1.4"><p id="CreateVpcChannelV2__p15861243151610">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row1484184331619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p88644351615">host</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p1286184311613">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p1286154311613">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p15866435167">Backend server address.</p>
|
||
<p id="CreateVpcChannelV2__p2086743171619">This parameter is required when the member type is IP address.</p>
|
||
<p id="CreateVpcChannelV2__p2875431166">Maximum: <strong id="CreateVpcChannelV2__b18718432162">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row984174312161"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p1587174361614">weight</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p1287104312169">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p1987443201612">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p2884435168">Weight.</p>
|
||
<p id="CreateVpcChannelV2__p198854371613">The higher the weight is, the more requests a backend service will receive.</p>
|
||
<p id="CreateVpcChannelV2__p11882434161">Minimum: <strong id="CreateVpcChannelV2__b13882433169">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p688643141620">Maximum: <strong id="CreateVpcChannelV2__b178814371615">10000</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row584144316163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p488174391615">is_backup</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p2088194316163">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p1887433168">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p288124314167">Indicates whether the backend service is a standby node.</p>
|
||
<p id="CreateVpcChannelV2__p15886434160">After you enable this function, the backend service serves as a standby node. It works only when all non-standby nodes are faulty.</p>
|
||
<p id="CreateVpcChannelV2__p989164351613">This function is supported only when your gateway has been upgraded to the corresponding version. If your gateway does not support this function, contact technical support.</p>
|
||
<p id="CreateVpcChannelV2__p1689124315165">Default: <strong id="CreateVpcChannelV2__b15898436165">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row28415435169"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p17891743191615">member_group_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p124851143161618">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p10485114321617">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p4485154351613">Backend server group name. The server group facilitates backend service address modification.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row6845435161"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p04851643121613">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p24851343101612">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p1548512437162">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p1485743111612">Backend server status.</p>
|
||
<ul id="CreateVpcChannelV2__ul04850434167"><li id="CreateVpcChannelV2__li04855430169">1: available</li><li id="CreateVpcChannelV2__li15485134317161">2: unavailable</li></ul>
|
||
<p id="CreateVpcChannelV2__p144851543181610">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul174851843161618"><li id="CreateVpcChannelV2__li1486134351617"><strong id="CreateVpcChannelV2__b17486194319167">1</strong></li><li id="CreateVpcChannelV2__li64861243181620"><strong id="CreateVpcChannelV2__b194861343131610">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row48434311162"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p11486943131620">port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p13486143101613">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p4486194351613">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p7486194371612">Backend server port.</p>
|
||
<p id="CreateVpcChannelV2__p11486543101613">Minimum: <strong id="CreateVpcChannelV2__b134861843161612">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p204865436161">Maximum: <strong id="CreateVpcChannelV2__b18486843151619">65535</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row138424371617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p1448674371618">ecs_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p548611438160">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p04869438160">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p1348614301618">Backend server ID.</p>
|
||
<p id="CreateVpcChannelV2__p114868437163">This parameter is required if the backend instance type is ecs. The value can contain 1 to 64 characters, including letters, digits, hyphens (-), and underscores (_).</p>
|
||
<p id="CreateVpcChannelV2__p1448619430162">Maximum: <strong id="CreateVpcChannelV2__b12486164318162">255</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row148514301613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateVpcChannelV2__p3486243171619">ecs_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateVpcChannelV2__p1548620434161">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateVpcChannelV2__p34861443151616">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateVpcChannelV2__p2486134371613">Backend server name.</p>
|
||
<p id="CreateVpcChannelV2__p04861843141614">This parameter is required if the backend instance type is ecs. The value can contain 1 to 64 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="CreateVpcChannelV2__p10486194316165">Maximum: <strong id="CreateVpcChannelV2__b11486194311162">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_VpcHealthConfig"></a><a name="request_VpcHealthConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_VpcHealthConfig" frame="border" border="1" rules="all"><caption><b>Table 7 </b>VpcHealthConfig</caption><thead align="left"><tr id="CreateVpcChannelV2__row29584313167"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.5.1.1"><p id="CreateVpcChannelV2__p748624331612">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.5.1.2"><p id="CreateVpcChannelV2__p748794341610">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.5.1.3"><p id="CreateVpcChannelV2__p1148774311167">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.7.2.5.1.4"><p id="CreateVpcChannelV2__p648720439166">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row995943131616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p104871434165">protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p54878436162">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p848794315161">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p44870433163">Protocol for performing health checks on backend servers in the VPC channel.</p>
|
||
<ul id="CreateVpcChannelV2__ul24877436167"><li id="CreateVpcChannelV2__li1748794317169">TCP</li><li id="CreateVpcChannelV2__li2487134381613">HTTP</li><li id="CreateVpcChannelV2__li1448714391614">HTTPS</li></ul>
|
||
<p id="CreateVpcChannelV2__p1548711434169">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul2487143161619"><li id="CreateVpcChannelV2__li12487134313165"><strong id="CreateVpcChannelV2__b1348819435167">TCP</strong></li><li id="CreateVpcChannelV2__li194881343151611"><strong id="CreateVpcChannelV2__b10488643101612">HTTP</strong></li><li id="CreateVpcChannelV2__li148894321612"><strong id="CreateVpcChannelV2__b1648817434161">HTTPS</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row89524314160"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p1848864381613">path</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p7488134351612">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p34881543171612">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p248819433164">Destination path for health checks. This parameter is required if protocol is set to http or https.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row695943191616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p1948824320164">method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p7488154318162">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p84881143181619">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p14488343151615">Request method for health checks.</p>
|
||
<p id="CreateVpcChannelV2__p1448854311616">Default: <strong id="CreateVpcChannelV2__b114881643121610">GET</strong></p>
|
||
<p id="CreateVpcChannelV2__p748816435169">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul44881143111617"><li id="CreateVpcChannelV2__li848815436166"><strong id="CreateVpcChannelV2__b04881343111618">GET</strong></li><li id="CreateVpcChannelV2__li104882432166"><strong id="CreateVpcChannelV2__b3488154381619">HEAD</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row29574311160"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p18488204381610">port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p114881243121620">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p1748812438162">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p748912439162">Destination port for health checks. If this parameter is not specified or set to 0, the host port of the VPC channel is used.</p>
|
||
<p id="CreateVpcChannelV2__p1248974381613">If this parameter is set to a non-zero value, the corresponding port is used for health checks.</p>
|
||
<p id="CreateVpcChannelV2__p84891843121613">Minimum: <strong id="CreateVpcChannelV2__b15489743171611">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p15489134318169">Maximum: <strong id="CreateVpcChannelV2__b1648914311610">65535</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row7951743191610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p5489104314166">threshold_normal</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p154891436163">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p144891243151612">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p1848920436160">Healthy threshold. It refers to the number of consecutive successful checks required for a backend server to be considered healthy.</p>
|
||
<p id="CreateVpcChannelV2__p1148974318167">Minimum: <strong id="CreateVpcChannelV2__b8489134371618">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p5489643141620">Maximum: <strong id="CreateVpcChannelV2__b5489443181619">10</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row169514315165"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p184891343161613">threshold_abnormal</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p948914312168">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p184891143161613">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p1048914437164">Unhealthy threshold, which refers to the number of consecutive failed checks required for a backend server to be considered unhealthy.</p>
|
||
<p id="CreateVpcChannelV2__p124891643111618">Minimum: <strong id="CreateVpcChannelV2__b1648915433160">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p12489184331613">Maximum: <strong id="CreateVpcChannelV2__b24891043121612">10</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row179613431161"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p1748918438161">time_interval</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p11489843131619">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p1548917431163">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p54897437165">Interval between consecutive checks. Unit: s. The value must be greater than the value of timeout.</p>
|
||
<p id="CreateVpcChannelV2__p5489114320164">Minimum: <strong id="CreateVpcChannelV2__b1849013438164">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p174904434164">Maximum: <strong id="CreateVpcChannelV2__b1549010430166">300</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row49694315163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p19490184351618">http_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p12490443181614">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p949084391612">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p549044313163">Response codes for determining a successful HTTP response. The value can be any integer within 100–599 in one of the following formats:</p>
|
||
<ul id="CreateVpcChannelV2__ul5490154341612"><li id="CreateVpcChannelV2__li1749044311619">Multiple values, for example, 200,201,202</li><li id="CreateVpcChannelV2__li749004318160">Range, for example, 200-299</li><li id="CreateVpcChannelV2__li64901643131611">Multiple values and ranges, for example, 201,202,210-299. This parameter is required if protocol is set to http.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row496043111620"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p849074321612">enable_client_ssl</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p3490154312162">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p0490743181615">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p1349024320162">Indicates whether to enable two-way authentication. If this function is enabled, the certificate specified in the backend_client_certificate configuration item of the gateway is used.</p>
|
||
<p id="CreateVpcChannelV2__p1349044316167">Default: <strong id="CreateVpcChannelV2__b1490134311164">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row15961743161610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p6490843141611">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p9490343131620">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p0490154311167">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p20490443181617">Health check result.</p>
|
||
<ul id="CreateVpcChannelV2__ul7490134315166"><li id="CreateVpcChannelV2__li6490194321616">1: available</li><li id="CreateVpcChannelV2__li34901643161613">2: unavailable</li></ul>
|
||
<p id="CreateVpcChannelV2__p64901243191610">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul1490143161619"><li id="CreateVpcChannelV2__li54902043151615"><strong id="CreateVpcChannelV2__b54911843151612">1</strong></li><li id="CreateVpcChannelV2__li19491643151610"><strong id="CreateVpcChannelV2__b2049119436166">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row196174311619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateVpcChannelV2__p9491184351611">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateVpcChannelV2__p349134321619">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateVpcChannelV2__p7491114311166">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateVpcChannelV2__p134911443131619">Timeout for determining whether a health check fails. Unit: s. The value must be less than the value of time_interval.</p>
|
||
<p id="CreateVpcChannelV2__p15491164391619">Minimum: <strong id="CreateVpcChannelV2__b1849194319161">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p2491154391612">Maximum: <strong id="CreateVpcChannelV2__b449124361611">30</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_MicroServiceCreate"></a><a name="request_MicroServiceCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_MicroServiceCreate" frame="border" border="1" rules="all"><caption><b>Table 8 </b>MicroServiceCreate</caption><thead align="left"><tr id="CreateVpcChannelV2__row6108643201615"><th align="left" class="cellrowborder" valign="top" width="19.97%" id="mcps1.3.4.8.2.5.1.1"><p id="CreateVpcChannelV2__p749115435165">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20.03%" id="mcps1.3.4.8.2.5.1.2"><p id="CreateVpcChannelV2__p144911143151615">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.5.1.3"><p id="CreateVpcChannelV2__p114912438163">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.8.2.5.1.4"><p id="CreateVpcChannelV2__p249124341618">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row91081543141616"><td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateVpcChannelV2__p18491134318168">service_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateVpcChannelV2__p7491124361614">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateVpcChannelV2__p184911243111615">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateVpcChannelV2__p204915439160">Microservice type. Options:</p>
|
||
<ul id="CreateVpcChannelV2__ul1249174314163"><li id="CreateVpcChannelV2__li17491194341610">CSE: CSE microservice registration center</li><li id="CreateVpcChannelV2__li5492143181616">CCE: CCE workload</li></ul>
|
||
<p id="CreateVpcChannelV2__p17492543141619">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul16492124311167"><li id="CreateVpcChannelV2__li1949213435168"><strong id="CreateVpcChannelV2__b2492174361614">CSE</strong></li><li id="CreateVpcChannelV2__li2049234351619"><strong id="CreateVpcChannelV2__b134923437167">CCE</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row81081243171613"><td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateVpcChannelV2__p16492114310162">cse_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateVpcChannelV2__p124921434165">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateVpcChannelV2__p17492043161614"><a href="#CreateVpcChannelV2__request_MicroServiceInfoCSEBase">MicroServiceInfoCSEBase</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateVpcChannelV2__p154921343201612">CSE microservice details. This parameter is required if service_type is set to CSE.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row11108194361619"><td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateVpcChannelV2__p104925437165">cce_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateVpcChannelV2__p4492174321616">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateVpcChannelV2__p1949217431167"><a href="#CreateVpcChannelV2__request_MicroServiceInfoCCEBase">MicroServiceInfoCCEBase</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateVpcChannelV2__p134928437160">CCE workload details. This parameter is required if service_type is set to CCE. Either app_name or any of label_key and label_value must be set. If only app_name is set, label_key='app' and label_value=app_name.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_MicroServiceInfoCSEBase"></a><a name="request_MicroServiceInfoCSEBase"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_MicroServiceInfoCSEBase" frame="border" border="1" rules="all"><caption><b>Table 9 </b>MicroServiceInfoCSEBase</caption><thead align="left"><tr id="CreateVpcChannelV2__row3113174315161"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.5.1.1"><p id="CreateVpcChannelV2__p74936433160">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.5.1.2"><p id="CreateVpcChannelV2__p1549374361615">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.5.1.3"><p id="CreateVpcChannelV2__p5493144361613">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.9.2.5.1.4"><p id="CreateVpcChannelV2__p2493154318168">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row14113184312162"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.5.1.1 "><p id="CreateVpcChannelV2__p124938435163">engine_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.5.1.2 "><p id="CreateVpcChannelV2__p144931243151615">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.5.1.3 "><p id="CreateVpcChannelV2__p8493184391613">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.9.2.5.1.4 "><p id="CreateVpcChannelV2__p14493164321613">Microservice engine ID.</p>
|
||
<p id="CreateVpcChannelV2__p54931434164">Maximum: <strong id="CreateVpcChannelV2__b6493104310168">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row15113943121618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.5.1.1 "><p id="CreateVpcChannelV2__p6493184391614">service_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.5.1.2 "><p id="CreateVpcChannelV2__p1649317433162">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.5.1.3 "><p id="CreateVpcChannelV2__p6493443101611">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.9.2.5.1.4 "><p id="CreateVpcChannelV2__p1849384319168">Microservice ID.</p>
|
||
<p id="CreateVpcChannelV2__p349311436160">Maximum: <strong id="CreateVpcChannelV2__b8493194319166">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__request_MicroServiceInfoCCEBase"></a><a name="request_MicroServiceInfoCCEBase"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__request_MicroServiceInfoCCEBase" frame="border" border="1" rules="all"><caption><b>Table 10 </b>MicroServiceInfoCCEBase</caption><thead align="left"><tr id="CreateVpcChannelV2__row13115743191617"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.5.1.1"><p id="CreateVpcChannelV2__p1749418437162">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.5.1.2"><p id="CreateVpcChannelV2__p1949412437169">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.5.1.3"><p id="CreateVpcChannelV2__p7494144316167">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.10.2.5.1.4"><p id="CreateVpcChannelV2__p16494114301614">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row171153432168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.1 "><p id="CreateVpcChannelV2__p164943430161">cluster_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.2 "><p id="CreateVpcChannelV2__p11494643131614">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.3 "><p id="CreateVpcChannelV2__p0494154381617">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.10.2.5.1.4 "><p id="CreateVpcChannelV2__p18494134341611">CCE cluster ID.</p>
|
||
<p id="CreateVpcChannelV2__p6494174391616">Maximum: <strong id="CreateVpcChannelV2__b1049420430163">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row21153438166"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.1 "><p id="CreateVpcChannelV2__p12494843201610">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.2 "><p id="CreateVpcChannelV2__p8494104371616">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.3 "><p id="CreateVpcChannelV2__p4494104301610">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.10.2.5.1.4 "><p id="CreateVpcChannelV2__p94946438162">Namespace.</p>
|
||
<p id="CreateVpcChannelV2__p349464314168">Maximum: <strong id="CreateVpcChannelV2__b15494104314167">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row91168432163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.1 "><p id="CreateVpcChannelV2__p1049412434162">workload_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.2 "><p id="CreateVpcChannelV2__p54941343141612">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.3 "><p id="CreateVpcChannelV2__p54941243151613">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.10.2.5.1.4 "><p id="CreateVpcChannelV2__p3494114318167">Workload type.</p>
|
||
<ul id="CreateVpcChannelV2__ul17494204311168"><li id="CreateVpcChannelV2__li7494194311164">deployment</li><li id="CreateVpcChannelV2__li949464310165">statefulset</li><li id="CreateVpcChannelV2__li5495194316166">daemonset</li></ul>
|
||
<p id="CreateVpcChannelV2__p10495843181613">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul849516438163"><li id="CreateVpcChannelV2__li13495134317166"><strong id="CreateVpcChannelV2__b4495154312163">deployment</strong></li><li id="CreateVpcChannelV2__li449584311613"><strong id="CreateVpcChannelV2__b144951643171620">statefulset</strong></li><li id="CreateVpcChannelV2__li749544331619"><strong id="CreateVpcChannelV2__b1949524312167">daemonset</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row131161843161610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.1 "><p id="CreateVpcChannelV2__p2495164361619">app_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.2 "><p id="CreateVpcChannelV2__p54951443161612">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.3 "><p id="CreateVpcChannelV2__p149510432167">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.10.2.5.1.4 "><p id="CreateVpcChannelV2__p44951043151619">App name. Start with a letter, and include only letters, digits, periods (.), hyphens (-), and underscores (_). (1 to 64 characters)</p>
|
||
<p id="CreateVpcChannelV2__p104956432167">Minimum: <strong id="CreateVpcChannelV2__b24955434165">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p749517431164">Maximum: <strong id="CreateVpcChannelV2__b1949511430169">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row61161743101615"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.1 "><p id="CreateVpcChannelV2__p8495114321615">label_key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.2 "><p id="CreateVpcChannelV2__p1749554381611">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.3 "><p id="CreateVpcChannelV2__p1349524319160">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.10.2.5.1.4 "><p id="CreateVpcChannelV2__p144952043151619">Service label key. Start with a letter or digit, and use only letters, digits, and these special characters: -_./:(). (1 to 64 characters)</p>
|
||
<p id="CreateVpcChannelV2__p049584319163">Minimum: <strong id="CreateVpcChannelV2__b11495144311165">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p249534341614">Maximum: <strong id="CreateVpcChannelV2__b1349584311619">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1011610435168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.1 "><p id="CreateVpcChannelV2__p74953431166">label_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.2 "><p id="CreateVpcChannelV2__p249512436164">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.5.1.3 "><p id="CreateVpcChannelV2__p549544316165">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.10.2.5.1.4 "><p id="CreateVpcChannelV2__p1149584391613">Service label value. Start with a letter, and include only letters, digits, periods (.), hyphens (-), and underscores (_). (1 to 64 characters)</p>
|
||
<p id="CreateVpcChannelV2__p1549512432166">Minimum: <strong id="CreateVpcChannelV2__b049564311613">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p1649518434167">Maximum: <strong id="CreateVpcChannelV2__b1749515437163">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__section7497174315163"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateVpcChannelV2__p144971436167"><strong id="CreateVpcChannelV2__b9497114311166">Status code: 201</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_VpcChannelInfo" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row12130144314167"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="CreateVpcChannelV2__p54971043171610">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="CreateVpcChannelV2__p1049724371615">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="CreateVpcChannelV2__p74971943191618">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row213024311613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p2049774361618">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p19497184312161">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p749744351610">VPC channel name.</p>
|
||
<p id="CreateVpcChannelV2__p6497043191619">It can contain 3 to 64 characters, starting with a letter. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row16130164341610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p94971743111610">port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p649794319163">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p54976437161">Host port of the VPC channel.</p>
|
||
<p id="CreateVpcChannelV2__p12497164381614">Range: 1–65535.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row613184320164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p10497643121613">balance_strategy</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p1498124311611">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p20498134316160">Distribution algorithm.</p>
|
||
<ul id="CreateVpcChannelV2__ul24983437169"><li id="CreateVpcChannelV2__li7498443141620">1: Weighted round robin (WRR).</li><li id="CreateVpcChannelV2__li1449815437161">2: Weighted least connections (WLC).</li><li id="CreateVpcChannelV2__li949817439166">3: Source hashing.</li><li id="CreateVpcChannelV2__li94988436168">4: URI hashing.</li></ul>
|
||
<p id="CreateVpcChannelV2__p94986432167">Default: <strong id="CreateVpcChannelV2__b549884381616">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p649815432162">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul1049834341614"><li id="CreateVpcChannelV2__li9498843201612"><strong id="CreateVpcChannelV2__b1849894311610">1</strong></li><li id="CreateVpcChannelV2__li7498943151616"><strong id="CreateVpcChannelV2__b14988432169">2</strong></li><li id="CreateVpcChannelV2__li3498343111618"><strong id="CreateVpcChannelV2__b144981643121615">3</strong></li><li id="CreateVpcChannelV2__li649834313163"><strong id="CreateVpcChannelV2__b134989434164">4</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row13131743151612"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p1149816435168">member_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p18498743111617">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p114981643191610">Member type of the VPC channel.</p>
|
||
<ul id="CreateVpcChannelV2__ul124981143181611"><li id="CreateVpcChannelV2__li204981043151620">ip</li><li id="CreateVpcChannelV2__li124981643191614">ecs</li></ul>
|
||
<p id="CreateVpcChannelV2__p18498843131612">Default: <strong id="CreateVpcChannelV2__b1949874351617">ecs</strong></p>
|
||
<p id="CreateVpcChannelV2__p349874315162">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul549984391619"><li id="CreateVpcChannelV2__li1849954341615"><strong id="CreateVpcChannelV2__b24991143121610">ip</strong></li><li id="CreateVpcChannelV2__li94991436164"><strong id="CreateVpcChannelV2__b1149914320161">ecs</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row913110430163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p6499184320167">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p12499144312169">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p5499184311166">VPC channel type. The default type is server.</p>
|
||
<ul id="CreateVpcChannelV2__ul13499184351617"><li id="CreateVpcChannelV2__li3499943121617">2: Server type.</li><li id="CreateVpcChannelV2__li549920431164">3: Microservice type.</li></ul>
|
||
<p id="CreateVpcChannelV2__p1549916431162">Default: <strong id="CreateVpcChannelV2__b249924320165">2</strong></p>
|
||
<p id="CreateVpcChannelV2__p13499343101615">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul1149920438164"><li id="CreateVpcChannelV2__li17499124315161"><strong id="CreateVpcChannelV2__b1249915435166">2</strong></li><li id="CreateVpcChannelV2__li1499104331617"><strong id="CreateVpcChannelV2__b84993430169">3</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1313115437166"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p249917437168">dict_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p14499174321614">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p7499134311168">Dictionary code of the VPC channel.</p>
|
||
<p id="CreateVpcChannelV2__p1349954321614">The value can contain letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="CreateVpcChannelV2__p12499343151612">This parameter is currently not supported.</p>
|
||
<p id="CreateVpcChannelV2__p13499243171616">Minimum: <strong id="CreateVpcChannelV2__b1449944361615">3</strong></p>
|
||
<p id="CreateVpcChannelV2__p549964351612">Maximum: <strong id="CreateVpcChannelV2__b204991443121610">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row4131194321614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p1749934361615">create_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p164991343101614">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p174991543161615">Time when the VPC channel is created.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row81311435167"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p1949934311169">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p5499843191614">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p144993432168">VPC channel ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row2013144316167"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p18499144313169">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p7499643121620">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p14991343121615">VPC channel status.</p>
|
||
<ul id="CreateVpcChannelV2__ul1449984341614"><li id="CreateVpcChannelV2__li249918437168">1: normal</li><li id="CreateVpcChannelV2__li18500114317160">2: abnormal</li></ul>
|
||
<p id="CreateVpcChannelV2__p1350019434167">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul6500043121612"><li id="CreateVpcChannelV2__li750004319168"><strong id="CreateVpcChannelV2__b15002431167">1</strong></li><li id="CreateVpcChannelV2__li1550024314162"><strong id="CreateVpcChannelV2__b150011431169">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row16131154317169"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p12500164301619">member_groups</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p165001443161610">Array of <a href="#CreateVpcChannelV2__response_MemberGroupInfo">MemberGroupInfo</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p11500144317164">Backend server groups.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1313120431161"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateVpcChannelV2__p16500114321611">microservice_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateVpcChannelV2__p550094312161"><a href="#CreateVpcChannelV2__response_MicroServiceInfo">MicroServiceInfo</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateVpcChannelV2__p35001343111615">Microservice information.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__response_MemberGroupInfo"></a><a name="response_MemberGroupInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_MemberGroupInfo" frame="border" border="1" rules="all"><caption><b>Table 12 </b>MemberGroupInfo</caption><thead align="left"><tr id="CreateVpcChannelV2__row1913815432166"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="CreateVpcChannelV2__p1950016437163">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="CreateVpcChannelV2__p20500184312165">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="CreateVpcChannelV2__p125001143181616">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row1013844311611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p450024321612">member_group_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p10500443191610">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p25001843181616">Name of the VPC channel's backend server group. It can contain 3 to 64 characters, starting with a letter. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row111381443141612"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p650113439161">member_group_remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p9501943151620">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p115013431167">Description of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p20501134314166">Maximum: <strong id="CreateVpcChannelV2__b35018436165">255</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1013994310162"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p1450120433166">member_group_weight</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p115011843161610">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p1950118438164">Weight of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p10501643171619">If the server group contains servers and a weight has been set for it, the weight is automatically used to assign weights to servers in this group.</p>
|
||
<p id="CreateVpcChannelV2__p125017434165">Minimum: <strong id="CreateVpcChannelV2__b150194341613">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p150164310161">Maximum: <strong id="CreateVpcChannelV2__b3501174316164">100</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row5139743141611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p19501124361612">dict_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p15501144301618">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p45011543131617">Dictionary code of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p3501154351612">The value can contain letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="CreateVpcChannelV2__p85012043131618">Currently, this parameter is not supported.</p>
|
||
<p id="CreateVpcChannelV2__p1250115439167">Minimum: <strong id="CreateVpcChannelV2__b250119438168">3</strong></p>
|
||
<p id="CreateVpcChannelV2__p25011243111618">Maximum: <strong id="CreateVpcChannelV2__b2501174331619">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1139114351618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p750124361619">microservice_version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p250134331612">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p205013430169">Version of the backend server group. This parameter is supported only when the VPC channel type is microservice.</p>
|
||
<p id="CreateVpcChannelV2__p6501144313167">Maximum: <strong id="CreateVpcChannelV2__b250124311165">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row171391143201617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p125011943161618">microservice_port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p55011743201611">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p2050124320163">Port of the backend server group. This parameter is supported only when the VPC channel type is microservice. If the port number is 0, all addresses in the backend server group use the original load balancing port to inherit logic.</p>
|
||
<p id="CreateVpcChannelV2__p85014437169">Minimum: <strong id="CreateVpcChannelV2__b19501134313164">0</strong></p>
|
||
<p id="CreateVpcChannelV2__p12501643151612">Maximum: <strong id="CreateVpcChannelV2__b175011843101619">65535</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row151391143131618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p4501134311166">microservice_labels</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p3501194321616">Array of <a href="#CreateVpcChannelV2__response_MicroserviceLabel">MicroserviceLabel</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p7501194331618">Tags of the backend server group. This parameter is supported only when the VPC channel type is microservice.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row9139124318163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p19501243161619">member_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p12501143181611">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p1950114435162">ID of the backend server group of the VPC channel.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row813994331614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p6501174321611">create_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p9501134310169">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p250112438165">Time when the backend server group is created.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row513964341619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateVpcChannelV2__p1502104319162">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateVpcChannelV2__p195021543101617">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateVpcChannelV2__p1850234318167">Time when the backend server group is updated.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__response_MicroserviceLabel"></a><a name="response_MicroserviceLabel"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_MicroserviceLabel" frame="border" border="1" rules="all"><caption><b>Table 13 </b>MicroserviceLabel</caption><thead align="left"><tr id="CreateVpcChannelV2__row1014417432165"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="CreateVpcChannelV2__p20502154312168">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="CreateVpcChannelV2__p150214311612">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="CreateVpcChannelV2__p6502154331610">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row1014416437168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="CreateVpcChannelV2__p1750264314165">label_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="CreateVpcChannelV2__p15502104319166">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="CreateVpcChannelV2__p7502343131617">Tag name.</p>
|
||
<p id="CreateVpcChannelV2__p195021643161610">Start and end with a letter or digit. Use only letters, digits, hyphens (-), underscores (_), and periods (.). (Max. 63 characters.)</p>
|
||
<p id="CreateVpcChannelV2__p350214341612">Minimum: <strong id="CreateVpcChannelV2__b5502743171616">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p105022436168">Maximum: <strong id="CreateVpcChannelV2__b135021543201612">63</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row114444311612"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="CreateVpcChannelV2__p10502144341612">label_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="CreateVpcChannelV2__p10502174371611">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="CreateVpcChannelV2__p175025436166">Tag value.</p>
|
||
<p id="CreateVpcChannelV2__p35021843141612">Start and end with a letter or digit. Use only letters, digits, hyphens (-), underscores (_), and periods (.). (Max. 63 characters.)</p>
|
||
<p id="CreateVpcChannelV2__p950284391616">Minimum: <strong id="CreateVpcChannelV2__b25029431165">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p165021243101614">Maximum: <strong id="CreateVpcChannelV2__b175027436169">63</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__response_MicroServiceInfo"></a><a name="response_MicroServiceInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_MicroServiceInfo" frame="border" border="1" rules="all"><caption><b>Table 14 </b>MicroServiceInfo</caption><thead align="left"><tr id="CreateVpcChannelV2__row11461443121615"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.1"><p id="CreateVpcChannelV2__p75021443121610">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.2"><p id="CreateVpcChannelV2__p1550264301615">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.6.2.4.1.3"><p id="CreateVpcChannelV2__p1850319436163">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row19146143181620"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p35031543161615">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p5503174361619">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p135036435164">Microservice ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row15147043141616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p35031643151612">instance_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p175031343101613">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p95031443161617">Gateway ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1914714316168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p150364315163">service_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p25031743151618">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p1750334321620">Microservice type. Options:</p>
|
||
<ul id="CreateVpcChannelV2__ul10503114331612"><li id="CreateVpcChannelV2__li14503194361619">CSE: CSE microservice registration center</li><li id="CreateVpcChannelV2__li15503204312160">CCE: CCE workload</li></ul>
|
||
<p id="CreateVpcChannelV2__p1350354315168">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul1250334314160"><li id="CreateVpcChannelV2__li1650319431161"><strong id="CreateVpcChannelV2__b13503543161619">CSE</strong></li><li id="CreateVpcChannelV2__li135031243171619"><strong id="CreateVpcChannelV2__b9503114315161">CCE</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row71479436164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p10503194311615">cse_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p85041443131613"><a href="#CreateVpcChannelV2__response_MicroServiceInfoCSE">MicroServiceInfoCSE</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p25041243161618">CSE microservice details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row12147154311161"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p1550484311168">cce_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p14504114310162"><a href="#CreateVpcChannelV2__response_MicroServiceInfoCCE">MicroServiceInfoCCE</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p1950404313168">CCE microservice workload details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1214764341616"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p550420434163">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p8504144311619">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p20504184311617">Microservice update time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row181471543191617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateVpcChannelV2__p1050414311616">create_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateVpcChannelV2__p11504114341616">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateVpcChannelV2__p2504343181618">Microservice creation time.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__response_MicroServiceInfoCSE"></a><a name="response_MicroServiceInfoCSE"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_MicroServiceInfoCSE" frame="border" border="1" rules="all"><caption><b>Table 15 </b>MicroServiceInfoCSE</caption><thead align="left"><tr id="CreateVpcChannelV2__row615244311617"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="CreateVpcChannelV2__p1150474341611">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="CreateVpcChannelV2__p150412436166">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="CreateVpcChannelV2__p1250404391616">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row161527433166"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p105046432165">engine_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p115047436164">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p750418432166">Microservice engine ID.</p>
|
||
<p id="CreateVpcChannelV2__p550424311165">Maximum: <strong id="CreateVpcChannelV2__b165041843111619">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row10153443131618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p4504174351613">service_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p13504164351614">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p1650454371613">Microservice ID.</p>
|
||
<p id="CreateVpcChannelV2__p750411431167">Maximum: <strong id="CreateVpcChannelV2__b115051043161614">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row415344314162"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p650514432168">engine_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p12505104318165">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p115051943121618">Microservice engine name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row16153134313166"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p13505174312167">service_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p050520431169">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p2505104371613">Microservice name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1153643151615"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p65052043141613">register_address</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p175059434169">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p150517431168">Registration center address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1415364316169"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p1350518433164">cse_app_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p15505243131615">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p175051843161612">App to which the microservice belongs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1815394321611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateVpcChannelV2__p17505104371615">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateVpcChannelV2__p75059435163">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateVpcChannelV2__p550512437168">Microservice version, which has been discarded and is reflected in the version of the backend server group.</p>
|
||
<p id="CreateVpcChannelV2__p1550514371610">Maximum: <strong id="CreateVpcChannelV2__b1505194331613">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreateVpcChannelV2__response_MicroServiceInfoCCE"></a><a name="response_MicroServiceInfoCCE"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_MicroServiceInfoCCE" frame="border" border="1" rules="all"><caption><b>Table 16 </b>MicroServiceInfoCCE</caption><thead align="left"><tr id="CreateVpcChannelV2__row15157843141610"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.1"><p id="CreateVpcChannelV2__p14505343101614">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.2"><p id="CreateVpcChannelV2__p1850574315167">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.8.2.4.1.3"><p id="CreateVpcChannelV2__p1450514312168">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row9157104381613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p1850534311610">cluster_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p4505124311612">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p115059438164">CCE cluster ID.</p>
|
||
<p id="CreateVpcChannelV2__p10505124314160">Maximum: <strong id="CreateVpcChannelV2__b250614311163">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1215715439163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p15061643201617">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p75069438167">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p250604341615">Namespace.</p>
|
||
<p id="CreateVpcChannelV2__p17506043101611">Maximum: <strong id="CreateVpcChannelV2__b1550684312162">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row20157154311611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p2506134351616">workload_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p2506124311614">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p1050664311620">Workload type.</p>
|
||
<ul id="CreateVpcChannelV2__ul650674314163"><li id="CreateVpcChannelV2__li15063433165">deployment</li><li id="CreateVpcChannelV2__li1550654317160">statefulset</li><li id="CreateVpcChannelV2__li145062431167">daemonset</li></ul>
|
||
<p id="CreateVpcChannelV2__p195061143111613">Enumeration values:</p>
|
||
<ul id="CreateVpcChannelV2__ul9506643111611"><li id="CreateVpcChannelV2__li16506943141616"><strong id="CreateVpcChannelV2__b85061943191617">deployment</strong></li><li id="CreateVpcChannelV2__li16506194361613"><strong id="CreateVpcChannelV2__b115069439164">statefulset</strong></li><li id="CreateVpcChannelV2__li165061843171614"><strong id="CreateVpcChannelV2__b35061643101611">daemonset</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row4157043101614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p450604311610">app_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p165065434164">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p150664311162">App name. Start with a letter, and include only letters, digits, periods (.), hyphens (-), and underscores (_). (1 to 64 characters)</p>
|
||
<p id="CreateVpcChannelV2__p550664311160">Minimum: <strong id="CreateVpcChannelV2__b15506343191612">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p850617436164">Maximum: <strong id="CreateVpcChannelV2__b1250654341619">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row4157743131612"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p175061943121610">label_key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p7506943181610">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p3506164310168">Service label key. Start with a letter or digit, and use only letters, digits, and these special characters: -_./:(). (1 to 64 characters)</p>
|
||
<p id="CreateVpcChannelV2__p35061043191618">Minimum: <strong id="CreateVpcChannelV2__b12506184315167">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p250644317166">Maximum: <strong id="CreateVpcChannelV2__b1550614318168">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row21581243161617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p14506643111611">label_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p6507154317163">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p6507843121619">Service label value. Start with a letter, and include only letters, digits, periods (.), hyphens (-), and underscores (_). (1 to 64 characters)</p>
|
||
<p id="CreateVpcChannelV2__p13507144391615">Minimum: <strong id="CreateVpcChannelV2__b950794371612">1</strong></p>
|
||
<p id="CreateVpcChannelV2__p135071043141612">Maximum: <strong id="CreateVpcChannelV2__b65072437165">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row115810430168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateVpcChannelV2__p6507143111614">cluster_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateVpcChannelV2__p19507164311615">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateVpcChannelV2__p12507184311169">CCE cluster name.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="CreateVpcChannelV2__p8508204315166"><strong id="CreateVpcChannelV2__b16508124341617">Status code: 400</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_ErrorMsg" frame="border" border="1" rules="all"><caption><b>Table 17 </b>Response body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row016634381611"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.1"><p id="CreateVpcChannelV2__p1508124316162">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.2"><p id="CreateVpcChannelV2__p450864361611">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.10.2.4.1.3"><p id="CreateVpcChannelV2__p05081543101615">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row1167114361617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="CreateVpcChannelV2__p55082043151616">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="CreateVpcChannelV2__p14508174341613">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="CreateVpcChannelV2__p3508164312166">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row20167184316161"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="CreateVpcChannelV2__p19508443201613">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="CreateVpcChannelV2__p14508194381612">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="CreateVpcChannelV2__p10508104351618">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="CreateVpcChannelV2__p1508143161618"><strong id="CreateVpcChannelV2__b850811438165">Status code: 401</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_ErrorMsg_1" frame="border" border="1" rules="all"><caption><b>Table 18 </b>Response body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row5174114381613"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.12.2.4.1.1"><p id="CreateVpcChannelV2__p19508124317167">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.12.2.4.1.2"><p id="CreateVpcChannelV2__p205089436163">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.12.2.4.1.3"><p id="CreateVpcChannelV2__p95081643131612">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row1117418438169"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.1 "><p id="CreateVpcChannelV2__p185082043121612">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.2 "><p id="CreateVpcChannelV2__p8508843151619">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.12.2.4.1.3 "><p id="CreateVpcChannelV2__p1250854361618">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row131748439165"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.1 "><p id="CreateVpcChannelV2__p13508124331612">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.2 "><p id="CreateVpcChannelV2__p1450824313161">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.12.2.4.1.3 "><p id="CreateVpcChannelV2__p750944331615">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="CreateVpcChannelV2__p1050964341616"><strong id="CreateVpcChannelV2__b13509184317164">Status code: 403</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_ErrorMsg_2" frame="border" border="1" rules="all"><caption><b>Table 19 </b>Response body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row161751343141610"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.14.2.4.1.1"><p id="CreateVpcChannelV2__p11509843201611">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.14.2.4.1.2"><p id="CreateVpcChannelV2__p250964319167">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.14.2.4.1.3"><p id="CreateVpcChannelV2__p1650912437163">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row1917654317165"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.1 "><p id="CreateVpcChannelV2__p35097432167">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.2 "><p id="CreateVpcChannelV2__p5509104314161">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.14.2.4.1.3 "><p id="CreateVpcChannelV2__p11509104341618">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row5176174311164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.1 "><p id="CreateVpcChannelV2__p9509134371620">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.2 "><p id="CreateVpcChannelV2__p1550964351617">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.14.2.4.1.3 "><p id="CreateVpcChannelV2__p450916431164">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="CreateVpcChannelV2__p1350964361614"><strong id="CreateVpcChannelV2__b185091643151620">Status code: 404</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_ErrorMsg_3" frame="border" border="1" rules="all"><caption><b>Table 20 </b>Response body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row617764312162"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.16.2.4.1.1"><p id="CreateVpcChannelV2__p1850984391617">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.16.2.4.1.2"><p id="CreateVpcChannelV2__p1509124321616">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.16.2.4.1.3"><p id="CreateVpcChannelV2__p1550911431166">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row4177124313162"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.1 "><p id="CreateVpcChannelV2__p11509114361612">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.2 "><p id="CreateVpcChannelV2__p18509134351611">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.16.2.4.1.3 "><p id="CreateVpcChannelV2__p13509104312168">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row12177144341620"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.1 "><p id="CreateVpcChannelV2__p11509243181616">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.2 "><p id="CreateVpcChannelV2__p1650974311610">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.16.2.4.1.3 "><p id="CreateVpcChannelV2__p4510154311167">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="CreateVpcChannelV2__p195101243151616"><strong id="CreateVpcChannelV2__b7510134381618">Status code: 500</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__response_ErrorMsg_4" frame="border" border="1" rules="all"><caption><b>Table 21 </b>Response body parameters</caption><thead align="left"><tr id="CreateVpcChannelV2__row117804311610"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.18.2.4.1.1"><p id="CreateVpcChannelV2__p35101143121617">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.18.2.4.1.2"><p id="CreateVpcChannelV2__p4510543111619">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.18.2.4.1.3"><p id="CreateVpcChannelV2__p451074311163">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row18179154310167"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.18.2.4.1.1 "><p id="CreateVpcChannelV2__p3510154313168">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.18.2.4.1.2 "><p id="CreateVpcChannelV2__p25101143161613">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.18.2.4.1.3 "><p id="CreateVpcChannelV2__p451074317167">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row2017912432163"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.18.2.4.1.1 "><p id="CreateVpcChannelV2__p1051014316169">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.18.2.4.1.2 "><p id="CreateVpcChannelV2__p17510154314161">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.18.2.4.1.3 "><p id="CreateVpcChannelV2__p551017434165">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__section151074310167"><h4 class="sectiontitle">Example Requests</h4><ul id="CreateVpcChannelV2__ul3510743101614"><li id="CreateVpcChannelV2__li451084381611">Creating a VPC channel of the server type<pre class="screen" id="CreateVpcChannelV2__screen85108435167">{
|
||
"balance_strategy" : 1,
|
||
"member_type" : "ip",
|
||
"name" : "VPC_demo",
|
||
"port" : 22,
|
||
"type" : 2,
|
||
"vpc_health_config" : {
|
||
"http_code" : "200",
|
||
"path" : "/vpc/demo",
|
||
"port" : 22,
|
||
"protocol" : "http",
|
||
"threshold_abnormal" : 5,
|
||
"threshold_normal" : 2,
|
||
"time_interval" : 10,
|
||
"timeout" : 5,
|
||
"enable_client_ssl" : false
|
||
},
|
||
"member_groups" : [ {
|
||
"member_group_name" : "test",
|
||
"member_group_weight" : 1,
|
||
"member_group_remark" : "remark"
|
||
}, {
|
||
"member_group_name" : "default",
|
||
"member_group_weight" : 2,
|
||
"member_group_remark" : "remark"
|
||
} ],
|
||
"members" : [ {
|
||
"host" : "192.168.0.5",
|
||
"weight" : 1,
|
||
"member_group_name" : "test"
|
||
}, {
|
||
"host" : "192.168.1.124",
|
||
"weight" : 2,
|
||
"member_group_name" : "default"
|
||
} ]
|
||
}</pre>
|
||
</li><li id="CreateVpcChannelV2__li3511243101610">Creating a VPC channel of the microservice type<pre class="screen" id="CreateVpcChannelV2__screen115117436167">{
|
||
"balance_strategy" : 1,
|
||
"member_type" : "ip",
|
||
"name" : "VPC_demo",
|
||
"port" : 22,
|
||
"type" : 3,
|
||
"vpc_health_config" : {
|
||
"http_code" : "200",
|
||
"path" : "/vpc/demo",
|
||
"port" : 22,
|
||
"protocol" : "http",
|
||
"threshold_abnormal" : 5,
|
||
"threshold_normal" : 2,
|
||
"time_interval" : 10,
|
||
"timeout" : 5,
|
||
"enable_client_ssl" : false
|
||
},
|
||
"member_groups" : [ {
|
||
"member_group_name" : "test",
|
||
"member_group_weight" : 1,
|
||
"member_group_remark" : "remark",
|
||
"microservice_version" : "v1",
|
||
"microservice_port" : 80
|
||
}, {
|
||
"member_group_name" : "default",
|
||
"member_group_weight" : 2,
|
||
"member_group_remark" : "remark",
|
||
"microservice_version" : "v2",
|
||
"microservice_port" : 80,
|
||
"microservice_labels" : [ {
|
||
"label_name" : "cluster_id",
|
||
"label_value" : "c429700c-5dc4-482a-9c0e-99f6c0635113"
|
||
} ]
|
||
} ],
|
||
"members" : [ {
|
||
"host" : "192.168.0.5",
|
||
"weight" : 1,
|
||
"member_group_name" : "test"
|
||
}, {
|
||
"host" : "192.168.1.124",
|
||
"weight" : 2,
|
||
"member_group_name" : "default"
|
||
} ],
|
||
"microservice_info" : {
|
||
"service_type" : "CCE",
|
||
"cce_info" : {
|
||
"cluster_id" : "ab1485b4f91b45abbcd560be591f7309",
|
||
"namespace" : "default",
|
||
"workload_type" : "deployment",
|
||
"app_name" : "testapp"
|
||
}
|
||
}
|
||
}</pre>
|
||
</li></ul>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__section151210435160"><h4 class="sectiontitle">Example Responses</h4><p id="CreateVpcChannelV2__p15512343171610"><strong id="CreateVpcChannelV2__b95122439165">Status code: 201</strong></p>
|
||
<p id="CreateVpcChannelV2__p19512743131610">Created</p>
|
||
<ul id="CreateVpcChannelV2__ul751204318166"><li id="CreateVpcChannelV2__li18512194351613">Example 1<pre class="screen" id="CreateVpcChannelV2__screen13512194310168">{
|
||
"name" : "VPC_demo",
|
||
"id" : "105c6902457144a4820dff8b1ad63331",
|
||
"balance_strategy" : 1,
|
||
"dict_code" : "",
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"member_type" : "ip",
|
||
"port" : 22,
|
||
"status" : 1,
|
||
"member_groups" : [ {
|
||
"member_group_id" : "c1ce135c705c4066853a0460b318fe16",
|
||
"member_group_name" : "test",
|
||
"member_group_weight" : 1,
|
||
"member_group_remark" : "remark",
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"update_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"microservice_version" : "",
|
||
"microservice_port" : 0
|
||
}, {
|
||
"member_group_id" : "c1ce135c705c4066853a0460b318fe17",
|
||
"member_group_name" : "default",
|
||
"member_group_weight" : 2,
|
||
"member_group_remark" : "remark",
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"update_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"microservice_version" : "",
|
||
"microservice_port" : 0
|
||
} ],
|
||
"type" : 2,
|
||
"microservice_info" : {
|
||
"id" : "",
|
||
"instance_id" : "",
|
||
"service_type" : "",
|
||
"cse_info" : {
|
||
"cse_app_id" : "",
|
||
"engine_id" : "",
|
||
"engine_name" : "",
|
||
"register_address" : "",
|
||
"service_id" : "",
|
||
"service_name" : ""
|
||
},
|
||
"cce_info" : {
|
||
"cluster_id" : "",
|
||
"cluster_name" : "",
|
||
"namespace" : "",
|
||
"workload_type" : "",
|
||
"app_name" : ""
|
||
},
|
||
"create_time" : "",
|
||
"update_time" : ""
|
||
}
|
||
}</pre>
|
||
</li><li id="CreateVpcChannelV2__li135122043141617">Example 2<pre class="screen" id="CreateVpcChannelV2__screen3513154313169">{
|
||
"name" : "VPC_demo",
|
||
"id" : "105c6902457144a4820dff8b1ad63331",
|
||
"balance_strategy" : 1,
|
||
"dict_code" : "",
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"member_type" : "ip",
|
||
"port" : 22,
|
||
"status" : 1,
|
||
"member_groups" : [ {
|
||
"member_group_id" : "c1ce135c705c4066853a0460b318fe16",
|
||
"member_group_name" : "test",
|
||
"member_group_weight" : 1,
|
||
"member_group_remark" : "remark",
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"update_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"microservice_version" : "v1",
|
||
"microservice_port" : 80
|
||
}, {
|
||
"member_group_id" : "c1ce135c705c4066853a0460b318fe17",
|
||
"member_group_name" : "default",
|
||
"member_group_weight" : 2,
|
||
"member_group_remark" : "remark",
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"update_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"microservice_version" : "v2",
|
||
"microservice_port" : 80,
|
||
"microservice_labels" : [ {
|
||
"label_name" : "cluster_id",
|
||
"label_value" : "c429700c-5dc4-482a-9c0e-99f6c0635113"
|
||
} ]
|
||
} ],
|
||
"type" : 3,
|
||
"microservice_info" : {
|
||
"id" : "9483afa235be45158a70c19ab817ac65",
|
||
"instance_id" : "eddc4d25480b4cd6b512f270a1b8b341",
|
||
"service_type" : "CCE",
|
||
"cse_info" : {
|
||
"cse_app_id" : "",
|
||
"engine_id" : "",
|
||
"engine_name" : "",
|
||
"register_address" : "",
|
||
"service_id" : "",
|
||
"service_name" : ""
|
||
},
|
||
"cce_info" : {
|
||
"cluster_id" : "ab1485b4f91b45abbcd560be591f7309",
|
||
"cluster_name" : "cce-test",
|
||
"namespace" : "default",
|
||
"workload_type" : "deployment",
|
||
"app_name" : "testapp"
|
||
},
|
||
"create_time" : "2020-07-23T07:11:57.244829604Z",
|
||
"update_time" : "2020-07-23T07:11:57.244829604Z"
|
||
}
|
||
}</pre>
|
||
</li></ul>
|
||
<p id="CreateVpcChannelV2__p3513134311614"><strong id="CreateVpcChannelV2__b951314315162">Status code: 400</strong></p>
|
||
<p id="CreateVpcChannelV2__p115131943101620">Bad Request</p>
|
||
<pre class="screen" id="CreateVpcChannelV2__screen851394315163">{
|
||
"error_code" : "APIG.2001",
|
||
"error_msg" : "The request parameters must be specified, parameter name:members"
|
||
}</pre>
|
||
<p id="CreateVpcChannelV2__p20513134321615"><strong id="CreateVpcChannelV2__b20513194371618">Status code: 401</strong></p>
|
||
<p id="CreateVpcChannelV2__p15513174391610">Unauthorized</p>
|
||
<pre class="screen" id="CreateVpcChannelV2__screen351313434167">{
|
||
"error_code" : "APIG.1002",
|
||
"error_msg" : "Incorrect token or token resolution failed"
|
||
}</pre>
|
||
<p id="CreateVpcChannelV2__p1651312433163"><strong id="CreateVpcChannelV2__b05131643121611">Status code: 403</strong></p>
|
||
<p id="CreateVpcChannelV2__p451354301618">Forbidden</p>
|
||
<pre class="screen" id="CreateVpcChannelV2__screen14513184341611">{
|
||
"error_code" : "APIG.1005",
|
||
"error_msg" : "No permissions to request this method"
|
||
}</pre>
|
||
<p id="CreateVpcChannelV2__p3514143171613"><strong id="CreateVpcChannelV2__b17514184301615">Status code: 404</strong></p>
|
||
<p id="CreateVpcChannelV2__p1051484314164">Not Found</p>
|
||
<pre class="screen" id="CreateVpcChannelV2__screen11514743131614">{
|
||
"error_code" : "APIG.3030",
|
||
"error_msg" : "The instance does not exist;id:eddc4d25480b4cd6b512f270a1b8b341"
|
||
}</pre>
|
||
<p id="CreateVpcChannelV2__p651464391620"><strong id="CreateVpcChannelV2__b55141643191616">Status code: 500</strong></p>
|
||
<p id="CreateVpcChannelV2__p155142043191618">Internal Server Error</p>
|
||
<pre class="screen" id="CreateVpcChannelV2__screen6514104319162">{
|
||
"error_code" : "APIG.9999",
|
||
"error_msg" : "System error"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__section15144439166"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVpcChannelV2__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateVpcChannelV2__row16196104381615"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="CreateVpcChannelV2__p4514743191616">Status Code</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="CreateVpcChannelV2__p4514134311619">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreateVpcChannelV2__row419620434165"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateVpcChannelV2__p12514184361614">201</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateVpcChannelV2__p175141743131620">Created</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row17196343181612"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateVpcChannelV2__p8514194391619">400</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateVpcChannelV2__p13514144318161">Bad Request</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row101968431164"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateVpcChannelV2__p3514943121613">401</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateVpcChannelV2__p195141343131615">Unauthorized</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row111961543201611"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateVpcChannelV2__p8514164311619">403</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateVpcChannelV2__p5514114321616">Forbidden</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row121971043181618"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateVpcChannelV2__p9514154317161">404</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateVpcChannelV2__p1514143161616">Not Found</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreateVpcChannelV2__row1619718438169"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateVpcChannelV2__p20514104317168">500</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateVpcChannelV2__p18514194315167">Internal Server Error</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreateVpcChannelV2__section3514243181613"><h4 class="sectiontitle">Error Codes</h4><p id="CreateVpcChannelV2__p65146432164">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="VpcChannelManagement.html">VPC Channel Management</a></div>
|
||
</div>
|
||
</div>
|
||
|