1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
.. _int: https://docs.python.org/2/library/stdtypes.html
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _object: https://docs.python.org/2/library/stdtypes.html
.. _vim.Task: ../../vim/Task.rst
.. _datetime: https://docs.python.org/2/library/stdtypes.html
.. _taskObject: ../../vim/scheduler/ScheduledTaskInfo.rst#taskObject
.. _vim.ManagedEntity: ../../vim/ManagedEntity.rst
.. _vim.TaskInfo.State: ../../vim/TaskInfo/State.rst
.. _vmodl.ManagedObject: ../../vim.ExtensibleManagedObject.rst
.. _vmodl.LocalizedMethodFault: ../../vmodl/LocalizedMethodFault.rst
.. _vim.scheduler.ScheduledTask: ../../vim/scheduler/ScheduledTask.rst
.. _vim.scheduler.ScheduledTaskSpec: ../../vim/scheduler/ScheduledTaskSpec.rst
vim.scheduler.ScheduledTaskInfo
===============================
The scheduled task details.
:extends: vim.scheduler.ScheduledTaskSpec_
Attributes:
scheduledTask (`vim.scheduler.ScheduledTask`_):
Scheduled task object.
entity (`vim.ManagedEntity`_):
The entity on which related events will be logged. If the task is scheduled on a ManagedEntity, this field will also reflect the same ManagedEntity. If task is scheduled on a ManagedObject, this field will have information about the entity on which the events will be logged on behalf of the ManagedObject. ManagedObject itself will be denoted by `taskObject`_
lastModifiedTime (`datetime`_):
The time the scheduled task is created or modified.
lastModifiedUser (`str`_):
Last user that modified the scheduled task.
nextRunTime (`datetime`_, optional):
The next time the scheduled task will run.
prevRunTime (`datetime`_, optional):
The last time the scheduled task ran.
state (`vim.TaskInfo.State`_):
Scheduled task state.
error (`vmodl.LocalizedMethodFault`_, optional):
The fault code when the scheduled task state is "error".
result (`object`_, optional):
The operation result when the scheduled task state is "success".
progress (`int`_, optional):
The task progress when the scheduled task state is "running".
activeTask (`vim.Task`_, optional):
The running task instance when the scheduled task state is "running".
taskObject (`vmodl.ManagedObject`_):
The object on which the scheduled task is defined. This field will have information about either the ManagedEntity or the ManagedObject on which the scheduled task is defined.
|