pmg_ruledb_rule_when_list
List the 'when' conditions attached to a PMG RuleDB rule by providing its rule ID.
Instructions
READ-ONLY: list the 'when' objects attached to a PMG RuleDB rule. Needs PROXIMO_PMG_* config.
Returns a list of object dicts. id_: rule ID (e.g. '100') from pmg_ruledb_rules_list. Use pmg_ruledb_rule_what_list for the 'what' side, and the from/to/actions counterparts for the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_ | Yes | RuleDB rule ID (positive integer string, e.g. '100'). | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |