@aneoconsultingfr/armonik.api
Version:
gRPC API to interact with ArmoniK built for the web
25 lines (23 loc) • 1.49 kB
text/typescript
declare const protobufPackage = "armonik.api.grpc.v1.session_status";
/** Status of a session. */
/** Session status. */
declare enum SessionStatus {
/** SESSION_STATUS_UNSPECIFIED - Session is in an unknown state. */
SESSION_STATUS_UNSPECIFIED = 0,
/** SESSION_STATUS_RUNNING - Session is open and accepting tasks for execution. */
SESSION_STATUS_RUNNING = 1,
/** SESSION_STATUS_CANCELLED - Session is cancelled. No more tasks can be submitted and no more tasks will be executed. */
SESSION_STATUS_CANCELLED = 2,
/** SESSION_STATUS_PAUSED - Session is paused. Tasks can be submitted but no more new tasks will be executed. Already running tasks will continue until they finish. */
SESSION_STATUS_PAUSED = 3,
/** SESSION_STATUS_CLOSED - Session is closed. No more tasks can be submitted and executed. */
SESSION_STATUS_CLOSED = 4,
/** SESSION_STATUS_PURGED - Session is purged. No more tasks can be submitted and executed. Results data will be deleted. */
SESSION_STATUS_PURGED = 5,
/** SESSION_STATUS_DELETED - Session is deleted. No more tasks can be submitted and executed. Sessions, tasks and results metadata associated to the session will be deleted. */
SESSION_STATUS_DELETED = 6,
UNRECOGNIZED = -1
}
declare function sessionStatusFromJSON(object: any): SessionStatus;
declare function sessionStatusToJSON(object: SessionStatus): string;
export { SessionStatus, protobufPackage, sessionStatusFromJSON, sessionStatusToJSON };