首页 GetResource

GetResource

更新时间: 2026-07-22 16:40:03

Queries the information about a Lingjun cluster, including resource usage, machine type, and node details.

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

eflo:GetResource

get

*Resource

acs:eflo:{#regionId}:{#accountId}:resource/{#ClusterId}

None None

Request parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

The Lingjun cluster ID.

ehpc-bj-uo8f26cpmo

Response elements

Element

Type

Description

Example

object

The response body.

Data

object

The cluster details.

ResourceId

integer

The cluster ID.

189

ClusterId

string

The cluster ID.

3123121223

ClusterName

string

The cluster name.

main_cluster

ClusterDesc

string

The cluster description.

test

CpuCoreLimit

integer

The CPU limit of the cluster.

90

GpuLimit

integer

The GPU limit of the cluster.

8

MemoryLimit

integer

The memory limit of the cluster.

500

MaxGpu

integer

The maximum number of GPUs.

8

MaxCpuCore

integer

The maximum number of CPU cores.

90

MaxMemory

integer

The maximum memory size.

500

UserAccessParam

object

The user authorization parameters.

AccessId

string

The user ID.

dev

AccessKey

string

The user key.

test

WorkspaceId

string

The workspace ID.

test

Endpoint

string

The endpoint URL.

test

MachineType

object

The machine type information.

MemoryInfo

string

The memory specifications.

32x 64GB DDR4 4800 Memory

Type

string

The machine type.

Private

BondNum

integer

The number of network bonds.

5

NodeCount

integer

The number of nodes.

1

CpuInfo

string

The CPU specifications.

2x Intel Saphhire Rapid 8469C 48C CPU

NetworkInfo

string

The network specifications.

1x 200Gbps Dual Port BF3 DPU for VPC\n4x 200Gbps Dual Port EIC

GpuInfo

string

The GPU specifications.

8x OAM 810 GPU

DiskInfo

string

The disk specifications.

2x 480GB SATA SSD\n4x 3.84TB NVMe SSD

NetworkMode

string

The network mode.

2

Name

string

The specification name.

efg2.p8en

ResourceNodes

array<object>

The list of resource nodes.

object

NodeName

string

The node name.

lingj19q90jp66nq-mg2pa0p2l2bipnsi-17

RequestId

string

The request ID.

25859897-35C8-5015-8365-7A3CE52F4854

AccessDeniedDetail

string

The access denied details.

{}

TotalCount

integer

The total number of entries returned.

0

Examples

Success response

JSON format

{
  "Data": {
    "ResourceId": 189,
    "ClusterId": "3123121223",
    "ClusterName": "main_cluster",
    "ClusterDesc": "test",
    "CpuCoreLimit": 90,
    "GpuLimit": 8,
    "MemoryLimit": 500,
    "MaxGpu": 8,
    "MaxCpuCore": 90,
    "MaxMemory": 500,
    "UserAccessParam": {
      "AccessId": "dev",
      "AccessKey": "test",
      "WorkspaceId": "test",
      "Endpoint": "test"
    },
    "MachineType": {
      "MemoryInfo": "32x 64GB DDR4 4800 Memory",
      "Type": "Private",
      "BondNum": 5,
      "NodeCount": 1,
      "CpuInfo": "2x Intel Saphhire Rapid 8469C 48C CPU",
      "NetworkInfo": "1x 200Gbps Dual Port BF3 DPU for VPC\\n4x 200Gbps Dual Port EIC",
      "GpuInfo": "8x OAM 810 GPU",
      "DiskInfo": "2x 480GB SATA SSD\\n4x 3.84TB NVMe SSD",
      "NetworkMode": "2",
      "Name": "efg2.p8en"
    },
    "ResourceNodes": [
      {
        "NodeName": "lingj19q90jp66nq-mg2pa0p2l2bipnsi-17"
      }
    ]
  },
  "RequestId": "25859897-35C8-5015-8365-7A3CE52F4854",
  "AccessDeniedDetail": "{}",
  "TotalCount": 0
}

Error codes

HTTP status code

Error code

Error message

Description

400 NotFound not found. Data does not exist

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.

阿里云首页 智能计算灵骏 相关技术圈