|
1 | 1 | --- |
2 | | -inputParameters: rulesName;;phaseName |
3 | | - |
| 2 | +params: |
| 3 | + - rulesType |
| 4 | + - phaseName |
4 | 5 | --- |
5 | 6 |
|
| 7 | +import { Markdown } from "~/components"; |
6 | 8 |
|
| 9 | +| Task | Procedure | |
| 10 | +| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 11 | +| List all rules in ruleset | <p>Use the [Get a zone entry point ruleset](/api/operations/getZoneEntrypointRuleset) operation with the <code>{props.phaseName}</code> phase name to obtain the list of configured {props.rulesType} and their IDs.</p><p>For more information, refer to [View a specific ruleset](/ruleset-engine/rulesets-api/view/#view-a-specific-ruleset).</p> | |
| 12 | +| Update a rule | <p>Use the [Update a zone ruleset rule](/api/operations/updateZoneRulesetRule) operation.</p><p>You will need to provide the ruleset ID and the rule ID. To obtain these IDs, you can use the [Get a zone entry point ruleset](/api/operations/getZoneEntrypointRuleset) operation with the <code>{props.phaseName}</code> phase name.</p><p>For more information, refer to [Update a rule in a ruleset](/ruleset-engine/rulesets-api/update-rule/).</p> | |
| 13 | +| Delete a rule | <p>Use the [Delete a zone ruleset rule](/api/operations/deleteZoneRulesetRule) operation.</p><p>You will need to provide the ruleset ID and the rule ID. To obtain these IDs, you can use the [Get a zone entry point ruleset](/api/operations/getZoneEntrypointRuleset) operation with the <code>{props.phaseName}</code> phase name.</p><p>For more information, refer to [Delete a rule in a ruleset](/ruleset-engine/rulesets-api/delete-rule/).</p> | |
7 | 14 |
|
8 | | -import { Markdown } from "~/components" |
9 | | - |
10 | | -| Task | Procedure | |
11 | | -| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
12 | | -| List all rules in ruleset | <p>Use the [Get a zone entry point ruleset](/api/operations/getZoneEntrypointRuleset) operation with the <code>{props.two}</code> phase name to obtain the list of configured {props.one} and their IDs.</p><p>For more information, refer to [View a specific ruleset](/ruleset-engine/rulesets-api/view/#view-a-specific-ruleset).</p> | |
13 | | -| Update a rule | <p>Use the [Update a zone ruleset rule](/api/operations/updateZoneRulesetRule) operation.</p><p>You will need to provide the ruleset ID and the rule ID. To obtain these IDs, you can use the [Get a zone entry point ruleset](/api/operations/getZoneEntrypointRuleset) operation with the <code>{props.two}</code> phase name.</p><p>For more information, refer to [Update a rule in a ruleset](/ruleset-engine/rulesets-api/update-rule/).</p> | |
14 | | -| Delete a rule | <p>Use the [Delete a zone ruleset rule](/api/operations/deleteZoneRulesetRule) operation.</p><p>You will need to provide the ruleset ID and the rule ID. To obtain these IDs, you can use the [Get a zone entry point ruleset](/api/operations/getZoneEntrypointRuleset) operation with the <code>{props.two}</code> phase name.</p><p>For more information, refer to [Delete a rule in a ruleset](/ruleset-engine/rulesets-api/delete-rule/).</p> | |
15 | | - |
16 | | - |
17 | | - |
18 | | -These operations are covered in the Ruleset Engine documentation. The Ruleset Engine powers different Cloudflare products, including {props.one}. |
| 15 | +These operations are covered in the Ruleset Engine documentation. The Ruleset Engine powers different Cloudflare products, including {props.rulesType}. |
0 commit comments