listFirewalls
Summary of the Process by the Function
This function gets a list of all the firewall rules which are set in the 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 |
○ |
Response Objects
Response will be in the following format.
Parameter | Description |
---|---|
Address |
Returns IP address set as source address in the relevant firewall rule |
created_at |
Returns the date and time of the relevant firewall rule creation YYYY-MM-DDThh:mm:ssZ |
command | Returns the command to execute set in the relevant firewall rule |
id | Returns ID of the relevant firewall rule |
network_interface_id | Returns network interface ID on which the relevant firewall rule is set |
port | Returns port to send set in the relevant firewall rule |
position | Returns application priority of firewall rules |
protocol | Specifies protocol type which is set on the relevant firewall rule as TCP or UDP |
updated_at |
Returns the last update date and time of the relevant firewall rule YYYY-MM-DDThh:mm:ssZ |
Request Sample
https://api.gmocloud.com/Cloud-Zone-ID/?Action=listFirewalls&AccessKeyId=AccessKeyId=1.0&Identifier=Identifier_of_VM&Signature=Signature
Response Sample
{
"ID_of_FW-rule": {
"address": "192.168.0.1/32",
"position": 1,
"created_at": "2012-07-19T23:46:18+09:00",
"command": "ACCEPT",
"port": "8080",
"updated_at": "2012-07-19T23:46:18+09:00",
"protocol": "TCP",
"id": ID_of_FW-rule,
"network_interface_id": ID_of_Network-Interface
}
}
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