forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.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 ELBv3 Load Balancers Supported by a Cluster</h1>
|
|
<div id="body0000001715677377"><div class="section" id="css_03_0126__section128771032473"><h4 class="sectiontitle">Function</h4><p id="css_03_0126__p19877632377">This API is used to query the ELBv3 load balancers supported by a cluster.</p>
|
|
</div>
|
|
<div class="section" id="css_03_0126__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="css_03_0126__p3878123220717">GET /v1.0/{project_id}/clusters/{cluster_id}/loadbalancers</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_03_0126__table687919321277" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="css_03_0126__row1187819329718"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="css_03_0126__p138791532478">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__p98801332570">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__p5880133220711">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__p28811732279">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row1787814321374"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0126__p188193213719">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__p5882173213720">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0126__p1588215321474">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0126__p788219322711">Project ID. For details about how to obtain the project ID and name, see <a href="css_03_0071.html">Obtaining the Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row087943210715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="css_03_0126__p108845321771">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__p388593210715">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="css_03_0126__p188510324710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="css_03_0126__p148862321473">ID of the cluster you want to query.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section10886143219715"><h4 class="sectiontitle">Request Parameters</h4><p id="css_03_0126__p20886532578">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section16886232874"><h4 class="sectiontitle">Response Parameters</h4><p id="css_03_0126__p488717325714"><strong id="css_03_0126__b488783210710">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 parameters</caption><thead align="left"><tr id="css_03_0126__row7887203214716"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="css_03_0126__p1388814327714">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__p78881132473">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__p688810321476">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row288703219719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="css_03_0126__p5889133216714">loadbalancers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="css_03_0126__p388918321374">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__p788910325712">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__row1890732577"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="css_03_0126__p1689117328718">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__p19891183211716">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__p178911321971">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row7890113218716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p1289120328719">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0126__p38910328715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p689223217716">Load balancer ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row1289023213718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p1289223216716">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="css_03_0126__p9892532475">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p13892203219714">Load balancer name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row889013321717"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p1089263210720">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__p98932328714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p089310321873">Layer 7 protocol ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row689011326714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="css_03_0126__p158931325718">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__p11893193211714">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="css_03_0126__p68941632872">Indicates whether to enable the cross-VPC backend.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section1589473211717"><h4 class="sectiontitle">Example Requests</h4><p id="css_03_0126__p178947321075">None</p>
|
|
</div>
|
|
<div class="section" id="css_03_0126__section989416321679"><h4 class="sectiontitle">Example Responses</h4><p id="css_03_0126__p6895232378"><strong id="css_03_0126__b118951132173">Status code: 200</strong></p>
|
|
<p id="css_03_0126__p689573210710">Request succeeded.</p>
|
|
<pre class="screen" id="css_03_0126__screen1089518322075">{
|
|
"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__section98972032372"><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__row78970328710"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="css_03_0126__p138981832477">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__p1899332576">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0126__row188979328713"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p198992321179">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p1290013321271">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row889723218711"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p1690116326720">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p159011532478">Invalid request.</p>
|
|
<p id="css_03_0126__p149015325710">Modify the request instead of retrying.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row1989813213711"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p5901173215712">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p159014323719">The request cannot be processed due to a conflict.</p>
|
|
<p id="css_03_0126__p39029321074">This status code indicates that the resource that the client attempts to create already exits, or the requested update failed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0126__row128981732572"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="css_03_0126__p14902832274">412</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="css_03_0126__p119020321570">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__section19022321979"><h4 class="sectiontitle">Error Codes</h4><p id="css_03_0126__p790213325719">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>
|
|
|