医疗智能体 EIHealth-创建扩容策略:请求示例

时间:2023-11-01 16:18:52

请求示例

创建扩容策略,指定名称为trategy_4vCPUS_8GB

https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/system/autoscaler/scale-out-policies  {   "name" : "strategy_4vCPUS_8GB",   "availability_zone" : "cn-north-7c",   "spec_code" : "eihealth.xxx.spec.xxx.xxx",   "max_nodes" : 50,   "min_nodes" : 1,   "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/eihealth_33_00370.html