Resource Center/Network Service/Network Service Operations/VPC Firewall Operations
POSTVPC Firewall OperationsSince 4.4.0SynchronousAuth Required
CheckFirewallRuleConfigFile
CheckFirewallRuleConfigFile
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
ruleInfoStringRequiredThe firewall rule information.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/vpcfirewalls/rules/from-file/check
/zstack/v1/vpcfirewalls/rules/from-file/check
Request Example
curl -X POST 'http://{host}/zstack/v1/vpcfirewalls/rules/from-file/check' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"ruleInfo":"<ruleInfo>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
