Queries the static information of a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QueryClusterInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
Cluster ID. |
mse-09k1q11**** |
| InstanceId |
string |
No |
Instance ID. |
mse_prepaid_public_cn-7mz2t63ci03 |
| OrderId |
string |
No |
Order ID. |
20574710974**** |
| AclSwitch |
boolean |
No |
Specifies whether to query the public network whitelist configuration. |
false |
| RegionId |
string |
No |
Region ID. |
cn-hangzhou |
| RequestPars |
string |
No |
Extended request parameters in JSON format. |
{} |
| AcceptLanguage |
string |
No |
The language type of the returned information:
|
zh |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
Data structure. |
||
| Message |
string |
Response message.
|
The request is successfully processed. |
| RequestId |
string |
Request ID. |
415088B3-A7BE-56F6-9CD9-C42DE895CD41 |
| Data |
object |
Data overview. |
|
| VpcId |
string |
The VPC ID where the cluster is located. |
vpc-bp1v5nbauzh8xxxxxxx |
| CreateTime |
string |
Cluster creation time. |
2022-12-15 10:02:07 |
| IntranetAddress |
string |
Reserved field. |
null |
| DiskType |
string |
Deprecated field. |
null |
| PubNetworkFlow |
string |
Public bandwidth in Mbps. |
1 |
| DiskCapacity |
integer |
Deprecated field. |
null |
| MemoryCapacity |
integer |
Deprecated field. |
null |
| ClusterAliasName |
string |
Cluster alias. |
Development environment |
| InstanceCount |
integer |
Number of cluster instances. |
3 |
| IntranetPort |
string |
Open ports for the internal network of the cluster. |
8848,6443,9848,8761 |
| InstanceModels |
array |
Reserved structure. |
|
|
object |
Reserved structure. |
||
| PodName |
string |
Reserved field. |
null |
| SingleTunnelVip |
string |
Reserved field. |
null |
| InternetIp |
string |
Reserved field. |
null |
| Ip |
string |
Reserved field. |
null |
| Role |
string |
Reserved field. |
null |
| HealthStatus |
string |
Reserved field. |
null |
| CreationTimestamp |
string |
Reserved field. |
null |
| Zone |
string |
Reserved field. |
null |
| IntranetDomain |
string |
Internal same-region endpoint. |
mse-xxxxx-nacos-ans.mse.aliyuncs.com |
| InternetDomain |
string |
Public domain name. |
mse-xxxxxx-p.nacos-ans.mse.aliyuncs.com |
| PayInfo |
string |
Billing method. |
Pay-as-you-go |
| InternetAddress |
string |
Reserved field. |
null |
| InstanceId |
string |
Instance |
mse-cn-st21ri2**** |
| AclEntryList |
string |
Public network whitelist. |
["127.0.0.0/32"] |
| HealthStatus |
string |
Cluster status. |
INIT_SUCCESS |
| InitCostTime |
integer |
Time taken for cluster initialization (in milliseconds). |
53353 |
| RegionId |
string |
Region ID. |
cn-hangzhou |
| AclId |
string |
Public network whitelist instance ID |
acl-bp144q24cgqvzckmxxxx |
| Cpu |
integer |
Deprecated field. |
null |
| ClusterType |
string |
Cluster type, including ZooKeeper, Nacos-Ans, and Eureka. |
Nacos-Ans |
| ClusterName |
string |
Full cluster name. |
mse-74355150-xxxxxxx |
| InitStatus |
string |
Initialization status. |
INIT_SUCCESS |
| InternetPort |
string |
Open ports for the public network of the cluster. |
8848,6443,9848,8761 |
| AppVersion |
string |
Cluster version number. |
2.1.0 |
| NetType |
string |
Cluster network connectivity type. |
privatenet |
| ClusterVersion |
string |
Order version. |
NACOS_2_0_0 |
| ClusterSpecification |
string |
DPI engine specification. |
MSE_SC_2_4_60_c |
| VSwitchId |
string |
vSwitch ID. |
vsw-bp1egfakxxxxx |
| ConnectionType |
string |
Deprecated field. |
null |
| MseVersion |
string |
Cluster version. |
mse_pro |
| ChargeType |
string |
Payment mode, including subscription and pay-as-you-go. |
POSTPAY |
| Tags |
object |
Tags. |
|
| ExpectZones |
array |
List of zones where the current cluster can be distributed. |
|
|
string |
Zone ID. |
cn-hangzhou-k |
|
| MaintenancePeriod |
object |
O&M time window |
|
| EndTime |
string |
O&M time window start time |
02:00 |
| StartTime |
string |
O&M time window end time |
06:00 |
| EndDate |
string |
Expiration time (subscription) |
2021-08-01 00:00:00 |
| SecurityGroupId |
string |
Security group ID for Elastic Network Interface network access |
sg-uf6hgwe067prhg68agfa |
| SecurityGroupType |
string |
Security group type for Elastic Network Interface network access |
enterprise |
| EipInstanceId |
string |
Instance ID of the Elastic IP Address (EIP) |
eip-bp1uujshd5funmyy8rcl9 |
| CanUpdate |
boolean |
Indicates whether the cluster has a minor version available for upgrade |
|
| VersionCode |
string |
Current version code of the cluster |
|
| VersionLifecycle |
string |
||
| ErrorCode |
string |
Error code. |
mse-100-000 |
| Success |
boolean |
Request result, with the following values:
|
true |
Examples
Success response
JSON format
{
"Message": "The request is successfully processed.\n",
"RequestId": "415088B3-A7BE-56F6-9CD9-C42DE895CD41",
"Data": {
"VpcId": "vpc-bp1v5nbauzh8xxxxxxx",
"CreateTime": "2022-12-15 10:02:07",
"IntranetAddress": "null",
"DiskType": "null",
"PubNetworkFlow": "1",
"DiskCapacity": 0,
"MemoryCapacity": 0,
"ClusterAliasName": "Development environment\n",
"InstanceCount": 3,
"IntranetPort": "8848,6443,9848,8761",
"InstanceModels": [
{
"PodName": "null",
"SingleTunnelVip": "null",
"InternetIp": "null",
"Ip": "null",
"Role": "null",
"HealthStatus": "null",
"CreationTimestamp": "null",
"Zone": "null"
}
],
"IntranetDomain": "mse-xxxxx-nacos-ans.mse.aliyuncs.com",
"InternetDomain": "mse-xxxxxx-p.nacos-ans.mse.aliyuncs.com",
"PayInfo": "Pay-as-you-go\n",
"InternetAddress": "null",
"InstanceId": "mse-cn-st21ri2****",
"AclEntryList": "[\"127.0.0.0/32\"]",
"HealthStatus": "INIT_SUCCESS",
"InitCostTime": 53353,
"RegionId": "cn-hangzhou",
"AclId": "acl-bp144q24cgqvzckmxxxx",
"Cpu": 0,
"ClusterType": "Nacos-Ans",
"ClusterName": "mse-74355150-xxxxxxx",
"InitStatus": "INIT_SUCCESS",
"InternetPort": "8848,6443,9848,8761",
"AppVersion": "2.1.0",
"NetType": "privatenet",
"ClusterVersion": "NACOS_2_0_0",
"ClusterSpecification": "MSE_SC_2_4_60_c",
"VSwitchId": "vsw-bp1egfakxxxxx",
"ConnectionType": "null",
"MseVersion": "mse_pro",
"ChargeType": "POSTPAY",
"Tags": {
"test": "test",
"test2": 1
},
"ExpectZones": [
"cn-hangzhou-k"
],
"MaintenancePeriod": {
"EndTime": "02:00",
"StartTime": "06:00"
},
"EndDate": "2021-08-01 00:00:00",
"SecurityGroupId": "sg-uf6hgwe067prhg68agfa",
"SecurityGroupType": "enterprise",
"EipInstanceId": "eip-bp1uujshd5funmyy8rcl9",
"CanUpdate": true,
"VersionCode": "",
"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.