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 type of the returned information:
|
zh |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
Data structure. |
||
| RequestId |
string |
The request ID. |
EAB345F4-3AC3-560C-B653-65717703**** |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Message |
string |
The returned message. |
The request is successfully processed. |
| Code |
integer |
The return code. |
200 |
| Success |
boolean |
The request result. Valid values:
|
true |
| Data |
array |
The returned data. |
|
|
object |
Data structure. |
||
| Id |
string |
ID |
ID |
| SlbId |
string |
SLB ID |
lb-bp1kmnli3hdpreptw2ah3 |
| SlbIp |
string |
SLB IP |
121.199.XX.XX |
| SlbPort |
string |
SLB port. |
80,443 |
| Type |
string |
Network type
|
PUB_NET |
| GatewayId |
string |
Gateway ID. |
1 |
| GmtCreate |
string |
Creation time. |
2022-01-14 14:39:16 |
| GatewaySlbMode |
string |
Source. |
UserSelect |
| GatewaySlbStatus |
string |
Association status. |
Ready |
| StatusDesc |
string |
Status description. |
Associating |
| VServerGroupId |
string |
HTTP vServer group ID. |
353 |
| HttpPort |
integer |
HTTP port (vServer group). |
80 |
| HttpsPort |
integer |
HTTPS port (vServer group). |
443 |
| ServiceWeight |
integer |
Service weight. |
80 |
| EditEnable |
boolean |
Whether it is editable. |
false |
| HttpsVServerGroupId |
string |
HTTPS vServer group ID. |
353 |
| VsMetaInfo |
string |
vServer group metadata. |
|
| VServiceList |
array |
SLB listener information. |
|
|
object |
|||
| Port |
string |
Port. |
|
| Protocol |
string |
Protocol Type.
|
|
| VServerGroupId |
string |
vServer group ID. |
|
| VServerGroupName |
string |
vServer group name. |
|
| SlbType |
string |
Examples
Success response
JSON format
{
"RequestId": "EAB345F4-3AC3-560C-B653-65717703****",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"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\n",
"VServerGroupId": "353",
"HttpPort": 80,
"HttpsPort": 443,
"ServiceWeight": 80,
"EditEnable": false,
"HttpsVServerGroupId": "353",
"VsMetaInfo": "",
"VServiceList": [
{
"Port": "",
"Protocol": "",
"VServerGroupId": "",
"VServerGroupName": ""
}
],
"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.