You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cloudflare/resources/firewall/waf/packages/groups.py
+42-40
Original file line number
Diff line number
Diff line change
@@ -75,27 +75,28 @@ def list(
75
75
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
76
76
77
77
Args:
78
-
zone_id: Identifier
78
+
zone_id: Defines an identifier of a schema.
79
79
80
-
package_id: The unique identifier of a WAF package.
80
+
package_id: Defines the unique identifier of a WAF package.
81
81
82
-
direction: The direction used to sort returned rule groups.
82
+
direction: Defines the direction used to sort returned rule groups.
83
83
84
-
match: When set to `all`, all the search requirements must match. When set to `any`,
85
-
only one of the search requirements has to match.
84
+
match: Defines the condition for search requirements. When set to `all`, all the search
85
+
requirements must match. When set to `any`, only one of the search requirements
86
+
has to match.
86
87
87
-
mode: The state of the rules contained in the rule group. When `on`, the rules in the
88
-
group are configurable/usable.
88
+
mode: Defines the state of the rules contained in the rule group. When `on`, the rules
89
+
in the group are configurable/usable.
89
90
90
-
name: The name of the rule group.
91
+
name: Defines the name of the rule group.
91
92
92
-
order: The field used to sort returned rule groups.
93
+
order: Defines the field used to sort returned rule groups.
93
94
94
-
page: The page number of paginated results.
95
+
page: Defines the page number of paginated results.
95
96
96
-
per_page: The number of rule groups per page.
97
+
per_page: Defines the number of rule groups per page.
97
98
98
-
rules_count: The number of rules in the current rule group.
99
+
rules_count: Defines the number of rules in the current rule group.
99
100
100
101
extra_headers: Send extra headers
101
102
@@ -157,14 +158,14 @@ def edit(
157
158
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
158
159
159
160
Args:
160
-
zone_id: Identifier
161
+
zone_id: Defines an identifier of a schema.
161
162
162
-
package_id: The unique identifier of a WAF package.
163
+
package_id: Defines the unique identifier of a WAF package.
163
164
164
-
group_id: The unique identifier of a WAF package.
165
+
group_id: Defines the unique identifier of a WAF package.
165
166
166
-
mode: The state of the rules contained in the rule group. When `on`, the rules in the
167
-
group are configurable/usable.
167
+
mode: Defines the state of the rules contained in the rule group. When `on`, the rules
168
+
in the group are configurable/usable.
168
169
169
170
extra_headers: Send extra headers
170
171
@@ -218,11 +219,11 @@ def get(
218
219
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
219
220
220
221
Args:
221
-
zone_id: Identifier
222
+
zone_id: Defines an identifier of a schema.
222
223
223
-
package_id: The unique identifier of a WAF package.
224
+
package_id: Defines the unique identifier of a WAF package.
224
225
225
-
group_id: The unique identifier of a WAF package.
226
+
group_id: Defines the unique identifier of a WAF package.
226
227
227
228
extra_headers: Send extra headers
228
229
@@ -303,27 +304,28 @@ def list(
303
304
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
304
305
305
306
Args:
306
-
zone_id: Identifier
307
+
zone_id: Defines an identifier of a schema.
307
308
308
-
package_id: The unique identifier of a WAF package.
309
+
package_id: Defines the unique identifier of a WAF package.
309
310
310
-
direction: The direction used to sort returned rule groups.
311
+
direction: Defines the direction used to sort returned rule groups.
311
312
312
-
match: When set to `all`, all the search requirements must match. When set to `any`,
313
-
only one of the search requirements has to match.
313
+
match: Defines the condition for search requirements. When set to `all`, all the search
314
+
requirements must match. When set to `any`, only one of the search requirements
315
+
has to match.
314
316
315
-
mode: The state of the rules contained in the rule group. When `on`, the rules in the
316
-
group are configurable/usable.
317
+
mode: Defines the state of the rules contained in the rule group. When `on`, the rules
318
+
in the group are configurable/usable.
317
319
318
-
name: The name of the rule group.
320
+
name: Defines the name of the rule group.
319
321
320
-
order: The field used to sort returned rule groups.
322
+
order: Defines the field used to sort returned rule groups.
321
323
322
-
page: The page number of paginated results.
324
+
page: Defines the page number of paginated results.
323
325
324
-
per_page: The number of rule groups per page.
326
+
per_page: Defines the number of rule groups per page.
325
327
326
-
rules_count: The number of rules in the current rule group.
328
+
rules_count: Defines the number of rules in the current rule group.
327
329
328
330
extra_headers: Send extra headers
329
331
@@ -385,14 +387,14 @@ async def edit(
385
387
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
386
388
387
389
Args:
388
-
zone_id: Identifier
390
+
zone_id: Defines an identifier of a schema.
389
391
390
-
package_id: The unique identifier of a WAF package.
392
+
package_id: Defines the unique identifier of a WAF package.
391
393
392
-
group_id: The unique identifier of a WAF package.
394
+
group_id: Defines the unique identifier of a WAF package.
393
395
394
-
mode: The state of the rules contained in the rule group. When `on`, the rules in the
395
-
group are configurable/usable.
396
+
mode: Defines the state of the rules contained in the rule group. When `on`, the rules
397
+
in the group are configurable/usable.
396
398
397
399
extra_headers: Send extra headers
398
400
@@ -446,11 +448,11 @@ async def get(
446
448
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
447
449
448
450
Args:
449
-
zone_id: Identifier
451
+
zone_id: Defines an identifier of a schema.
450
452
451
-
package_id: The unique identifier of a WAF package.
453
+
package_id: Defines the unique identifier of a WAF package.
452
454
453
-
group_id: The unique identifier of a WAF package.
455
+
group_id: Defines the unique identifier of a WAF package.
Copy file name to clipboardExpand all lines: src/cloudflare/resources/firewall/waf/packages/rules.py
+42-40
Original file line number
Diff line number
Diff line change
@@ -76,28 +76,29 @@ def list(
76
76
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
77
77
78
78
Args:
79
-
zone_id: Identifier
79
+
zone_id: Defines an identifier of a schema.
80
80
81
-
package_id: The unique identifier of a WAF package.
81
+
package_id: Defines the unique identifier of a WAF package.
82
82
83
-
description: The public description of the WAF rule.
83
+
description: Defines the public description of the WAF rule.
84
84
85
-
direction: The direction used to sort returned rules.
85
+
direction: Defines the direction used to sort returned rules.
86
86
87
-
group_id: The unique identifier of the rule group.
87
+
group_id: Defines the unique identifier of the rule group.
88
88
89
-
match: When set to `all`, all the search requirements must match. When set to `any`,
90
-
only one of the search requirements has to match.
89
+
match: Defines the search requirements. When set to `all`, all the search requirements
90
+
must match. When set to `any`, only one of the search requirements has to match.
91
91
92
-
mode: The action/mode a rule has been overridden to perform.
92
+
mode: Defines the action/mode a rule has been overridden to perform.
93
93
94
-
order: The field used to sort returned rules.
94
+
order: Defines the field used to sort returned rules.
95
95
96
-
page: The page number of paginated results.
96
+
page: Defines the page number of paginated results.
97
97
98
-
per_page: The number of rules per page.
98
+
per_page: Defines the number of rules per page.
99
99
100
-
priority: The order in which the individual WAF rule is executed within its rule group.
100
+
priority: Defines the order in which the individual WAF rule is executed within its rule
101
+
group.
101
102
102
103
extra_headers: Send extra headers
103
104
@@ -159,14 +160,14 @@ def edit(
159
160
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
160
161
161
162
Args:
162
-
zone_id: Identifier
163
+
zone_id: Defines an identifier of a schema.
163
164
164
-
package_id: The unique identifier of a WAF package.
165
+
package_id: Defines the unique identifier of a WAF package.
165
166
166
-
rule_id: The unique identifier of a WAF package.
167
+
rule_id: Defines the unique identifier of a WAF package.
167
168
168
-
mode: The mode/action of the rule when triggered. You must use a value from the
169
-
`allowed_modes` array of the current rule.
169
+
mode: Defines the mode/action of the rule when triggered. You must use a value from
170
+
the `allowed_modes` array of the current rule.
170
171
171
172
extra_headers: Send extra headers
172
173
@@ -220,11 +221,11 @@ def get(
220
221
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
221
222
222
223
Args:
223
-
zone_id: Identifier
224
+
zone_id: Defines an identifier of a schema.
224
225
225
-
package_id: The unique identifier of a WAF package.
226
+
package_id: Defines the unique identifier of a WAF package.
226
227
227
-
rule_id: The unique identifier of a WAF package.
228
+
rule_id: Defines the unique identifier of a WAF package.
228
229
229
230
extra_headers: Send extra headers
230
231
@@ -306,28 +307,29 @@ def list(
306
307
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
307
308
308
309
Args:
309
-
zone_id: Identifier
310
+
zone_id: Defines an identifier of a schema.
310
311
311
-
package_id: The unique identifier of a WAF package.
312
+
package_id: Defines the unique identifier of a WAF package.
312
313
313
-
description: The public description of the WAF rule.
314
+
description: Defines the public description of the WAF rule.
314
315
315
-
direction: The direction used to sort returned rules.
316
+
direction: Defines the direction used to sort returned rules.
316
317
317
-
group_id: The unique identifier of the rule group.
318
+
group_id: Defines the unique identifier of the rule group.
318
319
319
-
match: When set to `all`, all the search requirements must match. When set to `any`,
320
-
only one of the search requirements has to match.
320
+
match: Defines the search requirements. When set to `all`, all the search requirements
321
+
must match. When set to `any`, only one of the search requirements has to match.
321
322
322
-
mode: The action/mode a rule has been overridden to perform.
323
+
mode: Defines the action/mode a rule has been overridden to perform.
323
324
324
-
order: The field used to sort returned rules.
325
+
order: Defines the field used to sort returned rules.
325
326
326
-
page: The page number of paginated results.
327
+
page: Defines the page number of paginated results.
327
328
328
-
per_page: The number of rules per page.
329
+
per_page: Defines the number of rules per page.
329
330
330
-
priority: The order in which the individual WAF rule is executed within its rule group.
331
+
priority: Defines the order in which the individual WAF rule is executed within its rule
332
+
group.
331
333
332
334
extra_headers: Send extra headers
333
335
@@ -389,14 +391,14 @@ async def edit(
389
391
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
390
392
391
393
Args:
392
-
zone_id: Identifier
394
+
zone_id: Defines an identifier of a schema.
393
395
394
-
package_id: The unique identifier of a WAF package.
396
+
package_id: Defines the unique identifier of a WAF package.
395
397
396
-
rule_id: The unique identifier of a WAF package.
398
+
rule_id: Defines the unique identifier of a WAF package.
397
399
398
-
mode: The mode/action of the rule when triggered. You must use a value from the
399
-
`allowed_modes` array of the current rule.
400
+
mode: Defines the mode/action of the rule when triggered. You must use a value from
401
+
the `allowed_modes` array of the current rule.
400
402
401
403
extra_headers: Send extra headers
402
404
@@ -450,11 +452,11 @@ async def get(
450
452
[previous version of WAF managed rules](https://developers.cloudflare.com/support/firewall/managed-rules-web-application-firewall-waf/understanding-waf-managed-rules-web-application-firewall/).
451
453
452
454
Args:
453
-
zone_id: Identifier
455
+
zone_id: Defines an identifier of a schema.
454
456
455
-
package_id: The unique identifier of a WAF package.
457
+
package_id: Defines the unique identifier of a WAF package.
456
458
457
-
rule_id: The unique identifier of a WAF package.
459
+
rule_id: Defines the unique identifier of a WAF package.
0 commit comments