forked from mirrors/terraform-provider-binarylane
37 lines
1.5 KiB
Markdown
37 lines
1.5 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "binarylane_server_firewall_rules Resource - terraform-provider-binarylane"
|
|
subcategory: ""
|
|
description: |-
|
|
|
|
---
|
|
|
|
# binarylane_server_firewall_rules (Resource)
|
|
|
|
|
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `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](#nestedatt--firewall_rules))
|
|
- `server_id` (Number) The ID of the server for which firewall rules should be listed.
|
|
|
|
<a id="nestedatt--firewall_rules"></a>
|
|
### Nested Schema for `firewall_rules`
|
|
|
|
Required:
|
|
|
|
- `action` (String) The action to take when there is a match on this rule.
|
|
- `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.
|
|
- `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.
|
|
|
|
Optional:
|
|
|
|
- `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_ports` (List of String) The destination ports to match for this rule. Leave null or empty to match on all ports.
|