Queries the list of supported cluster specifications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QueryClusterSpecification |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConnectType |
string |
No |
The network type. Valid values:
Valid values:
|
slb |
| MseVersion |
string |
No |
The Microservices Engine (MSE) cluster version to be activated. Valid values:
|
mse_pro |
| AcceptLanguage |
string |
No |
The language of the returned information. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
EE5C32A1-BC0E-4B79-817C-103E4EDF**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
mse-100-000 |
| Code |
integer |
The return value. |
200 |
| Message |
string |
The message. |
Request processed successfully |
| Data |
array<object> |
The data overview. |
|
|
object |
The returned results. |
||
| ClusterSpecificationName |
string |
The available engine specifications. |
MSE_SC_1_2_200_c |
| MemoryCapacity |
string |
The memory size for this specification. Unit: GB. |
2 |
| CpuCapacity |
string |
The number of CPU cores for this specification. |
1 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "EE5C32A1-BC0E-4B79-817C-103E4EDF****",
"Success": true,
"ErrorCode": "mse-100-000",
"Code": 200,
"Message": "The request is processed successfully.",
"Data": [
{
"ClusterSpecificationName": "MSE_SC_1_2_200_c",
"MemoryCapacity": "2",
"CpuCapacity": "1"
}
]
}
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.