AI开发平台MODELARTS-停止Notebook实例:响应示例

时间:2024-10-24 09:20:52

响应示例

状态码: 200

OK

{
  "description" : "api-test",
  "feature" : "NOTEBOOK",
  "flavor" : "modelarts.vm.cpu.2u",
  "id" : "f9937afa-4451-42db-a76b-72d624749f66",
  "image" : {
    "description" : "description",
    "id" : "e1a07296-22a8-4f05-8bc8-e936c8e54090",
    "name" : "notebook2.0-mul-kernel-cpu-cp36",
    "swr_path" : "swr.xxxxx.com/atelier/notebook2.0-mul-kernel-cpu-cp36:3.3.2-release_v1",
    "tag" : "3.3.2-release_v1",
    "type" : "BUILD_IN"
  },
  "lease" : {
    "create_at" : 1638841744515,
    "duration" : 5313106,
    "enable" : true,
    "update_at" : 1638843457621
  },
  "name" : "notebooks_test",
  "status" : "STOPPING",
  "token" : "7bddd8ff-8a0d-e063-3107-c70a862832de",
  "url" : "https://authoring-modelarts-xxxxx.xxxxx.com/f9937afa-4451-42db-a76b-72d624749f66/lab",
  "volume" : {
    "category" : "EFS",
    "ownership" : "MANAGED",
    "mount_path" : "/home/ma-user/work/",
    "capacity" : 50
  },
  "workspace_id" : "0"
}
support.huaweicloud.com/api-modelarts/StopNotebook.html