mirror of
https://github.com/oscarhermoso/terraform-provider-binarylane
synced 2026-10-18 13:38:08 +11:00
11e0302e71
* 📚 add descriptions to resources * 📷 Create `images` data source, plus codegen for `sizes`, `regions` * 🍩 Create offerings example * 🧣 Create `regions` and `sizes` data sources
1.8 KiB
1.8 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| binarylane_server_firewall_rules Data Source - terraform-provider-binarylane | Retrieve details about the External Firewall Rules assigned to a BinaryLane server. |
binarylane_server_firewall_rules (Data Source)
Retrieve details about the External Firewall Rules assigned to a BinaryLane server.
Example Usage
data "binarylane_server_firewall_rules" "example" {
server_id = 123456
}
Schema
Required
server_id(Number) The ID of the server for which firewall rules should be listed.
Read-Only
firewall_rules(Attributes List) A list of rules for the server. NB: that any existing rules that are not included will be removed. Submit an empty list to clear all rules. (see below for nested schema)
Nested Schema for firewall_rules
Read-Only:
action(String) The action to take when there is a match on this rule.description(String) A description to assist in identifying this rule. Commonly used to record the reason for the rule or the intent behind it, e.g. "Block access to RDP" or "Allow access from HQ".destination_addresses(List of String) The destination addresses to match for this rule. Each address may be an individual IPv4 address or a range in IPv4 CIDR notation.destination_ports(List of String) The destination ports to match for this rule. Leave null or empty to match on all ports.protocol(String) The protocol to match for this rule.source_addresses(List of String) The source addresses to match for this rule. Each address may be an individual IPv4 address or a range in IPv4 CIDR notation.