johny2908
Level 2

API to get the terminated nodes in Rightscale

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

0 Kudos

This thread has been automatically locked due to inactivity.

To continue the discussion, please start a new thread.

1 Reply
douglaswth
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!

0 Kudos