Queries Server Load Balancer (SLB) instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ListSlb |
list |
*All Resource
|
None | None |
Request syntax
GET /pop/v5/slb_list HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
No |
The ID of the virtual private cloud (VPC). |
vpc-bp1f90rfybszjogyw**** |
| AddressType |
string |
No |
The type of the IP addresses. Valid values:
|
internet |
| SlbType |
string |
No |
The type of the SLB instance. Valid values:
|
clb |
无请求参数。
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The content that is returned. |
||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
b197-40ab-9155-7ca7 |
| SlbList |
object |
||
| SlbEntity |
array<object> |
The list of SLB instances. |
|
|
object |
The object of the SLB instance. |
||
| SlbId |
string |
The ID of the SLB instance. |
lb-2ze055t3xv7s8**** |
| VpcId |
string |
The ID of the VPC. |
vpc-bp1f90rfybszjogyw**** |
| VswitchId |
string |
The ID of the vSwitch in the VPC. |
vsw-bp156w1gpbv0o50hs**** |
| Expired |
boolean |
Indicates whether the SLB instance has expired. Valid values:
|
false |
| UserId |
string |
The ID of the user. |
edas_****_**st@aliyun-****.com |
| AddressType |
string |
The type of the IP addresses. Valid values:
|
internet |
| NetworkType |
string |
The type of the network. |
classic |
| RegionId |
string |
The ID of the region. |
cn-beijing |
| GroupId |
integer |
The ID of the resource group in Enterprise Distributed Application Service (EDAS). |
0 |
| Address |
string |
The IP address of the SLB instance. |
39.176.XX.XX |
| SlbName |
string |
The name of the SLB instance. |
adce |
| SlbStatus |
string |
The status of the SLB instance. |
active |
| Tags |
string |
The tag of the SLB instance. |
[{"tagKey":"tag","tagValue":"value"}] |
| Reusable |
boolean |
Indicates whether Kubernetes applications can be reused. Valid values:
|
true |
Examples
Success response
JSON format
{
"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
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.