SoftLayer Hardware Server::getWindowsUpdateStatus

From SoftLayer Development Network Wiki

Jump to: navigation, search

getWindowsUpdateStatus is a member of the SoftLayer_Hardware_Server service.

Contents

Overview

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.

User Access

Users wishing to execute getWindowsUpdateStatus must have the following permissions assigned to their account:

  • View Hardware Details

Return Type

getWindowsUpdateStatus returns the SoftLayer_Container_Utility_Microsoft_Windows_UpdateServices_Status data type.

Headers

Required Headers

getWindowsUpdateStatus requires the following headers set:

Optional Headers

getWindowsUpdateStatus takes the following optional headers:

Error Handling

getWindowsUpdateStatus throws the following exceptions:

  • SoftLayer_Exception
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.

External Links

Personal tools