修改虚拟机
POST
/api/v1/tasks/modify/84eMeoMGPTihih55MzwVGQ请求参数
Body 参数application/json
peer_nodes_list
array[string]
必需
additional
object
必需
new_ssh_port
string
必需
new_rdp_port
string
必需
new_vnc_port
string
必需
new_custom_port
array[string]
必需
new_gpu_count
string
必需
new_cpu_cores
string
必需
new_mem_size
string
必需
new_network_filters
array[string]
必需
new_public_ip
string
必需
session_id
string
必需
session_id_sign
string
必需
示例
{
"peer_nodes_list": [
"{{peer_node_id}}"
],
"additional": {
"new_ssh_port": "5586",
"new_rdp_port": "",
"new_vnc_port": "",
"new_custom_port": [],
"new_gpu_count": "",
"new_cpu_cores": "",
"new_mem_size": "",
"new_network_filters": [],
"new_public_ip": ""
},
"session_id": "{{session_id}}",
"session_id_sign": "{{session_id_sign}}",
"rent_order": "{{rent_order}}"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 1 年前