deployment_instances
Creates, updates, deletes, gets or lists a deployment_instances resource.
Overview​
| Name | deployment_instances |
| Type | Resource |
| Id | railway.deployments.deployment_instances |
Fields​
The following fields are returned by SELECT queries:
- list
One row per DeploymentDeploymentInstance.
| Name | Datatype | Description |
|---|---|---|
id | string | |
status | string | (CRASHED, CREATED, EXITED, INITIALIZING, REMOVED, REMOVING, RESTARTING, RUNNING, SKIPPED, STOPPED) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | deployment_id | Lists 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.
| Name | Datatype | Description |
|---|---|---|
deployment_id | string |
SELECT examples​
- list
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
;