* docs: add examples and recreate TF documentation * update readme * add information about experimental support of firewall zones
39 lines
1.2 KiB
Markdown
39 lines
1.2 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "unifi_setting_usw Resource - terraform-provider-unifi"
|
|
subcategory: ""
|
|
description: |-
|
|
Manages UniFi Switch (USW) settings for a UniFi site. These settings control global switch behaviors such as DHCP snooping.
|
|
---
|
|
|
|
# unifi_setting_usw (Resource)
|
|
|
|
Manages UniFi Switch (USW) settings for a UniFi site. These settings control global switch behaviors such as DHCP snooping.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "unifi_setting_usw" "example" {
|
|
# Enable DHCP snooping to protect against rogue DHCP servers
|
|
dhcp_snoop = true
|
|
|
|
# Specify the site (optional, defaults to site configured in provider, otherwise "default")
|
|
# site = "default"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `dhcp_snoop` (Boolean) Whether DHCP snooping is enabled. DHCP snooping is a security feature that filters untrusted DHCP messages and builds a binding database of valid hosts.
|
|
|
|
### Optional
|
|
|
|
- `site` (String) The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The unique identifier of this resource.
|