firewall_rule_add
Allow TCP or UDP inbound from a source network to Servers in a Location. Requires explicit Server access approval.
| Access | Changes Blossom |
| Same as | blossom firewall_rule:add |
Arguments
| Argument | Type | Description |
|---|---|---|
location |
string | Location id. Required. |
protocol |
string | tcp or udp. Required. |
port |
integer | Destination port. Required. |
source_cidr |
string | IPv4 or IPv6 source in CIDR notation. Required. |
Example
{"location":"location-100","protocol":"protocol-100","port":1,"source_cidr":"source_cidr-100"}