Skip to content

RuntimeStatus

Lifecycle state reported for a runtime.

Shared

class RuntimeStatus(str, Enum):
NameType or valueDescription
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 or alias.

def from_user(value: str) -> 'RuntimeStatus'
NameTypeDefaultDescription
valuestrUser-provided enum name or alias.
  • 'RuntimeStatus'