Skip to content

RuntimeStatus

Lifecycle state reported for a runtime.

Shared

class RuntimeStatus(str, Enum):
Name Type or value Description
RUNNING 'running' The runtime is running and accepts work.
PAUSED 'paused' The runtime is paused and can be resumed.
SHUTDOWN 'shutdown' The runtime is shut down.
CREATING 'creating' The runtime is being created.
DELETING 'deleting' The runtime is being deleted.
ERROR 'error' The runtime entered an error state.
CRASHED 'crashed' The runtime process crashed.
SUSPENDED 'suspended' The runtime is suspended and can wake on demand.

Parse a user-provided runtime status name.

def from_user(value: str) -> 'RuntimeStatus'
Name Type Default Description
value str User-provided enum name or alias.
  • 'RuntimeStatus'