Goroutines, Pagination and the SoftLayer API Feb 16, 2024
Describes some ways to implement concurrency in your golang applications when interacting with the SoftLayer API. A few examples and explanation of softlayer-go's features.
Managing Notification Occurrence Events services Jan 18, 2021
How to interact with the Notification Ocurrence Events services. The SoftLayer_Notification_Occurrence_Event service represents all events with potential to cause a disruption in service.
Execute Remote Script Sep 19, 2016
Example of running a remotely hosted script on a VM. Demonstrates usage of Id() to specify the object to act on, as well as how to pass parameters (script URL) to a service method
Get disk usage metrics for a time range Sep 19, 2016
Get the disk usage metrics for the most recent 24 hours. Also demonstrates how to pass datetime values to the API
Handle API errors Sep 19, 2016
This example shows how to handle specific errors (e.g., 404) by type-asserting the returned error and inspecting its fields.
Look up an SSH key Sep 19, 2016
Look up information about an SSH key by its label. Demonstrates how to use the SDK's filter utility to apply an objectFilter to limit a result set