‘eq’: ‘=’, ‘gt’: ‘>’, ‘ge’: ‘>=’, ‘lt’: ‘<’, ‘le’: ‘<=’
{
"uuid": "string",
"name": "string",
"type": 0,
"action": 0,
"operate_count": 0,
"operate_unit": 0,
"cooldown": 0,
"trigger_id": "string",
"trigger_obj": {
"name": "string",
"metric_name": "string",
"statistics": "string",
"comparison_operator": "string",
"threshold": 0,
"period": "string",
"evaluation_count": 0
},
"execution_time": "string",
"cycle": 0,
"effective_from": "string",
"effective_till": "string",
"day": [
"string"
],
"os_id": "string",
"ct_user_id": 0
}
curl --location --request POST '/api/scaling_rule/update/' \
--header 'Content-Type: application/json' \
--data-raw '{
"uuid": "string",
"name": "string",
"type": 0,
"action": 0,
"operate_count": 0,
"operate_unit": 0,
"cooldown": 0,
"trigger_id": "string",
"trigger_obj": {
"name": "string",
"metric_name": "string",
"statistics": "string",
"comparison_operator": "string",
"threshold": 0,
"period": "string",
"evaluation_count": 0
},
"execution_time": "string",
"cycle": 0,
"effective_from": "string",
"effective_till": "string",
"day": [
"string"
],
"os_id": "string",
"ct_user_id": 0
}'
{
"errcode": "string",
"errstatus": 0,
"msg": "string",
"mark": "string",
"current_count": 0,
"previous": null,
"next": null,
"total_count": 0,
"results": [
{
"id": "string"
}
]
}