Retrieve a list of Windows updates available to a server.
Description
Retrieve a list of Windows updates available for a server from the local SoftLayer Windows Server Update Services (WSUS) server. Windows servers provisioned by SoftLayer are configured to use the local WSUS server via the private network by default.
Parameters
None
Required Headers
Optional Headers
Return Values
Error Handling
- Throw the exception “This server does not run the Microsoft Windows operating system” when trying to run this method on a server that doesn’t run Microsoft Windows.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule750/{SoftLayer_Hardware_SecurityModule750ID}/getWindowsUpdateAvailableUpdates'