Viewing docs for Honeycomb 0.47.1
published on Monday, Mar 9, 2026 by honeycombio
published on Monday, Mar 9, 2026 by honeycombio
Viewing docs for Honeycomb 0.47.1
published on Monday, Mar 9, 2026 by honeycombio
published on Monday, Mar 9, 2026 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";
// 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 dictionaryThe following arguments are supported:
getSlo Result
The following output properties are available:
- Dataset string
- The dataset to fetch the SLO from.
- 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.
- Dictionary<string, string>
- A map of tags associated with 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
- The dataset to fetch the SLO from.
- 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.
- map[string]string
- A map of tags associated with 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
- The dataset to fetch the SLO from.
- 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.
- Map<String,String>
- A map of tags associated with 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
- The dataset to fetch the SLO from.
- 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.
- {[key: string]: string}
- A map of tags associated with 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
- The dataset to fetch the SLO from.
- 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.
- 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.
- 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.
- Map<String>
- A map of tags associated with 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.
Viewing docs for Honeycomb 0.47.1
published on Monday, Mar 9, 2026 by honeycombio
published on Monday, Mar 9, 2026 by honeycombio
