-
Working with Event Logs
Going over Event Logs with some examples of what each might look like
-
Tickets
Examples of how to use and interact with tickets
-
Events
Going over Events with some examples of what each might look like
-
Get Virtual Console Virtual Guest
Retrieve the IP, username, and password needed to access the KVM console for a Virtual Guest.
-
Use IBMid to get SL api key
For accounts that use IBMid, this script can be used to pull down the SoftLayer API key directly.
-
Get verbose details about a Bare Metal Server
Retrieve the packages, categories and items associated with a Bare Metal Server.
-
Get verbose details about a Virtual Guest
Retrieve the packages, categories and items associated with a Virtual Guest.
-
Create Storage Snapshot
Initiate a manual snapshot of an Endurance or Performance Block storage volume.
-
Month-to-date cost of a Virtual_Guest
Determine the month-to-date cost of an hourly Virtual_Guest using getBillingItem and an objectMask
-
Get Hardware hostnames
Calls SoftLayer_Account::getObect() to retrieve some basic information about an account, and uses an objectMask to retrieve the hostname of all hardware on the account
-
Get hostnames
Calls SoftLayer_Account::getObject with an objectMask to pull in all the hostnames for both hardware and virtual servers. Uses the . and ; format for object Masks.
-
GetHardware with network components
Calls SoftLayer_Account::getHardware() with an objectMask to get some information about the networkComponents
-
Ordering with placeOrder
Example on how to call verifyOrder / placeOrder via REST. Replace the veryifyOrder call with placeOrder when you are actually ready to order the server
-
Create virtual server
Example of how to create a new virtual server (VSI) through a POST API operation
-
Get virtual server details
Example of how to retrieve the details of a virtual server through a GET API operation. The list of fields returned can be customized by adding or removing fields from the objectMask