December 29, 2016


Get verbose details about a Virtual Guest
Retrieve the packages, categories and items associated with a Virtual Guest.

This script will get the Packages, Categories, and items associated with a Virtual Guest.


import SoftLayer
import pprint
from pprint import pprint as pp

client = SoftLayer.Client()

mask = "mask[id, fullyQualifiedDomainName, billingItem[id, item[id, description], category[name, id],children[id, item[id, description], category[name, id]]]]"

getDetails = client['SoftLayer_Virtual_Guest'].getObject(mask=mask,id=26961063)
pp(getDetails)


Feedback?

We would love to hear it
Open an issue

/python/getverbosevsidetails/