AI开发平台ModelArts-创建开发环境实例:响应示例

时间:2025-01-26 10:45:13

响应示例

  • 成功响应示例
    {    "ai_project": {        "id": "default-ai-project"    },    "creation_timestamp": "1594887749962",    "description": "",    "flavor": "modelarts.bm.gpu.v100NV32",    "flavor_details": {        "name": "modelarts.bm.gpu.v100NV32",        "params": {            "CPU": 8,            "GPU": 1,            "gpu_type": "v100NV32",            "memory": "64GiB"        },        "status": "onSale",        "type": "GPU"    },    "id": "DE-7d558ef8-c73d-11ea-964c-0255ac100033",    "latest_update_timestamp": "1594887749962",    "name": "notebook-c6fd",    "profile": {        "de_type": "Notebook",        "description": "multi engine, gpu, python 3.6 for notebook",        "flavor_type": "GPU",        "id": "Multi-Engine 1.0 (python3)-gpu",        "name": "Multi-Engine 1.0 (python3)-gpu",        "provision": {            "spec": {                "engine": "CCE",                "params": {                    "image_name": "mul-kernel-gpu-cuda-cp36",                    "image_tag": "2.0.5-B003",                    "namespace": "atelier"                }            },            "type": "Docker"        }    },    "spec": {        "annotations": {            "target_domain": "https://modelarts-notebook-2.xxxx.com",            "url": ""        },        "auto_stop": {            "duration": 3600,            "enable": true,            "prompt": true        },        "storage": {            "location": {                "path": "/home/ma-user/work",                "volume_size": 5            },            "type": "evs"        }    },    "status": "CREATING",    "user": {        "id": "15dda26361214ca2a5953917d2f48ffb",        "name": "ops_dev_env"    },    "workspace": {        "id": "0"    }}
  • 失败响应示例
    {    "error_message": "The param path needs to end with /.",    "error_code": "ModelArts.6318"}
support.huaweicloud.com/api-modelarts/modelarts_03_0110.html