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

honeycombio.getDerivedColumn

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 mydc = honeycombio.getDerivedColumn({
    dataset: dataset,
    alias: "mydc",
});
Copy
import pulumi
import pulumi_honeycombio as honeycombio

config = pulumi.Config()
dataset = config.require("dataset")
mydc = honeycombio.get_derived_column(dataset=dataset,
    alias="mydc")
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.LookupDerivedColumn(ctx, &honeycombio.LookupDerivedColumnArgs{
			Dataset: pulumi.StringRef(dataset),
			Alias:   "mydc",
		}, 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 mydc = Honeycombio.GetDerivedColumn.Invoke(new()
    {
        Dataset = dataset,
        Alias = "mydc",
    });

});
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.GetDerivedColumnArgs;
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 mydc = HoneycombioFunctions.getDerivedColumn(GetDerivedColumnArgs.builder()
            .dataset(dataset)
            .alias("mydc")
            .build());

    }
}
Copy
configuration:
  dataset:
    type: string
variables:
  mydc:
    fn::invoke:
      function: honeycombio:getDerivedColumn
      arguments:
        dataset: ${dataset}
        alias: mydc
Copy

Using getDerivedColumn

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 getDerivedColumn(args: GetDerivedColumnArgs, opts?: InvokeOptions): Promise<GetDerivedColumnResult>
function getDerivedColumnOutput(args: GetDerivedColumnOutputArgs, opts?: InvokeOptions): Output<GetDerivedColumnResult>
Copy
def get_derived_column(alias: Optional[str] = None,
                       dataset: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDerivedColumnResult
def get_derived_column_output(alias: Optional[pulumi.Input[str]] = None,
                       dataset: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDerivedColumnResult]
Copy
func LookupDerivedColumn(ctx *Context, args *LookupDerivedColumnArgs, opts ...InvokeOption) (*LookupDerivedColumnResult, error)
func LookupDerivedColumnOutput(ctx *Context, args *LookupDerivedColumnOutputArgs, opts ...InvokeOption) LookupDerivedColumnResultOutput
Copy

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

public static class GetDerivedColumn 
{
    public static Task<GetDerivedColumnResult> InvokeAsync(GetDerivedColumnArgs args, InvokeOptions? opts = null)
    public static Output<GetDerivedColumnResult> Invoke(GetDerivedColumnInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDerivedColumnResult> getDerivedColumn(GetDerivedColumnArgs args, InvokeOptions options)
public static Output<GetDerivedColumnResult> getDerivedColumn(GetDerivedColumnArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: honeycombio:index/getDerivedColumn:getDerivedColumn
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Alias This property is required. string
The alias of the column
Dataset string
The dataset this derived column is associated with. If not set, an Environment-wide lookup will be performed.
Alias This property is required. string
The alias of the column
Dataset string
The dataset this derived column is associated with. If not set, an Environment-wide lookup will be performed.
alias This property is required. String
The alias of the column
dataset String
The dataset this derived column is associated with. If not set, an Environment-wide lookup will be performed.
alias This property is required. string
The alias of the column
dataset string
The dataset this derived column is associated with. If not set, an Environment-wide lookup will be performed.
alias This property is required. str
The alias of the column
dataset str
The dataset this derived column is associated with. If not set, an Environment-wide lookup will be performed.
alias This property is required. String
The alias of the column
dataset String
The dataset this derived column is associated with. If not set, an Environment-wide lookup will be performed.

getDerivedColumn Result

The following output properties are available:

Alias string
Description string
the description of the derived column
Expression string
the expression of the derived column
Id string
the ID of the derived column.
Dataset string
Alias string
Description string
the description of the derived column
Expression string
the expression of the derived column
Id string
the ID of the derived column.
Dataset string
alias String
description String
the description of the derived column
expression String
the expression of the derived column
id String
the ID of the derived column.
dataset String
alias string
description string
the description of the derived column
expression string
the expression of the derived column
id string
the ID of the derived column.
dataset string
alias str
description str
the description of the derived column
expression str
the expression of the derived column
id str
the ID of the derived column.
dataset str
alias String
description String
the description of the derived column
expression String
the expression of the derived column
id String
the ID of the derived column.
dataset String

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