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

时间:2024-05-11 08:28:28

请求示例

更新缩容策略,设置空闲时间为2分钟,扩容后多久再次判断缩容时间为5分钟

https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/system/autoscaler/scale-in-policy

{
  "idle_time" : 2,
  "threshold" : 50,
  "delay_after_add" : 5,
  "delay_after_delete" : 1,
  "delay_after_failure" : 1,
  "max_nodes_batch_deletion" : 1,
  "check_interval" : 1
}
support.huaweicloud.com/api-eihealth/UpdateScaleInPolicy.html