Queries the Server Load Balancer (SLB) instances that can be reused.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeReusableSlb

The operation that you want to perform. Set this parameter to DescribeReusableSlb.

K8sClusterId String Yes ca2cfe41fefeb489d9b9dba18a7c5****

The ID of the Kubernetes cluster on the data plane.

NetworkType String Yes internet

The network type of the SLB instance. Valid values:

  • intranet
  • internet

Response parameters

Parameter Type Example Description
ReusableSlbList Array of ReusableSlbList

The list of SLB instances that can be reused.

LoadBalancerName String ad6044b015ac54484a20c47241175bb3

The name of the SLB instance.

LoadBalancerId String lb-bp17xygzsxth0bwlz****

The ID of the SLB instance.

RequestId String EDDC0D86-2FC3-56FB-9213-96EB0A3523F1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeReusableSlb
&K8sClusterId=ca2cfe41fefeb489d9b9dba18a7c5****
&NetworkType=internet
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeReusableSlbResponse>
    <ReusableSlbList>
        <LoadBalancerName>ad6044b015ac54484a20c47241175bb3</LoadBalancerName>
        <LoadBalancerId>lb-bp17xygzsxth0bwlz****</LoadBalancerId>
    </ReusableSlbList>
    <RequestId>EDDC0D86-2FC3-56FB-9213-96EB0A3523F1</RequestId>
</DescribeReusableSlbResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "ReusableSlbList" : {
    "LoadBalancerName" : "ad6044b015ac54484a20c47241175bb3",
    "LoadBalancerId" : "lb-bp17xygzsxth0bwlz****"
  },
  "RequestId" : "EDDC0D86-2FC3-56FB-9213-96EB0A3523F1"
}

Error codes

For a list of error codes, visit the API Error Center.