| Nom de la ressource | firewall rule |
| URL | https://api.alwaysdata.com/v1/firewall |
| Description | Règles de firewall |
| Operations | create, read, update, delete, list |
| Name | Details |
|---|---|
|
id
readonly: YES |
integer
Resource ID. |
|
href
readonly: YES |
string
Resource location. |
|
protocol
default value: ANY |
string
Protocol
|
| action |
string
Type
|
| direction |
string
Direction
|
|
hosts
default value: null |
string
Hosts affected by the rule, separated by spaces. If the field is empty, all hosts are affected. You can specify a URL to a file containing a list of hosts. You can comment a line with the # character. Examples: 192.0.2.38, 192.0.2.0/24, 2001:db8::1. |
|
ports
default value: null |
string
Ports affected by the rule, separated by spaces. If the field is empty, all ports are affected. You can specify ranges of consecutive ports, for example: 10000:10010. |
|
ip_version
default value: ANY |
string
IP version
|
| annotation |
string
L'annotation est facultative et apparaitra dans le listing. |