Get Upgrade
Get the UpgradeSpec parameters used to configure the ongoing appliance upgrade.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
UpgradeSpec parameters being used to configure appliance upgrade.
{
"auto_answer": false,
"history": {
"data_set": "EVENTS_TASKS",
"defer_import": false
},
"psc": {
"ceip_enabled": false
},
"source_appliance": {
"hostname": "string",
"https_port": 0,
"root_password": "string",
"ssh_thumbprint": "string",
"ssh_verify": false,
"ssl_thumbprint": "string",
"ssl_verify": false,
"sso_admin_password": "string",
"sso_admin_username": "string"
},
"source_location": {
"hostname": "string",
"https_port": 0,
"password": "string",
"ssl_thumbprint": "string",
"ssl_verify": false,
"username": "string"
},
"vcsa_embedded": {
"ceip_enabled": false
}
}
Use the default option for any questions that may come up during appliance configuration. If unset, will default to false.
Determines how vCenter history will be migrated during the upgrade process. vCenter history consists of: - Statistics - Events - Tasks By default only core data will be migrated. Use this spec to define which part of vCenter history data will be migrated and when. If unset, only core database content will be migrated.
Information that are specific to this Platform Services Controller. If unset, ceip_enabled for psc upgrade will default to enabled.
Information that are specific to this embedded vCenter Server. If unset, ceip_enabled for embedded vcenter server upgrade will default to enabled.
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : if appliance is not in UPGRADE_PROGRESS state.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/vcenter/deployment/upgrade
x-vmw-doc-operation: get