Queries the engine types that can be activated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListClusterTypes |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region where the cluster is located, regions supported by MSE. |
cn-hangzhou |
| ConnectType |
string |
No |
The network type. Valid values:
|
slb |
| MseVersion |
string |
No |
The MSE cluster version to be activated.
|
mse_pro |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The data structure. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
821B5B05-8919-5FBB-BA75-417BFC093EB8 |
| 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. |
The request was successfully processed. |
| DynamicMessage |
string |
The dynamic error message, used to replace **%s** in the ErrMessage parameter. Note
If ErrMessage returns The Value of Input Parameter %s is not valid, and DynamicMessage returns DtsJobId, it indicates that the request parameter DtsJobId is invalid. |
The specified parameter is invalid. |
| Data |
array |
The response data. |
|
|
object |
The data structure. |
||
| Code |
string |
The code of the engine type. |
|
| ShowName |
string |
The MSE engine type that can be activated. |
Zookeeper |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "821B5B05-8919-5FBB-BA75-417BFC093EB8",
"Success": true,
"ErrorCode": "mse-100-000",
"Code": 200,
"Message": "The request was successfully processed.\n",
"DynamicMessage": "The specified parameter is invalid.",
"Data": [
{
"Code": "",
"ShowName": "Zookeeper"
}
]
}
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.