Hello,
I have read the documentation regarding operations and I am unsure how to be able to stop a running CloudApp after the provision is finished. If I want to permanently keep the resource then I seem to have to leave the CloudApp execution running forever. Is it possible to stop the job with the operations/handlers?
Thank you, Quentin
Jul 01, 2021 06:22 PM
Jul 04, 2021 07:30 PM
Hi Tim,
I see that I can define an API action to happen when 'stop' is hit (like stopping an azure vm like in the portal), but that still leaves the cloudapp running indefinitely in the list until Terminated. My concern with this is that the cloudapp cannot be deleted off the list in history until Terminated and it means that any all deployments are subject to being destroyed if in that list. Is there a way to have the stop button just kill the cloudapp job in the SS engine like when I run RSC to kill a job?
.\rsc.exe --retry=5 --timeout=60 --account=______ -F --refreshToken=$REFRESH_TOKEN --host=us-3.rightscale.com ss stop /api/manager/projects/______/executions/__________
Jul 05, 2021 08:15 PM