RuntimeInfo
Runtime metadata returned by the Runta API.
Shared
RuntimeInfo declaration
Section titled “RuntimeInfo declaration”class RuntimeInfo:RuntimeInfo construction
Section titled “RuntimeInfo construction”RuntimeInfo(id: str, display_name: str, resources: RuntimeResources, ingress_specs: list[IngressSpec], status: RuntimeStatus, egress_policy: EgressPolicy = EgressPolicy())RuntimeInfo attributes
Section titled “RuntimeInfo attributes”| 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. |
RuntimeInfo methods
Section titled “RuntimeInfo methods”from_json()
Section titled “from_json()”Create runtime metadata from an API response payload.
def from_json(data: dict[str, Any]) -> 'RuntimeInfo'Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
data |
dict[str, Any] |
— |
API response payload. |
Returns
Section titled “Returns”'RuntimeInfo'
