Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getHyperdriveConfigs
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleHyperdriveConfigs = cloudflare.getHyperdriveConfigs({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_hyperdrive_configs = cloudflare.get_hyperdrive_configs(account_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.LookupHyperdriveConfigs(ctx, &cloudflare.LookupHyperdriveConfigsArgs{
AccountId: "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 exampleHyperdriveConfigs = Cloudflare.GetHyperdriveConfigs.Invoke(new()
{
AccountId = "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.GetHyperdriveConfigsArgs;
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 exampleHyperdriveConfigs = CloudflareFunctions.getHyperdriveConfigs(GetHyperdriveConfigsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleHyperdriveConfigs:
fn::invoke:
function: cloudflare:getHyperdriveConfigs
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
Using getHyperdriveConfigs
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 getHyperdriveConfigs(args: GetHyperdriveConfigsArgs, opts?: InvokeOptions): Promise<GetHyperdriveConfigsResult>
function getHyperdriveConfigsOutput(args: GetHyperdriveConfigsOutputArgs, opts?: InvokeOptions): Output<GetHyperdriveConfigsResult>
def get_hyperdrive_configs(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetHyperdriveConfigsResult
def get_hyperdrive_configs_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHyperdriveConfigsResult]
func LookupHyperdriveConfigs(ctx *Context, args *LookupHyperdriveConfigsArgs, opts ...InvokeOption) (*LookupHyperdriveConfigsResult, error)
func LookupHyperdriveConfigsOutput(ctx *Context, args *LookupHyperdriveConfigsOutputArgs, opts ...InvokeOption) LookupHyperdriveConfigsResultOutput
> Note: This function is named LookupHyperdriveConfigs
in the Go SDK.
public static class GetHyperdriveConfigs
{
public static Task<GetHyperdriveConfigsResult> InvokeAsync(GetHyperdriveConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetHyperdriveConfigsResult> Invoke(GetHyperdriveConfigsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHyperdriveConfigsResult> getHyperdriveConfigs(GetHyperdriveConfigsArgs args, InvokeOptions options)
public static Output<GetHyperdriveConfigsResult> getHyperdriveConfigs(GetHyperdriveConfigsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getHyperdriveConfigs:getHyperdriveConfigs
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - Identifier
- max_
items int - Max items to fetch, default: 1000
getHyperdriveConfigs Result
The following output properties are available:
- Account
Id string - Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Hyperdrive Configs Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Hyperdrive Configs Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Hyperdrive Configs Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Hyperdrive Configs Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Hyperdrive Configs Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetHyperdriveConfigsResult
- Caching
Get
Hyperdrive Configs Result Caching - Created
On string - When the Hyperdrive configuration was created.
- Id string
- Identifier
- Modified
On string - When the Hyperdrive configuration was last modified.
- Name string
- Origin
Get
Hyperdrive Configs Result Origin
- Caching
Get
Hyperdrive Configs Result Caching - Created
On string - When the Hyperdrive configuration was created.
- Id string
- Identifier
- Modified
On string - When the Hyperdrive configuration was last modified.
- Name string
- Origin
Get
Hyperdrive Configs Result Origin
- caching
Get
Hyperdrive Configs Result Caching - created
On String - When the Hyperdrive configuration was created.
- id String
- Identifier
- modified
On String - When the Hyperdrive configuration was last modified.
- name String
- origin
Get
Hyperdrive Configs Result Origin
- caching
Get
Hyperdrive Configs Result Caching - created
On string - When the Hyperdrive configuration was created.
- id string
- Identifier
- modified
On string - When the Hyperdrive configuration was last modified.
- name string
- origin
Get
Hyperdrive Configs Result Origin
- caching
Get
Hyperdrive Configs Result Caching - created_
on str - When the Hyperdrive configuration was created.
- id str
- Identifier
- modified_
on str - When the Hyperdrive configuration was last modified.
- name str
- origin
Get
Hyperdrive Configs Result Origin
- caching Property Map
- created
On String - When the Hyperdrive configuration was created.
- id String
- Identifier
- modified
On String - When the Hyperdrive configuration was last modified.
- name String
- origin Property Map
GetHyperdriveConfigsResultCaching
- Disabled bool
- When set to true, disables the caching of SQL responses. (Default: false)
- Max
Age int - When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)
- Stale
While intRevalidate - When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)
- Disabled bool
- When set to true, disables the caching of SQL responses. (Default: false)
- Max
Age int - When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)
- Stale
While intRevalidate - When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)
- disabled Boolean
- When set to true, disables the caching of SQL responses. (Default: false)
- max
Age Integer - When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)
- stale
While IntegerRevalidate - When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)
- disabled boolean
- When set to true, disables the caching of SQL responses. (Default: false)
- max
Age number - When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)
- stale
While numberRevalidate - When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)
- disabled bool
- When set to true, disables the caching of SQL responses. (Default: false)
- max_
age int - When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)
- stale_
while_ intrevalidate - When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)
- disabled Boolean
- When set to true, disables the caching of SQL responses. (Default: false)
- max
Age Number - When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)
- stale
While NumberRevalidate - When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)
GetHyperdriveConfigsResultOrigin
- Access
Client stringId - The Client ID of the Access token to use when connecting to the origin database.
- Access
Client stringSecret - The Client Secret of the Access token to use when connecting to the origin database. This value is write-only and never returned by the API.
- Database string
- The name of your origin database.
- Host string
- The host (hostname or IP) of your origin database.
- Password string
- The password required to access your origin database. This value is write-only and never returned by the API.
- Port int
- 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".
- User string
- The user of your origin database.
- Access
Client stringId - The Client ID of the Access token to use when connecting to the origin database.
- Access
Client stringSecret - The Client Secret of the Access token to use when connecting to the origin database. This value is write-only and never returned by the API.
- Database string
- The name of your origin database.
- Host string
- The host (hostname or IP) of your origin database.
- Password string
- The password required to access your origin database. This value is write-only and never returned by the API.
- Port int
- 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".
- User string
- The user of your origin database.
- access
Client StringId - The Client ID of the Access token to use when connecting to the origin database.
- access
Client StringSecret - The Client Secret of the Access token to use when connecting to the origin database. This value is write-only and never returned by the API.
- database String
- The name of your origin database.
- host String
- The host (hostname or IP) of your origin database.
- password String
- The password required to access your origin database. This value is write-only and never returned by the API.
- port Integer
- 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".
- user String
- The user of your origin database.
- access
Client stringId - The Client ID of the Access token to use when connecting to the origin database.
- access
Client stringSecret - The Client Secret of the Access token to use when connecting to the origin database. This value is write-only and never returned by the API.
- database string
- The name of your origin database.
- host string
- The host (hostname or IP) of your origin database.
- password string
- The password required to access your origin database. This value is write-only and never returned by the API.
- port number
- 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".
- user string
- The user of your origin database.
- access_
client_ strid - The Client ID of the Access token to use when connecting to the origin database.
- access_
client_ strsecret - The Client Secret of the Access token to use when connecting to the origin database. This value is write-only and never returned by the API.
- database str
- The name of your origin database.
- host str
- The host (hostname or IP) of your origin database.
- password str
- The password required to access your origin database. This value is write-only and never returned by the API.
- port int
- 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".
- user str
- The user of your origin database.
- access
Client StringId - The Client ID of the Access token to use when connecting to the origin database.
- access
Client StringSecret - The Client Secret of the Access token to use when connecting to the origin database. This value is write-only and never returned by the API.
- database String
- The name of your origin database.
- host String
- The host (hostname or IP) of your origin database.
- password String
- The password required to access your origin database. This value is write-only and never returned by the API.
- port Number
- 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".
- user String
- 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.