2015-12-08 77 views
0

如何列出所有公共圖像模板,如轉到「設備」 - >「管理」 - >「圖像」,然後選擇「公共圖像」,您將獲得列表的所有公共圖像模板?列出所有公共圖像模板

我可以看到,使用 「SoftLayer_Account」,有這些操作我能做到這一點是相關的:

getBlockDeviceTemplateGroups(); 
getPrivateBlockDeviceTemplateGroups(); 
getSharedBlockDeviceTemplateGroups(); 

和 「SoftLayer_Virtual_Guest_Block_Device_Template_Group」 提供

getPublicCustomerOwnedImages(); 

其中getPublicCustomerOwnedImages()給出了最接近我想要的, 除了它似乎排除由「SoftLayer Technologies,Inc.」創建的那些。

那麼哪個API會給我整個列表?

回答