Type Alias Task

Task: TaskBase & {
    appId: string;
    disabledCode?:
        | "MANUALLY"
        | "CONSECUTIVE-FAILURES"
        | "OWNER-DELETED"
        | "OWNER-DISABLED";
    fortressId?: string;
    id: string;
    jobId: string;
    lastExecutionTime?: string;
    links: SelfLink;
    log?: string;
    migrated?: boolean;
    nextExecutionTime?: string;
    spaceId?: string;
    state: "Enabled"
    | "Disabled"
    | "Completed";
    tenantId: string;
    userId: string;
}

Type Declaration

  • ReadonlyappId: string

    The ID of the app.

  • Optional ReadonlydisabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED"

    The reason why the task was disabled.

  • Optional ReadonlyfortressId?: string

    The fortress ID of the application

  • Readonlyid: string

    The ID of the task.

  • ReadonlyjobId: string

    The ID of the scheduler job associated with the task.

  • Optional ReadonlylastExecutionTime?: string

    The last time the task executed.

  • links: SelfLink
  • Optional Readonlylog?: string

    The reason why the task was disabled.

  • Optional Readonlymigrated?: boolean

    A flag indicating whether the task has been migrated to the new scheduling service.

  • Optional ReadonlynextExecutionTime?: string

    The next time the task will execute.

  • Optional ReadonlyspaceId?: string

    The space ID of the application

  • state: "Enabled" | "Disabled" | "Completed"

    Toggle for enabling and disabling the reload task

  • ReadonlytenantId: string

    The ID of the tenant who owns the task.

  • ReadonlyuserId: string

    The ID of the user who owns the task.