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.
Parameter | Description | Required |
---|---|---|
Identifier |
VM identifier Specifies the identifier of the virtual server |
○ |
default_firewall_rule |
Default rule Specify the setting for the default firewall rule |
○ |
network_interface_id |
Network interface ID Specifies network interface ID on which the default firewall rule will be set |
× |
Response Objects
Responds in the following format
Field | Description |
---|---|
Network_interface_id |
Returns whether the request of applying the default firewall rule was successful or not true : When the request is successful |
Request Sample
https://api.gmocloud.com/Cloud-Zone-ID/?Action=setFirewallDefault&AccessKeyId=AccessKeyId&Version=1.0&Identifier=identifier_of_VM&default_firewall_rule=DROP&network_interface_id=ID_of_NetworkInterface&Signature=Signature
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.
0 Comments