CheckFirewallRuleConfigFile
Checks whether the firewall rule configuration file is valid. For
example,
CheckFirewallRuleConfigFile ruleInfo=[{"ruleNumber":1004,"action":"accept","allowStates":"new,established,invalid,related","protocol":"ICMP","tcpFlag":null,"icmpTypeName":"echo-reply","sourcePort":null,"destPort":null,"sourceIp":"192.168.0.41","destIp":"192.168.0.50","description":null,"state":"disable", "ruleSetUuid": "${defaultRuleSet.uuid}"}]
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
ruleInfo | The firewall rule information. | 4.4.0 | ||
userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.4.0 | |
systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.4.0 | |
timeout | 是 |