getWindowsUpdateStatus


SoftLayer_Hardware_SecurityModule::getWindowsUpdateStatus

Retrieve a server’s Windows update synchronization status

Description

This method returns an update status record for this server. That record will specify if the server is missing updates, or has updates that must be reinstalled or require a reboot to go into affect.

Parameters

None

Required Headers

Optional Headers

  • None

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_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/getWindowsUpdateStatus'