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())
NameType or valueDescription
idstrRuntime UUID.
display_namestrHuman-readable runtime name.
resourcesRuntimeResourcesEffective resource requests and limits.
ingress_specslist[IngressSpec]Ingress ports exposed by the runtime.
statusRuntimeStatusCurrent runtime lifecycle state.
egress_policyEgressPolicyCurrent outbound network policy.

Create runtime metadata from an API response payload.

def from_json(data: dict[str, Any]) -> 'RuntimeInfo'
NameTypeDefaultDescription
datadict[str, Any]API response payload.
  • 'RuntimeInfo'