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:
|
UpdateSeverity | Enumerates the following levels of importance:
|
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.