getWindowsUpdateStatus


SoftLayer_Account::getWindowsUpdateStatus

Retrieve a list of an account’s hardware’s Windows Update status.

Description

Retrieve a list of an account’s hardware’s Windows Update status. This list includes which servers have available updates, which servers require rebooting due to updates, which servers have failed retrieving updates, and which servers have failed to communicate with the SoftLayer private Windows Software Update Services server.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

Error Handling

  • Exception Throw the exception “No servers found for this user.” if the user making the API call does not have access to any of their account’s hardware.
  • Exception Throw the exception “No Windows-based servers found for this user.” if the user making the API call does not have access to hardware that runs the Microsoft Windows operating system.
  • Exception Throw the exception “Filed to get a response from {address}.” if the API is unable to contact the rrivate WSUS servers.

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getWindowsUpdateStatus'