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

18 lines
360 B
GraphQL

#import "./DeploymentGroupInfo.gql"
#import "./ServiceInfo.gql"
query Instances($deploymentGroupSlug: String!, $serviceSlug: String) {
deploymentGroup(slug: $deploymentGroupSlug) {
...DeploymentGroupInfo
services(slug: $serviceSlug) {
...ServiceInfo
instances {
id
name
status
healthy
}
}
}
}