All Products
Search
Document Center

Enterprise Distributed Application Service:ListSlb

Last Updated:Mar 01, 2024

Queries Server Load Balancer (SLB) instances.

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 syntax

GET /pop/v5/slb_list

Request parameters

ParameterTypeRequiredDescriptionExample
VpcIdstringNo

The ID of the virtual private cloud (VPC).

vpc-bp1f90rfybszjogyw****
AddressTypestringNo

The type of the IP addresses. Valid values:

  • Internet: Users can connect to the SLB instance over the Internet.
  • Intranet: Users can connect to the SLB instance over the internal network.
internet
SlbTypestringNo

The type of the SLB instance. Valid values:

  • clb: Classic Load Balancer (CLB)
  • alb: Application Load Balancer (ALB)
clb

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

b197-40ab-9155-7ca7
SlbListobject []

The list of SLB instances.

SlbIdstring

The ID of the SLB instance.

lb-2ze055t3xv7s8****
VpcIdstring

The ID of the VPC.

vpc-bp1f90rfybszjogyw****
VswitchIdstring

The ID of the vSwitch in the VPC.

vsw-bp156w1gpbv0o50hs****
Expiredboolean

Indicates whether the SLB instance has expired. Valid values:

  • true: The SLB instance has expired.
  • false: The SLB instance has not expired.
false
UserIdstring

The ID of the user.

edas_****_**st@aliyun-****.com
AddressTypestring

The type of the IP addresses. Valid values:

  • internet: Users can connect to the SLB instance over the Internet.
  • intranet: Users can connect to the SLB instance over the internal network.
internet
NetworkTypestring

The type of the network.

classic
RegionIdstring

The ID of the region.

cn-beijing
GroupIdinteger

The ID of the resource group in Enterprise Distributed Application Service (EDAS).

0
Addressstring

The IP address of the SLB instance.

39.176.XX.XX
SlbNamestring

The name of the SLB instance.

adce
SlbStatusstring

The status of the SLB instance.

active
Tagsstring

The tag of the SLB instance.

[{"tagKey":"tag","tagValue":"value"}]
Reusableboolean

Indicates whether Kubernetes applications can be reused. Valid values:

  • true: Kubernetes applications can be reused.
  • false: Kubernetes applications cannot be reused.
true

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "b197-40ab-9155-7ca7",
  "SlbList": {
    "SlbEntity": [
      {
        "SlbId": "lb-2ze055t3xv7s8****",
        "VpcId": "vpc-bp1f90rfybszjogyw****",
        "VswitchId": "vsw-bp156w1gpbv0o50hs****",
        "Expired": false,
        "UserId": "edas_****_**st@aliyun-****.com",
        "AddressType": "internet",
        "NetworkType": "classic",
        "RegionId": "cn-beijing",
        "GroupId": 0,
        "Address": "39.176.XX.XX",
        "SlbName": "adce",
        "SlbStatus": "active",
        "Tags": "[{\"tagKey\":\"tag\",\"tagValue\":\"value\"}]",
        "Reusable": true
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history