GetResource
Queries the information about a Lingjun cluster, including resource usage, machine type, and node details.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetResource |
get |
*Resource
|
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.