All Products
Search
Document Center

Enterprise Distributed Application Service:GetCluster

Last Updated:Oct 12, 2026

Retrieves the details of a specified 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

edas:ReadCluster

get

*Cluster

acs:edas:{#regionId}:{#accountId}:namespace/{#NameSpaceId}/cluster/{#ClusterId}

None None

Request syntax

GET /pop/v5/resource/cluster HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

The cluster ID. You can call the ListCluster operation to obtain the cluster ID.

5439271a-015b-433d-****-d76db49****

Response elements

Element

Type

Description

Example

object

Code

integer

The status code.

200

Message

string

The detailed message.

success

RequestId

string

The request ID.

d76db491

Cluster

object

The cluster information.

VpcId

string

The VPC ID.

vpc-xxxxz1mlwpb****

OversoldFactor

integer

The CPU overselling ratio for Docker clusters. Valid values:

  • 1: 1:1 ratio. No overselling.

  • 2: 1:2 overselling ratio.

  • 4: 1:4 overselling ratio.

  • 8: 1:8 overselling ratio.

2

UpdateTime

integer

The timestamp when the cluster was last modified.

1570708232145

MemUsed

integer

The amount of used memory. Unit: MB.

1024

IaasProvider

string

The IaaS resource provider.

ALIYUN

CreateTime

integer

The timestamp when the cluster was created.

1570708232145

CpuUsed

integer

The number of used CPU cores.

2

Mem

integer

The total memory. Unit: MB.

2048

RegionId

string

The region ID.

cn-hangzhou

Cpu

integer

The total number of CPU cores.

4

CsClusterId

string

The Container Service cluster ID.

c2ce62869f4d4466b920312315f05****

NetworkMode

integer

The network type. Valid values:

  • 1: Classic network.

  • 2: VPC.

2

Description

string

The description.

Test

ClusterType

integer

The cluster type. Valid values:

  • 0: Common Docker cluster.

  • 1: Swarm cluster.

  • 2: ECS cluster.

  • 3: EDAS self-managed Kubernetes cluster.

  • 4: Pandora auto-registered application cluster.

  • 5: Container Service Kubernetes cluster.

2

ClusterName

string

The cluster name.

ClusterTest

NodeNum

integer

The number of ECS instances.

4

ClusterImportStatus

integer

The cluster import status. Valid values:

  • 1: Imported.

  • 2: Import failed.

  • 3: Importing.

  • 4: Cluster deleted.

  • 0: Not imported.

0

ClusterId

string

The cluster ID.

5439271a-015b-433d-befb-d76d****

SubClusterType

string

The subtype of the Kubernetes cluster. ManagedKubernetes indicates an ACK cluster, Ask indicates an ASK cluster, and ExternalKubernetes indicates an external cluster.

Valid values:

  • Ask :

    ASK cluster.

  • ManagedKubernetes :

    ACK cluster.

ManagedKubernetes

Examples

Success response

JSON format

{
  "Code": 200,
  "Message": "success",
  "RequestId": "d76db491",
  "Cluster": {
    "VpcId": "vpc-xxxxz1mlwpb****",
    "OversoldFactor": 2,
    "UpdateTime": 1570708232145,
    "MemUsed": 1024,
    "IaasProvider": "ALIYUN",
    "CreateTime": 1570708232145,
    "CpuUsed": 2,
    "Mem": 2048,
    "RegionId": "cn-hangzhou",
    "Cpu": 4,
    "CsClusterId": "c2ce62869f4d4466b920312315f05****",
    "NetworkMode": 2,
    "Description": "Test",
    "ClusterType": 2,
    "ClusterName": "ClusterTest",
    "NodeNum": 4,
    "ClusterImportStatus": 0,
    "ClusterId": "5439271a-015b-433d-befb-d76d****",
    "SubClusterType": "ManagedKubernetes"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.