Queries the details of a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QueryClusterDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The ID of the instance. |
mse-cn-st21ri2**** |
| OrderId |
string |
No |
The ID of the order. |
20576750143**** |
| AclSwitch |
boolean |
No |
Specifies whether to query the access control list (ACL). |
false |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
A string object. |
||
| Message |
string |
The message that is returned. |
The request is successfully processed. |
| RequestId |
string |
The ID of the request. |
9515ACA4-E94D-440D-989E-C379FCED**** |
| Data |
object |
The data returned. |
|
| VpcId |
string |
The ID of the virtual private cloud (VPC). |
vpc-bp1hcg467ekqsv0zr**** |
| CreateTime |
string |
The time when the cluster was created. |
2020-07-31 11:36:08 |
| IntranetAddress |
string |
The private endpoint. |
192.168.XX.XX |
| DiskType |
string |
The type of the disk. |
alicloud-disk-ssd-multi-zone |
| PubNetworkFlow |
string |
The public bandwidth. Unit: Mbit/s. |
3 |
| DiskCapacity |
integer |
The capacity of the disk. Unit: GB. |
60 |
| MemoryCapacity |
integer |
The memory capacity. Unit: GB. |
2 |
| ClusterAliasName |
string |
The alias of the cluster. |
mse-7413**** |
| InstanceCount |
integer |
The number of instances in the cluster. |
3 |
| IntranetPort |
string |
The private port. |
8761 |
| InstanceModels |
array<object> |
The list of instances. |
|
|
object |
A string. |
||
| PodName |
string |
The name of the pod. |
mse-7413****-159616656****-reg-center-0-0 |
| SingleTunnelVip |
string |
The single-threaded IP address. |
192.168.XX.XX |
| InternetIp |
string |
The public IP address. |
47.98.XX.XX |
| Ip |
string |
The IP address of the instance. |
10.12.XX.XX |
| Role |
string |
The role of the instance. |
Peer |
| HealthStatus |
string |
The health status of the instance. |
Running |
| CreationTimestamp |
string |
The timestamp that indicates when the instance was created. |
1578575377732 |
| Zone |
string |
The zone. |
cn-shanghai-f |
| IntranetDomain |
string |
The private endpoint. |
mse-7413****-eureka.mse.aliyuncs.com |
| InternetDomain |
string |
The public endpoint. |
mse-7413****-p.eureka.mse.aliyuncs.com |
| PayInfo |
string |
The billing method. Valid values include subscription and pay-as-you-go. |
Pay-as-you-go |
| InternetAddress |
string |
The public IP address. |
47.98.XX.XX |
| InstanceId |
string |
The ID of the instance. |
mse-cn-st21ri2**** |
| AclEntryList |
string |
The whitelist. |
[] |
| HealthStatus |
string |
The health status of the cluster. |
RESTART_SUCCESS |
| InitCostTime |
integer |
The time it took to create the cluster. Unit: ms. |
98408 |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| AclId |
string |
The ID of the whitelist. |
acl-bp17020kiqvzutwwj**** |
| Cpu |
integer |
The number of CPU cores. |
1 |
| ClusterType |
string |
The type of the cluster. Valid values: ZooKeeper, Nacos-Ans, and Eureka. |
Nacos-Ans |
| ClusterName |
string |
The name of the cluster. |
mse-bc1a29b0-160230875**** |
| InitStatus |
string |
The creation status of the cluster. |
RESTART_SUCCESS |
| InternetPort |
string |
The private network port. |
8761 |
| AppVersion |
string |
The version of the application. |
1.2.1 |
| NetType |
string |
The network type. Valid values:
|
privatenet |
| ClusterVersion |
string |
The version of the cluster. |
1.2.1 |
| ClusterSpecification |
string |
The specifications of the engine. |
MSE_SC_1_2_200_c |
| VSwitchId |
string |
The ID of the vSwitch. |
vsw-xxx-xxxx |
| ConnectionType |
string |
The type of the network connection. Valid values:
|
slb |
| MseVersion |
string |
The version of MSE. |
mse_basic |
| ChargeType |
string |
The billing method. Valid values are subscription and pay-as-you-go. |
Pay-as-you-go |
| OrderClusterVersion |
string |
The version of the cluster in the original order. |
1.2.0 |
| Tags |
object |
The tags attached to the instance. |
|
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aek2dhgysj***** |
| VersionLifecycle |
string |
||
| ErrorCode |
string |
The error code. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Message": "The request is successfully processed.\n",
"RequestId": "9515ACA4-E94D-440D-989E-C379FCED****",
"Data": {
"VpcId": "vpc-bp1hcg467ekqsv0zr****",
"CreateTime": "2020-07-31 11:36:08",
"IntranetAddress": "192.168.XX.XX",
"DiskType": "alicloud-disk-ssd-multi-zone",
"PubNetworkFlow": "3",
"DiskCapacity": 60,
"MemoryCapacity": 2,
"ClusterAliasName": "mse-7413****",
"InstanceCount": 3,
"IntranetPort": "8761",
"InstanceModels": [
{
"PodName": "mse-7413****-159616656****-reg-center-0-0",
"SingleTunnelVip": "192.168.XX.XX",
"InternetIp": "47.98.XX.XX",
"Ip": "10.12.XX.XX",
"Role": "Peer",
"HealthStatus": "Running",
"CreationTimestamp": "1578575377732",
"Zone": "cn-shanghai-f"
}
],
"IntranetDomain": "mse-7413****-eureka.mse.aliyuncs.com",
"InternetDomain": "mse-7413****-p.eureka.mse.aliyuncs.com",
"PayInfo": "Pay-as-you-go\n",
"InternetAddress": "47.98.XX.XX",
"InstanceId": "mse-cn-st21ri2****",
"AclEntryList": "[]",
"HealthStatus": "RESTART_SUCCESS",
"InitCostTime": 98408,
"RegionId": "cn-hangzhou",
"AclId": "acl-bp17020kiqvzutwwj****",
"Cpu": 1,
"ClusterType": "Nacos-Ans",
"ClusterName": "mse-bc1a29b0-160230875****",
"InitStatus": "RESTART_SUCCESS",
"InternetPort": "8761",
"AppVersion": "1.2.1",
"NetType": "privatenet",
"ClusterVersion": "1.2.1",
"ClusterSpecification": "MSE_SC_1_2_200_c",
"VSwitchId": "vsw-xxx-xxxx",
"ConnectionType": "slb",
"MseVersion": "mse_basic",
"ChargeType": "Pay-as-you-go\n",
"OrderClusterVersion": "1.2.0",
"Tags": {
"test": "test",
"test2": 1
},
"ResourceGroupId": "rg-aek2dhgysj*****",
"VersionLifecycle": ""
},
"ErrorCode": "mse-100-000",
"Success": true
}
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.