Honeycomb 0.42.0 published on Friday, Oct 10, 2025 by honeycombio
honeycombio.getSlo
Honeycomb 0.42.0 published on Friday, Oct 10, 2025 by honeycombio
# Data Source: 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";
const myslo = honeycombio.getSlo({
    id: "fS4WfA82ACt",
});
import pulumi
import pulumi_honeycombio as honeycombio
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 {
		_, 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(() => 
{
    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) {
        final var myslo = HoneycombioFunctions.getSlo(GetSloArgs.builder()
            .id("fS4WfA82ACt")
            .build());
    }
}
variables:
  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 dictionaryThe following arguments are supported:
getSlo Result
The following output properties are available:
- Dataset string
 - Datasets List<string>
 - A list of dataset slugs the SLO is evaluated on.
 - Description string
 - the SLO's description.
 - Id string
 - Name string
 - the name of the SLO.
 - Sli string
 - the alias of the Derived Column used as the SLO's SLI.
 - Dictionary<string, string>
 - A map of the tags assigned to the resource.
 - Target
Percentage double - the percentage of qualified events expected to succeed during the 
time_period. - Time
Period double - The time period, in days, over which the SLO is evaluated.
 
- Dataset string
 - Datasets []string
 - A list of dataset slugs the SLO is evaluated on.
 - Description string
 - the SLO's description.
 - Id string
 - Name string
 - the name of the SLO.
 - Sli string
 - the alias of the Derived Column used as the SLO's SLI.
 - map[string]string
 - A map of the tags assigned to the resource.
 - Target
Percentage float64 - the percentage of qualified events expected to succeed during the 
time_period. - Time
Period float64 - The time period, in days, over which the SLO is evaluated.
 
- dataset String
 - datasets List<String>
 - A list of dataset slugs the SLO is evaluated on.
 - description String
 - the SLO's description.
 - id String
 - name String
 - the name of the SLO.
 - sli String
 - the alias of the Derived Column used as the SLO's SLI.
 - Map<String,String>
 - A map of the tags assigned to the resource.
 - target
Percentage Double - the percentage of qualified events expected to succeed during the 
time_period. - time
Period Double - The time period, in days, over which the SLO is evaluated.
 
- dataset string
 - datasets string[]
 - A list of dataset slugs the SLO is evaluated on.
 - description string
 - the SLO's description.
 - id string
 - name string
 - the name of the SLO.
 - sli string
 - the alias of the Derived Column used as the SLO's SLI.
 - {[key: string]: string}
 - A map of the tags assigned to the resource.
 - target
Percentage number - the percentage of qualified events expected to succeed during the 
time_period. - time
Period number - The time period, in days, over which the SLO is evaluated.
 
- dataset str
 - datasets Sequence[str]
 - A list of dataset slugs the SLO is evaluated on.
 - description str
 - the SLO's description.
 - id str
 - name str
 - the name of the SLO.
 - sli str
 - the alias of the Derived Column used as the SLO's SLI.
 - Mapping[str, str]
 - A map of the tags assigned to 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
 - datasets List<String>
 - A list of dataset slugs the SLO is evaluated on.
 - description String
 - the SLO's description.
 - id String
 - name String
 - the name of the SLO.
 - sli String
 - the alias of the Derived Column used as the SLO's SLI.
 - Map<String>
 - A map of the tags assigned to the resource.
 - target
Percentage Number - the percentage of qualified events expected to succeed during the 
time_period. - time
Period 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 
honeycombioTerraform Provider. 
Honeycomb 0.42.0 published on Friday, Oct 10, 2025 by honeycombio
