Cancel Import HistoryDescription
Cancels the task for importing vCenter historical data.
Required session ID, acquired from Create Session API under CIS product
com.vmware.vapi.std.errors.not_allowed_in_current_state : if vCenter historical data import task cannot be canceled at this state. This can happen in the following cases: - If historical data import has not been started yet because a not running task cannot be canceled - If historical data import has already been completed because a completed task cannot be canceled | com.vmware.vapi.std.errors.already_in_desired_state : if vCenter historical data import task is already canceled.
com.vmware.vapi.std.errors.unauthenticated : if the caller is not authenticated.
com.vmware.vapi.std.errors.unauthorized : if the caller is not authorized to perform the operation.
com.vmware.vapi.std.errors.error : Generic error.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
PowerCLI Client SDK Example