[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Trigger System Upgrade

Description

This API is used to check upgrades or upgrade the system.

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/system-upgrade
Copy

Request Body

Request Body

LcmUpgradeRequestDTO of type(s) application/json Required

lcmUpgradeRequestDTO

{
	"actionType": "upgrade",
	"repositoryPassword": "string",
	"repositoryType": "url",
	"repositoryUrl": "<LCM build web URL upto /Update_Repo>",
	"repositoryUserName": "string"
}
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

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK returns LcmUpgradeResponseDTO of type(s) application/json
{
	"upgradeResponse": "<Upgrade result text>"
}
string
upgradeResponse Optional

Upgrade response

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"actionType":"upgrade","repositoryPassword":"string","repositoryType":"url","repositoryUrl":"<LCM build web URL upto /Update_Repo>","repositoryUserName":"string"}' https://localhost:8080/lcm/lcops/api/v2/system-upgrade


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Feedback

Was this page helpful?