softlayer / softlayer.github.io

A collection of SoftLayer API examples in a variety of languages
https://softlayer.github.io
13 stars 21 forks source link

SoftLayer_Account::getVpcVirtualGuests returns a blank array #353

Closed jinzongna closed 1 month ago

jinzongna commented 1 month ago

https://sldn.softlayer.com/reference/services/SoftLayer_Account/getVpcVirtualGuests/ I can see VPC instance from IBM Cloud Portal, but use above API returns a blank array. A similar API getVirtualGuests works fine for me.

allmightyspiff commented 1 month ago

This API is actually for an older (and since deprecated) SoftLayer virtual private cloud offering, not for the Ibmcloud VPC.

I think you'll need to reference https://cloud.ibm.com/apidocs/vpc/latest for anything VPC related specifically. Hope this helps.