forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: zhoumeng <zhoumeng35@huawei.com> Co-committed-by: zhoumeng <zhoumeng35@huawei.com>
1176 lines
105 KiB
HTML
1176 lines
105 KiB
HTML
<a name="CreateLoadBalancer"></a><a name="CreateLoadBalancer"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Load Balancer</h1>
|
|
<div id="body8655142443016"><div class="section" id="CreateLoadBalancer__section1565512410309"><h4 class="sectiontitle">Function</h4><p id="CreateLoadBalancer__p19655112413018">This API is used to create a dedicated load balancer. When you create a dedicated load balancer, note the following:</p>
|
|
<ul id="CreateLoadBalancer__ul156551245303"><li id="CreateLoadBalancer__li18655624183020">Specify <strong id="CreateLoadBalancer__b18655112463018">vip_subnet_cidr_id</strong> if you want to bind a private IPv4 address to the dedicated load balancer.</li><li id="CreateLoadBalancer__li865510242302">Specify <strong id="CreateLoadBalancer__b1655122403010">publicip</strong> and either <strong id="CreateLoadBalancer__b565518243303">vpc_id</strong> or <strong id="CreateLoadBalancer__b5655924193010">vip_subnet_cidr_id</strong> if you want to bind a new IPv4 EIP to the dedicated load balancer.</li><li id="CreateLoadBalancer__li15655824153015">Specify <strong id="CreateLoadBalancer__b465582417308">publicip_ids</strong> and either <strong id="CreateLoadBalancer__b176552247306">vpc_id</strong> or <strong id="CreateLoadBalancer__b16655142418306">vip_subnet_cidr_id</strong> if you want to bind an existing IPv4 EIP to the dedicated load balancer.</li><li id="CreateLoadBalancer__li13656122410303">Specify <strong id="CreateLoadBalancer__b965612246300">ipv6_vip_virsubnet_id</strong> if you want to bind a private IPv6 address to the dedicated load balancer.</li><li id="CreateLoadBalancer__li1765672423020">Specify both <strong id="CreateLoadBalancer__b1565615249304">ipv6_vip_virsubnet_id</strong> and <strong id="CreateLoadBalancer__b465682463012">ipv6_bandwidth</strong> if you want to bind a public IPv6 address to the dedicated load balancer.</li><li id="CreateLoadBalancer__li365617243301">You cannot bind an existing and unoccupied private IPv4 address, IPv6 address, or public IPv6 address to the dedicated load balancer.</li></ul>
|
|
<div class="note" id="CreateLoadBalancer__note19656152415309"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CreateLoadBalancer__p8657102410308">You cannot bind IPv6 addresses to a dedicated load balancer.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section136570248304"><h4 class="sectiontitle">Constraints</h4><p id="CreateLoadBalancer__p665720244309">There are some constraints when you create a dedicated load balancer:</p>
|
|
<ul id="CreateLoadBalancer__ul17657132473020"><li id="CreateLoadBalancer__li156571242304"><strong id="CreateLoadBalancer__b11657424183011">vpc_id</strong>, <strong id="CreateLoadBalancer__b96571924193011">vip_subnet_cidr_id</strong>, and <strong id="CreateLoadBalancer__b26571624123019">ipv6_vip_virsubnet_id</strong> cannot be left blank at the same time.</li><li id="CreateLoadBalancer__li7657162473016"><strong id="CreateLoadBalancer__b3657132410303">ip_target_enable</strong> specifies whether to enable <strong id="CreateLoadBalancer__b76572024143016">IP as a Backend Server</strong>. If you enable this function for a dedicated load balancer, you can associate servers in a VPC connected through a VPC peering connection, in a VPC connected through a cloud connection, or in an on-premises data center at the other end of a Direct Connect or VPN connection, by using server IP addresses.</li><li id="CreateLoadBalancer__li7657182418304"><strong id="CreateLoadBalancer__b365782418308">admin_state_up</strong> must be set to <strong id="CreateLoadBalancer__b565822453015">true</strong>.</li><li id="CreateLoadBalancer__li76586244303"><strong id="CreateLoadBalancer__b1765832416305">provider</strong> must be set to <strong id="CreateLoadBalancer__b365802423011">vlb</strong>.</li><li id="CreateLoadBalancer__li1565872483017"><strong id="CreateLoadBalancer__b156589244304">elb_virsubnet_ids</strong> indicates the subnets that support IPv4/IPv6 dual stack or only IPv4 subnets. If only IPv4 subnets are supported, <strong id="CreateLoadBalancer__b5658124103012">ipv6_vip_virsubnet_id</strong> must be left blank.</li><li id="CreateLoadBalancer__li16658102423012">If you bind an EIP to the load balancer during creation, you cannot unbind it from the load balancer by calling the API after the load balancer is created. Instead, you can unbind the EIP only on the ELB console. Locate the dedicated load balancer in the load balancer list and click <strong id="CreateLoadBalancer__b1965911247308">More</strong> > <strong id="CreateLoadBalancer__b365992415304">Unbind EIP</strong> in the <strong id="CreateLoadBalancer__b9659192443020">Operation</strong> column.</li><li id="CreateLoadBalancer__li66591724143016"><strong id="CreateLoadBalancer__b1265902419301">publicip_ids</strong> and <strong id="CreateLoadBalancer__b11659324123014">publicip</strong> cannot be specified at the same time. Set either <strong id="CreateLoadBalancer__b7659182411307">publicip_ids</strong> to bind an existing EIP to the load balancer, or <strong id="CreateLoadBalancer__b1465982414301">publicip</strong> to bind a new EIP to the load balancer, or neither of them.</li><li id="CreateLoadBalancer__li4659624153012">If you want to add the load balancer to a shared bandwidth, you must specify the ID of the shared bandwidth. If you want the load balancer to use a new dedicated bandwidth, <strong id="CreateLoadBalancer__b665942411309">charge_mode</strong>, <strong id="CreateLoadBalancer__b196591324153015">share_type</strong>, and <strong id="CreateLoadBalancer__b9659172453014">size</strong> are required.</li></ul>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section26599247304"><h4 class="sectiontitle">URI</h4><p id="CreateLoadBalancer__p465972483015">POST /v3/{project_id}/elb/loadbalancers</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__table2660924163010" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateLoadBalancer__row166012416303"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateLoadBalancer__p1066032410305">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateLoadBalancer__p18660162417303">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateLoadBalancer__p46601624133010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateLoadBalancer__p1166019242305">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row666062493014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateLoadBalancer__p666102415309">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateLoadBalancer__p17661122403015">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateLoadBalancer__p8661192418306">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateLoadBalancer__p1661192411305">Specifies the project ID of the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p13661142414306">Minimum: <strong id="CreateLoadBalancer__b1466111249303">0</strong></p>
|
|
<p id="CreateLoadBalancer__p206617244303">Maximum: <strong id="CreateLoadBalancer__b3661192443012">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section366215248303"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateLoadBalancer__row2066212493010"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="CreateLoadBalancer__p9662102423013">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="CreateLoadBalancer__p7662152423012">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="CreateLoadBalancer__p166621324193010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="CreateLoadBalancer__p466392415308">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row1066202410305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="CreateLoadBalancer__p3663824143016">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="CreateLoadBalancer__p9663202433012">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="CreateLoadBalancer__p1966352483014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="CreateLoadBalancer__p10663142443011">Specifies the token used for IAM authentication.</p>
|
|
<p id="CreateLoadBalancer__p766372453013">Minimum: <strong id="CreateLoadBalancer__b14663324153019">0</strong></p>
|
|
<p id="CreateLoadBalancer__p6663122443016">Maximum: <strong id="CreateLoadBalancer__b36632241302">4096</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__request_CreateLoadBalancerRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateLoadBalancer__row1766342493011"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="CreateLoadBalancer__p1066416247309">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="CreateLoadBalancer__p17664202415301">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="CreateLoadBalancer__p3664142415306">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="CreateLoadBalancer__p566482414303">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row19664202493019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateLoadBalancer__p1566412433016">loadbalancer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateLoadBalancer__p1166572410302">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateLoadBalancer__p156658247307"><a href="#CreateLoadBalancer__request_CreateLoadBalancerOption">CreateLoadBalancerOption</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateLoadBalancer__p166517240306">Specifies the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__request_CreateLoadBalancerOption"></a><a name="request_CreateLoadBalancerOption"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__request_CreateLoadBalancerOption" frame="border" border="1" rules="all"><caption><b>Table 4 </b>CreateLoadBalancerOption</caption><thead align="left"><tr id="CreateLoadBalancer__row26651124133019"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="CreateLoadBalancer__p2668172423012">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="CreateLoadBalancer__p14668112493015">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="CreateLoadBalancer__p156689240306">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="CreateLoadBalancer__p3668172493020">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row1466672453010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p1166817243307">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p1066812247302">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p1666814243309">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p0669624143013">Specifies the project ID.</p>
|
|
<p id="CreateLoadBalancer__p136691324113012">Minimum: <strong id="CreateLoadBalancer__b9669524113011">1</strong></p>
|
|
<p id="CreateLoadBalancer__p136693242307">Maximum: <strong id="CreateLoadBalancer__b10669824103010">32</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row17666124143011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p1266913241305">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p666917242304">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p106691924153014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p1166912247302">Specifies the load balancer name.</p>
|
|
<p id="CreateLoadBalancer__p1966912463012">Minimum: <strong id="CreateLoadBalancer__b66691324103013">0</strong></p>
|
|
<p id="CreateLoadBalancer__p16669172411303">Maximum: <strong id="CreateLoadBalancer__b4669102493017">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row66667244307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p26701924173012">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p1667062423011">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p0670122418309">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p17670424133019">Provides supplementary information about the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p18670202483012">Minimum: <strong id="CreateLoadBalancer__b18670122410301">0</strong></p>
|
|
<p id="CreateLoadBalancer__p1670724193014">Maximum: <strong id="CreateLoadBalancer__b1067062417303">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1766652419304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p1367015244307">vip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p6670162443012">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p1867020242300">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p9671202493012">Specifies the private IPv4 address bound to the load balancer. The IP address must be from the IPv4 subnet where the load balancer resides and should not be occupied by other services.</p>
|
|
<p id="CreateLoadBalancer__p46716244301">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul12671192410306"><li id="CreateLoadBalancer__li66711124173012"><strong id="CreateLoadBalancer__b3671132413011">vip_subnet_cidr_id</strong> is also required if <strong id="CreateLoadBalancer__b86711524153012">vip_address</strong> is passed.</li><li id="CreateLoadBalancer__li156715246304">If only <strong id="CreateLoadBalancer__b186711824103016">vip_subnet_cidr_id</strong> is passed, the system will automatically assign a private IPv4 address to the load balancer.</li><li id="CreateLoadBalancer__li18671182412306">If both <strong id="CreateLoadBalancer__b186711324113011">vip_address</strong> and <strong id="CreateLoadBalancer__b76711124103010">vip_subnet_cidr_id</strong> are not passed, no private IPv4 address will be assigned, and the value of <strong id="CreateLoadBalancer__b8671924193019">vip_address</strong> will be <strong id="CreateLoadBalancer__b1767111247306">null</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row196662242301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p0671924133018">vip_subnet_cidr_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p106721624163014">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p2067212413308">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p13672824163015">Specifies the ID of the IPv4 subnet where the load balancer resides. This parameter is mandatory if you need to create a load balancer with a private IPv4 address.</p>
|
|
<p id="CreateLoadBalancer__p1867212413017">You can query parameter <strong id="CreateLoadBalancer__b767292415305">neutron_subnet_id</strong> in the response by calling the API (GET https://{VPC_Endpoint}/v1/{project_id}/subnets).</p>
|
|
<p id="CreateLoadBalancer__p467213242301">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul1167422493016"><li id="CreateLoadBalancer__li06741324143015"><strong id="CreateLoadBalancer__b26741724143017">vpc_id</strong>, <strong id="CreateLoadBalancer__b12674124153012">vip_subnet_cidr_id</strong> and <strong id="CreateLoadBalancer__b13674122403010">ipv6_vip_virsubnet_id</strong> cannot be left blank at the same time. The subnet specified by <strong id="CreateLoadBalancer__b96749249303">vip_subnet_cidr_id</strong> and the subnet specified by <strong id="CreateLoadBalancer__b167412423012">ipv6_vip_virsubnet_id</strong> must be in the VPC specified by <strong id="CreateLoadBalancer__b2674152420302">vpc_id</strong>.</li><li id="CreateLoadBalancer__li667442483015">The subnet specified by <strong id="CreateLoadBalancer__b1367432413304">vip_subnet_cidr_id</strong> must be in the VPC specified by <strong id="CreateLoadBalancer__b156741024123017">vpc_id</strong> if both <strong id="CreateLoadBalancer__b10674162433012">vpc_id</strong> and <strong id="CreateLoadBalancer__b1267442483014">vip_subnet_cidr_id</strong> are passed.</li></ul>
|
|
<p id="CreateLoadBalancer__p4674724173010">Minimum: <strong id="CreateLoadBalancer__b19674162420307">1</strong></p>
|
|
<p id="CreateLoadBalancer__p7674202410309">Maximum: <strong id="CreateLoadBalancer__b1967582411301">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row5666202420303"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p1267512415306">ipv6_vip_virsubnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p66751824123020">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p14675112415300">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p1267514249309">Specifies the ID of the IPv6 subnet where the load balancer resides. You can query <strong id="CreateLoadBalancer__b1167562412306">id</strong> in the response by calling the API (GET https://{VPC_Endpoint}/v1/{project_id}/subnets).</p>
|
|
<p id="CreateLoadBalancer__p136751724183015">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul9675624143018"><li id="CreateLoadBalancer__li206751124133020"><strong id="CreateLoadBalancer__b367532412303">vpc_id</strong>, <strong id="CreateLoadBalancer__b1867516248302">vip_subnet_cidr_id</strong> and <strong id="CreateLoadBalancer__b13676192413302">ipv6_vip_virsubnet_id</strong> cannot be left blank at the same time. The subnet specified by <strong id="CreateLoadBalancer__b14676524163016">vip_subnet_cidr_id</strong> and the subnet specified by <strong id="CreateLoadBalancer__b1867692417307">ipv6_vip_virsubnet_id</strong> must be in the VPC specified by <strong id="CreateLoadBalancer__b126761924143011">vpc_id</strong>.</li><li id="CreateLoadBalancer__li186766242305">IPv6 must have been enabled for the IPv6 subnet where the load balancer resides.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row14666124103018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p667652417300">provider</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p156761624193018">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p1867616240303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p767632413301">Specifies the provider of the load balancer. The value can only be <strong id="CreateLoadBalancer__b14676424133015">vlb</strong>.</p>
|
|
<p id="CreateLoadBalancer__p7676424103019">Minimum: <strong id="CreateLoadBalancer__b1767622423010">1</strong></p>
|
|
<p id="CreateLoadBalancer__p8676824153010">Maximum: <strong id="CreateLoadBalancer__b176766241305">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1766615244304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p186761324193011">l4_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p6676132463019">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p16677024153016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p3677112443019">Specifies the ID of a flavor at Layer 4.</p>
|
|
<p id="CreateLoadBalancer__p8166154585913">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul2474931303"><li id="CreateLoadBalancer__li347416316012">If neither **l4_flavor_id** nor **l7_flavor_id** is specified, the default flavor is used. The default flavor varies depending on the sites.</li></ul>
|
|
<p id="CreateLoadBalancer__p15677112414305">Minimum: <strong id="CreateLoadBalancer__b9677224143011">1</strong></p>
|
|
<p id="CreateLoadBalancer__p15677182423010">Maximum: <strong id="CreateLoadBalancer__b8677924113015">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row666620246305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p166778247300">l7_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p16677824143015">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p1867742413017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p10677152463017">Specifies the ID of a flavor at Layer 7.</p>
|
|
<p id="CreateLoadBalancer__p17318432018">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul13114317013"><li id="CreateLoadBalancer__li103184310018">If neither **l4_flavor_id** nor **l7_flavor_id** is specified, the default flavor is used. The default flavor varies depending on the sites.</li></ul>
|
|
<p id="CreateLoadBalancer__p3678624193018">Minimum: <strong id="CreateLoadBalancer__b126782024153017">1</strong></p>
|
|
<p id="CreateLoadBalancer__p967872483013">Maximum: <strong id="CreateLoadBalancer__b12678024133018">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row26661524163019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p1967872483018">guaranteed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p267819245302">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p76788249308">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p867814242303">Specifies whether the load balancer is a dedicated load balancer.</p>
|
|
<ul id="CreateLoadBalancer__ul13678192414300"><li id="CreateLoadBalancer__li86785244308"><strong id="CreateLoadBalancer__b17678192419307">true</strong> (default): The load balancer is a dedicated load balancer.</li><li id="CreateLoadBalancer__li14679024113016"><strong id="CreateLoadBalancer__b76790247308">false</strong>: The load balancer is a shared load balancer.</li></ul>
|
|
<p id="CreateLoadBalancer__p1467992418303">Currently, the value can only be <strong id="CreateLoadBalancer__b126796246306">true</strong>. If the value is set to <strong id="CreateLoadBalancer__b176793243307">false</strong>, 400 Bad Request will be returned.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row2666102416307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p196797245300">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p8679122463019">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p76791324113011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p567912416307">Specifies the ID of the VPC where the load balancer resides. You can query parameter <strong id="CreateLoadBalancer__b5679924133013">id</strong> in the response by calling the API (GET https://{VPC_Endpoint}/v1/{project_id}/vpcs).</p>
|
|
<p id="CreateLoadBalancer__p167962414306"><strong id="CreateLoadBalancer__b116797247308">vpc_id</strong>, <strong id="CreateLoadBalancer__b1567912463014">vip_subnet_cidr_id</strong> and <strong id="CreateLoadBalancer__b2067952413306">ipv6_vip_virsubnet_id</strong> cannot be left blank at the same time. The subnet specified by <strong id="CreateLoadBalancer__b13679192417302">vip_subnet_cidr_id</strong> and the subnet specified by <strong id="CreateLoadBalancer__b56791024183011">ipv6_vip_virsubnet_id</strong> must be in the VPC specified by <strong id="CreateLoadBalancer__b667916243305">vpc_id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1666614249307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p196801424173013">availability_zone_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p1968017241306">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p668082413013">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p5680102419306">Specifies the list of AZs where the load balancer can be created. You can query the AZs by calling the API (GET https://{ELB_Endpoint}/v3/{project_id}/elb/availability-zones). Select one or more AZs in the same set.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row5666142413017"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p196801624193016">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p12680112420301">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p19680524193010">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p268032453017">Specifies the ID of the enterprise project that the load balancer belongs to. The value cannot be <strong id="CreateLoadBalancer__b12680142443020">""</strong>, <strong id="CreateLoadBalancer__b6680224163010">"0"</strong>, or the ID of an enterprise project that does not exist. If this parameter is not passed during resource creation, the resource belongs to the default enterprise project, and <strong id="CreateLoadBalancer__b14680124203011">0</strong> will be returned.</p>
|
|
<p id="CreateLoadBalancer__p268022413019">This parameter is unsupported. Please do not use it.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row166662245302"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p468142493018">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p3681142416307">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p068112241303">Array of <a href="#CreateLoadBalancer__request_Tag">Tag</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p19681724203019">Lists the tags added to the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p11681102420304">Example: <strong id="CreateLoadBalancer__b106813248308">"tags":[{"key":"my_tag","value":"my_tag_value"}]</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1066619248301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p668112241307">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p468142414306">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p206819240304">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p1468262417301">Specifies the administrative status of the load balancer. The value can only be <strong id="CreateLoadBalancer__b368212245307">true</strong> (default).</p>
|
|
<p id="CreateLoadBalancer__p8682624133019">This parameter is unsupported. Please do not use it.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row186665242307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p1568202433014">ipv6_bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p468216240301">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p146831424113014"><a href="#CreateLoadBalancer__request_BandwidthRef">BandwidthRef</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p6683162416306">Specifies the ID of the bandwidth used by an IPv6 address. This parameter is available only when you create or update a load balancer with a public IPv6 address. If you use a new IPv6 address and specify a shared bandwidth, the IPv6 address will be added to the shared bandwidth.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1466715247305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p168312403017">publicip_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p186831724153020">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p15683182433011">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p1268382416304">Specifies the ID of the EIP the system will automatically assign and bind to the load balancer during load balancer creation. Only the first EIP will be bound to the load balancer although multiple EIP IDs can be set.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row14667192443017"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p10683122416304">publicip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p3683172416306">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p1568416242301"><a href="#CreateLoadBalancer__request_CreateLoadBalancerPublicIpOption">CreateLoadBalancerPublicIpOption</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p18684724193018">Specifies the new EIP that will be bound to the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row12667132453011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p17684182417309">elb_virsubnet_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p1368472443018">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p8684122483016">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p268412463016">Specifies the IDs of subnets on the downstream plane. You can query parameter <strong id="CreateLoadBalancer__b36841824173014">neutron_network_id</strong> in the response by calling the API (GET https://{VPC_Endpoint}/v1/{project_id}/subnets).</p>
|
|
<p id="CreateLoadBalancer__p1668482410309">If this parameter is not specified, select subnets as follows:</p>
|
|
<ul id="CreateLoadBalancer__ul11684142443016"><li id="CreateLoadBalancer__li10684132423016">If IPv6 is enabled for a load balancer, the ID of subnet specified in <strong id="CreateLoadBalancer__b668562423013">ipv6_vip_virsubnet_id</strong> will be used.</li><li id="CreateLoadBalancer__li7685122463015">If IPv4 is enabled for a load balancer, the ID of subnet specified in <strong id="CreateLoadBalancer__b66851824133018">vip_subnet_cidr_id</strong> will be used.</li><li id="CreateLoadBalancer__li16685324103012">If only pubilc network is available for a load balancer, the ID of any subnet in the VPC where the load balancer resides will be used. Subnets with more IP addresses are preferred.</li></ul>
|
|
<p id="CreateLoadBalancer__p16856245304">If there is more than one subnet, the first subnet in the list will be used.</p>
|
|
<p id="CreateLoadBalancer__p8685424113013">The subnets must be in the VPC where the load balancer resides.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1266752414304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p18685112403013">ip_target_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p12685202410307">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p166941624163018">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p1769522483020">Specifies whether to enable <strong id="CreateLoadBalancer__b969513240308">IP as a Backend Server</strong>.</p>
|
|
<p id="CreateLoadBalancer__p369516249306">If you enable this function, you can add servers in a peer VPC connected through a VPC peering connection, or in an on-premises data center at the other end of a Direct Connect or VPN connection, by using their IP addresses.</p>
|
|
<p id="CreateLoadBalancer__p17695162419308">This function is supported only by dedicated load balancers.</p>
|
|
<p id="CreateLoadBalancer__p186956243303">The value can be <strong id="CreateLoadBalancer__b1369517247304">true</strong> (enable <strong id="CreateLoadBalancer__b15695824173014">IP as a Backend Server</strong>) or <strong id="CreateLoadBalancer__b869516246309">false</strong> (disable <strong id="CreateLoadBalancer__b9695102403019">IP as a Backend Server</strong>).</p>
|
|
<p id="CreateLoadBalancer__p166953241306">The value can only be update to <strong id="CreateLoadBalancer__b14695024163016">true</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row2667182418306"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p11695824133020">deletion_protection_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p106951424123015">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p156951824163011">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p4696152415305">Specifies whether to enable deletion protection for the load balancer.</p>
|
|
<ul id="CreateLoadBalancer__ul0696192453016"><li id="CreateLoadBalancer__li8696132419300"><strong id="CreateLoadBalancer__b7696182493014">true</strong>: Enable deletion protection.</li><li id="CreateLoadBalancer__li1969652423010"><strong id="CreateLoadBalancer__b1569682473016">false</strong> (default): Disable deletion protection.</li></ul>
|
|
<div class="note" id="CreateLoadBalancer__note176966243306"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreateLoadBalancer__p13696424153010">Disable deletion protection for all your resources before deleting your account.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row176673249308"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateLoadBalancer__p669632433013">waf_failure_action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateLoadBalancer__p269612242306">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateLoadBalancer__p0898112413016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateLoadBalancer__p10898132423017">Specifies traffic distributing policies when the WAF is faulty.</p>
|
|
<ul id="CreateLoadBalancer__ul158984245301"><li id="CreateLoadBalancer__li7898182417307"><strong id="CreateLoadBalancer__b0898724163017">discard</strong>: Traffic will not be distributed.</li><li id="CreateLoadBalancer__li4899224183016"><strong id="CreateLoadBalancer__b1889916244300">forward</strong>: Traffic will be distributed to the default backend servers.</li></ul>
|
|
<p id="CreateLoadBalancer__p8899172403013">Note: This parameter takes effect only when WAF is enabled for the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p18991924113011">This parameter is unsupported. Please do not use it.</p>
|
|
<p id="CreateLoadBalancer__p15899162416305">Default: <strong id="CreateLoadBalancer__b589942473019">forward</strong></p>
|
|
<p id="CreateLoadBalancer__p2899172411305">Minimum: <strong id="CreateLoadBalancer__b11899132410304">0</strong></p>
|
|
<p id="CreateLoadBalancer__p1289982463018">Maximum: <strong id="CreateLoadBalancer__b178991024143018">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__request_Tag"></a><a name="request_Tag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__request_Tag" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Tag</caption><thead align="left"><tr id="CreateLoadBalancer__row26981124143016"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.1"><p id="CreateLoadBalancer__p1489922420309">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.2"><p id="CreateLoadBalancer__p17899192414302">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.3"><p id="CreateLoadBalancer__p089972483011">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.5.2.5.1.4"><p id="CreateLoadBalancer__p589962414303">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row18698122483011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="CreateLoadBalancer__p11899124123014">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="CreateLoadBalancer__p6899182483012">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="CreateLoadBalancer__p0899112418301">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="CreateLoadBalancer__p989912412305">Specifies the tag key.</p>
|
|
<p id="CreateLoadBalancer__p1689992419306">Minimum: <strong id="CreateLoadBalancer__b1189902419305">1</strong></p>
|
|
<p id="CreateLoadBalancer__p7899102413301">Maximum: <strong id="CreateLoadBalancer__b589942463011">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row769813245303"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="CreateLoadBalancer__p15899172413017">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="CreateLoadBalancer__p48991424203010">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="CreateLoadBalancer__p208991124193011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="CreateLoadBalancer__p19899624113017">Specifies the tag value.</p>
|
|
<p id="CreateLoadBalancer__p689932415307">Minimum: <strong id="CreateLoadBalancer__b1789942411306">0</strong></p>
|
|
<p id="CreateLoadBalancer__p19899152423019">Maximum: <strong id="CreateLoadBalancer__b2899152415307">43</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__request_BandwidthRef"></a><a name="request_BandwidthRef"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__request_BandwidthRef" frame="border" border="1" rules="all"><caption><b>Table 6 </b>BandwidthRef</caption><thead align="left"><tr id="CreateLoadBalancer__row8700142411309"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.1"><p id="CreateLoadBalancer__p1489962413302">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.2"><p id="CreateLoadBalancer__p12899122403010">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.3"><p id="CreateLoadBalancer__p13899524173019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.6.2.5.1.4"><p id="CreateLoadBalancer__p15899142416307">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row470015249307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="CreateLoadBalancer__p13899112417307">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="CreateLoadBalancer__p4899924143019">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="CreateLoadBalancer__p10899324193016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="CreateLoadBalancer__p78991224143019">Specifies the shared bandwidth ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__request_CreateLoadBalancerPublicIpOption"></a><a name="request_CreateLoadBalancerPublicIpOption"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__request_CreateLoadBalancerPublicIpOption" frame="border" border="1" rules="all"><caption><b>Table 7 </b>CreateLoadBalancerPublicIpOption</caption><thead align="left"><tr id="CreateLoadBalancer__row670152403018"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.5.1.1"><p id="CreateLoadBalancer__p0899824173014">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.5.1.2"><p id="CreateLoadBalancer__p18899132412308">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.5.1.3"><p id="CreateLoadBalancer__p18899182412303">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.7.2.5.1.4"><p id="CreateLoadBalancer__p1889982443011">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row37011724183010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateLoadBalancer__p10900132412302">ip_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateLoadBalancer__p159008244302">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateLoadBalancer__p17900182433019">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateLoadBalancer__p19000247302">Specifies the IP address version. The value can be <strong id="CreateLoadBalancer__b12900112473012">4</strong> (IPv4) or <strong id="CreateLoadBalancer__b14900102493011">6</strong> (IPv6).</p>
|
|
<p id="CreateLoadBalancer__p390012243307">Default: <strong id="CreateLoadBalancer__b490012246304">4</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row15701824163017"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateLoadBalancer__p39001124103012">network_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateLoadBalancer__p19001224193012">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateLoadBalancer__p8900122493013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateLoadBalancer__p10900162418308">Specifies the EIP type. The default value is <strong id="CreateLoadBalancer__b2090032473016">5_bgp</strong>. For more information, see the API for assigning an EIP in the <em id="CreateLoadBalancer__i19900192413305">Virtual Private Cloud API Reference</em>.</p>
|
|
<p id="CreateLoadBalancer__p1390062418301">Minimum: <strong id="CreateLoadBalancer__b14900192416305">1</strong></p>
|
|
<p id="CreateLoadBalancer__p19900224123014">Maximum: <strong id="CreateLoadBalancer__b119001224173010">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1170118241304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateLoadBalancer__p3900132414302">billing_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateLoadBalancer__p3900122443012">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateLoadBalancer__p1590052453010">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateLoadBalancer__p79002248309">Provides billing information about the EIP.</p>
|
|
<p id="CreateLoadBalancer__p20900182419303">This parameter is unsupported. Please do not use it.</p>
|
|
<p id="CreateLoadBalancer__p1990062418301">Minimum: <strong id="CreateLoadBalancer__b5900824153012">1</strong></p>
|
|
<p id="CreateLoadBalancer__p1590092411308">Maximum: <strong id="CreateLoadBalancer__b390015242304">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row170162412305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateLoadBalancer__p12900142443011">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateLoadBalancer__p19900132463014">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateLoadBalancer__p09001324103016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateLoadBalancer__p790016249307">Provides supplementary information about the EIP.</p>
|
|
<p id="CreateLoadBalancer__p12900192463019">Minimum: <strong id="CreateLoadBalancer__b29001824183019">1</strong></p>
|
|
<p id="CreateLoadBalancer__p1090052416304">Maximum: <strong id="CreateLoadBalancer__b690012473012">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1570110244307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.1 "><p id="CreateLoadBalancer__p29001524193014">bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.2 "><p id="CreateLoadBalancer__p14900112418306">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.5.1.3 "><p id="CreateLoadBalancer__p8900142411308"><a href="#CreateLoadBalancer__request_CreateLoadBalancerBandwidthOption">CreateLoadBalancerBandwidthOption</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.7.2.5.1.4 "><p id="CreateLoadBalancer__p139001248304">bandwidth</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__request_CreateLoadBalancerBandwidthOption"></a><a name="request_CreateLoadBalancerBandwidthOption"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__request_CreateLoadBalancerBandwidthOption" frame="border" border="1" rules="all"><caption><b>Table 8 </b>CreateLoadBalancerBandwidthOption</caption><thead align="left"><tr id="CreateLoadBalancer__row2070413243307"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.5.1.1"><p id="CreateLoadBalancer__p15900724193011">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.5.1.2"><p id="CreateLoadBalancer__p149009243303">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.5.1.3"><p id="CreateLoadBalancer__p69001124163016">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.8.2.5.1.4"><p id="CreateLoadBalancer__p4900024153019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row970472433010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateLoadBalancer__p1890002463018">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateLoadBalancer__p189001124183016">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateLoadBalancer__p690002419303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateLoadBalancer__p4900202419306">Specifies the bandwidth name.</p>
|
|
<p id="CreateLoadBalancer__p11900124143010">The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods.</p>
|
|
<p id="CreateLoadBalancer__p2900142418309">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul1590022443018"><li id="CreateLoadBalancer__li1190052417308">This parameter is mandatory if <strong id="CreateLoadBalancer__b1900112411306">share_type</strong> is set to <strong id="CreateLoadBalancer__b290002423010">PER</strong>.</li><li id="CreateLoadBalancer__li290018248304">This parameter will be ignored if the bandwidth reference has a specific ID.</li></ul>
|
|
<p id="CreateLoadBalancer__p09001124193015">Minimum: <strong id="CreateLoadBalancer__b189001124153018">1</strong></p>
|
|
<p id="CreateLoadBalancer__p8900524133014">Maximum: <strong id="CreateLoadBalancer__b18900182413301">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row10704172418309"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateLoadBalancer__p7901162463017">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateLoadBalancer__p89011624123010">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateLoadBalancer__p6901172463019">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateLoadBalancer__p5901132473015">Specifies the bandwidth range.</p>
|
|
<p id="CreateLoadBalancer__p17901624143012">The default range is 1 Mbit/s to 2,000 Mbit/s. (The specific range may vary depending on the configuration in each region. You can see the available bandwidth range on the management console.)</p>
|
|
<p id="CreateLoadBalancer__p1990114242303">Note:</p>
|
|
<p id="CreateLoadBalancer__p59011524193014">The minimum increment for bandwidth adjustment varies depending on the bandwidth range. The following are the details:</p>
|
|
<ul id="CreateLoadBalancer__ul490114249309"><li id="CreateLoadBalancer__li139011624153015">The minimum increment is 1 Mbit/s if the bandwidth range is from 0 Mbit/s to 300 Mbit/s.</li><li id="CreateLoadBalancer__li890118242306">The minimum increment is 50 Mbit/s if the bandwidth range is from 301 Mbit/s to 1,000 Mbit/s.</li><li id="CreateLoadBalancer__li6901192415301">The minimum increment is 500 Mbit/s if the bandwidth is greater than 1,000 Mbit/s.</li></ul>
|
|
<p id="CreateLoadBalancer__p690142415300">This parameter is mandatory if <strong id="CreateLoadBalancer__b16905224163017">id</strong> is set to <strong id="CreateLoadBalancer__b12905162414301">null</strong>.</p>
|
|
<p id="CreateLoadBalancer__p13905102463015">Minimum: <strong id="CreateLoadBalancer__b590502411302">0</strong></p>
|
|
<p id="CreateLoadBalancer__p10905824173015">Maximum: <strong id="CreateLoadBalancer__b18905724183015">99999</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row17704172463013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateLoadBalancer__p6905192418301">charge_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateLoadBalancer__p1690562473012">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateLoadBalancer__p2090512414302">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateLoadBalancer__p1905424123010">Specifies how the bandwidth used by the EIP is billed.</p>
|
|
<p id="CreateLoadBalancer__p1905172418305">Currently, the bandwidth can be billed only by <strong id="CreateLoadBalancer__b139051624173013">traffic</strong>.</p>
|
|
<p id="CreateLoadBalancer__p59051124153019">This parameter is mandatory if <strong id="CreateLoadBalancer__b6905172420301">id</strong> is set to <strong id="CreateLoadBalancer__b10905924143010">null</strong>.</p>
|
|
<p id="CreateLoadBalancer__p79050241308">Minimum: <strong id="CreateLoadBalancer__b490519248302">1</strong></p>
|
|
<p id="CreateLoadBalancer__p1890513246302">Maximum: <strong id="CreateLoadBalancer__b17905102403013">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row117041324113013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateLoadBalancer__p1290522416305">share_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateLoadBalancer__p3905224113010">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateLoadBalancer__p119051724183019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateLoadBalancer__p119051524133012">Specifies the bandwidth type.</p>
|
|
<ul id="CreateLoadBalancer__ul1690512453011"><li id="CreateLoadBalancer__li1090510242309"><strong id="CreateLoadBalancer__b890518248306">PER</strong>: indicates dedicated bandwidth.</li><li id="CreateLoadBalancer__li4905224123011"><strong id="CreateLoadBalancer__b29058246303">WHOLE</strong>: indicates shared bandwidth.</li></ul>
|
|
<p id="CreateLoadBalancer__p169051924203018">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul19905624193018"><li id="CreateLoadBalancer__li13905132453015">This parameter is mandatory when <strong id="CreateLoadBalancer__b149053246305">id</strong> is set to <strong id="CreateLoadBalancer__b1390517246308">null</strong>. It will be ignored if the value of <strong id="CreateLoadBalancer__b10905152483013">id</strong> is not <strong id="CreateLoadBalancer__b18905424203014">null</strong>.</li><li id="CreateLoadBalancer__li59054246300">The bandwidth ID must be specified if the bandwidth type is set to <strong id="CreateLoadBalancer__b15905142433014">WHOLE</strong>.</li><li id="CreateLoadBalancer__li1290562433019">The bandwidth type cannot be <strong id="CreateLoadBalancer__b2090532483014">WHOLE</strong> for IPv6 EIPs.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1704524153012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateLoadBalancer__p179051624133010">billing_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateLoadBalancer__p0905192411309">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateLoadBalancer__p59051424183013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateLoadBalancer__p13905724103013">Specifies bandwidth billing information.</p>
|
|
<p id="CreateLoadBalancer__p5905112419302">This parameter is unsupported. Please do not use it.</p>
|
|
<p id="CreateLoadBalancer__p13905132413015">Minimum: <strong id="CreateLoadBalancer__b5905924163017">1</strong></p>
|
|
<p id="CreateLoadBalancer__p690519242307">Maximum: <strong id="CreateLoadBalancer__b15905424163012">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row4704152411302"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.1 "><p id="CreateLoadBalancer__p13905724123010">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.2 "><p id="CreateLoadBalancer__p2905132419302">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.5.1.3 "><p id="CreateLoadBalancer__p14906122483012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.8.2.5.1.4 "><p id="CreateLoadBalancer__p0906624113015">Specifies the ID of the shared bandwidth to which the IP address bound to the load balancer is added.</p>
|
|
<p id="CreateLoadBalancer__p149061224133016">Note:</p>
|
|
<ul id="CreateLoadBalancer__ul1390682493012"><li id="CreateLoadBalancer__li290622414309">The value is the bandwidth ID when <strong id="CreateLoadBalancer__b790632473020">share_type</strong> is set to <strong id="CreateLoadBalancer__b1090612243307">WHOLE</strong>.</li></ul>
|
|
<p id="CreateLoadBalancer__p79061524203018">Minimum: <strong id="CreateLoadBalancer__b169061624163020">1</strong></p>
|
|
<p id="CreateLoadBalancer__p8906182443014">Maximum: <strong id="CreateLoadBalancer__b1990612483013">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section1290615245308"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateLoadBalancer__p5906102418306"><strong id="CreateLoadBalancer__b990682415303">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_CreateLoadBalancerResponseBody" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="CreateLoadBalancer__row1708724153014"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="CreateLoadBalancer__p119061724133012">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="CreateLoadBalancer__p149062247302">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="CreateLoadBalancer__p990622443014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row57081824143014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateLoadBalancer__p16906524173016">loadbalancer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateLoadBalancer__p209061524103018"><a href="#CreateLoadBalancer__response_LoadBalancer">LoadBalancer</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateLoadBalancer__p79061024153012">Specifies the load balancer. (This parameter is returned when the billing mode of the load balancer is pay-per-use.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row14708192419307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateLoadBalancer__p1990602420301">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateLoadBalancer__p290692413303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateLoadBalancer__p189063243302">Specifies the request ID. The value is automatically generated.</p>
|
|
<p id="CreateLoadBalancer__p179064241308">Minimum: <strong id="CreateLoadBalancer__b14906182418309">0</strong></p>
|
|
<p id="CreateLoadBalancer__p19906152473013">Maximum: <strong id="CreateLoadBalancer__b1690642414308">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_LoadBalancer"></a><a name="response_LoadBalancer"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_LoadBalancer" frame="border" border="1" rules="all"><caption><b>Table 10 </b>LoadBalancer</caption><thead align="left"><tr id="CreateLoadBalancer__row1571072416303"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="CreateLoadBalancer__p290632413306">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="CreateLoadBalancer__p5906724133010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="CreateLoadBalancer__p7906182413303">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row87101324183020"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p7906202411302">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p990622415300">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p690682433014">Specifies the load balancer ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row5710102410309"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p890612414304">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p20906202473010">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p15907324143019">Provides supplementary information about the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p17907102419307">Minimum: <strong id="CreateLoadBalancer__b139071724103018">1</strong></p>
|
|
<p id="CreateLoadBalancer__p14907202423015">Maximum: <strong id="CreateLoadBalancer__b2907924193014">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row171022415303"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p15907112410308">provisioning_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p4907924173014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1990732418308">Specifies the provisioning status of the load balancer. The value can be one of the following:</p>
|
|
<ul id="CreateLoadBalancer__ul790772420308"><li id="CreateLoadBalancer__li1490772473014"><strong id="CreateLoadBalancer__b1590722423018">ACTIVE</strong>: The load balancer is successfully provisioned.</li><li id="CreateLoadBalancer__li14907224193013"><strong id="CreateLoadBalancer__b7907724143016">PENDING_DELETE</strong>: The load balancer is being deleted.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row3710142433010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p10907122453016">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p109071924123015">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p990712414301">Specifies the administrative status of the load balancer. The value can only be <strong id="CreateLoadBalancer__b15907172415308">true</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row871032473018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p109075249305">provider</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p19907142413303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p179073247303">Specifies the provider of the load balancer. The value can only be <strong id="CreateLoadBalancer__b0907132453017">vlb</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row17102247303"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p6907524153019">pools</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p1190762411304">Array of <a href="#CreateLoadBalancer__response_PoolRef">PoolRef</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p09075247305">Lists the IDs of backend server groups associated with the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row7710192418304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1290717247309">listeners</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p9907122493013">Array of <a href="#CreateLoadBalancer__response_ListenerRef">ListenerRef</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1890752415307">Lists the IDs of listeners added to the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row18710224163015"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1790712419305">operating_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p3907192416305">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p490722411300">Specifies the operating status of the load balancer. The value can only be <strong id="CreateLoadBalancer__b17907024193015">ONLINE</strong>, indicating that the load balancer is running normally.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1371042453011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p19907324173012">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p9907162419303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p69076245304">Specifies the load balancer name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row87101124123018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p990722493016">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p89071624153014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1390719241306">Specifies the project ID of the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row4710182423016"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p990782415303">vip_subnet_cidr_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p2907102420308">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p690712483016">Specifies the ID of the IPv4 subnet where the load balancer resides.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row571012411309"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p290772414309">vip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p129071624133015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1907224163018">Specifies the private IPv4 address bound to the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row87101424133011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p6907624183010">vip_port_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p4907924123018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1590752493012">Specifies the ID of the port bound to the private IPv4 address of the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p190752443010">The default security group associated with the port will take effect only after at least one backend server is associated with load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row14710172419309"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1907524173012">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p1690714240301">Array of <a href="#CreateLoadBalancer__response_Tag">Tag</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p99071224183010">Lists the tags added to the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row4710724163013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1890711242309">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p79076241305">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p16907152416302">Specifies the time when the load balancer was created, in the format of <em id="CreateLoadBalancer__i1590720242302">yyyy-MM-dd''T''HH:mm:ss''Z''</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row47105247306"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p69072242305">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p2907024113013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p169071824113012">Specifies the time when the load balancer was updated, in the format of <em id="CreateLoadBalancer__i13907424183019">yyyy-MM-dd''T''HH:mm:ss''Z''</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row2710162417303"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p109071245305">guaranteed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p11907132418308">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1090772453019">Specifies whether the load balancer is a dedicated load balancer.</p>
|
|
<ul id="CreateLoadBalancer__ul159081124113018"><li id="CreateLoadBalancer__li69087249302"><strong id="CreateLoadBalancer__b13908192453012">true</strong> (default): The load balancer is a dedicated load balancer.</li><li id="CreateLoadBalancer__li190822403020"><strong id="CreateLoadBalancer__b18908172412302">false</strong>: The load balancer is a shared load balancer.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row2710102453018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1390882453018">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p199081824143016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p109082242306">Specifies the ID of the VPC where the load balancer resides.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1171022411304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p39085245301">eips</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p39081624123012">Array of <a href="#CreateLoadBalancer__response_EipInfo">EipInfo</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p15908132413305">Specifies the EIP bound to the load balancer. Only one EIP can be bound to a load balancer.</p>
|
|
<p id="CreateLoadBalancer__p39081824123019">This parameter has the same meaning as <strong id="CreateLoadBalancer__b19908224173011">publicips</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row147103248300"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p16908924183014">ipv6_vip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p99081424133016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1790892433018">Specifies the IPv6 address bound to the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row137100242301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p09081924183018">ipv6_vip_virsubnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p19908172413304">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1390817241303">Specifies the ID of the IPv6 subnet where the load balancer resides.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row16710142453011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1990882413305">ipv6_vip_port_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p7908112453016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1890812418307">Specifies the ID of the port bound to the IPv6 address of the load balancer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row37101424183010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p890817249308">availability_zone_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p1190819242307">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p0908142413014">Specifies the list of AZs where the load balancer is created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row571032411301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p12908202453017">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p1690862414303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p4908162483018">Specifies the enterprise project ID.</p>
|
|
<p id="CreateLoadBalancer__p12908102411305">If this parameter is not passed during resource creation, <strong id="CreateLoadBalancer__b16908132443019">"0"</strong> will be returned, and the resource belongs to the default enterprise project.</p>
|
|
<p id="CreateLoadBalancer__p69081324163018"><strong id="CreateLoadBalancer__b79085242303">"0"</strong> is not a valid enterprise project ID and cannot be used in the APIs for creating, updating the load balancer, or querying details of the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p9908132417301">This parameter is unsupported. Please do not use it.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row15710142417305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p20908424113014">billing_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p690819247301">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p290862415308">Provides resource billing information.</p>
|
|
<p id="CreateLoadBalancer__p59081424163010">This parameter is unsupported. Please do not use it.</p>
|
|
<p id="CreateLoadBalancer__p190814242302">Minimum: <strong id="CreateLoadBalancer__b1290862413305">1</strong></p>
|
|
<p id="CreateLoadBalancer__p12908824123011">Maximum: <strong id="CreateLoadBalancer__b1390818246307">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row6710152433012"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p59085246302">l4_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p179081424193018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p15908324133015">Specifies the ID of a flavor at Layer 4.</p>
|
|
<p id="CreateLoadBalancer__p1590862417301">Minimum: <strong id="CreateLoadBalancer__b49081724193010">1</strong></p>
|
|
<p id="CreateLoadBalancer__p490816242302">Maximum: <strong id="CreateLoadBalancer__b1890810243303">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row87111324133013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p1890832463017">l4_scale_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p79081024183019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p2908132413014">Specifies the ID of the reserved flavor at Layer 4.</p>
|
|
<p id="CreateLoadBalancer__p15908324203017">This parameter is unsupported. Please do not use it.</p>
|
|
<p id="CreateLoadBalancer__p79081624113020">Minimum: <strong id="CreateLoadBalancer__b190822463015">1</strong></p>
|
|
<p id="CreateLoadBalancer__p13908142473014">Maximum: <strong id="CreateLoadBalancer__b189081424153014">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row14711142483017"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p49081524173011">l7_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p3908132413306">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1890842417307">Specifies the ID of a flavor at Layer 7.</p>
|
|
<p id="CreateLoadBalancer__p690812411304">Minimum: <strong id="CreateLoadBalancer__b89081224163011">1</strong></p>
|
|
<p id="CreateLoadBalancer__p1290942413014">Maximum: <strong id="CreateLoadBalancer__b390914248308">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row127113248302"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p690982423020">l7_scale_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p690914246305">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p890992433019">Specifies the ID of the reserved flavor at Layer 7.</p>
|
|
<p id="CreateLoadBalancer__p18909172413306">This parameter is unsupported. Please do not use it.</p>
|
|
<p id="CreateLoadBalancer__p1090932418306">Minimum: <strong id="CreateLoadBalancer__b5909182414309">1</strong></p>
|
|
<p id="CreateLoadBalancer__p10909132420301">Maximum: <strong id="CreateLoadBalancer__b15909524103010">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row16711172414307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p18909724143017">publicips</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p89091624153015">Array of <a href="#CreateLoadBalancer__response_PublicIpInfo">PublicIpInfo</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p6909202419307">Specifies the EIP bound to the load balancer. Only one EIP can be bound to a load balancer.</p>
|
|
<p id="CreateLoadBalancer__p2909624133014">This parameter has the same meaning as <strong id="CreateLoadBalancer__b1390916248308">eips</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row171172493016"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p17909224103010">elb_virsubnet_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p1690962493016">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p99091224193013">Lists the IDs of subnets on the downstream plane.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row771122403018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p3909162423011">elb_virsubnet_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p09091524123018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p1890919246309">Specifies the type of the subnet on the downstream plane.</p>
|
|
<ul id="CreateLoadBalancer__ul189091724113018"><li id="CreateLoadBalancer__li390912463018"><strong id="CreateLoadBalancer__b15909152443018">ipv4</strong>: IPv4 subnet</li><li id="CreateLoadBalancer__li990952419302"><strong id="CreateLoadBalancer__b1990922414300">dualstack</strong>: subnet that supports IPv4/IPv6 dual stack</li></ul>
|
|
<p id="CreateLoadBalancer__p49095242302">"dualstack" is not supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row14711132443010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p18909424103020">ip_target_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p99093241303">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p190942416309">Specifies whether to enable <strong id="CreateLoadBalancer__b29098242301">IP as a Backend Server</strong>.</p>
|
|
<p id="CreateLoadBalancer__p149091524133015">If you enable this function, you can add servers in a peer VPC connected through a VPC peering connection, or in an on-premises data center at the other end of a Direct Connect or VPN connection, by using their IP addresses.</p>
|
|
<p id="CreateLoadBalancer__p19909142413013">This function is supported only by dedicated load balancers.</p>
|
|
<p id="CreateLoadBalancer__p14909524153016">The value can be <strong id="CreateLoadBalancer__b12909424143016">true</strong> (enable <strong id="CreateLoadBalancer__b149091424133014">IP as a Backend Server</strong>) or <strong id="CreateLoadBalancer__b190912483012">false</strong> (disable <strong id="CreateLoadBalancer__b2090917246303">IP as a Backend Server</strong>).</p>
|
|
<p id="CreateLoadBalancer__p890992411304">The value can only be update to <strong id="CreateLoadBalancer__b1190922415309">true</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1471118242302"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p20909192493019">frozen_scene</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p2909324113012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p8909112433010">Specifies the scenario where the load balancer is frozen. Multiple values are separated using commas (,).</p>
|
|
<p id="CreateLoadBalancer__p18909924183014">This parameter is unsupported. Please do not use it.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1871182413018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p4909162433019">ipv6_bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p990952473015"><a href="#CreateLoadBalancer__response_BandwidthRef">BandwidthRef</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p190911246306">Specifies the ID of the bandwidth used by an IPv6 address. This parameter is available only when you create or update a load balancer with a public IPv6 address. If you use a new IPv6 address and specify a shared bandwidth, the IPv6 address will be added to the shared bandwidth.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row7711142433016"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p16909182463011">deletion_protection_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p09092024103019">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p79091624173016">Specifies whether deletion protection is enabled.</p>
|
|
<ul id="CreateLoadBalancer__ul1890922415302"><li id="CreateLoadBalancer__li990952415303"><strong id="CreateLoadBalancer__b4909112410308">false</strong>: Deletion protection is not enabled.</li><li id="CreateLoadBalancer__li6909824203013"><strong id="CreateLoadBalancer__b16909524193012">true</strong>: Deletion protection is enabled.</li></ul>
|
|
<div class="note" id="CreateLoadBalancer__note17909024193012"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreateLoadBalancer__p590962473016">Disable deletion protection for all your resources before deleting your account.</p>
|
|
</div></div>
|
|
<p id="CreateLoadBalancer__p6909202423017">This parameter is returned only when deletion protection is enabled at the site.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row117117244301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p12909132453014">public_border_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p4909524183012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p59106241308">Specifies the AZ group to which the load balancer belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row117111224193020"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="CreateLoadBalancer__p11910192414303">waf_failure_action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="CreateLoadBalancer__p1691011244306">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="CreateLoadBalancer__p15910152483014">Specifies traffic distributing policies when the WAF is faulty.</p>
|
|
<ul id="CreateLoadBalancer__ul1691032417309"><li id="CreateLoadBalancer__li791012411306"><strong id="CreateLoadBalancer__b129101924163015">discard</strong>: Traffic will not be distributed.</li><li id="CreateLoadBalancer__li891019249307"><strong id="CreateLoadBalancer__b159101246308">forward</strong>: Traffic will be distributed to the default backend servers.</li></ul>
|
|
<p id="CreateLoadBalancer__p6910152433015">Note: This parameter takes effect only when WAF is enabled for the load balancer.</p>
|
|
<p id="CreateLoadBalancer__p209109243309">This parameter is unsupported. Please do not use it.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_PoolRef"></a><a name="response_PoolRef"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_PoolRef" frame="border" border="1" rules="all"><caption><b>Table 11 </b>PoolRef</caption><thead align="left"><tr id="CreateLoadBalancer__row16721152414303"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="CreateLoadBalancer__p1591002412304">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="CreateLoadBalancer__p109105248301">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="CreateLoadBalancer__p5910102414302">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row207210249301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="CreateLoadBalancer__p11910112412309">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="CreateLoadBalancer__p17910182415307">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="CreateLoadBalancer__p69101424193011">Specifies the ID of the backend server group.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_ListenerRef"></a><a name="response_ListenerRef"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_ListenerRef" frame="border" border="1" rules="all"><caption><b>Table 12 </b>ListenerRef</caption><thead align="left"><tr id="CreateLoadBalancer__row177211324123014"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.1"><p id="CreateLoadBalancer__p16910724183010">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.2"><p id="CreateLoadBalancer__p29101524103012">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.6.2.4.1.3"><p id="CreateLoadBalancer__p4910192443011">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row3722924203019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="CreateLoadBalancer__p6910152413010">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="CreateLoadBalancer__p15910162413012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="CreateLoadBalancer__p1191022413308">Specifies the listener ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_Tag"></a><a name="response_Tag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_Tag" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Tag</caption><thead align="left"><tr id="CreateLoadBalancer__row2722224193014"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="CreateLoadBalancer__p13911924183013">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="CreateLoadBalancer__p2911162493017">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="CreateLoadBalancer__p1991116240304">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row177220243307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateLoadBalancer__p291152413012">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateLoadBalancer__p1091112416302">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateLoadBalancer__p1991152415309">Specifies the tag key.</p>
|
|
<p id="CreateLoadBalancer__p091116241301">Minimum: <strong id="CreateLoadBalancer__b149111224153011">1</strong></p>
|
|
<p id="CreateLoadBalancer__p14911122411305">Maximum: <strong id="CreateLoadBalancer__b13911524123014">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row17221124133017"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateLoadBalancer__p6911172416302">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateLoadBalancer__p29118244303">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateLoadBalancer__p5911824163012">Specifies the tag value.</p>
|
|
<p id="CreateLoadBalancer__p491112414306">Minimum: <strong id="CreateLoadBalancer__b29111524173018">0</strong></p>
|
|
<p id="CreateLoadBalancer__p159111824173012">Maximum: <strong id="CreateLoadBalancer__b1491172473010">43</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_EipInfo"></a><a name="response_EipInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_EipInfo" frame="border" border="1" rules="all"><caption><b>Table 14 </b>EipInfo</caption><thead align="left"><tr id="CreateLoadBalancer__row972313244309"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.1"><p id="CreateLoadBalancer__p6911724183018">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.2"><p id="CreateLoadBalancer__p391112410308">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.8.2.4.1.3"><p id="CreateLoadBalancer__p1791162411307">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row147241524173013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateLoadBalancer__p1191152413019">eip_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateLoadBalancer__p9911624173011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateLoadBalancer__p99111824193013">eip_id</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row772418247307"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateLoadBalancer__p1391118249302">eip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateLoadBalancer__p109110241302">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateLoadBalancer__p1791112483011">eip_address</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row1572412412305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="CreateLoadBalancer__p109111224133015">ip_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="CreateLoadBalancer__p191115248303">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="CreateLoadBalancer__p191117241305">Specifies the IP version. <strong id="CreateLoadBalancer__b6911524123019">4</strong> indicates IPv4, and <strong id="CreateLoadBalancer__b39111724183019">6</strong> indicates IPv6.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_PublicIpInfo"></a><a name="response_PublicIpInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_PublicIpInfo" frame="border" border="1" rules="all"><caption><b>Table 15 </b>PublicIpInfo</caption><thead align="left"><tr id="CreateLoadBalancer__row10725112413012"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.1"><p id="CreateLoadBalancer__p791142410309">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.2"><p id="CreateLoadBalancer__p791172493020">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.9.2.4.1.3"><p id="CreateLoadBalancer__p2091122414301">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row57256249304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="CreateLoadBalancer__p129115249302">publicip_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="CreateLoadBalancer__p14911102483014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="CreateLoadBalancer__p11911924173014">Specifies the EIP ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row16725152410308"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="CreateLoadBalancer__p791172413306">publicip_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="CreateLoadBalancer__p291162418304">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="CreateLoadBalancer__p18911024193013">Specifies the IP address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateLoadBalancer__row117254240305"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="CreateLoadBalancer__p12911324193011">ip_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="CreateLoadBalancer__p12911112410306">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="CreateLoadBalancer__p109111024203011">Specifies the IP version. The value can be <strong id="CreateLoadBalancer__b291110249308">4</strong> (IPv4) or <strong id="CreateLoadBalancer__b1791132415301">6</strong> (IPv6).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateLoadBalancer__response_BandwidthRef"></a><a name="response_BandwidthRef"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__response_BandwidthRef" frame="border" border="1" rules="all"><caption><b>Table 16 </b>BandwidthRef</caption><thead align="left"><tr id="CreateLoadBalancer__row972622418304"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.1"><p id="CreateLoadBalancer__p0912192443012">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.2"><p id="CreateLoadBalancer__p1691252423010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.10.2.4.1.3"><p id="CreateLoadBalancer__p1791218248304">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row16726182413301"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="CreateLoadBalancer__p191262419304">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="CreateLoadBalancer__p10912224153012">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="CreateLoadBalancer__p49121724123020">Specifies the shared bandwidth ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section091282410304"><h4 class="sectiontitle">Example Requests</h4><ul id="CreateLoadBalancer__ul1591222423018"><li id="CreateLoadBalancer__li191215245301">Example 1: Creating a load balancer with a private IPv4 address<pre class="screen" id="CreateLoadBalancer__screen191216246306">POST https://{ELB_Endponit}/v3/060576782980d5762f9ec014dd2f1148/elb/loadbalancers
|
|
|
|
{
|
|
"loadbalancer" : {
|
|
"name" : "loadbalancer",
|
|
"description" : "simple lb",
|
|
"vip_subnet_cidr_id" : "1992ec06-f364-4ae3-b936-6a8cc24633b7",
|
|
"admin_state_up" : true,
|
|
"availability_zone_list" : [ "AZ1" ]
|
|
}
|
|
}</pre>
|
|
</li><li id="CreateLoadBalancer__li291282411306">Example 2: Creating a load balancer with an IPv4 EIP<pre class="screen" id="CreateLoadBalancer__screen29121824153010">POST https://{ELB_Endponit}/v3/060576782980d5762f9ec014dd2f1148/elb/loadbalancers
|
|
|
|
{
|
|
"loadbalancer" : {
|
|
"vip_subnet_cidr_id" : "e6e9271d-aef4-48f0-a93a-ccc7b09032c1",
|
|
"availability_zone_list" : [ "AZ1" ],
|
|
"admin_state_up" : true,
|
|
"publicip" : {
|
|
"network_type" : "5_bgp",
|
|
"bandwidth" : {
|
|
"size" : 2,
|
|
"share_type" : "PER",
|
|
"charge_mode" : "bandwidth",
|
|
"name" : "bandwidth_test"
|
|
}
|
|
},
|
|
"name" : "elb_eip-test"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section791202403015"><h4 class="sectiontitle">Example Responses</h4><p id="CreateLoadBalancer__p691222414308"><strong id="CreateLoadBalancer__b159121824163016">Status code: 201</strong></p>
|
|
<p id="CreateLoadBalancer__p19912152463015">Normal response to POST requests.</p>
|
|
<pre class="screen" id="CreateLoadBalancer__screen691220242301">{
|
|
"request_id" : "6c63d0ac-7beb-451d-a3e0-a066beaea316",
|
|
"loadbalancer" : {
|
|
"id" : "cce5318e-c79a-4f68-94a2-9fb285c6efbe",
|
|
"project_id" : "060576782980d5762f9ec014dd2f1148",
|
|
"name" : "elb-reset",
|
|
"description" : "",
|
|
"vip_port_id" : null,
|
|
"vip_address" : null,
|
|
"admin_state_up" : true,
|
|
"provisioning_status" : "ACTIVE",
|
|
"operating_status" : "ONLINE",
|
|
"listeners" : [ ],
|
|
"pools" : [ ],
|
|
"tags" : [ ],
|
|
"provider" : "vlb",
|
|
"created_at" : "2021-07-26T02:46:31Z",
|
|
"updated_at" : "2021-07-26T02:46:59Z",
|
|
"vpc_id" : "59cb11ef-f185-49ba-92af-0539e8ff9734",
|
|
"enterprise_project_id" : "0",
|
|
"availability_zone_list" : [ "az1" ],
|
|
"ipv6_vip_address" : null,
|
|
"ipv6_vip_virsubnet_id" : null,
|
|
"ipv6_vip_port_id" : null,
|
|
"publicips" : [ {
|
|
"publicip_id" : "0c07e04d-e2f9-41ad-b934-f58a65b6734d",
|
|
"publicip_address" : "97.97.2.171",
|
|
"ip_version" : 4
|
|
} ],
|
|
"elb_virsubnet_ids" : [ "7f817f9c-8731-4002-9e47-18cb8d431787" ],
|
|
"elb_virsubnet_type" : "dualstack",
|
|
"ip_target_enable" : false,
|
|
"frozen_scene" : null,
|
|
"eips" : [ {
|
|
"eip_id" : "0c07e04d-e2f9-41ad-b934-f58a65b6734d",
|
|
"eip_address" : "97.97.2.171",
|
|
"ip_version" : 4
|
|
} ],
|
|
"guaranteed" : true,
|
|
"billing_info" : null,
|
|
"l4_flavor_id" : "636ba721-935a-4ca5-a685-8076ce0e4148",
|
|
"l4_scale_flavor_id" : null,
|
|
"l7_flavor_id" : null,
|
|
"l7_scale_flavor_id" : null,
|
|
"vip_subnet_cidr_id" : null,
|
|
"deletion_protection_enable" : false,
|
|
"public_border_group" : "center",
|
|
"waf_failure_action" : "forward"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section8912132413308"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateLoadBalancer__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateLoadBalancer__row573216249309"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="CreateLoadBalancer__p199131024133011">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="CreateLoadBalancer__p14913152411302">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateLoadBalancer__row117321124103012"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateLoadBalancer__p1691310243303">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateLoadBalancer__p7913424113017">Normal response to POST requests.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateLoadBalancer__section109131024183016"><h4 class="sectiontitle">Error Codes</h4><p id="CreateLoadBalancer__p791372414302">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="module_loadbalancers.html">Load Balancer</a></div>
|
|
</div>
|
|
</div>
|
|
|