cms__ListSupplyRecommendation
Recommends ECS regions and flavors using capacity or cost strategies, returning scored supply options so you can identify higher-priority deployment targets.
Instructions
[CMS] 对ECS的资源供给的地域和规格进行推荐,推荐结果以打分的形式呈现,分数越高推荐程度越高
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_id": "<domain_id>"
},
"name": "cms__ListSupplyRecommendation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 查询返回的数量限制 | |
| marker | No | 取值为上一页数据的最后一条记录的唯一标记 | |
| option | No | 供给推荐的选项 | |
| strategy | No | 推荐的策略。 | CAPACITY |
| domain_id | Yes | 租户域ID | |
| locations | No | 接受推荐的地域列表,默认接受所有区域 | |
| flavor_ids | No | 接受推荐的规格列表 | |
| flavor_constraint | No | 资源供给规格的约束,给出规格列表时优先使用规格列表 |