joyent-portal/packages/cp-frontend/src/graphql/Instances.gql

18 lines
360 B
Plaintext
Raw Normal View History

2017-05-16 16:46:04 +03:00
#import "./DeploymentGroupInfo.gql"
#import "./ServiceInfo.gql"
2017-05-22 20:13:24 +03:00
query Instances($deploymentGroupSlug: String!, $serviceSlug: String) {
deploymentGroup(slug: $deploymentGroupSlug) {
2017-05-16 16:46:04 +03:00
...DeploymentGroupInfo
2017-05-22 20:13:24 +03:00
services(slug: $serviceSlug) {
2017-05-16 16:46:04 +03:00
...ServiceInfo
2017-05-11 20:16:52 +03:00
instances {
id
2017-05-11 20:16:52 +03:00
name
status
healthy
2017-05-11 20:16:52 +03:00
}
}
}
}