pool_push_image
Apply a pending image to an instant-clone pool after reviewing the blast radius. Shows affected desktops and in-session counts, then schedules the push upon confirmation.
Instructions
[WRITE] Apply the pending image to an instant-clone pool — RECREATES EVERY DESKTOP in it.
Highest blast radius in the family: the preview states affected-desktop and in-session counts before you confirm, plus blast_radius.occupancy — "determined" when those counts can be believed, "unknown" when sessions exist that cannot be attributed to any pool or farm. confirm=True schedules the apply. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True schedules the push. | |
| pool_id | Yes | The pool id (from pool_list). | |
| logoff_policy | No | WAIT_FOR_LOGOFF (default) or FORCE_LOGOFF. | WAIT_FOR_LOGOFF |
| stop_on_error | No | Halt the rolling push on the first machine error (default True). | |
| acknowledge_unknown_occupancy | No | Only consulted when the preview reports blast_radius.occupancy == "unknown", where in_session_count is a lower bound rather than a count and confirm=True is refused. Setting it True pushes on an unverified occupancy — check session_list first; the acknowledgement is recorded in the audit row. Ignored when occupancy is "determined". |