pbs_tape_changer_update
Update a Proxmox PBS tape changer configuration safely with dry-run planning and digest-based consistency checks.
Instructions
MUTATION: update a PBS tape changer config.
RISK_MEDIUM: repoints 'name' at (potentially) different physical hardware — a scheduled tape job using an associated drive next targets whatever changer the new config names. Dry-run by default (captures current config into the PLAN); confirm=True executes (PUT /config/changer/{name}, synchronous — PBS returns null) and returns {"status": "ok", "result": None}. No snapshot primitive; re-apply the captured config to revert. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the existing tape changer to update. | |
| path | No | New device path, e.g. '/dev/sg4'. | |
| delete | No | Property names to clear: 'export-slots' and/or 'eject-before-unload'. | |
| digest | No | Optimistic-lock: 64-char lowercase hex SHA-256 of the config PBS last returned. If set and stale, PBS rejects the update. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the update. | |
| export_slots | No | Comma-separated slot numbers reserved for Import/Export. | |
| 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. | |
| eject_before_unload | No | If True, tapes are ejected manually before unloading. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |