pmg_ruledb_rule_to_list
Retrieve a list of 'to' objects attached to a PMG RuleDB rule. Provide the rule ID to get the associated 'to' objects.
Instructions
READ-ONLY: list the 'to' 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_from_list for the 'from' side, and the what/when/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 |