Skip to content

dsdk / v1.47 / Task

Type Alias: Task ​

Task: object

Type declaration ​

NameTypeDescription
AssignedGenericResources?GenericResources-
CreatedAt?string-
DesiredState?TaskState-
ID?stringThe ID of the task.
JobIteration?ObjectVersionIf 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?objectUser-defined key/value metadata.
Name?stringName of the task.
NodeID?stringThe ID of the node that this task is on.
ServiceID?stringThe ID of the service this task is part of.
Slot?number-
Spec?TaskSpec-
Status?TaskStatus-
UpdatedAt?string-
Version?ObjectVersion-