| ||
detail: element | attribute | value |
Data Structure { "typeId": "com.tintri.api.rest.v310.dto.Task", "createDate": <Date>, "isCancelable": <Boolean>, "lastUpdatedTime": DateTime, "localAlias": <String>, "progressDescription": <String>, "progressError": <Boolean>, "progressPercent": <Number>, "progressSecondsRemaining": <Number>, "state": 'QUEUED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLED' | 'CANCEL_PENDING' | 'ACKNOWLEDGED', "targetIds": <String>, "targetType": 'VM' | 'VDISK' | 'SNAPSHOT' | 'JOB' | 'ALERTS' | 'DATASTORE_STAT' | 'VM_STAT' | 'VDISK_STAT' | 'SERVICE_GROUP', "type": 'SNAPSHOT' | 'CLONE' | 'REMOTE_COPY' | 'FAILOVER_TEST' | 'FAILOVER' | 'VM_SNAPSHOT_SYNC' | 'RECREATE_REPL_CONFIG' | 'SYNC_VM' | 'RELOCATE_VM' | 'SNAPSHOT_STORAGE_OBJECT' | 'CLONE_STORAGE_OBJECT' | 'CREATE_STORAGE_OBJECT' | 'UPDATE_STORAGE_OBJECT' | 'DELETE_STORAGE_OBJECT' | 'REVERT_STORAGE_OBJECT' | 'BIND_STORAGE_OBJECT' | 'UNBIND_STORAGE_OBJECT', "jobDone": <Boolean>, "properties": [TaskProperty], "uuid": Uuid, } |
Name | Type | Description |
---|---|---|
jobDone | xsd:boolean | 'True' represents the job is done and is in the following states: CANCELLED, FAILED, or SUCCESS. |
property (wrapped by properties) | xsd:list[TaskProperty] | The list of TaskProperty's represents additional information about the job and target object. For example, In case of "remote copy" operation “replLinkName” gives additional information about "name of datastore replication path" |
uuid | Uuid | Unique Tintri UUID for the object |
Name | Type | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
createDate | xsd:datetime | Job create date | ||||||||||||||||||||||||||||||||||
isCancelable | xsd:boolean | Flag to specify whether a Job is cancelable or not | ||||||||||||||||||||||||||||||||||
lastUpdatedTime | DateTime | Last time the entity is updated in the format YYYY-MM-DDThh:mm:ss.ms-/+zz:zz | ||||||||||||||||||||||||||||||||||
localAlias | xsd:string | Alias used for the entity instance in this Tintri API server. If an alias is not set, then localAlias is not returned. | ||||||||||||||||||||||||||||||||||
progressDescription | xsd:string | Job progress state description. Not all tasks set the progress state. | ||||||||||||||||||||||||||||||||||
progressError | xsd:boolean | Flag denoting whether the progress has a progress error or not | ||||||||||||||||||||||||||||||||||
progressPercent | xsd:float | Job percentage progress (0 - 100%) | ||||||||||||||||||||||||||||||||||
progressSecondsRemaining | xsd:long | Seconds remaining in job | ||||||||||||||||||||||||||||||||||
state | QUEUED | RUNNING | SUCCESS | FAILED | CANCELLED | CANCEL_PENDING | ACKNOWLEDGED | Current job state.
| ||||||||||||||||||||||||||||||||||
targetIds | xsd:list[xsd:string] | The UUIDs of the target resource | ||||||||||||||||||||||||||||||||||
targetType | VM | VDISK | SNAPSHOT | JOB | ALERTS | DATASTORE_STAT | VM_STAT | VDISK_STAT | SERVICE_GROUP | The type of the job target
| ||||||||||||||||||||||||||||||||||
type | SNAPSHOT | CLONE | REMOTE_COPY | FAILOVER_TEST | FAILOVER | VM_SNAPSHOT_SYNC | RECREATE_REPL_CONFIG | SYNC_VM | RELOCATE_VM | SNAPSHOT_STORAGE_OBJECT | CLONE_STORAGE_OBJECT | CREATE_STORAGE_OBJECT | UPDATE_STORAGE_OBJECT | DELETE_STORAGE_OBJECT | REVERT_STORAGE_OBJECT | BIND_STORAGE_OBJECT | UNBIND_STORAGE_OBJECT | Job type
|
| ||
detail: element | attribute | value |