Hello Nutanix Community,
I am developing a self-service runbook (python scripts) in Prism Central to implement a time-based GPU billing model, allowing administrators to attach a GPU to a VM for a specific duration.
The Core Question
Is there a supported or known method (API-driven or otherwise) to dynamically populate a Runbook Input Variable (specifically a List of Values/Dropdown) at runtime, based on a query to the Prism API?
For example:
-
Could a pre-run script execute a
gpus/listquery to determine availablevGPU profilesand format that output to populate the options list for thegpu_profile_selectionvariable before the form is presented to the user?

