医疗智能体 EIHEALTH-创建notebook:请求示例

时间:2024-05-10 16:07:30

请求示例

创建notebook,使用系统默认镜像,需要cpu资源1C,内存资源5G。

https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/eihealth-projects/{eihealth_project_id}/notebooks

{
  "flavor" : {
    "cpu" : 1,
    "gpu" : 0,
    "memory" : 5
  },
  "image" : {
    "image_type" : "SYSTEM",
    "image_info" : {
      "profile" : "PY3"
    }
  },
  "storages" : [ {
    "path" : "OBSFS:test-bucket:/"
  } ],
  "name" : "test-notebook",
  "description" : "test"
}
support.huaweicloud.com/api-eihealth/CreateNotebook.html