1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. getDerivedColumns
Honeycomb 0.45.0 published on Tuesday, Jan 6, 2026 by honeycombio
honeycombio logo
Honeycomb 0.45.0 published on Tuesday, Jan 6, 2026 by honeycombio

    # Data Source:<span pulumi-lang-nodejs=" honeycombio.getDerivedColumns

    " pulumi-lang-dotnet=" honeycombio.getDerivedColumns " pulumi-lang-go=" getDerivedColumns " pulumi-lang-python=" get_derived_columns " pulumi-lang-yaml=" honeycombio.getDerivedColumns " pulumi-lang-java=" honeycombio.getDerivedColumns “> honeycombio.getDerivedColumns The honeycombio.getDerivedColumns data source allows the derived columns of a dataset to be retrieved.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as honeycombio from "@pulumi/honeycombio";
    
    const config = new pulumi.Config();
    const dataset = config.require("dataset");
    // returns all columns
    const all = honeycombio.getDerivedColumns({
        dataset: dataset,
    });
    // only returns the derived columns starting with 'foo_'
    const foo = honeycombio.getDerivedColumns({
        dataset: dataset,
        startsWith: "foo_",
    });
    
    import pulumi
    import pulumi_honeycombio as honeycombio
    
    config = pulumi.Config()
    dataset = config.require("dataset")
    # returns all columns
    all = honeycombio.get_derived_columns(dataset=dataset)
    # only returns the derived columns starting with 'foo_'
    foo = honeycombio.get_derived_columns(dataset=dataset,
        starts_with="foo_")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		dataset := cfg.Require("dataset")
    		// returns all columns
    		_, err := honeycombio.GetDerivedColumns(ctx, &honeycombio.GetDerivedColumnsArgs{
    			Dataset: pulumi.StringRef(dataset),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// only returns the derived columns starting with 'foo_'
    		_, err = honeycombio.GetDerivedColumns(ctx, &honeycombio.GetDerivedColumnsArgs{
    			Dataset:    pulumi.StringRef(dataset),
    			StartsWith: pulumi.StringRef("foo_"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Honeycombio = Pulumi.Honeycombio;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var dataset = config.Require("dataset");
        // returns all columns
        var all = Honeycombio.GetDerivedColumns.Invoke(new()
        {
            Dataset = dataset,
        });
    
        // only returns the derived columns starting with 'foo_'
        var foo = Honeycombio.GetDerivedColumns.Invoke(new()
        {
            Dataset = dataset,
            StartsWith = "foo_",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.honeycombio.HoneycombioFunctions;
    import com.pulumi.honeycombio.inputs.GetDerivedColumnsArgs;
    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 config = ctx.config();
            final var dataset = config.get("dataset");
            // returns all columns
            final var all = HoneycombioFunctions.getDerivedColumns(GetDerivedColumnsArgs.builder()
                .dataset(dataset)
                .build());
    
            // only returns the derived columns starting with 'foo_'
            final var foo = HoneycombioFunctions.getDerivedColumns(GetDerivedColumnsArgs.builder()
                .dataset(dataset)
                .startsWith("foo_")
                .build());
    
        }
    }
    
    configuration:
      dataset:
        type: string
    variables:
      # returns all columns
      all:
        fn::invoke:
          function: honeycombio:getDerivedColumns
          arguments:
            dataset: ${dataset}
      # only returns the derived columns starting with 'foo_'
      foo:
        fn::invoke:
          function: honeycombio:getDerivedColumns
          arguments:
            dataset: ${dataset}
            startsWith: foo_
    

    Using getDerivedColumns

    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 getDerivedColumns(args: GetDerivedColumnsArgs, opts?: InvokeOptions): Promise<GetDerivedColumnsResult>
    function getDerivedColumnsOutput(args: GetDerivedColumnsOutputArgs, opts?: InvokeOptions): Output<GetDerivedColumnsResult>
    def get_derived_columns(dataset: Optional[str] = None,
                            starts_with: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDerivedColumnsResult
    def get_derived_columns_output(dataset: Optional[pulumi.Input[str]] = None,
                            starts_with: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDerivedColumnsResult]
    func GetDerivedColumns(ctx *Context, args *GetDerivedColumnsArgs, opts ...InvokeOption) (*GetDerivedColumnsResult, error)
    func GetDerivedColumnsOutput(ctx *Context, args *GetDerivedColumnsOutputArgs, opts ...InvokeOption) GetDerivedColumnsResultOutput

    > Note: This function is named GetDerivedColumns in the Go SDK.

    public static class GetDerivedColumns 
    {
        public static Task<GetDerivedColumnsResult> InvokeAsync(GetDerivedColumnsArgs args, InvokeOptions? opts = null)
        public static Output<GetDerivedColumnsResult> Invoke(GetDerivedColumnsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDerivedColumnsResult> getDerivedColumns(GetDerivedColumnsArgs args, InvokeOptions options)
    public static Output<GetDerivedColumnsResult> getDerivedColumns(GetDerivedColumnsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: honeycombio:index/getDerivedColumns:getDerivedColumns
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Dataset string
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    StartsWith string
    Only return columns starting with the given value.
    Dataset string
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    StartsWith string
    Only return columns starting with the given value.
    dataset String
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    startsWith String
    Only return columns starting with the given value.
    dataset string
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    startsWith string
    Only return columns starting with the given value.
    dataset str
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    starts_with str
    Only return columns starting with the given value.
    dataset String
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    startsWith String
    Only return columns starting with the given value.

    getDerivedColumns Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Names List<string>
    The list of Derived Column names.
    Dataset string
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    StartsWith string
    Only return columns starting with the given value.
    Id string
    The ID of this resource.
    Names []string
    The list of Derived Column names.
    Dataset string
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    StartsWith string
    Only return columns starting with the given value.
    id String
    The ID of this resource.
    names List<String>
    The list of Derived Column names.
    dataset String
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    startsWith String
    Only return columns starting with the given value.
    id string
    The ID of this resource.
    names string[]
    The list of Derived Column names.
    dataset string
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    startsWith string
    Only return columns starting with the given value.
    id str
    The ID of this resource.
    names Sequence[str]
    The list of Derived Column names.
    dataset str
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    starts_with str
    Only return columns starting with the given value.
    id String
    The ID of this resource.
    names List<String>
    The list of Derived Column names.
    dataset String
    The dataset to fetch the derived columns from. If not set, an Environment-wide lookup will be performed.
    startsWith String
    Only return columns starting with the given value.

    Package Details

    Repository
    honeycombio honeycombio/terraform-provider-honeycombio
    License
    Notes
    This Pulumi package is based on the honeycombio Terraform Provider.
    honeycombio logo
    Honeycomb 0.45.0 published on Tuesday, Jan 6, 2026 by honeycombio
      Meet Neo: Your AI Platform Teammate