PUT Upgrades Version Eula
Accepts or declines the End User License Agreement (EULA) of a product
upgrade. Continues the upgrade process if accepted is true, or
cancels it otherwise. This request is expected when the upgrade status
is "Pending".
The Operations for Logs version of the upgrade
{
"accepted": true
}
Successfully accepted or declined the EULA. Returns the upgrade status of the cluster.
{
"status": {
"started": "1471285414207",
"finished": "0",
"version": "4.0.0-1234567",
"pakFileName": "VMware-vRealize-Log-Insight-4.0.0-1234567.pak",
"nodeStatuses": [
{
"status": "Upgrading",
"token": "27bcbafc-b99d-4609-9fab-4f3ad937fe5e",
"timestamp": 1498657510765,
"timestampString": "2017-06-28 17:45:10.765 GMT+04:00"
}
],
"pakFileUrl": "http://vmware.com/downloads/VMware-vRealize-Log-Insight-4.0.0.pak",
"eulaAccepted": true,
"masterToken": "27bcbafc-b99d-4609-9fab-4f3ad937fe5e",
"clusterStatus": "Upgrading"
}
}
The request was refused because it lacks valid authentication
credentials. This can happen if the Authorization header
was missing, or if it contained an invalid session ID.
Obtain a new session ID and retry the request,
or make an unauthenticated request without the Authorization header.
"Invalid session ID"
The request was refused because the session ID has
expired. Obtain a new session ID from /api/v1/sessions.
"Login Timeout"
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 PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v1/upgrades/{version}/eula