|license:||MIT, see License for more details.|
Common functions for getting information from the Account service
Parameters: client (SoftLayer.API.BaseClient) – the client instance
Acknowledge an event. This mostly prevents it from appearing as a notification in the control portal.
Parameters: event_id (int) – Notification_Occurrence_Event ID you want to ack Returns: True on success, Exception otherwise.
Gets all topLevelBillingItems from a specific invoice
Parameters: identifier (int) – Invoice Id Returns: Billing_Invoice_Item
Gets details about a maintenance event
Parameters: event_id (int) – Notification_Occurrence_Event ID Returns: Notification_Occurrence_Event
get_invoices(limit=50, closed=False, get_all=False)¶
Gets an accounts invoices.
- limit (int) – Number of invoices to get back in a single call.
- closed (bool) – If True, will also get CLOSED invoices
- get_all (bool) – If True, will paginate through invoices until all have been retrieved.
Gets some basic account information
Returns: Account object
Retreives a list of Notification_Occurrence_Events that have not ended yet
Takes a string and tries to resolve to a list of matching ids.
What exactly ‘identifier’ can be depends on the resolvers
Parameters: identifier (string) – identifying string Returns list: