SoftLayer Account::getWindowsUpdateStatus

From SoftLayer Development Network Wiki

Jump to: navigation, search

getWindowsUpdateStatus is a member of the SoftLayer_Account service.

Contents

Overview

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.

Return Type

getWindowsUpdateStatus returns the SoftLayer_Container_Utility_Microsoft_Windows_UpdateServices_StatusArray data type.

Headers

Required Headers

getWindowsUpdateStatus requires the following headers:

Optional Headers

getWindowsUpdateStatus may use the following headers:

Error Handling

getWindowsUpdateStatus throws the following exceptions:

  • SoftLayer
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.
  • SoftLayer
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.
  • SoftLayer
Exception Throw the exception "Filed to get a response from {address}." if the API is unable to contact the rrivate WSUS servers.

Associated Methods

Personal tools