Skip to content
Français

ResourceOperation

import type { ResourceOperation } from "@elie-laloum/outpost";
  • countRequired
    number
    Number of operations of this kind running concurrently. Always 1 in lastOperation and lastFailure.
  • kindRequired
    "command" | "dispatch" | "attach" | "diagnose" | "invoke" | "upload" | "download" | "manifest" | "download-batch" | "upload-batch"
    Operation category, such as dispatch, command, upload or download.
  • startedAtRequired
    string
    ISO start time. In a result, when this operation started; in operations, when the first operation of this kind started since the kind was last idle.
export interface ResourceOperation {
  readonly count: number;
  readonly kind: ResourceOperationKind;
  readonly startedAt: string;
}