Skip to content

Commit

Permalink
chore(waf): supplementary resource documentation description
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-hang committed Nov 4, 2024
1 parent 48ae560 commit d20815a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/data-sources/waf_address_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
subcategory: "Web Application Firewall (WAF)"
layout: "huaweicloud"
page_title: "HuaweiCloud: huaweicloud_waf_address_groups"
description: ""
description: |
Use this data source to get a list of WAF address groups.
---

# huaweicloud_waf_address_groups
Expand All @@ -14,8 +15,8 @@ Use this data source to get a list of WAF address groups.
```hcl
variable enterprise_project_id {}
data "huaweicloud_waf_address_groups" "groups_1" {
name = "address_group_name"
data "huaweicloud_waf_address_groups" "test" {
name = "test-name"
enterprise_project_id = var.enterprise_project_id
}
```
Expand All @@ -27,11 +28,13 @@ The following arguments are supported:
* `region` - (Optional, String) Specifies the region in which to query the data source.
If omitted, the provider-level region will be used.

* `name` - (Optional, String) Specifies the name of the address group.
* `name` - (Optional, String) Specifies the name of the address group. Fuzzy search is supported.

* `enterprise_project_id` - (Optional, String) Specifies the enterprise project ID.
For enterprise users, if omitted, default enterprise project will be used.

* `ip_address` - (Optional, String) Specifies the IP address or IP address ranges.
* `ip_address` - (Optional, String) Specifies the IP address or IP address ranges. If this parameter is specified,
the address group that contains the specified IP address or IP address ranges are queried.

## Attribute Reference

Expand All @@ -47,8 +50,6 @@ The `groups` block supports:

* `name` - The name of the address group.

* `enterprise_project_id` - The enterprise project ID.

* `ip_addresses` - The IP addresses or IP address ranges.

* `description` - The description of the address group.
Expand Down

0 comments on commit d20815a

Please sign in to comment.