QueryClusterDetail

Updated at:

Queries the details of a cluster.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 instance ID.

mse-cn-st21ri2****

OrderId

string

No

The order ID.

20576750143****

AclSwitch

boolean

No

Specifies whether to query the access control list (ACL).

false

AcceptLanguage

string

No

The language of the returned information. Valid values:

  • zh: Chinese.

  • en: English.

zh

Response elements

Element

Type

Description

Example

object

The string object.

Message

string

The returned message.

Request processed successfully

RequestId

string

The request ID.

9515ACA4-E94D-440D-989E-C379FCED****

Data

object

The data overview.

VpcId

string

The VPC ID.

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 disk type.

alicloud-disk-ssd-multi-zone

PubNetworkFlow

string

The Internet bandwidth. Unit: Mbit/s. Valid values: 0 to 5000. A value of 0 indicates that the cluster is not connected to the Internet.

3

DiskCapacity

integer

The disk capacity. Unit: GB.

60

MemoryCapacity

integer

The memory size. 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

The string object.

PodName

string

The name of the pod.

mse-7413****-159616656****-reg-center-0-0

SingleTunnelVip

string

The single-tunnel 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.

Peer

HealthStatus

string

The health status of the instance.

Running

CreationTimestamp

string

The creation timestamp.

1578575377732

Zone

string

The zone.

cn-shanghai-f

IntranetDomain

string

The private domain name.

mse-7413****-eureka.mse.aliyuncs.com

InternetDomain

string

The public domain name.

mse-7413****-p.eureka.mse.aliyuncs.com

PayInfo

string

The billing method, including subscription and pay-as-you-go.

Pay-as-you-go

InternetAddress

string

The public endpoint.

47.98.XX.XX

InstanceId

string

The instance ID.

mse-cn-st21ri2****

AclEntryList

string

The whitelist.

[]

HealthStatus

string

The health status of the cluster.

RESTART_SUCCESS

InitCostTime

integer

The time taken to create the cluster. Unit: ms.

98408

RegionId

string

The region ID.

cn-hangzhou

AclId

string

The whitelist ID.

acl-bp17020kiqvzutwwj****

Cpu

integer

The number of CPUs.

1

ClusterType

string

The cluster type, including 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 port.

8761

AppVersion

string

The application version.

1.2.1

NetType

string

The network type. Valid values:

  • privatenet: VPC.

  • pubnet: Internet.

privatenet

ClusterVersion

string

The cluster version.

1.2.1

ClusterSpecification

string

The engine specifications.

MSE_SC_1_2_200_c

VSwitchId

string

The vSwitch ID.

vsw-xxx-xxxx

ConnectionType

string

The network connectivity type. Valid values:

  • slb

  • eni

slb

MseVersion

string

The MSE version.

mse_basic

ChargeType

string

The billing method, including subscription and pay-as-you-go.

Pay-as-you-go

OrderClusterVersion

string

The original order version number.

1.2.0

Tags

object

The tags bound to the instance.

ResourceGroupId

string

The resource group ID.

rg-aek2dhgysj*****

VersionLifecycle

string

The version lifecycle.

STABLE

ErrorCode

string

The error code.

mse-100-000

Success

boolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

Examples

Success response

JSON format

{
  "Message": "The request is processed successfully.",
  "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",
    "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",
    "OrderClusterVersion": "1.2.0",
    "Tags": {
      "test": "test",
      "test2": 1
    },
    "ResourceGroupId": "rg-aek2dhgysj*****",
    "VersionLifecycle": "STABLE"
  },
  "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.