1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. getSlo
Honeycomb 0.44.0 published on Monday, Dec 15, 2025 by honeycombio
honeycombio logo
Honeycomb 0.44.0 published on Monday, Dec 15, 2025 by honeycombio

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

    " pulumi-lang-dotnet=" honeycombio.Slo " pulumi-lang-go=" Slo " pulumi-lang-python=" Slo " pulumi-lang-yaml=" honeycombio.Slo " pulumi-lang-java=" honeycombio.Slo “> honeycombio.Slo The honeycombio.Slo data source retrieves the details of a single SLO.
    If you want to retreive multiple SLOs, use the honeycombio.getSlos data source instead.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as honeycombio from "@pulumi/honeycombio";
    
    // Retrieve the details of a single SLO
    const myslo = honeycombio.getSlo({
        id: "fS4WfA82ACt",
    });
    
    import pulumi
    import pulumi_honeycombio as honeycombio
    
    # Retrieve the details of a single SLO
    myslo = honeycombio.get_slo(id="fS4WfA82ACt")
    
    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 single SLO
    		_, err := honeycombio.LookupSlo(ctx, &honeycombio.LookupSloArgs{
    			Id: "fS4WfA82ACt",
    		}, 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 single SLO
        var myslo = Honeycombio.GetSlo.Invoke(new()
        {
            Id = "fS4WfA82ACt",
        });
    
    });
    
    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.GetSloArgs;
    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 single SLO
            final var myslo = HoneycombioFunctions.getSlo(GetSloArgs.builder()
                .id("fS4WfA82ACt")
                .build());
    
        }
    }
    
    variables:
      # Retrieve the details of a single SLO
      myslo:
        fn::invoke:
          function: honeycombio:getSlo
          arguments:
            id: fS4WfA82ACt
    

    Using getSlo

    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 getSlo(args: GetSloArgs, opts?: InvokeOptions): Promise<GetSloResult>
    function getSloOutput(args: GetSloOutputArgs, opts?: InvokeOptions): Output<GetSloResult>
    def get_slo(dataset: Optional[str] = None,
                id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetSloResult
    def get_slo_output(dataset: Optional[pulumi.Input[str]] = None,
                id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetSloResult]
    func LookupSlo(ctx *Context, args *LookupSloArgs, opts ...InvokeOption) (*LookupSloResult, error)
    func LookupSloOutput(ctx *Context, args *LookupSloOutputArgs, opts ...InvokeOption) LookupSloResultOutput

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

    public static class GetSlo 
    {
        public static Task<GetSloResult> InvokeAsync(GetSloArgs args, InvokeOptions? opts = null)
        public static Output<GetSloResult> Invoke(GetSloInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSloResult> getSlo(GetSloArgs args, InvokeOptions options)
    public static Output<GetSloResult> getSlo(GetSloArgs args, InvokeOptions options)
    
    fn::invoke:
      function: honeycombio:index/getSlo:getSlo
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the SLO to fetch.
    Dataset string
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    Id string
    The ID of the SLO to fetch.
    Dataset string
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    id String
    The ID of the SLO to fetch.
    dataset String
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    id string
    The ID of the SLO to fetch.
    dataset string
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    id str
    The ID of the SLO to fetch.
    dataset str
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    id String
    The ID of the SLO to fetch.
    dataset String
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    getSlo Result

    The following output properties are available:

    Dataset string
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    Datasets List<string>
    The datasets the SLO is evaluated on.
    Description string
    The SLO's description.
    Id string
    The ID of the SLO to fetch.
    Name string
    The name of the SLO.
    Sli string
    The alias of the Derived Column used as the SLO's SLI.
    Tags Dictionary<string, string>
    A map of tags associated with the resource.
    TargetPercentage double
    The percentage of qualified events expected to succeed during the time_period.
    TimePeriod double
    The time period, in days, over which the SLO is evaluated.
    Dataset string
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    Datasets []string
    The datasets the SLO is evaluated on.
    Description string
    The SLO's description.
    Id string
    The ID of the SLO to fetch.
    Name string
    The name of the SLO.
    Sli string
    The alias of the Derived Column used as the SLO's SLI.
    Tags map[string]string
    A map of tags associated with the resource.
    TargetPercentage float64
    The percentage of qualified events expected to succeed during the time_period.
    TimePeriod float64
    The time period, in days, over which the SLO is evaluated.
    dataset String
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    datasets List<String>
    The datasets the SLO is evaluated on.
    description String
    The SLO's description.
    id String
    The ID of the SLO to fetch.
    name String
    The name of the SLO.
    sli String
    The alias of the Derived Column used as the SLO's SLI.
    tags Map<String,String>
    A map of tags associated with the resource.
    targetPercentage Double
    The percentage of qualified events expected to succeed during the time_period.
    timePeriod Double
    The time period, in days, over which the SLO is evaluated.
    dataset string
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    datasets string[]
    The datasets the SLO is evaluated on.
    description string
    The SLO's description.
    id string
    The ID of the SLO to fetch.
    name string
    The name of the SLO.
    sli string
    The alias of the Derived Column used as the SLO's SLI.
    tags {[key: string]: string}
    A map of tags associated with the resource.
    targetPercentage number
    The percentage of qualified events expected to succeed during the time_period.
    timePeriod number
    The time period, in days, over which the SLO is evaluated.
    dataset str
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    datasets Sequence[str]
    The datasets the SLO is evaluated on.
    description str
    The SLO's description.
    id str
    The ID of the SLO to fetch.
    name str
    The name of the SLO.
    sli str
    The alias of the Derived Column used as the SLO's SLI.
    tags Mapping[str, str]
    A map of tags associated with the resource.
    target_percentage float
    The percentage of qualified events expected to succeed during the time_period.
    time_period float
    The time period, in days, over which the SLO is evaluated.
    dataset String
    The dataset to fetch the SLO from.

    Deprecated: Deprecated

    datasets List<String>
    The datasets the SLO is evaluated on.
    description String
    The SLO's description.
    id String
    The ID of the SLO to fetch.
    name String
    The name of the SLO.
    sli String
    The alias of the Derived Column used as the SLO's SLI.
    tags Map<String>
    A map of tags associated with the resource.
    targetPercentage Number
    The percentage of qualified events expected to succeed during the time_period.
    timePeriod Number
    The time period, in days, over which the SLO is evaluated.

    Package Details

    Repository
    honeycombio honeycombio/terraform-provider-honeycombio
    License
    Notes
    This Pulumi package is based on the honeycombio Terraform Provider.
    honeycombio logo
    Honeycomb 0.44.0 published on Monday, Dec 15, 2025 by honeycombio
      Meet Neo: Your AI Platform Teammate