February 8, 2016

Find a billing item from a provisioned product
Determine the billing item of a provisioned product using getBillingItem

In the following example we are looking for the Billing Item of an Virtual Guest with an ID of 1234567.

import SoftLayer
from pprint import pprint as pp

client = SoftLayer.Client()
mask = "mask[id]"
billingId = client['SoftLayer_Virtual_Guest'].getBillingItem(mask=mask,id=1234567)


We would love to hear it
Open an issue