GET
/
gpu-instance
/
openapi
/
v1
/
clusters
curl --request GET \
  --url https://api.ppinfra.com/gpu-instance/openapi/v1/clusters \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "availableGpuType": {},
      "supportNetworkStorage": true,
      "supportInstanceNetwork": true
    }
  ]
}

请求头

Content-Type
string
required

枚举值: application/json

Authorization
string
required

Bearer 身份验证格式,例如:Bearer {{API 密钥}}。

响应参数

data
object[]
required
id
string
required

集群 ID

name
string
required

集群名称

availableGpuType
[string]
required

该集群支持的 GPU 类型

supportNetworkStorage
boolean
required

该集群是否支持创建云存储

supportInstanceNetwork
boolean
required

该集群是否支持创建 VPC 网络