AI开发平台MODELARTS-创建开发环境实例:请求示例

时间:2024-09-07 09:09:47

请求示例

如下以创建名为“notebook-instance”,配置ID为“Python3-gpu”的实例为例。

  • 请求示例
    {
        "name": "notebook-instance",
        "description": "",
        "profile_id": "Multi-Engine 1.0 (python3)-gpu",
        "flavor": "modelarts.bm.gpu.v100NV32",
        "spec": {
            "storage": {
                "location": {
                    "volume_size": 5
                },
                "type": "evs"
            },
            "auto_stop": {
                "enable": true,
                "duration": 3600
            }
        },
        "workspace": {
            "id": "0"
        }
    }
support.huaweicloud.com/api-modelarts/modelarts_03_0110.html