//type = 1
{
"regionID": "TestRegionID",
"ruleID": "80d044b6-5e75-11ed-af3d-0242ac130010"
}
//type = 2,executionTime必填
{
"regionID": "TestRegionID",
"operateUnit": 1,
"executionTime": "2022-12-13 15:21:00",
"operateCount": 1,
"action": 1,
"ruleID": "021bbf16-7562-11ed-a0bb-0242ac130008"
}
//type = 3,executionTime、cycle必填
{
"regionID": "TestRegionID",
"operateUnit": 1,
"executionTime": "2022-12-13 15:21:00",
"operateCount": 1,
"action": 1,
"ruleID": "68b61170-75d7-11ed-b651-0242ac130008",
"cycle": 3
}
curl --location --request POST '/v4/scaling/rule/update' \
--header 'Content-Type: application/json' \
--data-raw '//type = 1
{
"regionID": "TestRegionID",
"ruleID": "80d044b6-5e75-11ed-af3d-0242ac130010"
}
//type = 2,executionTime必填
{
"regionID": "TestRegionID",
"operateUnit": 1,
"executionTime": "2022-12-13 15:21:00",
"operateCount": 1,
"action": 1,
"ruleID": "021bbf16-7562-11ed-a0bb-0242ac130008"
}
//type = 3,executionTime、cycle必填
{
"regionID": "TestRegionID",
"operateUnit": 1,
"executionTime": "2022-12-13 15:21:00",
"operateCount": 1,
"action": 1,
"ruleID": "68b61170-75d7-11ed-b651-0242ac130008",
"cycle": 3
}'
{
"returnObj": {
"ruleID": "80d044b6-5e75-11ed-af3d-0242ac130010"
},
"statusCode": 800,
"message": "success",
"errorCode": "success",
"description": "success"
}