InstallUpdate

This method installs the update. It returns a task object used for monitoring the operation. CheckForUpdates must be called before this operation. This stops all the services to update them.

Synopsis

ConfigurationTask installUpdate(@optional UpdateInfo info)

info parameter is a UpdateInfo object that contains information for the update that should be installed. If null, installs the latest update.

ConfigurationTask is a managed object that provides operations to configure SRM server. For more information, see Configuration Task.

UpdateInfo contains the appliance update repository information. It has the following fields:
Field Description
UpdateType Enumerates the following update types:
  • FEATURE - Update contains a new feature.
  • SECURITY - Update contains security fixes.
  • FIX - Update contains other fixes.
  • MULTIPLE - Update contains multiple types of modifications.
UpdateSeverity Enumerates the following levels of importance:
  • MODERATE - Update is moderate.
  • IMPORTANT- update is important.
  • CRITICAL - Update is critical.
version Update version string.
type Update type. Value must be one of UpdateType enums.
releaseDate Release date.
rebootRequired Reboot required.
severity Severity. Value must be one of UpdateSeverity enums.
summary Update summary.
eula End-user license agreement.

Faults

  • UpdateNotAvailableFault
  • InvalidArgument
  • RuntimeFault

For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.