docs: def vm_reconfig_task(vm, device_change):
          """
          Create Task for VM re-configure
          :param vm: <vim.vm obj> VM which will be re-configure
          :param device_change:
          :return: Task
          """
          config_spec = vim.vm.ConfigSpec(deviceChange=device_change)
          task = vm.ReconfigVM_Task(config_spec)
          return task