Skip to main content

deployment_instances

Creates, updates, deletes, gets or lists a deployment_instances resource.

Overview​

Namedeployment_instances
TypeResource
Idrailway.deployments.deployment_instances

Fields​

The following fields are returned by SELECT queries:

One row per DeploymentDeploymentInstance.

NameDatatypeDescription
idstring
statusstring (CRASHED, CREATED, EXITED, INITIALIZING, REMOVED, REMOVING, RESTARTING, RUNNING, SKIPPED, STOPPED)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeployment_idLists DeploymentDeploymentInstance objects of a Deployment. Backed by the Railway GraphQL query deployment.instances.

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
deployment_idstring

SELECT examples​

Lists DeploymentDeploymentInstance objects of a Deployment. Backed by the Railway GraphQL query deployment.instances.

SELECT
id,
status
FROM railway.deployments.deployment_instances
WHERE deployment_id = '{{ deployment_id }}' -- required
;