Type Alias: Task ​
Task:
object
Type declaration ​
| Name | Type | Description |
|---|---|---|
AssignedGenericResources? | GenericResources | - |
CreatedAt? | string | - |
DesiredState? | TaskState | - |
ID? | string | The ID of the task. |
JobIteration? | ObjectVersion | If the Service this Task belongs to is a job-mode service, contains the JobIteration of the Service this Task was created for. Absent if the Task was created for a Replicated or Global Service. |
Labels? | object | User-defined key/value metadata. |
Name? | string | Name of the task. |
NodeID? | string | The ID of the node that this task is on. |
ServiceID? | string | The ID of the service this task is part of. |
Slot? | number | - |
Spec? | TaskSpec | - |
Status? | TaskStatus | - |
UpdatedAt? | string | - |
Version? | ObjectVersion | - |