[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Trigger System Upgrade
DescriptionThis API is used to check upgrades or upgrade the system.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/system-upgrade
Request Body
Request Body
{
"actionType": "upgrade",
"repositoryType": "url",
"repositoryUrl": "<LCM build web URL upto /Update_Repo>"
}
string
actionType
Optional
Action Type
string
repositoryPassword
Optional
Repository password
string
repositoryType
Optional
Repository Type
string
repositoryUrl
Optional
Repository url
string
repositoryUserName
Optional
Repository Username
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
LcmUpgradeResponseDTO
of type(s) application/json
{
"upgradeResponse": "<Upgrade result text>"
}
string
upgradeResponse
Optional
Upgrade response
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"actionType":"upgrade","repositoryType":"url","repositoryUrl":"<LCM build web URL upto /Update_Repo>"}' https://localhost:8080/lcm/lcops/api/v2/system-upgrade
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager