Skip to content

RuntimeInfo

Runtime metadata returned by the Runta API.

Shared

class RuntimeInfo:
RuntimeInfo(id: str, display_name: str, resources: RuntimeResources, ingress_specs: list[IngressSpec], status: RuntimeStatus, egress_policy: EgressPolicy = EgressPolicy())
Name Type or value Description
id str Runtime UUID.
display_name str Human-readable runtime name.
resources RuntimeResources Effective resource requests and limits.
ingress_specs list[IngressSpec] Ingress ports exposed by the runtime.
status RuntimeStatus Current runtime lifecycle state.
egress_policy EgressPolicy Current outbound network policy.

Create runtime metadata from an API response payload.

def from_json(data: dict[str, Any]) -> 'RuntimeInfo'
Name Type Default Description
data dict[str, Any] API response payload.
  • 'RuntimeInfo'