简体   繁体   English

SoftLayer API:如何获取从裸机创建的列表虚拟机

[英]SoftLayer API : How to get list VM created from baremetal

I would like to get a list of VMs provisioned from baremetal servers rather than from Xen servers. 我想获得从裸机服务器而非Xen服务器配置的VM的列表。

The following api lists me VMs from Xen server and not from Baremetal, https://api.softlayer.com/rest/v3/SoftLayer_Account/getVirtualGuests 以下api列出了来自Xen服务器而不是来自Baremetal的VM, https: //api.softlayer.com/rest/v3/SoftLayer_Account/getVirtualGuests

I've never tried that and I am not sure if that is possible, but I think you may see this methods: 我从未尝试过,并且不确定是否可行,但是我认为您可能会看到以下方法:

Your bare metal server should have a virtual host you can get that virtual host using this: http://sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/getVirtualHost 您的裸机服务器应具有一个虚拟主机,您可以使用以下虚拟主机: http : //sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/getVirtualHost

If you do not get any virtual host you can try import it using this: http://sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/importVirtualHost 如果没有任何虚拟主机,则可以尝试使用以下虚拟主机导入: http : //sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/importVirtualHost

If you can get the virtual host you can use these method to manage the guests: http://sldn.softlayer.com/reference/services/SoftLayer_Virtual_Host 如果可以获取虚拟主机,则可以使用以下方法来管理访客: http : //sldn.softlayer.com/reference/services/SoftLayer_Virtual_Host

and this one is for list the guests http://sldn.softlayer.com/reference/services/SoftLayer_Virtual_Host/getGuests 这是用于列出来宾的http://sldn.softlayer.com/reference/services/SoftLayer_Virtual_Host/getGuests

Regards 问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SoftLayer API:如何在Softlayer中获取NetScaler列表 - SoftLayer API : How to get NetScaler list in Softlayer 如何通过Softlayer Rest API在IBM云中获取VM Flavors - How to get a VM Flavours in IBM cloud through Softlayer Rest API Softlayer API:如何获取操作系统价格表? - Softlayer API: How to get OS price list? (Softlayer API)如何从Softlayer的对象存储中获取端点? - (Softlayer api)How to get endpoints from object storage in softlayer? SoftLayer API如何从SoftLayer_Virtual_Guest和SoftLayer_Hardware获取上行链路端口速度值 - SoftLayer API How to get uplink port speed value from SoftLayer_Virtual_Guest and SoftLayer_Hardware Softlayer API:如何获取对象存储的有效使用价格列表? - Softlayer API : How to get list of active usage prices of object storage? SoftLayer API:如何获取questionId列表并回答itemCategoryQuestionAnswer对象中的值 - SoftLayer API: How to get list of questionId and answers values in itemCategoryQuestionAnswer object SoftLayer API:如何从图像模板获取blockDevice信息? - SoftLayer API: How to get the blockDevice information from a image template? softlayer API:获取操作系统版本列表? - softlayer API : Get OS version list? 如何使用SoftLayer API资源管理器在Softlayer票证中获取对话内容 - How to get conversation contents in Softlayer tickets using SoftLayer API explorer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM