安全声明:本测试功能完全绿色免费,调用时直连对方服务器,本站不做任何转发且不存储您的任何Token,请放心使用!
基础配置
Api_key*
用于鉴权的api-key
选择接入点:
POST
接入点文档:查看
Run: Ctrl+
接入点描述:创建一个新的GPU实例。
请求参数
cloud*
指定基础云提供程序
name*
实例名称
os
实例的操作系统。
region*
实例所在的区域
shade_cloud*
指定实例是在Shade Cloud中启动还是在链接的云帐户中启动。
shade_instance_type*
实例类型
ssh_key_id
SSH密钥ID
template_id
模板ID
volume_ids[0]*
卷ID
launch_configuration.type*
启动配置类型
launch_configuration.docker_configuration.image*
Docker镜像
launch_configuration.docker_configuration.args*
Docker启动参数
launch_configuration.docker_configuration.envs[0].name*
环境变量名称
launch_configuration.docker_configuration.envs[0].value*
环境变量值
launch_configuration.docker_configuration.port_mappings[0].container_port*
容器端口
launch_configuration.docker_configuration.port_mappings[0].host_port*
主机端口
launch_configuration.docker_configuration.shared_memory_in_gb*
共享内存大小(GB)
launch_configuration.docker_configuration.volume_mounts[0].container_path*
容器路径
launch_configuration.docker_configuration.volume_mounts[0].host_path*
主机路径
launch_configuration.script_configuration.base64_script*
Base64编码的脚本
alert.date_threshold
RFC3339日期字符串
alert.spend_threshold
美元金额的有效十进制表示
auto_delete.date_threshold
RFC3339日期字符串
auto_delete.spend_threshold
美元金额的有效十进制表示
envs[0].name*
环境变量名称
envs[0].value*
环境变量值
tags[0]*
标签
volume_mount.auto
是否自动挂载
返回结果
当前为示例返回
更多接入点测试
使用其他软件测试API
您可以拷贝Curl语句,直接导入Postman进行测试