You need to enable JavaScript to run this app.
导航

获取规格列表

最近更新时间2023.09.18 20:30:22

首次发布时间2023.09.18 20:30:22

本接口名称为ListCellSpec

请求参数


返回参数

名称

类型

描述

CellSpecList

struct

具体参数解释见CellSpec

err

error

错误详情

CellSpec

名称

类型

描述

ID

Int64

规格模板 ID,后续用到规格模板 ID 的地方均使用此 ID。

CPUCount

Int64

CPU 数量。

CPUType

String

CPU 类型。

GPUCount

Int64

CPU 数量。

GPUType

String

GPU 类型。

SystemInfo

String

系统信息。取值范围:windows;linux。

CellType

String

规格类型。

ResourcePoolID

Int64

资源池 ID。

UintPrice

Float64

单价。

调用示例

请参见 list_cell_specs_demo.go