From ce2a13e501fc33f5c3e9cbdaef6fe9ad4184b17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Tue, 27 Jun 2017 18:44:14 +0100 Subject: [PATCH] feat(cp-gql-schema): update InstanceStatus'es based on: - https://github.com/joyent/sdc-cloudapi/blob/1bc3c1eeb59eae6ca71a0717523de47b48b6767a/lib/machines.js#L75-L116 - https://github.com/joyent/sdc-vmapi/blob/280af75e07e2d35b71fdd50b23dc7b8d3fe6fea1/docs/index.md#vm-states --- packages/cp-gql-schema/schema.gql | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/cp-gql-schema/schema.gql b/packages/cp-gql-schema/schema.gql index 6cc540b5..d23658dd 100644 --- a/packages/cp-gql-schema/schema.gql +++ b/packages/cp-gql-schema/schema.gql @@ -116,17 +116,18 @@ type Environment { } enum InstanceStatus { - CREATED - RESTARTING PROVISIONING READY + ACTIVE # vm only: When used in ListVms, denotes machines that are not 'destroyed' or 'failed' RUNNING - PAUSED - EXITED - DELETED - STOPPED STOPPING + STOPPED + OFFLINE + DELETED + DESTROYED # vm only FAILED + INCOMPLETE # vm only + UNKNOWN } type Instance {