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

Trigger System Upgrade Precheck

Description

This API is used to prevalidate system upgrades.

Request

Request

URL

URL


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

Request Body

Request Body

LcmUpgradeRequestDTO of type(s) application/json Required

lcmUpgradeRequestDTO

{
    "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

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


201 Created

Created

Errors

Errors

GenericErrorResponseDTO
400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

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/prevalidate


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

Was this page helpful?