action digitalocean_databases_get_connection_pool { label: "Retrieve Existing Connection Pool (PostgreSQL)" description: "To show information about an existing connection pool for a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`.\nThe response will be a JSON object with a `pool` key." provider: digitalocean method: GET path: "/v2/databases/{database_cluster_uuid}/pools/{pool_name}" encoding: json input: { type: "object" properties: { database_cluster_uuid: { type: "string" format: "uuid" } pool_name: { type: "string" } } required: ["database_cluster_uuid", "pool_name"] additionalProperties: false } output: { type: "object" required: ["pool"] properties: { pool: { type: "object" required: ["db", "mode", "name", "size"] properties: { connection: { type: "object" } db: { type: "string" description: "The database for use with the connection pool." } mode: { type: "string" description: "The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement." } name: { type: "string" description: "A unique name for the connection pool. Must be between 3 and 60 characters." } private_connection: { type: "object" } size: { type: "integer" format: "int32" description: "The desired size of the PGBouncer connection pool. The maximum allowed size is determined by the size of the cluster's primary node. 25 backend server connections are allowed for every 1GB of RAM. Three are reserved for maintenance. For example, a primary node with 1 GB of RAM allows for a maximum of 22 backend server connections while one with 4 GB would allow for 97. Note that these are shared across all connection pools in a cluster." } user: { type: "string" description: "The name of the user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user." } } } } } }