[Firewall Rule] listFirewalls

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.

ParameterDescriptionRequired
Identifier

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

 

Response Objects

Response will be in the following format.

ParameterDescription
Address

Returns IP address set as source address in the relevant firewall rule
When 0.0.0.0 is returned, it means that the rule will be applied to all the IP addresses

created_at

Returns the date and time of the relevant firewall rule creation
The date and time will be shown in the following format

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
The date and time will be shown in the following format

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.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk