我无法使用软层 Rest API 获取 VirtualGuests 位置名称
I can't get the VirtualGuests location name using softlayer Rest API
我无法使用此 URL 获取位置 longName(巴黎、阿姆斯特丹...)
https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,domain,primaryIpAddress,primaryBackendIpAddress,location[id,name,longName]]
目前控制门户使用关系 属性 数据中心 而不是位置来检索您需要的信息,试试这个请求:
https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,domain,primaryIpAddress,primaryBackendIpAddress,datacenter[id,name,longName]]
我无法使用此 URL 获取位置 longName(巴黎、阿姆斯特丹...) https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,domain,primaryIpAddress,primaryBackendIpAddress,location[id,name,longName]]
目前控制门户使用关系 属性 数据中心 而不是位置来检索您需要的信息,试试这个请求:
https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,domain,primaryIpAddress,primaryBackendIpAddress,datacenter[id,name,longName]]