HP BL680c XenEnterprise Management API - Page 26
Class: task
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 26 highlights
2.5. CLASS: TASK CHAPTER 2. API REFERENCE 2.5 Class: task 2.5.1 Fields for class: task Name Description Quals RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run RO run task A long-running asynchronous task. Field Type uuid string name/label string name/description string allowed operations (task allowed operations) Set current operations (string → task allowed operations) Map created finished datetime datetime status session resident on progress task status type session ref host ref float externalpid int stunnelpid forwarded forwarded to type int bool host ref string result string Description unique identifier/object reference a human-readable name a notes field containg humanreadable description list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client. links each of the running tasks using this object (by reference) to a current operation enum which describes the nature of the task. Time task was created Time task finished (i.e. succeeded or failed). If task-status is pending, then the value of this field has no meaning current status of the task the session that created the task the host on which the task is running if the task is still pending, this field contains the estimated fraction complete (0.-1.). If task has completed (successfully or unsuccessfully) this should be 1. If the task has spawned a program, the field record the PID of the process that the task is waiting on. (-1 if no waiting completion of an external program ) If the task has been forwarded, this field records the pid of the stunnel process spawned to manage the forwarding connection True if this task has been forwarded to a slave The host to which the task has been forwarded if the task has completed successfully, this field contains the type of the encoded result (i.e. name of the class whose reference is in the result field). Undefined otherwise. if the task has completed successfully, this field contains the result value (either Void or an object reference). Undefined otherwise. 26