查询开发机详情
更新时间:2025-06-06
接口描述
查询开发机详情。
请求结构
Plain Text
1GET ?action=DescribeDevInstance&devInstanceId=dv-343423e3
2HTTP/1.1
3Host:aihc.bj.baidubce.com
4version: v2
5Authorization:authorization string
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名 | 参数类型 | 是否必须 | 参数位置 | 参数说明 |
---|---|---|---|---|
devInstanceId | String | 是 | Query参数 | 操作对象 |
返回头域
除公共头域,无其它特殊头域。
返回参数
参数名称 | 类型 | 说明 |
---|---|---|
requestId | string | 请求唯一标识 |
devInstance | DevInstanceDetail | 开发机详情 |
请求示例
Plain Text
1GET ?action=DescribeDevInstance&devInstanceId=dv-343423e3
2HTTP/1.1
3Host:aihc.bj.baidubce.com
4version: v2
5Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2024-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
返回示例
Plain Text
1{
2 "devInstance": {
3 "accountId": "eca97e148cb74e9683d7b7240829d1ff",
4 "conf": {
5 "access": {
6 "blbId": "lb-3f002c91",
7 "portInfo": [],
8 "sshEnable": true,
9 "sshRSAPubKey": "xxx"
10 },
11 "image": {
12 "imageType": 0,
13 "imageUrl": "registry.baidubce.com/inference/aibox-ubuntu:v2.0-22.04",
14 "password": "",
15 "username": ""
16 },
17 "resourcePool": {
18 "queueName": "default",
19 "resourcePoolId": "cce-i8zab7dh",
20 "resourcePoolName": "bjtest-regress-no-delete-songmingming01",
21 "resourcePoolType": ""
22 },
23 "resources": {
24 "acceleratorCount": 0,
25 "acceleratorType": "",
26 "cpus": 1,
27 "memory": 2,
28 "shmSize": 0
29 },
30 "scheduleConf": {
31 "cpuNodeAffinity": true,
32 "priority": "high"
33 },
34 "updatedAt": 0,
35 "volumnConfs": [
36 {
37 "bos": null,
38 "cds": {
39 "capacity": 100
40 },
41 "cfs": null,
42 "dataset": null,
43 "mountPath": "/.rootfs",
44 "pfs": null,
45 "readOnly": true,
46 "volumnType": "cds"
47 }
48 ]
49 },
50 "createdAt": 1747876700,
51 "creator": "dingjiachen",
52 "creatorId": "1ac3b20c495f47f59ad18d0615805ac7",
53 "id": "dv-64706ff6",
54 "loginInfo": {
55 "jupyter": {
56 "url": "https://console.bce.baidu.com/api/aihcbox/gray/proxy/v1/webide/dv-64706ff6/bj/jupyter"
57 },
58 "vscode": {
59 "url": "https://console.bce.baidu.com/api/aihcbox/gray/proxy/v1/webide/dv-64706ff6/bj/vscode"
60 }
61 },
62 "name": "dingtest-openapi",
63 "notify": {
64 "isOpen": false,
65 "notifyRuleId": ""
66 },
67 "isPublicMgmt": false,
68 "region": "bj",
69 "serviceInstanceInfo": {
70 "internalIP": "192.168.0.71",
71 "nodeIP": "192.168.15.186",
72 "podName": "aibox-r7b1d3715728-7bdd7cdfbd-xlhjd",
73 "publicIP": "120.48.54.166",
74 "serviceInstanceId": "aibox-r7b1d3715728"
75 },
76 "status": 2,
77 "statusReason": "",
78 "updatedAt": 1747906751,
79 "version": "v3",
80 "visibleScope": {
81 "type": 1
82 }
83 },
84 "requestId": "4c515c3f-3e5d-4524-b4db-2551b298fea6"
85}