Summary of the Process by the Function
Adds firewall rules on a virtual server.
When there are more than one added firewall rules, the application priority becomes the lowest.
In order to enable the added firewall rules, the rules need to be applied using applyFirewall function described in 10.7.
Specify the following parameter(s) when executing this function.
Specifies the identifier of the virtual server
Specifies IP address you want to set as the source address in the firewall rule to be added
Specify a command to execute in the firewall rule to be added as ACCEPT or DROP
Specifies port to send set in the firewall rule to be added
Specifies protocol type which is set on the firewall rule to be added as TCP or UDP
Network interface ID
Specifies network interface ID on which the firewall rule will be added
If the request to add the specified firewall rules is successful then true is returned.
If the request to add the specified firewall rules failed then the resulting error message is returned.
Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.