Some users may experience issues accessing the case portal. For more information, please click here.

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Possible to stop a CloudApp execution instead of terminating/deleting resources?


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?

operation "launch" do
  description "Launch the application"
  definition "launch_handler"

operation "terminate" do
  description "Terminate the application"
  definition "terminate_handler"

Thank you, Quentin

Labels (1)
0 Kudos

This thread has been automatically locked due to inactivity.

To continue the discussion, please start a new thread.

2 Replies
Level 8 Flexeran
Level 8 Flexeran

You can define a stop operation that will be used instead of terminate:
0 Kudos

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 ss stop /api/manager/projects/______/executions/__________

0 Kudos