1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. getColumn
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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as honeycombio from "@pulumi/honeycombio";
    
    const config = new pulumi.Config();
    const dataset = config.require("dataset");
    // Retrieve the details of a single column
    const mycol = honeycombio.getColumn({
        dataset: dataset,
        name: "mycol",
    });
    
    import pulumi
    import pulumi_honeycombio as honeycombio
    
    config = pulumi.Config()
    dataset = config.require("dataset")
    # Retrieve the details of a single column
    mycol = honeycombio.get_column(dataset=dataset,
        name="mycol")
    
    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")
    		// Retrieve the details of a single column
    		_, err := honeycombio.LookupColumn(ctx, &honeycombio.LookupColumnArgs{
    			Dataset: dataset,
    			Name:    "mycol",
    		}, 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");
        // Retrieve the details of a single column
        var mycol = Honeycombio.GetColumn.Invoke(new()
        {
            Dataset = dataset,
            Name = "mycol",
        });
    
    });
    
    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.GetColumnArgs;
    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");
            // Retrieve the details of a single column
            final var mycol = HoneycombioFunctions.getColumn(GetColumnArgs.builder()
                .dataset(dataset)
                .name("mycol")
                .build());
    
        }
    }
    
    configuration:
      dataset:
        type: string
    variables:
      # Retrieve the details of a single column
      mycol:
        fn::invoke:
          function: honeycombio:getColumn
          arguments:
            dataset: ${dataset}
            name: mycol
    

    Using getColumn

    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 getColumn(args: GetColumnArgs, opts?: InvokeOptions): Promise<GetColumnResult>
    function getColumnOutput(args: GetColumnOutputArgs, opts?: InvokeOptions): Output<GetColumnResult>
    def get_column(dataset: Optional[str] = None,
                   id: Optional[str] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetColumnResult
    def get_column_output(dataset: Optional[pulumi.Input[str]] = None,
                   id: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetColumnResult]
    func LookupColumn(ctx *Context, args *LookupColumnArgs, opts ...InvokeOption) (*LookupColumnResult, error)
    func LookupColumnOutput(ctx *Context, args *LookupColumnOutputArgs, opts ...InvokeOption) LookupColumnResultOutput

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

    public static class GetColumn 
    {
        public static Task<GetColumnResult> InvokeAsync(GetColumnArgs args, InvokeOptions? opts = null)
        public static Output<GetColumnResult> Invoke(GetColumnInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetColumnResult> getColumn(GetColumnArgs args, InvokeOptions options)
    public static Output<GetColumnResult> getColumn(GetColumnArgs args, InvokeOptions options)
    
    fn::invoke:
      function: honeycombio:index/getColumn:getColumn
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Dataset string
    The dataset this column is associated with
    Name string
    Name of the column
    Id string
    The ID of this resource.
    Dataset string
    The dataset this column is associated with
    Name string
    Name of the column
    Id string
    The ID of this resource.
    dataset String
    The dataset this column is associated with
    name String
    Name of the column
    id String
    The ID of this resource.
    dataset string
    The dataset this column is associated with
    name string
    Name of the column
    id string
    The ID of this resource.
    dataset str
    The dataset this column is associated with
    name str
    Name of the column
    id str
    The ID of this resource.
    dataset String
    The dataset this column is associated with
    name String
    Name of the column
    id String
    The ID of this resource.

    getColumn Result

    The following output properties are available:

    CreatedAt string
    The time the column was created
    Dataset string
    The dataset this column is associated with
    Description string
    A description of the column
    Hidden bool
    Whether the column is hidden
    Id string
    The ID of this resource.
    LastWrittenAt string
    The last time the column was written to
    Name string
    Name of the column
    Type string
    The type of column, allowed types are string, integer, float, and boolean.
    UpdatedAt string
    The time the column was last updated
    CreatedAt string
    The time the column was created
    Dataset string
    The dataset this column is associated with
    Description string
    A description of the column
    Hidden bool
    Whether the column is hidden
    Id string
    The ID of this resource.
    LastWrittenAt string
    The last time the column was written to
    Name string
    Name of the column
    Type string
    The type of column, allowed types are string, integer, float, and boolean.
    UpdatedAt string
    The time the column was last updated
    createdAt String
    The time the column was created
    dataset String
    The dataset this column is associated with
    description String
    A description of the column
    hidden Boolean
    Whether the column is hidden
    id String
    The ID of this resource.
    lastWrittenAt String
    The last time the column was written to
    name String
    Name of the column
    type String
    The type of column, allowed types are string, integer, float, and boolean.
    updatedAt String
    The time the column was last updated
    createdAt string
    The time the column was created
    dataset string
    The dataset this column is associated with
    description string
    A description of the column
    hidden boolean
    Whether the column is hidden
    id string
    The ID of this resource.
    lastWrittenAt string
    The last time the column was written to
    name string
    Name of the column
    type string
    The type of column, allowed types are string, integer, float, and boolean.
    updatedAt string
    The time the column was last updated
    created_at str
    The time the column was created
    dataset str
    The dataset this column is associated with
    description str
    A description of the column
    hidden bool
    Whether the column is hidden
    id str
    The ID of this resource.
    last_written_at str
    The last time the column was written to
    name str
    Name of the column
    type str
    The type of column, allowed types are string, integer, float, and boolean.
    updated_at str
    The time the column was last updated
    createdAt String
    The time the column was created
    dataset String
    The dataset this column is associated with
    description String
    A description of the column
    hidden Boolean
    Whether the column is hidden
    id String
    The ID of this resource.
    lastWrittenAt String
    The last time the column was written to
    name String
    Name of the column
    type String
    The type of column, allowed types are string, integer, float, and boolean.
    updatedAt String
    The time the column was last updated

    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