'Helper for create backing methods.'

def _create_backing_int(self, folder, resource_pool, host, create_spec):

    LOG.debug('Creating    volume    backing    with    spec:    %s.', create_spec)
    task = self._session.invoke_api(self._session.vim, 'CreateVM_Task', folder, config=create_spec, pool=resource_pool, host=host)
    task_info = self._session.wait_for_task(task)
    backing = task_info.result
    LOG.info('Successfully    created    volume    backing:    %s.', backing)
    return backing
