All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeReusableSlb

Last Updated:Mar 26, 2024

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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
K8sClusterIdstringNo

The ID of the cluster on the data plane. If you specify this parameter, you cannot specify ServiceMeshId. This parameter and ServiceMeshId cannot be left empty at the same time.

ca2cfe41fefeb489d9b9dba18a7c5****
NetworkTypestringYes

The network type of the SLB instance. Valid values:

  • intranet
  • internet
internet
LbTypestringNo

Load balancer type, value:

  • clb: Classic Load Balancer

  • nlb: Network Load Balancer

default is clb.

clb
ServiceMeshIdstringNo

The ID of the Service Mesh (ASM) instance. If you specify this parameter, you cannot specify K8sClusterId. This parameter and K8sClusterId cannot be left empty at the same time.

cb8963379255149cb98c8686f274x****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

ReusableSlbListobject []

The list of SLB instances that can be reused.

LoadBalancerNamestring

The name of the SLB instance.

ad6044b015ac54484a20c47241175bb3
LoadBalancerIdstring

The ID of the SLB instance.

lb-bp17xygzsxth0bwlz****
RequestIdstring

The request ID.

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

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-22The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: LbType
2023-12-27The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ServiceMeshId