Skip to main content

environment_legacy_static_egress

Creates, updates, deletes, gets or lists an environment_legacy_static_egress resource.

Overview​

Nameenvironment_legacy_static_egress
TypeResource
Idrailway.environments.environment_legacy_static_egress

Fields​

The following fields are returned by SELECT queries:

One row carrying the value as the result column.

NameDatatypeDescription
resultbooleanenvironmentHasLegacyStaticEgress value

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectenvironment_idWhether 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.

NameDatatypeDescription
environment_idstring

SELECT examples​

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
;