Hey
@rich-whale-93740 in addition to PSP, you might also want to take a look at the automation api which should cover your listed needs:
https://www.pulumi.com/docs/esc/development/automation-api/
I'm curious to learn more about your specific use case for these automations, and please don't hesitate on share any feedback you'll find in the middle