Cloudflare v6.3.0 published on Tuesday, Jun 10, 2025 by Pulumi
cloudflare.getHyperdriveConfig
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleHyperdriveConfig = cloudflare.getHyperdriveConfig({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
hyperdriveId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_hyperdrive_config = cloudflare.get_hyperdrive_config(account_id="023e105f4ecef8ad9ca31a8372d0c353",
hyperdrive_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupHyperdriveConfig(ctx, &cloudflare.LookupHyperdriveConfigArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
HyperdriveId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleHyperdriveConfig = Cloudflare.GetHyperdriveConfig.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
HyperdriveId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetHyperdriveConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleHyperdriveConfig = CloudflareFunctions.getHyperdriveConfig(GetHyperdriveConfigArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.hyperdriveId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleHyperdriveConfig:
fn::invoke:
function: cloudflare:getHyperdriveConfig
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
hyperdriveId: 023e105f4ecef8ad9ca31a8372d0c353
Using getHyperdriveConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHyperdriveConfig(args: GetHyperdriveConfigArgs, opts?: InvokeOptions): Promise<GetHyperdriveConfigResult>
function getHyperdriveConfigOutput(args: GetHyperdriveConfigOutputArgs, opts?: InvokeOptions): Output<GetHyperdriveConfigResult>
def get_hyperdrive_config(account_id: Optional[str] = None,
hyperdrive_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHyperdriveConfigResult
def get_hyperdrive_config_output(account_id: Optional[pulumi.Input[str]] = None,
hyperdrive_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHyperdriveConfigResult]
func LookupHyperdriveConfig(ctx *Context, args *LookupHyperdriveConfigArgs, opts ...InvokeOption) (*LookupHyperdriveConfigResult, error)
func LookupHyperdriveConfigOutput(ctx *Context, args *LookupHyperdriveConfigOutputArgs, opts ...InvokeOption) LookupHyperdriveConfigResultOutput
> Note: This function is named LookupHyperdriveConfig
in the Go SDK.
public static class GetHyperdriveConfig
{
public static Task<GetHyperdriveConfigResult> InvokeAsync(GetHyperdriveConfigArgs args, InvokeOptions? opts = null)
public static Output<GetHyperdriveConfigResult> Invoke(GetHyperdriveConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHyperdriveConfigResult> getHyperdriveConfig(GetHyperdriveConfigArgs args, InvokeOptions options)
public static Output<GetHyperdriveConfigResult> getHyperdriveConfig(GetHyperdriveConfigArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getHyperdriveConfig:getHyperdriveConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Define configurations using a unique string identifier.
- Hyperdrive
Id string - Define configurations using a unique string identifier.
- Account
Id string - Define configurations using a unique string identifier.
- Hyperdrive
Id string - Define configurations using a unique string identifier.
- account
Id String - Define configurations using a unique string identifier.
- hyperdrive
Id String - Define configurations using a unique string identifier.
- account
Id string - Define configurations using a unique string identifier.
- hyperdrive
Id string - Define configurations using a unique string identifier.
- account_
id str - Define configurations using a unique string identifier.
- hyperdrive_
id str - Define configurations using a unique string identifier.
- account
Id String - Define configurations using a unique string identifier.
- hyperdrive
Id String - Define configurations using a unique string identifier.
getHyperdriveConfig Result
The following output properties are available:
- Account
Id string - Define configurations using a unique string identifier.
- Caching
Get
Hyperdrive Config Caching - Created
On string - Defines the creation time of the Hyperdrive configuration.
- Id string
- Define configurations using a unique string identifier.
- Modified
On string - Defines the last modified time of the Hyperdrive configuration.
- Mtls
Get
Hyperdrive Config Mtls - Name string
- Origin
Get
Hyperdrive Config Origin - Hyperdrive
Id string - Define configurations using a unique string identifier.
- Account
Id string - Define configurations using a unique string identifier.
- Caching
Get
Hyperdrive Config Caching - Created
On string - Defines the creation time of the Hyperdrive configuration.
- Id string
- Define configurations using a unique string identifier.
- Modified
On string - Defines the last modified time of the Hyperdrive configuration.
- Mtls
Get
Hyperdrive Config Mtls - Name string
- Origin
Get
Hyperdrive Config Origin - Hyperdrive
Id string - Define configurations using a unique string identifier.
- account
Id String - Define configurations using a unique string identifier.
- caching
Get
Hyperdrive Config Caching - created
On String - Defines the creation time of the Hyperdrive configuration.
- id String
- Define configurations using a unique string identifier.
- modified
On String - Defines the last modified time of the Hyperdrive configuration.
- mtls
Get
Hyperdrive Config Mtls - name String
- origin
Get
Hyperdrive Config Origin - hyperdrive
Id String - Define configurations using a unique string identifier.
- account
Id string - Define configurations using a unique string identifier.
- caching
Get
Hyperdrive Config Caching - created
On string - Defines the creation time of the Hyperdrive configuration.
- id string
- Define configurations using a unique string identifier.
- modified
On string - Defines the last modified time of the Hyperdrive configuration.
- mtls
Get
Hyperdrive Config Mtls - name string
- origin
Get
Hyperdrive Config Origin - hyperdrive
Id string - Define configurations using a unique string identifier.
- account_
id str - Define configurations using a unique string identifier.
- caching
Get
Hyperdrive Config Caching - created_
on str - Defines the creation time of the Hyperdrive configuration.
- id str
- Define configurations using a unique string identifier.
- modified_
on str - Defines the last modified time of the Hyperdrive configuration.
- mtls
Get
Hyperdrive Config Mtls - name str
- origin
Get
Hyperdrive Config Origin - hyperdrive_
id str - Define configurations using a unique string identifier.
- account
Id String - Define configurations using a unique string identifier.
- caching Property Map
- created
On String - Defines the creation time of the Hyperdrive configuration.
- id String
- Define configurations using a unique string identifier.
- modified
On String - Defines the last modified time of the Hyperdrive configuration.
- mtls Property Map
- name String
- origin Property Map
- hyperdrive
Id String - Define configurations using a unique string identifier.
Supporting Types
GetHyperdriveConfigCaching
- Disabled bool
- Set to true to disable caching of SQL responses. Default is false.
- Max
Age int - Specify the maximum duration items should persist in the cache. Not returned if set to the default (60).
- Stale
While intRevalidate - Specify the number of seconds the cache may serve a stale response. Omitted if set to the default (15).
- Disabled bool
- Set to true to disable caching of SQL responses. Default is false.
- Max
Age int - Specify the maximum duration items should persist in the cache. Not returned if set to the default (60).
- Stale
While intRevalidate - Specify the number of seconds the cache may serve a stale response. Omitted if set to the default (15).
- disabled Boolean
- Set to true to disable caching of SQL responses. Default is false.
- max
Age Integer - Specify the maximum duration items should persist in the cache. Not returned if set to the default (60).
- stale
While IntegerRevalidate - Specify the number of seconds the cache may serve a stale response. Omitted if set to the default (15).
- disabled boolean
- Set to true to disable caching of SQL responses. Default is false.
- max
Age number - Specify the maximum duration items should persist in the cache. Not returned if set to the default (60).
- stale
While numberRevalidate - Specify the number of seconds the cache may serve a stale response. Omitted if set to the default (15).
- disabled bool
- Set to true to disable caching of SQL responses. Default is false.
- max_
age int - Specify the maximum duration items should persist in the cache. Not returned if set to the default (60).
- stale_
while_ intrevalidate - Specify the number of seconds the cache may serve a stale response. Omitted if set to the default (15).
- disabled Boolean
- Set to true to disable caching of SQL responses. Default is false.
- max
Age Number - Specify the maximum duration items should persist in the cache. Not returned if set to the default (60).
- stale
While NumberRevalidate - Specify the number of seconds the cache may serve a stale response. Omitted if set to the default (15).
GetHyperdriveConfigMtls
- Ca
Certificate stringId - Define CA certificate ID obtained after uploading CA cert.
- Mtls
Certificate stringId - Define mTLS certificate ID obtained after uploading client cert.
- Sslmode string
- Set SSL mode to 'require', 'verify-ca', or 'verify-full' to verify the CA.
- Ca
Certificate stringId - Define CA certificate ID obtained after uploading CA cert.
- Mtls
Certificate stringId - Define mTLS certificate ID obtained after uploading client cert.
- Sslmode string
- Set SSL mode to 'require', 'verify-ca', or 'verify-full' to verify the CA.
- ca
Certificate StringId - Define CA certificate ID obtained after uploading CA cert.
- mtls
Certificate StringId - Define mTLS certificate ID obtained after uploading client cert.
- sslmode String
- Set SSL mode to 'require', 'verify-ca', or 'verify-full' to verify the CA.
- ca
Certificate stringId - Define CA certificate ID obtained after uploading CA cert.
- mtls
Certificate stringId - Define mTLS certificate ID obtained after uploading client cert.
- sslmode string
- Set SSL mode to 'require', 'verify-ca', or 'verify-full' to verify the CA.
- ca_
certificate_ strid - Define CA certificate ID obtained after uploading CA cert.
- mtls_
certificate_ strid - Define mTLS certificate ID obtained after uploading client cert.
- sslmode str
- Set SSL mode to 'require', 'verify-ca', or 'verify-full' to verify the CA.
- ca
Certificate StringId - Define CA certificate ID obtained after uploading CA cert.
- mtls
Certificate StringId - Define mTLS certificate ID obtained after uploading client cert.
- sslmode String
- Set SSL mode to 'require', 'verify-ca', or 'verify-full' to verify the CA.
GetHyperdriveConfigOrigin
- Access
Client stringId - Defines the Client ID of the Access token to use when connecting to the origin database.
- Access
Client stringSecret - Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
- Database string
- Set the name of your origin database.
- Host string
- Defines the host (hostname or IP) of your origin database.
- Password string
- Set the password needed to access your origin database. The API never returns this write-only value.
- Port int
- Defines the port (default: 5432 for Postgres) of your origin database.
- Scheme string
- Specifies the URL scheme used to connect to your origin database. Available values: "postgres", "postgresql", "mysql".
- User string
- Set the user of your origin database.
- Access
Client stringId - Defines the Client ID of the Access token to use when connecting to the origin database.
- Access
Client stringSecret - Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
- Database string
- Set the name of your origin database.
- Host string
- Defines the host (hostname or IP) of your origin database.
- Password string
- Set the password needed to access your origin database. The API never returns this write-only value.
- Port int
- Defines the port (default: 5432 for Postgres) of your origin database.
- Scheme string
- Specifies the URL scheme used to connect to your origin database. Available values: "postgres", "postgresql", "mysql".
- User string
- Set the user of your origin database.
- access
Client StringId - Defines the Client ID of the Access token to use when connecting to the origin database.
- access
Client StringSecret - Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
- database String
- Set the name of your origin database.
- host String
- Defines the host (hostname or IP) of your origin database.
- password String
- Set the password needed to access your origin database. The API never returns this write-only value.
- port Integer
- Defines the port (default: 5432 for Postgres) of your origin database.
- scheme String
- Specifies the URL scheme used to connect to your origin database. Available values: "postgres", "postgresql", "mysql".
- user String
- Set the user of your origin database.
- access
Client stringId - Defines the Client ID of the Access token to use when connecting to the origin database.
- access
Client stringSecret - Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
- database string
- Set the name of your origin database.
- host string
- Defines the host (hostname or IP) of your origin database.
- password string
- Set the password needed to access your origin database. The API never returns this write-only value.
- port number
- Defines the port (default: 5432 for Postgres) of your origin database.
- scheme string
- Specifies the URL scheme used to connect to your origin database. Available values: "postgres", "postgresql", "mysql".
- user string
- Set the user of your origin database.
- access_
client_ strid - Defines the Client ID of the Access token to use when connecting to the origin database.
- access_
client_ strsecret - Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
- database str
- Set the name of your origin database.
- host str
- Defines the host (hostname or IP) of your origin database.
- password str
- Set the password needed to access your origin database. The API never returns this write-only value.
- port int
- Defines the port (default: 5432 for Postgres) of your origin database.
- scheme str
- Specifies the URL scheme used to connect to your origin database. Available values: "postgres", "postgresql", "mysql".
- user str
- Set the user of your origin database.
- access
Client StringId - Defines the Client ID of the Access token to use when connecting to the origin database.
- access
Client StringSecret - Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.
- database String
- Set the name of your origin database.
- host String
- Defines the host (hostname or IP) of your origin database.
- password String
- Set the password needed to access your origin database. The API never returns this write-only value.
- port Number
- Defines the port (default: 5432 for Postgres) of your origin database.
- scheme String
- Specifies the URL scheme used to connect to your origin database. Available values: "postgres", "postgresql", "mysql".
- user String
- Set the user of your origin database.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.