跳转到主要内容
近期删除/近期删除

查询GPU卡列表

列表GPU卡所属特定GPU池。

GET/api/v1/gpu-pools/{poolUuid}/gpu-cards

操作 ID

ListGPUCards

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

路径参数

  • poolUuid
    String必填

    池UUID。

响应状态

200 OK
200 OK

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

  • items
    List

    条目列表。

    示例: (nested array)

    • uuid
      String

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

      示例: gpu-card-001

    • platformId
      String

      平台ID。

      示例: plat-001

    • poolUuid
      String

      池UUID。

      示例: pool-gpu-001

    • gpuIndex
      Integer

      零基于GPU设备索引主机。

      示例: 20

    • gpuModel
      String

      名称。

      示例: NVIDIA A100-SXM4-80GB

    • memoryTotal
      String

      总GPU内存字节。

      示例: 85899345920

    • status
      String

      状态信息。

      示例: Available

    • nodeName
      String

      节点名。

      示例: k8s-node-01

    • lastSyncAt
      String

      最近一次同步时间。

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

  • total
    Integer

    返回结果总数。

    示例: 8

  • limit
    Integer

    最大返回条目数。

    示例: 20

  • offset
    Integer

    查询起始偏移量。

    示例: 20