POST Upgrades
Starts the process of upgrading VMware Aria Operations for Logs to a new version. This request uploads a PAK file containing the new version,
and sets the upgrade status to "Pending". PAK file URL should be provided in JSON body. It's also possible to upload PAK
file directly as a binary data by setting 'Content-Type' header to 'application/octet-stream' and sending PAK file as a body.
It returns the new End User License Agreement (EULA) and upgrade version. To continue with the upgrade, send a
PUT /upgrades/{version}/eula
with eulaAccepted
set to true.
Troubleshooting Tips
Refer to "/storage/var/loginsight/upgrade.log" for additional information on upgrade failure.
{
"pakUrl": "https://vmware.com/downloads/VMware-vRealize-Log-Insight-4.0.0.pak"
}
The upgrade was started successfully.
{
"eula": "VMware Agreement text",
"version": "4.0.0-1234567"
}
The request failed because the request body either did not contain valid JSON, or did not match the required JSON format.
{
"errorMessage": "Invalid request body.",
"errorCode": "JSON_FORMAT_ERROR",
"errorDetails": {
"reason": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
Internal error while processing the client request
{
"errorMessage": "The operation failed due to an internal error."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v2/upgrades