获取开发机实例列表
获取开发机实例列表
Path Parameters
订阅名称
资源组
可用区
Query Parameters
过滤条件
排序,例:"create_time desc, name"
返回当前页的最大条目数
从上一个List请求返回的next_page_token值(如果有的话)
- 200
- default
OK
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
containerInstances object[]
开发机实例资源详情列表
开发机实例资源id
开发机实例资源名称,需符合正则:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
Possible values: <= 63 characters
开发机实例资源别名
开发机实例资源描述
开发机实例资源uuid
开发机实例资源类型, 例子: compute.aicl.v1.instance
开发机实例创建用户id
开发机实例所有者id
租户id
可用区
Possible values: [CREATING
, UPDATING
, ACTIVE
, SUSPENDING
, RESUMING
, DELETING
, SUSPENDED
, DELETED
, FAILED
]
开发机实例状态
最小库存单元id
tags object
开发机实例资源标签
properties object
开发机实例资源属性, 仅支持开发机停止时更新
resources object required
规格属性 [不可更改]
Possible values: [GPU
, CPU
, CPU_PRO
, DCU
, MLU
]
计算类型
GPU型号
GPU卡数
CPU核数
内存规格,单位GB
磁盘容量,单位GB
带宽限制,单位Mbps/s
DCU型号
DCU设备卡数目
MLU型号 [未指定]
MLU设备卡数目 [未指定]
CPU型号
CPU频率
Possible values: [SINGLE
, MULTI
]
GPU实例模式
volumeMounts object[]
卷挂载, 仅支持开发机停止时更新
Host地址
挂载路径
是否只读
volumeAttributes object required
卷属性
卷id
卷区域
卷host
卷端口
卷uri
exposeServices object[]
公开服务 [仅输出]
服务名称
协议
端口
SSH公钥 [不可更改]
environment object
环境变量, 仅支持开发机停止时更新
image object required
镜像, 仅支持开发机停止时更新
镜像名称
镜像别名
镜像描述
Possible values: [OFFICIAL
, USER
, SNAPSHOT
]
镜像类型
镜像大小
labels object
镜像标签
资源类型
镜像地址, 用户镜像和快照镜像必须指定
镜像创建人
镜像创建时间
镜像更新时间
镜像删除时间
vpc object required
虚拟专有网络 [不可更改]
专有网络 ID
命名空间
cacheService object
缓存服务 [未指定]
是否开启缓存服务
orderInfo object
订单信息
购买时长
自动续费
货币代码
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
]
支付方式
订单备注
Possible values: [OT_UNSPECIFIED
, OT_ORIGINAL
, OT_RENEW
, OT_UPGRADED
, OT_DOWNGRADED
, OT_CONTRACT
, OT_UNSUBSCRIBE
, OT_RESIZE
]
订单类型
订单id
订单生效日期
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
付费类型
Possible values: [BM_UNSPECIFIED
, BM_USAGE
, BM_MONTHLY
, BM_YEARLY
]
计费类型
合同包ID
订单结束时间
预付费自动转后付费
下一页的token
开发机实例资源总数
{
"containerInstances": [
{
"id": "string",
"name": "string",
"displayName": "string",
"description": "string",
"uid": "string",
"resourceType": "string",
"creatorId": "string",
"ownerId": "string",
"tenantId": "string",
"zone": "string",
"state": "CREATING",
"skuId": "string",
"tags": {},
"properties": {
"resources": {
"computeType": "GPU",
"gpuType": "string",
"gpu": "string",
"cpu": "string",
"memory": "string",
"storage": "string",
"network": "string",
"dcuType": "string",
"dcu": "string",
"mluType": "string",
"mlu": "string",
"cpuType": "string",
"cpuFrequency": "string",
"gpuModel": "SINGLE"
},
"volumeMounts": [
{
"name": "string",
"hostPath": "string",
"mountPath": "string",
"readOnly": true,
"volumeAttributes": {
"volumeId": "string",
"zone": "string",
"host": "string",
"port": "string",
"uri": "string"
}
}
],
"exposeServices": [
{
"name": "string",
"displayName": "string",
"protocol": "string",
"port": 0,
"address": "string",
"diagCode": "string"
}
],
"sshPublicKeys": [
"string"
],
"environment": {},
"virtualCluster": "string",
"image": {
"name": "string",
"displayName": "string",
"description": "string",
"type": "OFFICIAL",
"size": 0,
"labels": {},
"resourceType": "string",
"imagePath": "string",
"creatorId": "string",
"creationTime": "2024-11-04T06:28:48.329Z",
"updateTime": "2024-11-04T06:28:48.329Z",
"deletionTime": "2024-11-04T06:28:48.329Z"
},
"commands": [
"string"
],
"vpc": {
"vpcId": "string",
"namespace": "string"
},
"cacheService": {
"enabled": true
}
},
"orderInfo": {
"billingCycleNumber": 0,
"autoRenew": true,
"currencyCode": "string",
"paymentChannel": "PC_UNSPECIFIED",
"note": "string",
"orderType": "OT_UNSPECIFIED",
"orderId": "string",
"startTime": "2024-11-04T06:28:48.329Z",
"paymentModel": "PM_UNSPECIFIED",
"billingModel": "BM_UNSPECIFIED",
"originalId": "string",
"endTime": "2024-11-04T06:28:48.329Z",
"autoConvertPostpaid": true
},
"deleted": true,
"createTime": "2024-11-04T06:28:48.329Z",
"updateTime": "2024-11-04T06:28:48.329Z"
}
],
"nextPageToken": "string",
"totalSize": 0
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}