diff --git a/internal/client/queries/create_service.graphql b/internal/client/queries/create_service.graphql index 1be4cbc..2e1bfa9 100644 --- a/internal/client/queries/create_service.graphql +++ b/internal/client/queries/create_service.graphql @@ -20,9 +20,6 @@ mutation CreateService($projectId: ID!, $name: String!, $type: Type!, $resourceC created status vpcId - autoscaleSettings { - enabled - } spec { ... on TimescaleDBServiceSpec { hostname diff --git a/internal/client/queries/get_all_services.graphql b/internal/client/queries/get_all_services.graphql index 302957d..c76dae2 100644 --- a/internal/client/queries/get_all_services.graphql +++ b/internal/client/queries/get_all_services.graphql @@ -7,9 +7,6 @@ query GetAllServices($projectId: ID!) { created status replicaStatus - autoscaleSettings { - enabled - } regionCode spec { ... on TimescaleDBServiceSpec { diff --git a/internal/client/queries/get_service.graphql b/internal/client/queries/get_service.graphql index d8caf8a..ea5a941 100644 --- a/internal/client/queries/get_service.graphql +++ b/internal/client/queries/get_service.graphql @@ -10,9 +10,6 @@ query GetService($projectId: ID!, $serviceId: ID!) { created status replicaStatus - autoscaleSettings { - enabled - } regionCode spec { ... on TimescaleDBServiceSpec { diff --git a/internal/client/service.go b/internal/client/service.go index facd32e..e928f05 100644 --- a/internal/client/service.go +++ b/internal/client/service.go @@ -11,12 +11,9 @@ import ( ) type Service struct { - ID string `json:"id"` - ProjectID string `json:"projectId"` - Name string `json:"name"` - AutoscaleSettings struct { - Enabled bool `json:"enabled"` - } `json:"autoscaleSettings"` + ID string `json:"id"` + ProjectID string `json:"projectId"` + Name string `json:"name"` Status string `json:"status"` RegionCode string `json:"regionCode"` Paused bool `json:"paused"`