REST API - create-task

vcenter lcm update precheck report: create-task

Creates a vCenter Server pre-update compatibility check report for the pending update version. The report can be exported and downloaded in CSV format.

The result of this operation can be queried by calling the get operation where task is the response of this operation.

Request:

HTTP request

POST https://{server}/api/vcenter/lcm/update/pending/{version}/precheck-report

?vmw-task=true

Path Parameters

Name Type Description
Required
version string Pending update version for which pre-update compatibility check will be executed.

Response:

HTTP Status Code: 202

Response Body Structure:

"obj-103"

Headers:

None

Type:

Name Type Description
bold = required
- string The precheck report, which contains a link to download the CSV report as well.

Errors:

HTTP Status Code Type Description
401 unauthenticated if the user can not be authenticated.
404 not_found if there is no pending update assosiated with the version in the system.
400 not_allowed_in_current_state if a precheck is already in progress.
500 error if there is some unknown internal error. The accompanying error message will give more details about the error.