Hyperdrive
ModelsExpand Collapse
Configuration = object { host, port, database, 3 more } or object { access_client_id, access_client_secret, host, 4 more }
HyperdriveInternetOrigin = object { host, port, database, 3 more }
Defines the port of your origin database. Defaults to 5432 for PostgreSQL or 3306 for MySQL if not specified.
Set the password needed to access your origin database. The API never returns this write-only value.
HyperdriveOverAccessOrigin = object { access_client_id, access_client_secret, host, 4 more }
Defines the Client ID of the Access token to use when connecting to the origin database.
Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
Set the password needed to access your origin database. The API never returns this write-only value.
Hyperdrive = object { id, name, origin, 5 more }
The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.
origin: object { database, host, password, 3 more } or object { access_client_id, access_client_secret, database, 4 more }
PublicDatabase = object { database, host, password, 3 more }
Set the password needed to access your origin database. The API never returns this write-only value.
Defines the port of your origin database. Defaults to 5432 for PostgreSQL or 3306 for MySQL if not specified.
AccessProtectedDatabaseBehindCloudflareTunnel = object { access_client_id, access_client_secret, database, 4 more }
Defines the Client ID of the Access token to use when connecting to the origin database.
Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
Set the password needed to access your origin database. The API never returns this write-only value.
caching: optional object { disabled } or object { disabled, max_age, stale_while_revalidate }
Defines the creation time of the Hyperdrive configuration.
Defines the last modified time of the Hyperdrive configuration.
The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.
Maximum allowed: 20 for free tier accounts, 100 for paid tier accounts. If not specified, defaults to 20 for free tier and 60 for paid tier. Contact Cloudflare if you need a higher limit.