Hyperdrive
ModelsExpand Collapse
type Configuration interface{…}
ConfigurationHyperdriveInternetOrigin
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.
Scheme ConfigurationHyperdriveInternetOriginSchemeoptionalSpecifies the URL scheme used to connect to your origin database.
Specifies the URL scheme used to connect to your origin database.
ConfigurationHyperdriveOverAccessOrigin
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.
Scheme ConfigurationHyperdriveOverAccessOriginSchemeoptionalSpecifies the URL scheme used to connect to your origin database.
Specifies the URL scheme used to connect to your origin database.
type Hyperdrive struct{…}
The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.
Origin HyperdriveOrigin
type HyperdriveOriginPublicDatabase struct{…}
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.
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel struct{…}
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.
Scheme HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelSchemeSpecifies the URL scheme used to connect to your origin database.
Specifies the URL scheme used to connect to your origin database.
Caching HyperdriveCachingoptional
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.