Services
Manage services and their associated actions.
List All Services
GET/projects/{project_id}/services
Create a Service
POST/projects/{project_id}/services
Get a Service
GET/projects/{project_id}/services/{service_id}
Delete a Service
DELETE/projects/{project_id}/services/{service_id}
Start a Service
POST/projects/{project_id}/services/{service_id}/start
Stop a Service
POST/projects/{project_id}/services/{service_id}/stop
Attach Service to VPC
POST/projects/{project_id}/services/{service_id}/attachToVPC
Detach Service from VPC
POST/projects/{project_id}/services/{service_id}/detachFromVPC
Resize a Service
POST/projects/{project_id}/services/{service_id}/resize
Enable Connection Pooler for a Service
POST/projects/{project_id}/services/{service_id}/enablePooler
Disable Connection Pooler for a Service
POST/projects/{project_id}/services/{service_id}/disablePooler
Fork a Service
POST/projects/{project_id}/services/{service_id}/forkService
Update Service Password
POST/projects/{project_id}/services/{service_id}/updatePassword
Set Environment for a Service
POST/projects/{project_id}/services/{service_id}/setEnvironment
Get service logs
GET/projects/{project_id}/services/{service_id}/logs
Change HA configuration for a Service
POST/projects/{project_id}/services/{service_id}/setHA
ModelsExpand Collapse
Service object { created, name, project_id, 14 more } A database service and its current configuration.
Service object { created, name, project_id, 14 more }
A database service and its current configuration.
status: "QUEUED" or "DELETING" or "CONFIGURING" or 8 moreThe current deployment status of the service.
status: "QUEUED" or "DELETING" or "CONFIGURING" or 8 more
The current deployment status of the service.
forked_from: optional object { is_standby, project_id, service_id } The service this service was forked from.
forked_from: optional object { is_standby, project_id, service_id }
The service this service was forked from.
ha_replicas: optional object { replica_count, sync_replica_count } High-availability replica configuration for a service.
ha_replicas: optional object { replica_count, sync_replica_count }
High-availability replica configuration for a service.
metrics: optional object { memory_mb, milli_cpu, storage_mb } Resource usage metrics for the service.
metrics: optional object { memory_mb, milli_cpu, storage_mb }
Resource usage metrics for the service.
The read replica sets attached to the service.
The read replica sets attached to the service.
status: "QUEUED" or "DELETING" or "CONFIGURING" or 8 moreThe current deployment status of the service.
status: "QUEUED" or "DELETING" or "CONFIGURING" or 8 more
The current deployment status of the service.
forked_from: optional object { is_standby, project_id, service_id } The service this service was forked from.
forked_from: optional object { is_standby, project_id, service_id }
The service this service was forked from.
ha_replicas: optional object { replica_count, sync_replica_count } High-availability replica configuration for a service.
ha_replicas: optional object { replica_count, sync_replica_count }
High-availability replica configuration for a service.
metrics: optional object { memory_mb, milli_cpu, storage_mb } Resource usage metrics for the service.
metrics: optional object { memory_mb, milli_cpu, storage_mb }
Resource usage metrics for the service.
The read replica sets attached to the service.
The read replica sets attached to the service.
ServiceLogsResponse object { logs, entries, lastCursor } The logs for a service.
ServiceLogsResponse object { logs, entries, lastCursor }
The logs for a service.
ServicesReplica Sets
Manage read replica sets and their associated actions.
Get Read Replica Sets
GET/projects/{project_id}/services/{service_id}/replicaSets
Create a Read Replica Set
POST/projects/{project_id}/services/{service_id}/replicaSets
Delete a Read Replica Set
DELETE/projects/{project_id}/services/{service_id}/replicaSets/{replica_set_id}
Resize a Read Replica Set
POST/projects/{project_id}/services/{service_id}/replicaSets/{replica_set_id}/resize
Enable Connection Pooler for a Read Replica
POST/projects/{project_id}/services/{service_id}/replicaSets/{replica_set_id}/enablePooler
Disable Connection Pooler for a Read Replica
POST/projects/{project_id}/services/{service_id}/replicaSets/{replica_set_id}/disablePooler
Set Environment for a Read Replica
POST/projects/{project_id}/services/{service_id}/replicaSets/{replica_set_id}/setEnvironment
ModelsExpand Collapse
ReadReplicaSet object { id, cpu_millis, memory_gbs, 6 more } A set of read replicas for a service.
ReadReplicaSet object { id, cpu_millis, memory_gbs, 6 more }
A set of read replicas for a service.
ReplicaSetRetrieveReplicaSetsResponse = array of ReadReplicaSet { id, cpu_millis, memory_gbs, 6 more }
ReplicaSetRetrieveReplicaSetsResponse = array of ReadReplicaSet { id, cpu_millis, memory_gbs, 6 more }