published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi
Accepted Permissions
Pipelines ReadPipelines Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePipelineSinks = cloudflare.getPipelineSinks({
accountId: "0123105f4ecef8ad9ca31a8372d0c353",
name: "x",
orderBy: "name",
pipelineId: "pipeline_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pipeline_sinks = cloudflare.get_pipeline_sinks(account_id="0123105f4ecef8ad9ca31a8372d0c353",
name="x",
order_by="name",
pipeline_id="pipeline_id")
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.GetPipelineSinks(ctx, &cloudflare.LookupPipelineSinksArgs{
AccountId: pulumi.StringRef("0123105f4ecef8ad9ca31a8372d0c353"),
Name: pulumi.StringRef("x"),
OrderBy: pulumi.StringRef("name"),
PipelineId: pulumi.StringRef("pipeline_id"),
}, 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 examplePipelineSinks = Cloudflare.GetPipelineSinks.Invoke(new()
{
AccountId = "0123105f4ecef8ad9ca31a8372d0c353",
Name = "x",
OrderBy = "name",
PipelineId = "pipeline_id",
});
});
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.GetPipelineSinksArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 examplePipelineSinks = CloudflareFunctions.getPipelineSinks(GetPipelineSinksArgs.builder()
.accountId("0123105f4ecef8ad9ca31a8372d0c353")
.name("x")
.orderBy("name")
.pipelineId("pipeline_id")
.build());
}
}
variables:
examplePipelineSinks:
fn::invoke:
function: cloudflare:getPipelineSinks
arguments:
accountId: 0123105f4ecef8ad9ca31a8372d0c353
name: x
orderBy: name
pipelineId: pipeline_id
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_pipeline_sinks" "examplePipelineSinks" {
account_id = "0123105f4ecef8ad9ca31a8372d0c353"
name = "x"
order_by = "name"
pipeline_id = "pipeline_id"
}
Using getPipelineSinks
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 getPipelineSinks(args: GetPipelineSinksArgs, opts?: InvokeOptions): Promise<GetPipelineSinksResult>
function getPipelineSinksOutput(args: GetPipelineSinksOutputArgs, opts?: InvokeOutputOptions): Output<GetPipelineSinksResult>def get_pipeline_sinks(account_id: Optional[str] = None,
direction: Optional[str] = None,
max_items: Optional[int] = None,
name: Optional[str] = None,
order_by: Optional[str] = None,
pipeline_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPipelineSinksResult
def get_pipeline_sinks_output(account_id: pulumi.Input[Optional[str]] = None,
direction: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
name: pulumi.Input[Optional[str]] = None,
order_by: pulumi.Input[Optional[str]] = None,
pipeline_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPipelineSinksResult]func LookupPipelineSinks(ctx *Context, args *LookupPipelineSinksArgs, opts ...InvokeOption) (*LookupPipelineSinksResult, error)
func LookupPipelineSinksOutput(ctx *Context, args *LookupPipelineSinksOutputArgs, opts ...InvokeOption) LookupPipelineSinksResultOutput> Note: This function is named LookupPipelineSinks in the Go SDK.
public static class GetPipelineSinks
{
public static Task<GetPipelineSinksResult> InvokeAsync(GetPipelineSinksArgs args, InvokeOptions? opts = null)
public static Output<GetPipelineSinksResult> Invoke(GetPipelineSinksInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPipelineSinksResult> Invoke(GetPipelineSinksInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPipelineSinksResult> getPipelineSinks(GetPipelineSinksArgs args, InvokeOptions options)
public static Output<GetPipelineSinksResult> getPipelineSinks(GetPipelineSinksArgs args, InvokeOptions options)
public static Output<GetPipelineSinksResult> getPipelineSinks(GetPipelineSinksArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getPipelineSinks:getPipelineSinks
arguments:
# arguments dictionarydata "cloudflare_get_pipeline_sinks" "name" {
# arguments
}The following arguments are supported:
- Account
Id string - Specifies the public ID of the account.
- Direction string
- Sort direction. Available values: "asc", "desc".
- Max
Items int - Max items to fetch, default: 1000
- Name string
- Filters sinks by name (case-insensitive substring).
- Order
By string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - Pipeline
Id string
- Account
Id string - Specifies the public ID of the account.
- Direction string
- Sort direction. Available values: "asc", "desc".
- Max
Items int - Max items to fetch, default: 1000
- Name string
- Filters sinks by name (case-insensitive substring).
- Order
By string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - Pipeline
Id string
- account_
id string - Specifies the public ID of the account.
- direction string
- Sort direction. Available values: "asc", "desc".
- max_
items number - Max items to fetch, default: 1000
- name string
- Filters sinks by name (case-insensitive substring).
- order_
by string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline_
id string
- account
Id String - Specifies the public ID of the account.
- direction String
- Sort direction. Available values: "asc", "desc".
- max
Items Integer - Max items to fetch, default: 1000
- name String
- Filters sinks by name (case-insensitive substring).
- order
By String - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline
Id String
- account
Id string - Specifies the public ID of the account.
- direction string
- Sort direction. Available values: "asc", "desc".
- max
Items number - Max items to fetch, default: 1000
- name string
- Filters sinks by name (case-insensitive substring).
- order
By string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline
Id string
- account_
id str - Specifies the public ID of the account.
- direction str
- Sort direction. Available values: "asc", "desc".
- max_
items int - Max items to fetch, default: 1000
- name str
- Filters sinks by name (case-insensitive substring).
- order_
by str - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline_
id str
- account
Id String - Specifies the public ID of the account.
- direction String
- Sort direction. Available values: "asc", "desc".
- max
Items Number - Max items to fetch, default: 1000
- name String
- Filters sinks by name (case-insensitive substring).
- order
By String - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline
Id String
getPipelineSinks Result
The following output properties are available:
- Direction string
- Sort direction. Available values: "asc", "desc".
- Results
List<Get
Pipeline Sinks Result> - The items returned by the data source
- Account
Id string - Specifies the public ID of the account.
- Max
Items int - Max items to fetch, default: 1000
- Name string
- Filters sinks by name (case-insensitive substring).
- Order
By string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - Pipeline
Id string
- Direction string
- Sort direction. Available values: "asc", "desc".
- Results
[]Get
Pipeline Sinks Result - The items returned by the data source
- Account
Id string - Specifies the public ID of the account.
- Max
Items int - Max items to fetch, default: 1000
- Name string
- Filters sinks by name (case-insensitive substring).
- Order
By string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - Pipeline
Id string
- direction string
- Sort direction. Available values: "asc", "desc".
- results list(object)
- The items returned by the data source
- account_
id string - Specifies the public ID of the account.
- max_
items number - Max items to fetch, default: 1000
- name string
- Filters sinks by name (case-insensitive substring).
- order_
by string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline_
id string
- direction String
- Sort direction. Available values: "asc", "desc".
- results
List<Get
Pipeline Sinks Result> - The items returned by the data source
- account
Id String - Specifies the public ID of the account.
- max
Items Integer - Max items to fetch, default: 1000
- name String
- Filters sinks by name (case-insensitive substring).
- order
By String - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline
Id String
- direction string
- Sort direction. Available values: "asc", "desc".
- results
Get
Pipeline Sinks Result[] - The items returned by the data source
- account
Id string - Specifies the public ID of the account.
- max
Items number - Max items to fetch, default: 1000
- name string
- Filters sinks by name (case-insensitive substring).
- order
By string - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline
Id string
- direction str
- Sort direction. Available values: "asc", "desc".
- results
Sequence[Get
Pipeline Sinks Result] - The items returned by the data source
- account_
id str - Specifies the public ID of the account.
- max_
items int - Max items to fetch, default: 1000
- name str
- Filters sinks by name (case-insensitive substring).
- order_
by str - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline_
id str
- direction String
- Sort direction. Available values: "asc", "desc".
- results List<Property Map>
- The items returned by the data source
- account
Id String - Specifies the public ID of the account.
- max
Items Number - Max items to fetch, default: 1000
- name String
- Filters sinks by name (case-insensitive substring).
- order
By String - Sorts sinks by this field. Defaults to
createdAt. Available values: "name", "createdAt". - pipeline
Id String
Supporting Types
GetPipelineSinksResult
- Config
Get
Pipeline Sinks Result Config - Defines the configuration of the R2 Sink.
- Created
At string - Format
Get
Pipeline Sinks Result Format - Defines the output data format of a sink.
- Id string
- Indicates a unique identifier for this sink.
- Modified
At string - Name string
- Defines the name of the Sink.
- Schema
Get
Pipeline Sinks Result Schema - Defines the schema of the events in the data stream.
- Type string
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
- Config
Get
Pipeline Sinks Result Config - Defines the configuration of the R2 Sink.
- Created
At string - Format
Get
Pipeline Sinks Result Format - Defines the output data format of a sink.
- Id string
- Indicates a unique identifier for this sink.
- Modified
At string - Name string
- Defines the name of the Sink.
- Schema
Get
Pipeline Sinks Result Schema - Defines the schema of the events in the data stream.
- Type string
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
- config object
- Defines the configuration of the R2 Sink.
- created_
at string - format object
- Defines the output data format of a sink.
- id string
- Indicates a unique identifier for this sink.
- modified_
at string - name string
- Defines the name of the Sink.
- schema object
- Defines the schema of the events in the data stream.
- type string
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
- config
Get
Pipeline Sinks Result Config - Defines the configuration of the R2 Sink.
- created
At String - format
Get
Pipeline Sinks Result Format - Defines the output data format of a sink.
- id String
- Indicates a unique identifier for this sink.
- modified
At String - name String
- Defines the name of the Sink.
- schema
Get
Pipeline Sinks Result Schema - Defines the schema of the events in the data stream.
- type String
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
- config
Get
Pipeline Sinks Result Config - Defines the configuration of the R2 Sink.
- created
At string - format
Get
Pipeline Sinks Result Format - Defines the output data format of a sink.
- id string
- Indicates a unique identifier for this sink.
- modified
At string - name string
- Defines the name of the Sink.
- schema
Get
Pipeline Sinks Result Schema - Defines the schema of the events in the data stream.
- type string
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
- config
Get
Pipeline Sinks Result Config - Defines the configuration of the R2 Sink.
- created_
at str - format
Get
Pipeline Sinks Result Format - Defines the output data format of a sink.
- id str
- Indicates a unique identifier for this sink.
- modified_
at str - name str
- Defines the name of the Sink.
- schema
Get
Pipeline Sinks Result Schema - Defines the schema of the events in the data stream.
- type str
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
- config Property Map
- Defines the configuration of the R2 Sink.
- created
At String - format Property Map
- Defines the output data format of a sink.
- id String
- Indicates a unique identifier for this sink.
- modified
At String - name String
- Defines the name of the Sink.
- schema Property Map
- Defines the schema of the events in the data stream.
- type String
- Specifies the type of sink. Available values: "r2", "r2datacatalog", "basinCatalog".
GetPipelineSinksResultConfig
- Account
Id string - Cloudflare Account ID for the bucket
- Bucket string
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- File
Naming GetPipeline Sinks Result Config File Naming - Controls filename prefix/suffix and strategy.
- Jurisdiction string
- Jurisdiction this bucket is hosted in
- Namespace string
- Table namespace
- Partitioning
Get
Pipeline Sinks Result Config Partitioning - Data-layout partitioning for sinks.
- Path string
- Subpath within the bucket to write to
- Rolling
Policy GetPipeline Sinks Result Config Rolling Policy - Rolling policy for file sinks (when & why to close a file and open a new one).
- Table
Name string - Table name
- Account
Id string - Cloudflare Account ID for the bucket
- Bucket string
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- File
Naming GetPipeline Sinks Result Config File Naming - Controls filename prefix/suffix and strategy.
- Jurisdiction string
- Jurisdiction this bucket is hosted in
- Namespace string
- Table namespace
- Partitioning
Get
Pipeline Sinks Result Config Partitioning - Data-layout partitioning for sinks.
- Path string
- Subpath within the bucket to write to
- Rolling
Policy GetPipeline Sinks Result Config Rolling Policy - Rolling policy for file sinks (when & why to close a file and open a new one).
- Table
Name string - Table name
- account_
id string - Cloudflare Account ID for the bucket
- bucket string
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- file_
naming object - Controls filename prefix/suffix and strategy.
- jurisdiction string
- Jurisdiction this bucket is hosted in
- namespace string
- Table namespace
- partitioning object
- Data-layout partitioning for sinks.
- path string
- Subpath within the bucket to write to
- rolling_
policy object - Rolling policy for file sinks (when & why to close a file and open a new one).
- table_
name string - Table name
- account
Id String - Cloudflare Account ID for the bucket
- bucket String
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- file
Naming GetPipeline Sinks Result Config File Naming - Controls filename prefix/suffix and strategy.
- jurisdiction String
- Jurisdiction this bucket is hosted in
- namespace String
- Table namespace
- partitioning
Get
Pipeline Sinks Result Config Partitioning - Data-layout partitioning for sinks.
- path String
- Subpath within the bucket to write to
- rolling
Policy GetPipeline Sinks Result Config Rolling Policy - Rolling policy for file sinks (when & why to close a file and open a new one).
- table
Name String - Table name
- account
Id string - Cloudflare Account ID for the bucket
- bucket string
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- file
Naming GetPipeline Sinks Result Config File Naming - Controls filename prefix/suffix and strategy.
- jurisdiction string
- Jurisdiction this bucket is hosted in
- namespace string
- Table namespace
- partitioning
Get
Pipeline Sinks Result Config Partitioning - Data-layout partitioning for sinks.
- path string
- Subpath within the bucket to write to
- rolling
Policy GetPipeline Sinks Result Config Rolling Policy - Rolling policy for file sinks (when & why to close a file and open a new one).
- table
Name string - Table name
- account_
id str - Cloudflare Account ID for the bucket
- bucket str
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- file_
naming GetPipeline Sinks Result Config File Naming - Controls filename prefix/suffix and strategy.
- jurisdiction str
- Jurisdiction this bucket is hosted in
- namespace str
- Table namespace
- partitioning
Get
Pipeline Sinks Result Config Partitioning - Data-layout partitioning for sinks.
- path str
- Subpath within the bucket to write to
- rolling_
policy GetPipeline Sinks Result Config Rolling Policy - Rolling policy for file sinks (when & why to close a file and open a new one).
- table_
name str - Table name
- account
Id String - Cloudflare Account ID for the bucket
- bucket String
R2 Bucket to write to
The R2 Bucket that hosts this catalog
- file
Naming Property Map - Controls filename prefix/suffix and strategy.
- jurisdiction String
- Jurisdiction this bucket is hosted in
- namespace String
- Table namespace
- partitioning Property Map
- Data-layout partitioning for sinks.
- path String
- Subpath within the bucket to write to
- rolling
Policy Property Map - Rolling policy for file sinks (when & why to close a file and open a new one).
- table
Name String - Table name
GetPipelineSinksResultConfigFileNaming
GetPipelineSinksResultConfigPartitioning
- Time
Pattern string - The pattern of the date string
- Time
Pattern string - The pattern of the date string
- time_
pattern string - The pattern of the date string
- time
Pattern String - The pattern of the date string
- time
Pattern string - The pattern of the date string
- time_
pattern str - The pattern of the date string
- time
Pattern String - The pattern of the date string
GetPipelineSinksResultConfigRollingPolicy
- File
Size intBytes - Files will be rolled after reaching this number of bytes
- Inactivity
Seconds int - Number of seconds of inactivity to wait before rolling over to a new file
- Interval
Seconds int - Number of seconds to wait before rolling over to a new file
- File
Size intBytes - Files will be rolled after reaching this number of bytes
- Inactivity
Seconds int - Number of seconds of inactivity to wait before rolling over to a new file
- Interval
Seconds int - Number of seconds to wait before rolling over to a new file
- file_
size_ numberbytes - Files will be rolled after reaching this number of bytes
- inactivity_
seconds number - Number of seconds of inactivity to wait before rolling over to a new file
- interval_
seconds number - Number of seconds to wait before rolling over to a new file
- file
Size IntegerBytes - Files will be rolled after reaching this number of bytes
- inactivity
Seconds Integer - Number of seconds of inactivity to wait before rolling over to a new file
- interval
Seconds Integer - Number of seconds to wait before rolling over to a new file
- file
Size numberBytes - Files will be rolled after reaching this number of bytes
- inactivity
Seconds number - Number of seconds of inactivity to wait before rolling over to a new file
- interval
Seconds number - Number of seconds to wait before rolling over to a new file
- file_
size_ intbytes - Files will be rolled after reaching this number of bytes
- inactivity_
seconds int - Number of seconds of inactivity to wait before rolling over to a new file
- interval_
seconds int - Number of seconds to wait before rolling over to a new file
- file
Size NumberBytes - Files will be rolled after reaching this number of bytes
- inactivity
Seconds Number - Number of seconds of inactivity to wait before rolling over to a new file
- interval
Seconds Number - Number of seconds to wait before rolling over to a new file
GetPipelineSinksResultFormat
- Compression string
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - Decimal
Encoding string - Available values: "number", "string", "bytes".
- Row
Group intBytes - Timestamp
Format string - Available values: "rfc3339", "unixMillis".
- Type string
- Available values: "json", "parquet".
- Unstructured bool
- Compression string
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - Decimal
Encoding string - Available values: "number", "string", "bytes".
- Row
Group intBytes - Timestamp
Format string - Available values: "rfc3339", "unixMillis".
- Type string
- Available values: "json", "parquet".
- Unstructured bool
- compression string
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - decimal_
encoding string - Available values: "number", "string", "bytes".
- row_
group_ numberbytes - timestamp_
format string - Available values: "rfc3339", "unixMillis".
- type string
- Available values: "json", "parquet".
- unstructured bool
- compression String
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - decimal
Encoding String - Available values: "number", "string", "bytes".
- row
Group IntegerBytes - timestamp
Format String - Available values: "rfc3339", "unixMillis".
- type String
- Available values: "json", "parquet".
- unstructured Boolean
- compression string
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - decimal
Encoding string - Available values: "number", "string", "bytes".
- row
Group numberBytes - timestamp
Format string - Available values: "rfc3339", "unixMillis".
- type string
- Available values: "json", "parquet".
- unstructured boolean
- compression str
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - decimal_
encoding str - Available values: "number", "string", "bytes".
- row_
group_ intbytes - timestamp_
format str - Available values: "rfc3339", "unixMillis".
- type str
- Available values: "json", "parquet".
- unstructured bool
- compression String
- For
type: json: Specifies the compression applied to JSON sink output. Available values: "uncompressed", "gzip", "snappy", "zstd", "lz4". - decimal
Encoding String - Available values: "number", "string", "bytes".
- row
Group NumberBytes - timestamp
Format String - Available values: "rfc3339", "unixMillis".
- type String
- Available values: "json", "parquet".
- unstructured Boolean
GetPipelineSinksResultSchema
- fields List<Property Map>
- inferred Boolean
GetPipelineSinksResultSchemaField
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
published on Thursday, Nov 12, 2026 by Pulumi