Skip to content

Commit 4bb4ac5

Browse files
authored
fix(teo): [121047367] modify doc (#3008)
* fix(teo): [121047367] modify doc * fix: add changelog * fix: add doc
1 parent 743285f commit 4bb4ac5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changelog/3008.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_teo_rule_engine: Add enumeration to the `target` field.
3+
```

tencentcloud/services/teo/resource_tc_teo_rule_engine.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/docs/r/teo_rule_engine.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ The `and` object of `or` supports the following:
199199
- `client_country`: Country/Region of the client.
200200
- `query_string`: Query string in the request URL.
201201
- `request_header`: HTTP request header.
202+
- `client_ip`: Client IP.
202203
* `ignore_case` - (Optional, Bool) Whether the parameter value is case insensitive. Default value: false.
203204
* `name` - (Optional, String) The parameter name of the match type. This field is required only when `Target=query_string/request_header`.
204205
- `query_string`: Name of the query string, such as "lang" and "version" in "lang=cn&version=1".
@@ -229,6 +230,7 @@ The `and` object of `or` supports the following:
229230
- `url`: Partial URL under the current site. - `client_country`: Country/Region of the client.
230231
- `query_string`: Query string in the request URL.
231232
- `request_header`: HTTP request header.
233+
- `client_ip`: Client IP.
232234
* `ignore_case` - (Optional, Bool) Whether the parameter value is case insensitive. Default value: false.
233235
* `name` - (Optional, String) The parameter name of the match type. This field is required only when `Target=query_string/request_header`.
234236
- `query_string`: Name of the query string, such as "lang" and "version" in "lang=cn&version=1".

0 commit comments

Comments
 (0)