医疗智能体 EIHEALTH-修改扩容策略:请求示例

时间:2024-05-10 16:07:30

请求示例

更新扩容策略配置,更改名称为strategy_4vCPUS_8GB

https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/system/autoscaler/scale-out-policies/{id}

{
  "name" : "strategy_4vCPUS_8GB",
  "max_nodes" : 50,
  "min_nodes" : 0,
  "cpu_rule_enable" : true,
  "cpu_percent" : 80,
  "add_nodes_for_cpu_rule" : 1,
  "mem_rule_enable" : true,
  "mem_percent" : 80,
  "add_nodes_for_mem_rule" : 1
}
support.huaweicloud.com/api-eihealth/UpdateScaleOutPolicy.html