1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. getColumn
honeycombio 0.32.0 published on Monday, Apr 7, 2025 by honeycombio

honeycombio.getColumn

Explore with Pulumi AI

honeycombio 0.32.0 published on Monday, Apr 7, 2025 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");
const mycol = honeycombio.getColumn({
    dataset: dataset,
    name: "mycol",
});
Copy
import pulumi
import pulumi_honeycombio as honeycombio

config = pulumi.Config()
dataset = config.require("dataset")
mycol = honeycombio.get_column(dataset=dataset,
    name="mycol")
Copy
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")
		_, err := honeycombio.LookupColumn(ctx, &honeycombio.LookupColumnArgs{
			Dataset: dataset,
			Name:    "mycol",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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");
    var mycol = Honeycombio.GetColumn.Invoke(new()
    {
        Dataset = dataset,
        Name = "mycol",
    });

});
Copy
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");
        final var mycol = HoneycombioFunctions.getColumn(GetColumnArgs.builder()
            .dataset(dataset)
            .name("mycol")
            .build());

    }
}
Copy
configuration:
  dataset:
    type: string
variables:
  mycol:
    fn::invoke:
      function: honeycombio:getColumn
      arguments:
        dataset: ${dataset}
        name: mycol
Copy

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>
Copy
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]
Copy
func LookupColumn(ctx *Context, args *LookupColumnArgs, opts ...InvokeOption) (*LookupColumnResult, error)
func LookupColumnOutput(ctx *Context, args *LookupColumnOutputArgs, opts ...InvokeOption) LookupColumnResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetColumnResult> getColumn(GetColumnArgs args, InvokeOptions options)
public static Output<GetColumnResult> getColumn(GetColumnArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: honeycombio:index/getColumn:getColumn
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Dataset This property is required. string
The dataset this column is associated with
Name This property is required. string
The name of the column
Id string
Dataset This property is required. string
The dataset this column is associated with
Name This property is required. string
The name of the column
Id string
dataset This property is required. String
The dataset this column is associated with
name This property is required. String
The name of the column
id String
dataset This property is required. string
The dataset this column is associated with
name This property is required. string
The name of the column
id string
dataset This property is required. str
The dataset this column is associated with
name This property is required. str
The name of the column
id str
dataset This property is required. String
The dataset this column is associated with
name This property is required. String
The name of the column
id String

getColumn Result

The following output properties are available:

CreatedAt string
the ISO8601 formatted time when the column was created
Dataset string
Description string
the description of the column
Hidden bool
whether or not the column is hidden from the query builder and results
Id string
LastWrittenAt string
the ISO8601 formatted time that the column last received data
Name string
Type string
the type of the column (string, integer, float, or boolean)
UpdatedAt string
the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed
CreatedAt string
the ISO8601 formatted time when the column was created
Dataset string
Description string
the description of the column
Hidden bool
whether or not the column is hidden from the query builder and results
Id string
LastWrittenAt string
the ISO8601 formatted time that the column last received data
Name string
Type string
the type of the column (string, integer, float, or boolean)
UpdatedAt string
the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed
createdAt String
the ISO8601 formatted time when the column was created
dataset String
description String
the description of the column
hidden Boolean
whether or not the column is hidden from the query builder and results
id String
lastWrittenAt String
the ISO8601 formatted time that the column last received data
name String
type String
the type of the column (string, integer, float, or boolean)
updatedAt String
the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed
createdAt string
the ISO8601 formatted time when the column was created
dataset string
description string
the description of the column
hidden boolean
whether or not the column is hidden from the query builder and results
id string
lastWrittenAt string
the ISO8601 formatted time that the column last received data
name string
type string
the type of the column (string, integer, float, or boolean)
updatedAt string
the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed
created_at str
the ISO8601 formatted time when the column was created
dataset str
description str
the description of the column
hidden bool
whether or not the column is hidden from the query builder and results
id str
last_written_at str
the ISO8601 formatted time that the column last received data
name str
type str
the type of the column (string, integer, float, or boolean)
updated_at str
the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed
createdAt String
the ISO8601 formatted time when the column was created
dataset String
description String
the description of the column
hidden Boolean
whether or not the column is hidden from the query builder and results
id String
lastWrittenAt String
the ISO8601 formatted time that the column last received data
name String
type String
the type of the column (string, integer, float, or boolean)
updatedAt String
the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed

Package Details

Repository
honeycombio honeycombio/terraform-provider-honeycombio
License
Notes
This Pulumi package is based on the honeycombio Terraform Provider.
honeycombio 0.32.0 published on Monday, Apr 7, 2025 by honeycombio