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

    " pulumi-lang-dotnet=" honeycombio.Dataset " pulumi-lang-go=" Dataset " pulumi-lang-python=" Dataset " pulumi-lang-yaml=" honeycombio.Dataset " pulumi-lang-java=" honeycombio.Dataset “> honeycombio.Dataset The honeycombio.Dataset data source retrieves the details of a single Dataset. If you want to retrieve multiple Datasets, use the honeycombio.getDatasets data source instead.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as honeycombio from "@pulumi/honeycombio";
    
    // Retrieve the details of a Dataset
    const my_service = honeycombio.getDataset({
        slug: "my-service",
    });
    
    import pulumi
    import pulumi_honeycombio as honeycombio
    
    # Retrieve the details of a Dataset
    my_service = honeycombio.get_dataset(slug="my-service")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve the details of a Dataset
    		_, err := honeycombio.LookupDataset(ctx, &honeycombio.LookupDatasetArgs{
    			Slug: "my-service",
    		}, 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(() => 
    {
        // Retrieve the details of a Dataset
        var my_service = Honeycombio.GetDataset.Invoke(new()
        {
            Slug = "my-service",
        });
    
    });
    
    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.GetDatasetArgs;
    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) {
            // Retrieve the details of a Dataset
            final var my-service = HoneycombioFunctions.getDataset(GetDatasetArgs.builder()
                .slug("my-service")
                .build());
    
        }
    }
    
    variables:
      # Retrieve the details of a Dataset
      my-service:
        fn::invoke:
          function: honeycombio:getDataset
          arguments:
            slug: my-service
    

    Using getDataset

    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 getDataset(args: GetDatasetArgs, opts?: InvokeOptions): Promise<GetDatasetResult>
    function getDatasetOutput(args: GetDatasetOutputArgs, opts?: InvokeOptions): Output<GetDatasetResult>
    def get_dataset(slug: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDatasetResult
    def get_dataset_output(slug: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetDatasetResult]
    func LookupDataset(ctx *Context, args *LookupDatasetArgs, opts ...InvokeOption) (*LookupDatasetResult, error)
    func LookupDatasetOutput(ctx *Context, args *LookupDatasetOutputArgs, opts ...InvokeOption) LookupDatasetResultOutput

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

    public static class GetDataset 
    {
        public static Task<GetDatasetResult> InvokeAsync(GetDatasetArgs args, InvokeOptions? opts = null)
        public static Output<GetDatasetResult> Invoke(GetDatasetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOptions options)
    public static Output<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: honeycombio:index/getDataset:getDataset
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Slug string
    The Slug of the Dataset to fetch.
    Slug string
    The Slug of the Dataset to fetch.
    slug String
    The Slug of the Dataset to fetch.
    slug string
    The Slug of the Dataset to fetch.
    slug str
    The Slug of the Dataset to fetch.
    slug String
    The Slug of the Dataset to fetch.

    getDataset Result

    The following output properties are available:

    CreatedAt string
    ISO8601-formatted time the dataset was created.
    DeleteProtected bool
    The current delete protection status of the Environment.
    Description string
    The Dataset's description.
    ExpandJsonDepth double
    The Dataset's maximum unpacking depth of nested JSON fields.
    Id string
    The ID of the Dataset.
    LastWrittenAt string
    ISO8601-formatted time the dataset was last written to (received event data).
    Name string
    The name of the Dataset.
    Slug string
    The Slug of the Dataset to fetch.
    CreatedAt string
    ISO8601-formatted time the dataset was created.
    DeleteProtected bool
    The current delete protection status of the Environment.
    Description string
    The Dataset's description.
    ExpandJsonDepth float64
    The Dataset's maximum unpacking depth of nested JSON fields.
    Id string
    The ID of the Dataset.
    LastWrittenAt string
    ISO8601-formatted time the dataset was last written to (received event data).
    Name string
    The name of the Dataset.
    Slug string
    The Slug of the Dataset to fetch.
    createdAt String
    ISO8601-formatted time the dataset was created.
    deleteProtected Boolean
    The current delete protection status of the Environment.
    description String
    The Dataset's description.
    expandJsonDepth Double
    The Dataset's maximum unpacking depth of nested JSON fields.
    id String
    The ID of the Dataset.
    lastWrittenAt String
    ISO8601-formatted time the dataset was last written to (received event data).
    name String
    The name of the Dataset.
    slug String
    The Slug of the Dataset to fetch.
    createdAt string
    ISO8601-formatted time the dataset was created.
    deleteProtected boolean
    The current delete protection status of the Environment.
    description string
    The Dataset's description.
    expandJsonDepth number
    The Dataset's maximum unpacking depth of nested JSON fields.
    id string
    The ID of the Dataset.
    lastWrittenAt string
    ISO8601-formatted time the dataset was last written to (received event data).
    name string
    The name of the Dataset.
    slug string
    The Slug of the Dataset to fetch.
    created_at str
    ISO8601-formatted time the dataset was created.
    delete_protected bool
    The current delete protection status of the Environment.
    description str
    The Dataset's description.
    expand_json_depth float
    The Dataset's maximum unpacking depth of nested JSON fields.
    id str
    The ID of the Dataset.
    last_written_at str
    ISO8601-formatted time the dataset was last written to (received event data).
    name str
    The name of the Dataset.
    slug str
    The Slug of the Dataset to fetch.
    createdAt String
    ISO8601-formatted time the dataset was created.
    deleteProtected Boolean
    The current delete protection status of the Environment.
    description String
    The Dataset's description.
    expandJsonDepth Number
    The Dataset's maximum unpacking depth of nested JSON fields.
    id String
    The ID of the Dataset.
    lastWrittenAt String
    ISO8601-formatted time the dataset was last written to (received event data).
    name String
    The name of the Dataset.
    slug String
    The Slug of the Dataset to fetch.

    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