Scheduled Task Get Info
Information about the current scheduled task.
The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ScheduledTask/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
OK
"ScheduledTaskInfo Object"
Scheduled task object.
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 ScheduledTaskInfo.taskObject
The time the scheduled task is created or modified.
Last user that modified the scheduled task.
The next time the scheduled task will run.
The last time the scheduled task ran.
Scheduled task state.
The fault code when the scheduled task state is "error".
The operation result when the scheduled task state is "success".
The task progress when the scheduled task state is "running".
The running task instance when the scheduled task state is "running".
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.
curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/ScheduledTask/{moId}/info