Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- POSTCheck quota PostgreSQL cluster creation
- GETList DBAAS PostgreSQL Clusters.
- POSTCreate DBAAS PostgreSQL cluster.
- GETGet DBAAS Postgres Cluster.
- DELDelete DBAAS PostgreSQL cluster.
- PATCHPatch DBAAS Postgres Cluster.
- GETGet credentials for given user in PG Cluster once.
- POSTRecreate credentials for given user in PG Cluster.
- GETGet available PostgtreSQL configurations for a region.
- POSTValidate user's custom PostgreSQL configuration file.
- GETGet DBAAS service status for a specified project. It may be initialized or not
- PUTActivate or deactivate DBAAS Service for a specified project.
- POST
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Managed PostgreSQL
Get DBAAS Postgres Cluster.
GET
/
cloud
/
v1
/
dbaas
/
postgres
/
clusters
/
{project_id}
/
{region_id}
/
{cluster_name}
Copy
Ask AI
curl --request GET \
--url https://api.gcore.com/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name} \
--header 'APIKey: <api-key>'
Copy
Ask AI
{
"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
API key for authentication.
Path Parameters
Project identifier
Region identifier
Cluster name
Response
200
application/json
Cluster info
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.gcore.com/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name} \
--header 'APIKey: <api-key>'
Copy
Ask AI
{
"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"
]
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.