railway_domain_email_forwarding_eligibility
Creates, updates, deletes, gets or lists a railway_domain_email_forwarding_eligibility resource.
Overview​
| Name | railway_domain_email_forwarding_eligibility |
| Type | Resource |
| Id | railway.networking.railway_domain_email_forwarding_eligibility |
Fields​
The following fields are returned by SELECT queries:
- get
One row carrying the value as the result column.
| Name | Datatype | Description |
|---|---|---|
result | string | railwayDomainEmailForwardingEligibility value (DELEGATED, ELIGIBLE, EXTERNAL_MAIL, UNKNOWN) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | domain, workspace_id | Whether email forwarding can be offered on this domain, or why it can't. Backed by the Railway GraphQL query railwayDomainEmailForwardingEligibility. |
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 |
|---|---|---|
domain | string | |
workspace_id | string |
SELECT examples​
- get
Whether email forwarding can be offered on this domain, or why it can't. Backed by the Railway GraphQL query railwayDomainEmailForwardingEligibility.
SELECT
result
FROM railway.networking.railway_domain_email_forwarding_eligibility
WHERE domain = '{{ domain }}' -- required
AND workspace_id = '{{ workspace_id }}' -- required
;