Skip to main content

VKSdetail

更新时间:2025-05-08 17:32:25
Query detailed information of the current enterprise elastic container cluster.
GET
https://api.alayanew.com/api/vks/v1/{id}
Authorizations
AuthorizationsStringHeaderRequired

用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。

Path Parameters
idStringRequired

Elastic container cluster ID.

Response
状态码:application/json
codeInt

code is a common return value format, representing the execution result of the query operation.

0 is the success identifier, indicating the operation completed successfully.
dataObject

msgString

Returns error information when the code value is -1.

curl -X GET 'https://api.alayanew.com/api/vks/v1/vcldkbd8xsiz' 
     -H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'
{
    "code": 0,
    "data": {
        "utilizationRate": {
            "gpu": [
                {
                    "name": "nvidia.com/gpu-h800-80gb-hbm3",
                     "displayName": "NVIDIA H800",
                    "hard": 2,
                    "used": 0,
                    "ratio": "14:35:80"
                },
                {
                    "name": "nvidia.com/gpu-h800-pcie",
                    "displayName": "NVIDIA H800",
                    "hard": 1,
                    "used": 0,
                    "ratio": "64:122:500"
                },
                {
                    "name": "nvidia.com/gpu-l40s",
                    "displayName": "NVIDIA L40s",
                    "hard": 4,
                    "used": 0,
                    "ratio": "17:108:40"
                },
                {
                    "name": "nvidia.com/gpu-h800",
                     "displayName": "NVIDIA H800",
                    "hard": 2,
                    "used": 0,
                    "ratio": "14:35:80"
                }
            ],
            "mem": {
                "hard": 710,
                "used": 13
            },
            "cpu": {
                "hard": 204,
                "used": 13
            }
        },
        "id": "vcldkbd8xsiz",
        "name": "vks003",
        "status": "Running"
    }
}