跳转到主要内容
监控与采集相关接口/Zaku

查询GPU资源池列表

列表GPU池指定kubernetes集群。

GET/api/v1/zaku/clusters/{clusterUuid}/gpu-pools

操作 ID

ListGPUPools

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

调用该 API 时需要在请求头中携带以下认证信息。

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

路径参数

  • clusterUuid
    String必填

    集群UUID。

响应状态

200 OK
200 OK

该 API 成功时返回以下响应结构。

  • items
    List

    条目列表。

    示例: (nested array)

    • uuid
      String

      资源的UUID,唯一标识该资源。

      示例: pool-gpu-001

    • platformId
      String

      平台ID。

      示例: plat-001

    • clusterUuid
      String

      集群UUID。

      示例: cluster-abc123

    • zakuId
      String

      内部Zaku数值标识符池。

      示例: 7

    • name
      String

      资源名称。

      示例: A100-pool-01

    • gpuType
      String

      GPU类型。

      示例: NVIDIA A100

    • totalCount
      Integer

      总数量。

      示例: 8

    • availableCount
      Integer

      可用数量。

      示例: 3

    • lastSyncAt
      String

      最近一次同步时间。

      示例: 2026-01-15T08:00:00Z

  • total
    Integer

    返回结果总数。

    示例: 3

  • limit
    Integer

    最大返回条目数。

    示例: 20

  • offset
    Integer

    查询起始偏移量。

    示例: 20