How to find an ImageID for "Gold Master" image?

How do you determine what the image ID is for a "gold master" disk you've created? I created a gold master backup image using the dashboard I/F. I now would like to write a Python program that uses the Linode API's linode.disk.createfromimage() method to create a new configuration profile from my gold master. The problem is that this method requires an ImageID and I don't see how I can find out what it is either manually or via an API method. It looks like the only way you can get the image ID is to create your image using the linode.disk.imagize() method and then examine and write down the ImageID it returns. Is there some easier way to get the image ID?

By the way, I don't think you can use linode.disk.list(). It only shows me disks I've already created.

Thanks!

2 Replies

https://www.linode.com/api/image/image.list

  • Les

Les, thank you very much! I'm so used to looking at the six icons on the API homepage for "Linodes", "Node Balancers" and so forth that I didn't notice the "Image" link just below the header. Image is the only link that doesn't have a corresponding icon above the "Introduction." Often times I have a problem in that if something isn't where I expect it to be, then I just don't see it. Thanks again!!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct