Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 01, 2015 4:58 pm 
Offline
Junior Member

Joined: Thu Feb 06, 2014 6:26 pm
Posts: 25
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!


Top
   
PostPosted: Tue Sep 01, 2015 5:23 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
https://www.linode.com/api/image/image.list

- Les


Top
   
PostPosted: Tue Sep 01, 2015 7:58 pm 
Offline
Junior Member

Joined: Thu Feb 06, 2014 6:26 pm
Posts: 25
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!!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group