{
"cloudCredentialInfo": {
"accessKey": "string",
"accountId": "string",
"hypervisor": "string",
"provider": "Aliyun",
"secretKey": "string",
"url": "string"
},
"data": {
"regionId": "string",
"rule": {
"action": "allow",
"cidr": "string",
"desc": "string",
"direction": "in",
"ports": "string",
"priority": 0,
"protocol": "any"
},
"ruleId": "string",
"securityGroupId": "string"
}
}
curl --location --request POST 'http://localhost:8080/api/v1/securityGroupRuleTbls/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"cloudCredentialInfo": {
"accessKey": "string",
"accountId": "string",
"hypervisor": "string",
"provider": "Aliyun",
"secretKey": "string",
"url": "string"
},
"data": {
"regionId": "string",
"rule": {
"action": "allow",
"cidr": "string",
"desc": "string",
"direction": "in",
"ports": "string",
"priority": 0,
"protocol": "any"
},
"ruleId": "string",
"securityGroupId": "string"
}
}'
{
"content": {
"resources": [
{
"action": "string",
"description": "string",
"direction": "string",
"externalId": "string",
"ip": "string",
"mask": "string",
"ports": "string",
"priority": 0,
"protocol": "string"
}
]
},
"errorCode": "string",
"errorMsg": "string",
"msg": "string",
"success": true
}