This operation queries gateway entry SLB instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListGatewaySlb |
get |
*Gateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayUniqueId |
string |
No |
The unique ID of the gateway. |
gw-1cef5440bf2d484db419fb264d4f**** |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| RequestId |
string |
The request ID. |
EAB345F4-3AC3-560C-B653-65717703**** |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
Succ |
| Code |
integer |
The return code. |
200 |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
true |
| Data |
array<object> |
The response data. |
|
|
array<object> |
The data structure. |
||
| Id |
string |
The unique ID of the record. |
ID |
| SlbId |
string |
The ID of the SLB instance. |
lb-bp1kmnli3hdpreptw2ah3 |
| SlbIp |
string |
The IP address of the SLB instance. |
121.199.XX.XX |
| SlbPort |
string |
The ports of the SLB instance. |
80,443 |
| Type |
string |
The network type. Valid values:
|
PUB_NET |
| GatewayId |
string |
The ID of the gateway. |
1 |
| GmtCreate |
string |
The creation time of the record. |
2022-01-14 14:39:16 |
| GatewaySlbMode |
string |
The source of the SLB association. |
UserSelect |
| GatewaySlbStatus |
string |
The association status of the SLB instance. |
Ready |
| StatusDesc |
string |
A detailed description of the status. |
Associating |
| VServerGroupId |
string |
The ID of the HTTP vServer group. |
353 |
| HttpPort |
integer |
The HTTP port of the vServer group. |
80 |
| HttpsPort |
integer |
The HTTPS port of the vServer group. |
443 |
| ServiceWeight |
integer |
The service weight. |
80 |
| EditEnable |
boolean |
Indicates whether the entry can be edited. |
false |
| HttpsVServerGroupId |
string |
The ID of the HTTPS vServer group. |
353 |
| VsMetaInfo |
string |
The metadata of the vServer groups. |
[{"protocol":"HTTP","vServerGroupName":"k8s/80/****","port":80,"vServerGroupId":"rsp-bp***"},{"protocol":"HTTPS","vServerGroupName":"k8s/443/***","port":443,"vServerGroupId":"rsp-bp*****"}] |
| VServiceList |
array<object> |
Details of the SLB listeners. |
|
|
object |
|||
| Port |
string |
The listener port. |
443 |
| Protocol |
string |
The protocol type. Valid values:
|
HTTPS |
| VServerGroupId |
string |
The ID of the vServer group. |
rsp-bp183l2x70*** |
| VServerGroupName |
string |
The name of the vServer group. |
k8s/31**0/***/istio-system/clusterid |
| SlbType |
string |
The type of the SLB instance. |
Examples
Success response
JSON format
{
"RequestId": "EAB345F4-3AC3-560C-B653-65717703****",
"HttpStatusCode": 200,
"Message": "Succ",
"Code": 200,
"Success": true,
"Data": [
{
"Id": "ID",
"SlbId": "lb-bp1kmnli3hdpreptw2ah3",
"SlbIp": "121.199.XX.XX",
"SlbPort": "80,443",
"Type": "PUB_NET",
"GatewayId": "1",
"GmtCreate": "2022-01-14 14:39:16",
"GatewaySlbMode": "UserSelect",
"GatewaySlbStatus": "Ready",
"StatusDesc": "Associating",
"VServerGroupId": "353",
"HttpPort": 80,
"HttpsPort": 443,
"ServiceWeight": 80,
"EditEnable": false,
"HttpsVServerGroupId": "353",
"VsMetaInfo": "[{\"protocol\":\"HTTP\",\"vServerGroupName\":\"k8s/80/****\",\"port\":80,\"vServerGroupId\":\"rsp-bp***\"},{\"protocol\":\"HTTPS\",\"vServerGroupName\":\"k8s/443/***\",\"port\":443,\"vServerGroupId\":\"rsp-bp*****\"}]",
"VServiceList": [
{
"Port": "443",
"Protocol": "HTTPS",
"VServerGroupId": "rsp-bp183l2x70***",
"VServerGroupName": "k8s/31**0/***/istio-system/clusterid"
}
],
"SlbType": ""
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.