Queries Server Load Balancer (SLB) instances.
Debugging
Request headers
This operation uses only the common request header. For more information, see Common request parameters.
Request syntax
GET /pop/v5/slb_list HTTP/1.1
Request parameters
No request parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The HTTP status code. |
Message | String | success |
The returned message. |
RequestId | String | b197-40ab-9155-7ca7 |
The ID of the request. |
SlbList | Array of SlbEntity |
The list of SLB instances. |
|
SlbEntity | |||
Address | String | 39.XX.XX.176 |
The IP address of the SLB instance. |
AddressType | String | internet |
The type of the IP address.
|
Expired | Boolean | false |
Indicates whether the SLB instance has expired. Valid values:
|
GroupId | Integer | 0 |
The ID of the resource group in Enterprise Distributed Application Service (EDAS). |
NetworkType | String | classic |
The network type of the SLB instance. |
RegionId | String | cn-beijing |
The ID of the region. |
SlbId | String | lb-2ze055t3xv7s8**** |
The ID of the SLB instance. |
SlbName | String | adce |
The name of the SLB instance. |
SlbStatus | String | active |
The status of the SLB instance. |
UserId | String | edas_****_**st@aliyun-****.com |
The ID of the user. |
VpcId | String | vpc-bp1f90rfybszjogyw**** |
The ID of the virtual private cloud (VPC). |
VswitchId | String | vsw-bp156w1gpbv0o50hs**** |
The ID of the vSwitch in the VPC. |
Examples
Sample requests
GET /pop/v5/slb_list HTTP/1.1
Common request header
Sample success responses
XML
format
<RequestId>b197-40ab-9155-7ca7</RequestId>
<Message>success</Message>
<Code>200</Code>
<SlbList>
<SlbEntity>
<SlbId>lb-2ze055t3xv7s8****</SlbId>
<VpcId>vpc-bp1f90rfybszjogyw****</VpcId>
<Address>39.XX.XX.176</Address>
<NetworkType>classic</NetworkType>
<UserId>edas_****_**st@aliyun-****.com</UserId>
<Expired>false</Expired>
<RegionId>cn-beijing</RegionId>
<AddressType>internet</AddressType>
<VswitchId>vsw-bp156w1gpbv0o50hs****</VswitchId>
<SlbName>adce</SlbName>
<GroupId>0</GroupId>
<SlbStatus>active</SlbStatus>
</SlbEntity>
</SlbList>
JSON
format
{
"RequestId": "b197-40ab-9155-7ca7",
"Message": "success",
"Code": 200,
"SlbList": {
"SlbEntity": {
"SlbId": "lb-2ze055t3xv7s8****",
"VpcId": "vpc-bp1f90rfybszjogyw****",
"Address": "39.XX.XX.176",
"NetworkType": "classic",
"UserId": "edas_****_**st@aliyun-****.com",
"Expired": false,
"RegionId": "cn-beijing",
"AddressType": "internet",
"VswitchId": "vsw-bp156w1gpbv0o50hs****",
"SlbName": "adce",
"GroupId": 0,
"SlbStatus": "active"
}
}
}
Error codes
For a list of error codes, visit the API Error Center.