pmg_action_notification_create
Create a notification action rule for PMG to send email alerts. Use dry-run to plan changes before confirming.
Instructions
MUTATION (LOW): create a notification action object in the PMG RuleDB. Dry-run by default.
List existing action objects with pmg_action_objects_list; attach this one to a rule with pmg_ruledb_rule_action_attach. Needs PROXIMO_PMG_* config. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Notification recipient email address. | |
| info | No | Optional free-text description. | |
| name | Yes | Name for the new notification action object. | |
| attach | No | If True, attach the original message to the notification. | |
| confirm | No | False (default) returns a dry-run PLAN; True executes the mutation. | |
| subject | Yes | Notification email subject line. | |
| body_text | Yes | Notification email body text; maps to API param 'body'. | |
| 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 |