GET
/
cloud
/
v1
/
dbaas
/
postgres
/
clusters
/
{project_id}
/
{region_id}
/
{cluster_name}
curl --request GET \
  --url https://api.gcore.com/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name} \
  --header 'APIKey: <api-key>'
{
  "cluster_name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "databases": [
    {
      "name": "mydatabase",
      "owner": "myuser",
      "size": 2048
    }
  ],
  "flavor": {
    "cpu": 1,
    "memory_gib": 1
  },
  "high_availability": {
    "replication_mode": "sync"
  },
  "network": {
    "acl": [
      "92.33.34.127"
    ],
    "connection_string": "postgresql://username:password@address.gcore.dev:5432/dbname",
    "host": "address.gcore.dev",
    "network_type": "public"
  },
  "pg_server_configuration": {
    "pg_conf": "\nlisten_addresses = 'localhost'\nport = 5432\nmax_connections = 100\nshared_buffers = 128MB\nlogging_collector = on",
    "pooler": null,
    "version": "<string>"
  },
  "status": "DELETING",
  "storage": {
    "size_gib": 100,
    "type": "ssd-hiiops"
  },
  "users": [
    {
      "is_secret_revealed": true,
      "name": "myuser",
      "role_attributes": [
        "INHERIT"
      ]
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project identifier

region_id
integer
required

Region identifier

cluster_name
string
required

Cluster name

Response

200
application/json

Cluster info

The response is of type object.