pmg_when_group_create
Create a RuleDB 'when' group in PMG. Dry-run by default; set confirm=True to execute. Define name, optional description, AND/OR logic, and inversion.
Instructions
MUTATION (LOW): create a PMG RuleDB 'when' object group. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: POST /config/ruledb/when. name: group name. info: optional description. and_: maps to API param 'and' (bool; AND vs OR logic for group members). invert: if True, the group match is inverted. Returns the numeric ogroup ID assigned by PMG on confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| and_ | No | ||
| info | No | ||
| name | Yes | ||
| invert | No | ||
| confirm | No | ||
| 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 |