environment_legacy_static_egress
Creates, updates, deletes, gets or lists an environment_legacy_static_egress resource.
Overview​
| Name | environment_legacy_static_egress |
| Type | Resource |
| Id | railway.environments.environment_legacy_static_egress |
Fields​
The following fields are returned by SELECT queries:
- get
One row carrying the value as the result column.
| Name | Datatype | Description |
|---|---|---|
result | boolean | environmentHasLegacyStaticEgress value |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | environment_id | Whether any service in the environment is on legacy static egress (not HA). Used to surface the HA migration banner. Backed by the Railway GraphQL query environmentHasLegacyStaticEgress. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
environment_id | string |
SELECT examples​
- get
Whether any service in the environment is on legacy static egress (not HA). Used to surface the HA migration banner. Backed by the Railway GraphQL query environmentHasLegacyStaticEgress.
SELECT
result
FROM railway.environments.environment_legacy_static_egress
WHERE environment_id = '{{ environment_id }}' -- required
;