医疗智能体 EIHealth-修改计算资源:命令结构

时间:2025-02-12 14:53:01

命令结构

health edit compute-resources  [flags]
表1 参数说明

参数

简写

是否必选

描述

--force

-f

是否强制操作。

--labels

-l

需要添加或删除的标签列表。json数组格式。如:-l "[\"h1\",\"h2\"]"

--node

-n

计算资源节点id

--operation-type

-t

对计算资源的操作:[add-labels \| delete-labels \| stop \| reboot \| start \| schedulable \| non-schedule]。add-labels:添加计算节点标签。delete-labels:删除计算节点标签。stop:停止节点。reboot:重启节点。start:启动节点。schedulable:设置节点可被调度。non-schedule:设置节点不可被调度

support.huaweicloud.com/clilist-eihealth/eihealth_31_0115.html