The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

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

API to get the terminated nodes in Rightscale

johny2908
By
Level 2

IS there any way where we can fetch the terminated node information from flexera cmp rightscale API's

(1) Reply

douglaswth
By
Flexera Alumni

It's been a long time since I've dealt with this, but the instances index (which is available for raw instances and Server/ServerArray instances) will show terminated instances:

https://reference.rightscale.com/api1.5/resources/ResourceInstances.html#index

There is even a filter available for state which you could use to only show terminated or stopped instances when you query.

However, I also remember that, depending on the cloud, terminated instances may not show up for very long within the platform, so if you need the data you should probably get it quickly.

I hope that helps!