[Firewall Rule] setFirewallDefault


Summary of the Process by the Function

Sets the default firewall rule to the interface on the specified virtual server

Request Parameters

Specify the following parameter(s) when executing this function.


VM identifier

Specifies the identifier of the virtual server
The virtual server identifier can be obtained through 4.1. listNodes function
It is the identifier in the response object, 4.1. listNodes


Default rule

Specify the setting for the default firewall rule
ACCEPT : Set ACCEPT to the default firewall rule
DROP : Set DROP to the default firewall rule


Network interface ID

Specifies network interface ID on which the default firewall rule will be set
When more than one network interfaces are set to the relevant virtual server and this parameter is not specified, all the network interfaces connected to the relevant virtual server is set evenly.
The network interface ID can be obtained through 7.1. listNetworkInterfaces function
It is the id in the response object, 7.1. listNetworkInterfaces function


Response Objects

Responds in the following format


Returns whether the request of applying the default firewall rule was successful or not

true : When the request is successful
false : When the request is failed

Request Sample


Response Sample

"ID_of_NetworkInterface": true

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.

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk