forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
163 lines
10 KiB
HTML
163 lines
10 KiB
HTML
<a name="css_03_0126"></a><a name="css_03_0126"></a>
|
|
|
|
<h1 class="topictitle1">Querying ELB V3 Load Balancer Supported by a Cluster</h1>
|
|
<div id="body0000001715677377"><div class="section" id="css_03_0126__section3986096552"><h4 class="sectiontitle">Function</h4><p id="css_03_0126__p7987893552">This API is used to query the ELB V3 load balancers supported by a cluster.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section298814945515"><h4 class="sectiontitle">URI</h4><p id="css_03_0126__p17989499556">GET /v1.0/{project_id}/clusters/{cluster_id}/loadbalancers</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0126__table1999019125518" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="css_03_0126__row1198999105517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0126__p159902913550">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="css_03_0126__p19991159185512">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="css_03_0126__p1599199155510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="css_03_0126__p79918910555">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row2989169145512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0126__p29916975519">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0126__p1199214914553">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0126__p999212985510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0126__p129929917554">Project ID. For details, see <a href="css_03_0071.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row199012935513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0126__p1999220945520">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="css_03_0126__p4993894556">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0126__p399369125517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0126__p199349145513">ID of the cluster to be queried</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section7993498552"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0126__p399311911555">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section2994139195510"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0126__p14994179205519"><strong id="css_03_0126__b1217313332384">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0126__response_ListElbsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response body parameter</caption><thead align="left"><tr id="css_03_0126__row129947920553"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="css_03_0126__p99956913558">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="css_03_0126__p1999520912550">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="css_03_0126__p209951293557">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row10994295553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0126__p099669115510">loadbalancers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="css_03_0126__p89962945515">Array of <a href="#css_03_0126__response_LoadbalancersResource">LoadbalancersResource</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="css_03_0126__p119964975512">Load balancer list</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0126__response_LoadbalancersResource"></a><a name="response_LoadbalancersResource"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0126__response_LoadbalancersResource" frame="border" border="1" rules="all"><caption><b>Table 3 </b>LoadbalancersResource</caption><thead align="left"><tr id="css_03_0126__row39976945512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="css_03_0126__p699819985511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="css_03_0126__p1099919185512">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="css_03_0126__p69991295553">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row49971915518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p899919115510">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0126__p19011103553">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p303104559">Load balancer ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row1499713905515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p1701103558">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0126__p1051015517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p191161013554">Load balancer name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row1199711915551"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p12191015518">l7_flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0126__p1811210175510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p1011010105519">Layer 7 protocol ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row1199711935517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p16218103559">ip_target_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0126__p15241012554">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p2251014553">Indicates whether to enable the cross-VPC backend</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section1721810125517"><h4 class="sectiontitle">Request Example</h4><p id="css_03_0126__p132111011558">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section5321085515"><h4 class="sectiontitle">Response Example</h4><p id="css_03_0126__p6317103552"><strong id="css_03_0126__b2341866232384">Status code: 200</strong></p>
|
|
<p id="css_03_0126__p439106558">The request is processed successfully.</p>
|
|
<pre class="screen" id="css_03_0126__screen637103550">{
|
|
"loadbalancers" : [ {
|
|
"id" : "5d45faad-6cb3-479b-96b8-3e2de0cc6268",
|
|
"name" : "elb-css",
|
|
"l7_flavor_id" : "9c8c2425-e061-4bf8-ac65-cd1db92b18e1",
|
|
"ip_target_enable" : true
|
|
}, {
|
|
"id" : "5d45faad-6cb3-479b-96b8-3e2de0cc6269",
|
|
"name" : "elb-b832",
|
|
"l7_flavor_id" : "9c8c2425-e061-4bf8-ac65-cd1db92b18e1",
|
|
"ip_target_enable" : true
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section155310115518"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0126__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="css_03_0126__row1781010195510"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0126__p991610155514">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="css_03_0126__p791510165516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row08201012559"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p49131016556">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p71091045512">The request is processed successfully.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row18121019558"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p01031014557">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p11001017558">Invalid request.</p>
|
|
<p id="css_03_0126__p1510121011554">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row118201012553"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p161121017553">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p1911310135519">The request cannot be processed due to a conflict.</p>
|
|
<p id="css_03_0126__p41110102559">This status code indicates that the resource that the client attempts to create already exists, or the request fails to be processed because of the update of the conflict request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row1081710135516"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p1811121010555">412</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p13121102553">The server does not meet one of the requirements that the requester puts on the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section312121014551"><h4 class="sectiontitle">Error Codes</h4><p id="css_03_0126__p11220107557">See <a href="css_03_0076.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0125.html">Load Balancing</a></div>
|
|
</div>
|
|
</div>
|
|
|