You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when using the SDK to list the available compute images in a given VPC region you get back a list of both available and deprecated images. While I can add the visibility option to only return Public or Private it would be handy to also have an argument for the status of images.
main ✗ $ python3 testing/get-ubuntu-images.py
available
available
available
available
available
available
available
available
deprecated
available
available
available
available
available
available
available
available
available
available
available
available
available
available
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
deprecated
Given that the API only returns a limit of 100 images per call, it is on the end user to loop through all of the images using pagination and then filter based on status. Allowing something like this would make it easier to just deal with images that can actually be deployed:
Currently when using the SDK to list the available compute images in a given VPC region you get back a list of both available and deprecated images. While I can add the visibility option to only return Public or Private it would be handy to also have an argument for the status of images.
Code
Result
Given that the API only returns a limit of 100 images per call, it is on the end user to loop through all of the images using pagination and then filter based on status. Allowing something like this would make it easier to just deal with images that can actually be deployed:
The text was updated successfully, but these errors were encountered: