def METHOD_NAME(
    index: int,
    delete_start_time: Optional[float] = None,
    delete_end_time: Optional[float] = None) -> mock.Mock:
  """Creates a mock vm with a provided delete_start_time and delete_end_time.
  Args:
    index: an integer which specifies index of vm in the list of vms.
    delete_start_time: mock timestamp indicating the start of the VM delete
      process. May be passed in as None to test MeasureDelete logic.
    delete_end_time: mock timestamp indicating the end of the VM delete process.
      May be passed in as None to test MeasureDelete logic.
  Returns:
    A mock vm.
  """
  return mock.Mock(
      delete_start_time=delete_start_time,
      delete_end_time=delete_end_time,
      OS_TYPE=f'linux{index}')