Start Import History
DescriptionCreates and starts task for importing vCenter historical data.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
An optional ImportHistory.CreateSpec info that can be passed for creating a new historical data import task and starts it. If unset, default value will be: - name : vcenter.deployment.history.import - description : vCenter Server history import
{
"description": "string",
"name": "string"
}
Description of the vCenter history import task.
Name of the vCenter history import task
Authentication
Errors
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : if vCenter historical data import task cannot be started at this time. This can happen in the following cases: - If historical data import has already been canceled because a canceled task cannot be re-started - If historical data import has already been completed because a completed task cannot be re-started - If historical data import has already been paused because a paused task can only be resumed or canceled | com.vmware.vapi.std.errors.already_in_desired_state : if vCenter historical data import task has already being started.
com.vmware.vapi.std.errors.unauthorized : if the caller is not authorized to perform the operation.
‘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: post
x-vmw-doc-deprecated-path: /rest/vcenter/deployment/history?action=start
x-vmw-doc-operation: start