Queries the type of a Server Load Balancer (SLB) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QuerySlbSpec |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| RequestId |
string |
The ID of the request. |
316F5F64-F73D-42DC-8632-01E308B6**** |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. If the request is successful, a success message is returned. If the request fails, an error message is returned. |
The request is successfully processed. |
| Code |
integer |
The return value. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
array<object> |
The data entries returned. |
|
|
object |
The information about the SLB instance. |
||
| Id |
integer |
The ID of the returned data. |
2 |
| Spec |
string |
The specification of the instance. |
slb.s2.small |
| Name |
string |
The name of the instance. |
Standard I |
| MaxConnection |
string |
The maximum number of connections. |
50,000 |
| NewConnectionPerSecond |
string |
The number of connections per second. |
50,000 |
| Qps |
string |
The number of queries per second (QPS). |
50,000 |
Examples
Success response
JSON format
{
"RequestId": "316F5F64-F73D-42DC-8632-01E308B6****",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": [
{
"Id": 2,
"Spec": "slb.s2.small",
"Name": "Standard I\n",
"MaxConnection": "50,000",
"NewConnectionPerSecond": "50,000",
"Qps": "50,000"
}
]
}
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.