slo

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSlosResult

type GetSlosResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Returns a list of all SLOs"
	Slos []GetSlosSlo `pulumi:"slos"`
}

A collection of values returned by getSlos.

func GetSlos

func GetSlos(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSlosResult, error)

Datasource for retrieving all SLOs.

* [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/) * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/) * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/slo"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := slo.NewSLO(ctx, "test", &slo.SLOArgs{
			Name:        pulumi.String("Terraform Testing"),
			Description: pulumi.String("Terraform Description"),
			Queries: slo.SLOQueryArray{
				&slo.SLOQueryArgs{
					Freeform: &slo.SLOQueryFreeformArgs{
						Query: pulumi.String("sum(rate(apiserver_request_total{code!=\"500\"}[$__rate_interval])) / sum(rate(apiserver_request_total[$__rate_interval]))"),
					},
					Type: pulumi.String("freeform"),
				},
			},
			Objectives: slo.SLOObjectiveArray{
				&slo.SLOObjectiveArgs{
					Value:  pulumi.Float64(0.995),
					Window: pulumi.String("30d"),
				},
			},
			DestinationDatasource: &slo.SLODestinationDatasourceArgs{
				Uid: pulumi.String("grafanacloud-prom"),
			},
			Labels: slo.SLOLabelArray{
				&slo.SLOLabelArgs{
					Key:   pulumi.String("custom"),
					Value: pulumi.String("value"),
				},
			},
			Alertings: slo.SLOAlertingArray{
				&slo.SLOAlertingArgs{
					Fastburns: slo.SLOAlertingFastburnArray{
						&slo.SLOAlertingFastburnArgs{
							Annotations: slo.SLOAlertingFastburnAnnotationArray{
								&slo.SLOAlertingFastburnAnnotationArgs{
									Key:   pulumi.String("name"),
									Value: pulumi.String("Critical - SLO Burn Rate Alert"),
								},
							},
							Labels: slo.SLOAlertingFastburnLabelArray{
								&slo.SLOAlertingFastburnLabelArgs{
									Key:   pulumi.String("type"),
									Value: pulumi.String("slo"),
								},
							},
						},
					},
					Slowburns: slo.SLOAlertingSlowburnArray{
						&slo.SLOAlertingSlowburnArgs{
							Annotations: slo.SLOAlertingSlowburnAnnotationArray{
								&slo.SLOAlertingSlowburnAnnotationArgs{
									Key:   pulumi.String("name"),
									Value: pulumi.String("Warning - SLO Burn Rate Alert"),
								},
							},
							Labels: slo.SLOAlertingSlowburnLabelArray{
								&slo.SLOAlertingSlowburnLabelArgs{
									Key:   pulumi.String("type"),
									Value: pulumi.String("slo"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = slo.GetSlos(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSlosResultOutput

type GetSlosResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSlos.

func GetSlosOutput

func GetSlosOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSlosResultOutput

func (GetSlosResultOutput) ElementType

func (GetSlosResultOutput) ElementType() reflect.Type

func (GetSlosResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSlosResultOutput) Slos

Returns a list of all SLOs"

func (GetSlosResultOutput) ToGetSlosResultOutput

func (o GetSlosResultOutput) ToGetSlosResultOutput() GetSlosResultOutput

func (GetSlosResultOutput) ToGetSlosResultOutputWithContext

func (o GetSlosResultOutput) ToGetSlosResultOutputWithContext(ctx context.Context) GetSlosResultOutput

type GetSlosSlo

type GetSlosSlo struct {
	// Configures the alerting rules that will be generated for each
	// 				time window associated with the SLO. Grafana SLOs can generate
	// 				alerts when the short-term error budget burn is very high, the
	// 				long-term error budget burn rate is high, or when the remaining
	// 				error budget is below a certain threshold. Annotations and Labels support templating.
	Alertings []GetSlosSloAlerting `pulumi:"alertings"`
	// Description is a free-text field that can provide more context to an SLO.
	Description string `pulumi:"description"`
	// Destination Datasource sets the datasource defined for an SLO
	DestinationDatasources []GetSlosSloDestinationDatasource `pulumi:"destinationDatasources"`
	// UID for the SLO folder
	FolderUid string `pulumi:"folderUid"`
	// Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"
	Labels []GetSlosSloLabel `pulumi:"labels"`
	// Name should be a short description of your indicator. Consider names like "API Availability"
	Name string `pulumi:"name"`
	// Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
	Objectives []GetSlosSloObjective `pulumi:"objectives"`
	// Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.
	Queries []GetSlosSloQuery `pulumi:"queries"`
	// The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.
	SearchExpression string `pulumi:"searchExpression"`
	// A unique, random identifier. This value will also be the name of the resource stored in the API server. This value is read-only.
	Uuid string `pulumi:"uuid"`
}

type GetSlosSloAlerting

type GetSlosSloAlerting struct {
	// Advanced Options for Alert Rules
	AdvancedOptions *GetSlosSloAlertingAdvancedOptions `pulumi:"advancedOptions"`
	// Annotations will be attached to all alerts generated by any of these rules.
	Annotations []GetSlosSloAlertingAnnotation `pulumi:"annotations"`
	// Alerting Rules generated for Fast Burn alerts
	Fastburns []GetSlosSloAlertingFastburn `pulumi:"fastburns"`
	// Labels will be attached to all alerts generated by any of these rules.
	Labels []GetSlosSloAlertingLabel `pulumi:"labels"`
	// Alerting Rules generated for Slow Burn alerts
	Slowburns []GetSlosSloAlertingSlowburn `pulumi:"slowburns"`
}

type GetSlosSloAlertingAdvancedOptions

type GetSlosSloAlertingAdvancedOptions struct {
	// Minimum number of failed events to trigger an alert
	MinFailures *int `pulumi:"minFailures"`
}

type GetSlosSloAlertingAdvancedOptionsArgs

type GetSlosSloAlertingAdvancedOptionsArgs struct {
	// Minimum number of failed events to trigger an alert
	MinFailures pulumi.IntPtrInput `pulumi:"minFailures"`
}

func (GetSlosSloAlertingAdvancedOptionsArgs) ElementType

func (GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsOutput

func (i GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsOutput() GetSlosSloAlertingAdvancedOptionsOutput

func (GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsOutputWithContext

func (i GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsOutputWithContext(ctx context.Context) GetSlosSloAlertingAdvancedOptionsOutput

func (GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsPtrOutput

func (i GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsPtrOutput() GetSlosSloAlertingAdvancedOptionsPtrOutput

func (GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext

func (i GetSlosSloAlertingAdvancedOptionsArgs) ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext(ctx context.Context) GetSlosSloAlertingAdvancedOptionsPtrOutput

type GetSlosSloAlertingAdvancedOptionsInput

type GetSlosSloAlertingAdvancedOptionsInput interface {
	pulumi.Input

	ToGetSlosSloAlertingAdvancedOptionsOutput() GetSlosSloAlertingAdvancedOptionsOutput
	ToGetSlosSloAlertingAdvancedOptionsOutputWithContext(context.Context) GetSlosSloAlertingAdvancedOptionsOutput
}

GetSlosSloAlertingAdvancedOptionsInput is an input type that accepts GetSlosSloAlertingAdvancedOptionsArgs and GetSlosSloAlertingAdvancedOptionsOutput values. You can construct a concrete instance of `GetSlosSloAlertingAdvancedOptionsInput` via:

GetSlosSloAlertingAdvancedOptionsArgs{...}

type GetSlosSloAlertingAdvancedOptionsOutput

type GetSlosSloAlertingAdvancedOptionsOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingAdvancedOptionsOutput) ElementType

func (GetSlosSloAlertingAdvancedOptionsOutput) MinFailures

Minimum number of failed events to trigger an alert

func (GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsOutput

func (o GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsOutput() GetSlosSloAlertingAdvancedOptionsOutput

func (GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsOutputWithContext

func (o GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsOutputWithContext(ctx context.Context) GetSlosSloAlertingAdvancedOptionsOutput

func (GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutput

func (o GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutput() GetSlosSloAlertingAdvancedOptionsPtrOutput

func (GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext

func (o GetSlosSloAlertingAdvancedOptionsOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext(ctx context.Context) GetSlosSloAlertingAdvancedOptionsPtrOutput

type GetSlosSloAlertingAdvancedOptionsPtrInput

type GetSlosSloAlertingAdvancedOptionsPtrInput interface {
	pulumi.Input

	ToGetSlosSloAlertingAdvancedOptionsPtrOutput() GetSlosSloAlertingAdvancedOptionsPtrOutput
	ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext(context.Context) GetSlosSloAlertingAdvancedOptionsPtrOutput
}

GetSlosSloAlertingAdvancedOptionsPtrInput is an input type that accepts GetSlosSloAlertingAdvancedOptionsArgs, GetSlosSloAlertingAdvancedOptionsPtr and GetSlosSloAlertingAdvancedOptionsPtrOutput values. You can construct a concrete instance of `GetSlosSloAlertingAdvancedOptionsPtrInput` via:

        GetSlosSloAlertingAdvancedOptionsArgs{...}

or:

        nil

type GetSlosSloAlertingAdvancedOptionsPtrOutput

type GetSlosSloAlertingAdvancedOptionsPtrOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingAdvancedOptionsPtrOutput) Elem

func (GetSlosSloAlertingAdvancedOptionsPtrOutput) ElementType

func (GetSlosSloAlertingAdvancedOptionsPtrOutput) MinFailures

Minimum number of failed events to trigger an alert

func (GetSlosSloAlertingAdvancedOptionsPtrOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutput

func (o GetSlosSloAlertingAdvancedOptionsPtrOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutput() GetSlosSloAlertingAdvancedOptionsPtrOutput

func (GetSlosSloAlertingAdvancedOptionsPtrOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext

func (o GetSlosSloAlertingAdvancedOptionsPtrOutput) ToGetSlosSloAlertingAdvancedOptionsPtrOutputWithContext(ctx context.Context) GetSlosSloAlertingAdvancedOptionsPtrOutput

type GetSlosSloAlertingAnnotation

type GetSlosSloAlertingAnnotation struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloAlertingAnnotationArgs

type GetSlosSloAlertingAnnotationArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloAlertingAnnotationArgs) ElementType

func (GetSlosSloAlertingAnnotationArgs) ToGetSlosSloAlertingAnnotationOutput

func (i GetSlosSloAlertingAnnotationArgs) ToGetSlosSloAlertingAnnotationOutput() GetSlosSloAlertingAnnotationOutput

func (GetSlosSloAlertingAnnotationArgs) ToGetSlosSloAlertingAnnotationOutputWithContext

func (i GetSlosSloAlertingAnnotationArgs) ToGetSlosSloAlertingAnnotationOutputWithContext(ctx context.Context) GetSlosSloAlertingAnnotationOutput

type GetSlosSloAlertingAnnotationArray

type GetSlosSloAlertingAnnotationArray []GetSlosSloAlertingAnnotationInput

func (GetSlosSloAlertingAnnotationArray) ElementType

func (GetSlosSloAlertingAnnotationArray) ToGetSlosSloAlertingAnnotationArrayOutput

func (i GetSlosSloAlertingAnnotationArray) ToGetSlosSloAlertingAnnotationArrayOutput() GetSlosSloAlertingAnnotationArrayOutput

func (GetSlosSloAlertingAnnotationArray) ToGetSlosSloAlertingAnnotationArrayOutputWithContext

func (i GetSlosSloAlertingAnnotationArray) ToGetSlosSloAlertingAnnotationArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingAnnotationArrayOutput

type GetSlosSloAlertingAnnotationArrayInput

type GetSlosSloAlertingAnnotationArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingAnnotationArrayOutput() GetSlosSloAlertingAnnotationArrayOutput
	ToGetSlosSloAlertingAnnotationArrayOutputWithContext(context.Context) GetSlosSloAlertingAnnotationArrayOutput
}

GetSlosSloAlertingAnnotationArrayInput is an input type that accepts GetSlosSloAlertingAnnotationArray and GetSlosSloAlertingAnnotationArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingAnnotationArrayInput` via:

GetSlosSloAlertingAnnotationArray{ GetSlosSloAlertingAnnotationArgs{...} }

type GetSlosSloAlertingAnnotationArrayOutput

type GetSlosSloAlertingAnnotationArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingAnnotationArrayOutput) ElementType

func (GetSlosSloAlertingAnnotationArrayOutput) Index

func (GetSlosSloAlertingAnnotationArrayOutput) ToGetSlosSloAlertingAnnotationArrayOutput

func (o GetSlosSloAlertingAnnotationArrayOutput) ToGetSlosSloAlertingAnnotationArrayOutput() GetSlosSloAlertingAnnotationArrayOutput

func (GetSlosSloAlertingAnnotationArrayOutput) ToGetSlosSloAlertingAnnotationArrayOutputWithContext

func (o GetSlosSloAlertingAnnotationArrayOutput) ToGetSlosSloAlertingAnnotationArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingAnnotationArrayOutput

type GetSlosSloAlertingAnnotationInput

type GetSlosSloAlertingAnnotationInput interface {
	pulumi.Input

	ToGetSlosSloAlertingAnnotationOutput() GetSlosSloAlertingAnnotationOutput
	ToGetSlosSloAlertingAnnotationOutputWithContext(context.Context) GetSlosSloAlertingAnnotationOutput
}

GetSlosSloAlertingAnnotationInput is an input type that accepts GetSlosSloAlertingAnnotationArgs and GetSlosSloAlertingAnnotationOutput values. You can construct a concrete instance of `GetSlosSloAlertingAnnotationInput` via:

GetSlosSloAlertingAnnotationArgs{...}

type GetSlosSloAlertingAnnotationOutput

type GetSlosSloAlertingAnnotationOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingAnnotationOutput) ElementType

func (GetSlosSloAlertingAnnotationOutput) Key

Key for filtering and identification

func (GetSlosSloAlertingAnnotationOutput) ToGetSlosSloAlertingAnnotationOutput

func (o GetSlosSloAlertingAnnotationOutput) ToGetSlosSloAlertingAnnotationOutput() GetSlosSloAlertingAnnotationOutput

func (GetSlosSloAlertingAnnotationOutput) ToGetSlosSloAlertingAnnotationOutputWithContext

func (o GetSlosSloAlertingAnnotationOutput) ToGetSlosSloAlertingAnnotationOutputWithContext(ctx context.Context) GetSlosSloAlertingAnnotationOutput

func (GetSlosSloAlertingAnnotationOutput) Value

Templatable value

type GetSlosSloAlertingArgs

type GetSlosSloAlertingArgs struct {
	// Advanced Options for Alert Rules
	AdvancedOptions GetSlosSloAlertingAdvancedOptionsPtrInput `pulumi:"advancedOptions"`
	// Annotations will be attached to all alerts generated by any of these rules.
	Annotations GetSlosSloAlertingAnnotationArrayInput `pulumi:"annotations"`
	// Alerting Rules generated for Fast Burn alerts
	Fastburns GetSlosSloAlertingFastburnArrayInput `pulumi:"fastburns"`
	// Labels will be attached to all alerts generated by any of these rules.
	Labels GetSlosSloAlertingLabelArrayInput `pulumi:"labels"`
	// Alerting Rules generated for Slow Burn alerts
	Slowburns GetSlosSloAlertingSlowburnArrayInput `pulumi:"slowburns"`
}

func (GetSlosSloAlertingArgs) ElementType

func (GetSlosSloAlertingArgs) ElementType() reflect.Type

func (GetSlosSloAlertingArgs) ToGetSlosSloAlertingOutput

func (i GetSlosSloAlertingArgs) ToGetSlosSloAlertingOutput() GetSlosSloAlertingOutput

func (GetSlosSloAlertingArgs) ToGetSlosSloAlertingOutputWithContext

func (i GetSlosSloAlertingArgs) ToGetSlosSloAlertingOutputWithContext(ctx context.Context) GetSlosSloAlertingOutput

type GetSlosSloAlertingArray

type GetSlosSloAlertingArray []GetSlosSloAlertingInput

func (GetSlosSloAlertingArray) ElementType

func (GetSlosSloAlertingArray) ElementType() reflect.Type

func (GetSlosSloAlertingArray) ToGetSlosSloAlertingArrayOutput

func (i GetSlosSloAlertingArray) ToGetSlosSloAlertingArrayOutput() GetSlosSloAlertingArrayOutput

func (GetSlosSloAlertingArray) ToGetSlosSloAlertingArrayOutputWithContext

func (i GetSlosSloAlertingArray) ToGetSlosSloAlertingArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingArrayOutput

type GetSlosSloAlertingArrayInput

type GetSlosSloAlertingArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingArrayOutput() GetSlosSloAlertingArrayOutput
	ToGetSlosSloAlertingArrayOutputWithContext(context.Context) GetSlosSloAlertingArrayOutput
}

GetSlosSloAlertingArrayInput is an input type that accepts GetSlosSloAlertingArray and GetSlosSloAlertingArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingArrayInput` via:

GetSlosSloAlertingArray{ GetSlosSloAlertingArgs{...} }

type GetSlosSloAlertingArrayOutput

type GetSlosSloAlertingArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingArrayOutput) ElementType

func (GetSlosSloAlertingArrayOutput) Index

func (GetSlosSloAlertingArrayOutput) ToGetSlosSloAlertingArrayOutput

func (o GetSlosSloAlertingArrayOutput) ToGetSlosSloAlertingArrayOutput() GetSlosSloAlertingArrayOutput

func (GetSlosSloAlertingArrayOutput) ToGetSlosSloAlertingArrayOutputWithContext

func (o GetSlosSloAlertingArrayOutput) ToGetSlosSloAlertingArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingArrayOutput

type GetSlosSloAlertingFastburn

type GetSlosSloAlertingFastburn struct {
	// Annotations to attach only to Fast Burn alerts.
	Annotations []GetSlosSloAlertingFastburnAnnotation `pulumi:"annotations"`
	// Labels to attach only to Fast Burn alerts.
	Labels []GetSlosSloAlertingFastburnLabel `pulumi:"labels"`
}

type GetSlosSloAlertingFastburnAnnotation

type GetSlosSloAlertingFastburnAnnotation struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloAlertingFastburnAnnotationArgs

type GetSlosSloAlertingFastburnAnnotationArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloAlertingFastburnAnnotationArgs) ElementType

func (GetSlosSloAlertingFastburnAnnotationArgs) ToGetSlosSloAlertingFastburnAnnotationOutput

func (i GetSlosSloAlertingFastburnAnnotationArgs) ToGetSlosSloAlertingFastburnAnnotationOutput() GetSlosSloAlertingFastburnAnnotationOutput

func (GetSlosSloAlertingFastburnAnnotationArgs) ToGetSlosSloAlertingFastburnAnnotationOutputWithContext

func (i GetSlosSloAlertingFastburnAnnotationArgs) ToGetSlosSloAlertingFastburnAnnotationOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnAnnotationOutput

type GetSlosSloAlertingFastburnAnnotationArray

type GetSlosSloAlertingFastburnAnnotationArray []GetSlosSloAlertingFastburnAnnotationInput

func (GetSlosSloAlertingFastburnAnnotationArray) ElementType

func (GetSlosSloAlertingFastburnAnnotationArray) ToGetSlosSloAlertingFastburnAnnotationArrayOutput

func (i GetSlosSloAlertingFastburnAnnotationArray) ToGetSlosSloAlertingFastburnAnnotationArrayOutput() GetSlosSloAlertingFastburnAnnotationArrayOutput

func (GetSlosSloAlertingFastburnAnnotationArray) ToGetSlosSloAlertingFastburnAnnotationArrayOutputWithContext

func (i GetSlosSloAlertingFastburnAnnotationArray) ToGetSlosSloAlertingFastburnAnnotationArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnAnnotationArrayOutput

type GetSlosSloAlertingFastburnAnnotationArrayInput

type GetSlosSloAlertingFastburnAnnotationArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingFastburnAnnotationArrayOutput() GetSlosSloAlertingFastburnAnnotationArrayOutput
	ToGetSlosSloAlertingFastburnAnnotationArrayOutputWithContext(context.Context) GetSlosSloAlertingFastburnAnnotationArrayOutput
}

GetSlosSloAlertingFastburnAnnotationArrayInput is an input type that accepts GetSlosSloAlertingFastburnAnnotationArray and GetSlosSloAlertingFastburnAnnotationArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingFastburnAnnotationArrayInput` via:

GetSlosSloAlertingFastburnAnnotationArray{ GetSlosSloAlertingFastburnAnnotationArgs{...} }

type GetSlosSloAlertingFastburnAnnotationArrayOutput

type GetSlosSloAlertingFastburnAnnotationArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingFastburnAnnotationArrayOutput) ElementType

func (GetSlosSloAlertingFastburnAnnotationArrayOutput) Index

func (GetSlosSloAlertingFastburnAnnotationArrayOutput) ToGetSlosSloAlertingFastburnAnnotationArrayOutput

func (o GetSlosSloAlertingFastburnAnnotationArrayOutput) ToGetSlosSloAlertingFastburnAnnotationArrayOutput() GetSlosSloAlertingFastburnAnnotationArrayOutput

func (GetSlosSloAlertingFastburnAnnotationArrayOutput) ToGetSlosSloAlertingFastburnAnnotationArrayOutputWithContext

func (o GetSlosSloAlertingFastburnAnnotationArrayOutput) ToGetSlosSloAlertingFastburnAnnotationArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnAnnotationArrayOutput

type GetSlosSloAlertingFastburnAnnotationInput

type GetSlosSloAlertingFastburnAnnotationInput interface {
	pulumi.Input

	ToGetSlosSloAlertingFastburnAnnotationOutput() GetSlosSloAlertingFastburnAnnotationOutput
	ToGetSlosSloAlertingFastburnAnnotationOutputWithContext(context.Context) GetSlosSloAlertingFastburnAnnotationOutput
}

GetSlosSloAlertingFastburnAnnotationInput is an input type that accepts GetSlosSloAlertingFastburnAnnotationArgs and GetSlosSloAlertingFastburnAnnotationOutput values. You can construct a concrete instance of `GetSlosSloAlertingFastburnAnnotationInput` via:

GetSlosSloAlertingFastburnAnnotationArgs{...}

type GetSlosSloAlertingFastburnAnnotationOutput

type GetSlosSloAlertingFastburnAnnotationOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingFastburnAnnotationOutput) ElementType

func (GetSlosSloAlertingFastburnAnnotationOutput) Key

Key for filtering and identification

func (GetSlosSloAlertingFastburnAnnotationOutput) ToGetSlosSloAlertingFastburnAnnotationOutput

func (o GetSlosSloAlertingFastburnAnnotationOutput) ToGetSlosSloAlertingFastburnAnnotationOutput() GetSlosSloAlertingFastburnAnnotationOutput

func (GetSlosSloAlertingFastburnAnnotationOutput) ToGetSlosSloAlertingFastburnAnnotationOutputWithContext

func (o GetSlosSloAlertingFastburnAnnotationOutput) ToGetSlosSloAlertingFastburnAnnotationOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnAnnotationOutput

func (GetSlosSloAlertingFastburnAnnotationOutput) Value

Templatable value

type GetSlosSloAlertingFastburnArgs

type GetSlosSloAlertingFastburnArgs struct {
	// Annotations to attach only to Fast Burn alerts.
	Annotations GetSlosSloAlertingFastburnAnnotationArrayInput `pulumi:"annotations"`
	// Labels to attach only to Fast Burn alerts.
	Labels GetSlosSloAlertingFastburnLabelArrayInput `pulumi:"labels"`
}

func (GetSlosSloAlertingFastburnArgs) ElementType

func (GetSlosSloAlertingFastburnArgs) ToGetSlosSloAlertingFastburnOutput

func (i GetSlosSloAlertingFastburnArgs) ToGetSlosSloAlertingFastburnOutput() GetSlosSloAlertingFastburnOutput

func (GetSlosSloAlertingFastburnArgs) ToGetSlosSloAlertingFastburnOutputWithContext

func (i GetSlosSloAlertingFastburnArgs) ToGetSlosSloAlertingFastburnOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnOutput

type GetSlosSloAlertingFastburnArray

type GetSlosSloAlertingFastburnArray []GetSlosSloAlertingFastburnInput

func (GetSlosSloAlertingFastburnArray) ElementType

func (GetSlosSloAlertingFastburnArray) ToGetSlosSloAlertingFastburnArrayOutput

func (i GetSlosSloAlertingFastburnArray) ToGetSlosSloAlertingFastburnArrayOutput() GetSlosSloAlertingFastburnArrayOutput

func (GetSlosSloAlertingFastburnArray) ToGetSlosSloAlertingFastburnArrayOutputWithContext

func (i GetSlosSloAlertingFastburnArray) ToGetSlosSloAlertingFastburnArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnArrayOutput

type GetSlosSloAlertingFastburnArrayInput

type GetSlosSloAlertingFastburnArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingFastburnArrayOutput() GetSlosSloAlertingFastburnArrayOutput
	ToGetSlosSloAlertingFastburnArrayOutputWithContext(context.Context) GetSlosSloAlertingFastburnArrayOutput
}

GetSlosSloAlertingFastburnArrayInput is an input type that accepts GetSlosSloAlertingFastburnArray and GetSlosSloAlertingFastburnArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingFastburnArrayInput` via:

GetSlosSloAlertingFastburnArray{ GetSlosSloAlertingFastburnArgs{...} }

type GetSlosSloAlertingFastburnArrayOutput

type GetSlosSloAlertingFastburnArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingFastburnArrayOutput) ElementType

func (GetSlosSloAlertingFastburnArrayOutput) Index

func (GetSlosSloAlertingFastburnArrayOutput) ToGetSlosSloAlertingFastburnArrayOutput

func (o GetSlosSloAlertingFastburnArrayOutput) ToGetSlosSloAlertingFastburnArrayOutput() GetSlosSloAlertingFastburnArrayOutput

func (GetSlosSloAlertingFastburnArrayOutput) ToGetSlosSloAlertingFastburnArrayOutputWithContext

func (o GetSlosSloAlertingFastburnArrayOutput) ToGetSlosSloAlertingFastburnArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnArrayOutput

type GetSlosSloAlertingFastburnInput

type GetSlosSloAlertingFastburnInput interface {
	pulumi.Input

	ToGetSlosSloAlertingFastburnOutput() GetSlosSloAlertingFastburnOutput
	ToGetSlosSloAlertingFastburnOutputWithContext(context.Context) GetSlosSloAlertingFastburnOutput
}

GetSlosSloAlertingFastburnInput is an input type that accepts GetSlosSloAlertingFastburnArgs and GetSlosSloAlertingFastburnOutput values. You can construct a concrete instance of `GetSlosSloAlertingFastburnInput` via:

GetSlosSloAlertingFastburnArgs{...}

type GetSlosSloAlertingFastburnLabel

type GetSlosSloAlertingFastburnLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloAlertingFastburnLabelArgs

type GetSlosSloAlertingFastburnLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloAlertingFastburnLabelArgs) ElementType

func (GetSlosSloAlertingFastburnLabelArgs) ToGetSlosSloAlertingFastburnLabelOutput

func (i GetSlosSloAlertingFastburnLabelArgs) ToGetSlosSloAlertingFastburnLabelOutput() GetSlosSloAlertingFastburnLabelOutput

func (GetSlosSloAlertingFastburnLabelArgs) ToGetSlosSloAlertingFastburnLabelOutputWithContext

func (i GetSlosSloAlertingFastburnLabelArgs) ToGetSlosSloAlertingFastburnLabelOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnLabelOutput

type GetSlosSloAlertingFastburnLabelArray

type GetSlosSloAlertingFastburnLabelArray []GetSlosSloAlertingFastburnLabelInput

func (GetSlosSloAlertingFastburnLabelArray) ElementType

func (GetSlosSloAlertingFastburnLabelArray) ToGetSlosSloAlertingFastburnLabelArrayOutput

func (i GetSlosSloAlertingFastburnLabelArray) ToGetSlosSloAlertingFastburnLabelArrayOutput() GetSlosSloAlertingFastburnLabelArrayOutput

func (GetSlosSloAlertingFastburnLabelArray) ToGetSlosSloAlertingFastburnLabelArrayOutputWithContext

func (i GetSlosSloAlertingFastburnLabelArray) ToGetSlosSloAlertingFastburnLabelArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnLabelArrayOutput

type GetSlosSloAlertingFastburnLabelArrayInput

type GetSlosSloAlertingFastburnLabelArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingFastburnLabelArrayOutput() GetSlosSloAlertingFastburnLabelArrayOutput
	ToGetSlosSloAlertingFastburnLabelArrayOutputWithContext(context.Context) GetSlosSloAlertingFastburnLabelArrayOutput
}

GetSlosSloAlertingFastburnLabelArrayInput is an input type that accepts GetSlosSloAlertingFastburnLabelArray and GetSlosSloAlertingFastburnLabelArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingFastburnLabelArrayInput` via:

GetSlosSloAlertingFastburnLabelArray{ GetSlosSloAlertingFastburnLabelArgs{...} }

type GetSlosSloAlertingFastburnLabelArrayOutput

type GetSlosSloAlertingFastburnLabelArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingFastburnLabelArrayOutput) ElementType

func (GetSlosSloAlertingFastburnLabelArrayOutput) Index

func (GetSlosSloAlertingFastburnLabelArrayOutput) ToGetSlosSloAlertingFastburnLabelArrayOutput

func (o GetSlosSloAlertingFastburnLabelArrayOutput) ToGetSlosSloAlertingFastburnLabelArrayOutput() GetSlosSloAlertingFastburnLabelArrayOutput

func (GetSlosSloAlertingFastburnLabelArrayOutput) ToGetSlosSloAlertingFastburnLabelArrayOutputWithContext

func (o GetSlosSloAlertingFastburnLabelArrayOutput) ToGetSlosSloAlertingFastburnLabelArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnLabelArrayOutput

type GetSlosSloAlertingFastburnLabelInput

type GetSlosSloAlertingFastburnLabelInput interface {
	pulumi.Input

	ToGetSlosSloAlertingFastburnLabelOutput() GetSlosSloAlertingFastburnLabelOutput
	ToGetSlosSloAlertingFastburnLabelOutputWithContext(context.Context) GetSlosSloAlertingFastburnLabelOutput
}

GetSlosSloAlertingFastburnLabelInput is an input type that accepts GetSlosSloAlertingFastburnLabelArgs and GetSlosSloAlertingFastburnLabelOutput values. You can construct a concrete instance of `GetSlosSloAlertingFastburnLabelInput` via:

GetSlosSloAlertingFastburnLabelArgs{...}

type GetSlosSloAlertingFastburnLabelOutput

type GetSlosSloAlertingFastburnLabelOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingFastburnLabelOutput) ElementType

func (GetSlosSloAlertingFastburnLabelOutput) Key

Key for filtering and identification

func (GetSlosSloAlertingFastburnLabelOutput) ToGetSlosSloAlertingFastburnLabelOutput

func (o GetSlosSloAlertingFastburnLabelOutput) ToGetSlosSloAlertingFastburnLabelOutput() GetSlosSloAlertingFastburnLabelOutput

func (GetSlosSloAlertingFastburnLabelOutput) ToGetSlosSloAlertingFastburnLabelOutputWithContext

func (o GetSlosSloAlertingFastburnLabelOutput) ToGetSlosSloAlertingFastburnLabelOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnLabelOutput

func (GetSlosSloAlertingFastburnLabelOutput) Value

Templatable value

type GetSlosSloAlertingFastburnOutput

type GetSlosSloAlertingFastburnOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingFastburnOutput) Annotations

Annotations to attach only to Fast Burn alerts.

func (GetSlosSloAlertingFastburnOutput) ElementType

func (GetSlosSloAlertingFastburnOutput) Labels

Labels to attach only to Fast Burn alerts.

func (GetSlosSloAlertingFastburnOutput) ToGetSlosSloAlertingFastburnOutput

func (o GetSlosSloAlertingFastburnOutput) ToGetSlosSloAlertingFastburnOutput() GetSlosSloAlertingFastburnOutput

func (GetSlosSloAlertingFastburnOutput) ToGetSlosSloAlertingFastburnOutputWithContext

func (o GetSlosSloAlertingFastburnOutput) ToGetSlosSloAlertingFastburnOutputWithContext(ctx context.Context) GetSlosSloAlertingFastburnOutput

type GetSlosSloAlertingInput

type GetSlosSloAlertingInput interface {
	pulumi.Input

	ToGetSlosSloAlertingOutput() GetSlosSloAlertingOutput
	ToGetSlosSloAlertingOutputWithContext(context.Context) GetSlosSloAlertingOutput
}

GetSlosSloAlertingInput is an input type that accepts GetSlosSloAlertingArgs and GetSlosSloAlertingOutput values. You can construct a concrete instance of `GetSlosSloAlertingInput` via:

GetSlosSloAlertingArgs{...}

type GetSlosSloAlertingLabel

type GetSlosSloAlertingLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloAlertingLabelArgs

type GetSlosSloAlertingLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloAlertingLabelArgs) ElementType

func (GetSlosSloAlertingLabelArgs) ToGetSlosSloAlertingLabelOutput

func (i GetSlosSloAlertingLabelArgs) ToGetSlosSloAlertingLabelOutput() GetSlosSloAlertingLabelOutput

func (GetSlosSloAlertingLabelArgs) ToGetSlosSloAlertingLabelOutputWithContext

func (i GetSlosSloAlertingLabelArgs) ToGetSlosSloAlertingLabelOutputWithContext(ctx context.Context) GetSlosSloAlertingLabelOutput

type GetSlosSloAlertingLabelArray

type GetSlosSloAlertingLabelArray []GetSlosSloAlertingLabelInput

func (GetSlosSloAlertingLabelArray) ElementType

func (GetSlosSloAlertingLabelArray) ToGetSlosSloAlertingLabelArrayOutput

func (i GetSlosSloAlertingLabelArray) ToGetSlosSloAlertingLabelArrayOutput() GetSlosSloAlertingLabelArrayOutput

func (GetSlosSloAlertingLabelArray) ToGetSlosSloAlertingLabelArrayOutputWithContext

func (i GetSlosSloAlertingLabelArray) ToGetSlosSloAlertingLabelArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingLabelArrayOutput

type GetSlosSloAlertingLabelArrayInput

type GetSlosSloAlertingLabelArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingLabelArrayOutput() GetSlosSloAlertingLabelArrayOutput
	ToGetSlosSloAlertingLabelArrayOutputWithContext(context.Context) GetSlosSloAlertingLabelArrayOutput
}

GetSlosSloAlertingLabelArrayInput is an input type that accepts GetSlosSloAlertingLabelArray and GetSlosSloAlertingLabelArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingLabelArrayInput` via:

GetSlosSloAlertingLabelArray{ GetSlosSloAlertingLabelArgs{...} }

type GetSlosSloAlertingLabelArrayOutput

type GetSlosSloAlertingLabelArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingLabelArrayOutput) ElementType

func (GetSlosSloAlertingLabelArrayOutput) Index

func (GetSlosSloAlertingLabelArrayOutput) ToGetSlosSloAlertingLabelArrayOutput

func (o GetSlosSloAlertingLabelArrayOutput) ToGetSlosSloAlertingLabelArrayOutput() GetSlosSloAlertingLabelArrayOutput

func (GetSlosSloAlertingLabelArrayOutput) ToGetSlosSloAlertingLabelArrayOutputWithContext

func (o GetSlosSloAlertingLabelArrayOutput) ToGetSlosSloAlertingLabelArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingLabelArrayOutput

type GetSlosSloAlertingLabelInput

type GetSlosSloAlertingLabelInput interface {
	pulumi.Input

	ToGetSlosSloAlertingLabelOutput() GetSlosSloAlertingLabelOutput
	ToGetSlosSloAlertingLabelOutputWithContext(context.Context) GetSlosSloAlertingLabelOutput
}

GetSlosSloAlertingLabelInput is an input type that accepts GetSlosSloAlertingLabelArgs and GetSlosSloAlertingLabelOutput values. You can construct a concrete instance of `GetSlosSloAlertingLabelInput` via:

GetSlosSloAlertingLabelArgs{...}

type GetSlosSloAlertingLabelOutput

type GetSlosSloAlertingLabelOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingLabelOutput) ElementType

func (GetSlosSloAlertingLabelOutput) Key

Key for filtering and identification

func (GetSlosSloAlertingLabelOutput) ToGetSlosSloAlertingLabelOutput

func (o GetSlosSloAlertingLabelOutput) ToGetSlosSloAlertingLabelOutput() GetSlosSloAlertingLabelOutput

func (GetSlosSloAlertingLabelOutput) ToGetSlosSloAlertingLabelOutputWithContext

func (o GetSlosSloAlertingLabelOutput) ToGetSlosSloAlertingLabelOutputWithContext(ctx context.Context) GetSlosSloAlertingLabelOutput

func (GetSlosSloAlertingLabelOutput) Value

Templatable value

type GetSlosSloAlertingOutput

type GetSlosSloAlertingOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingOutput) AdvancedOptions

Advanced Options for Alert Rules

func (GetSlosSloAlertingOutput) Annotations

Annotations will be attached to all alerts generated by any of these rules.

func (GetSlosSloAlertingOutput) ElementType

func (GetSlosSloAlertingOutput) ElementType() reflect.Type

func (GetSlosSloAlertingOutput) Fastburns

Alerting Rules generated for Fast Burn alerts

func (GetSlosSloAlertingOutput) Labels

Labels will be attached to all alerts generated by any of these rules.

func (GetSlosSloAlertingOutput) Slowburns

Alerting Rules generated for Slow Burn alerts

func (GetSlosSloAlertingOutput) ToGetSlosSloAlertingOutput

func (o GetSlosSloAlertingOutput) ToGetSlosSloAlertingOutput() GetSlosSloAlertingOutput

func (GetSlosSloAlertingOutput) ToGetSlosSloAlertingOutputWithContext

func (o GetSlosSloAlertingOutput) ToGetSlosSloAlertingOutputWithContext(ctx context.Context) GetSlosSloAlertingOutput

type GetSlosSloAlertingSlowburn

type GetSlosSloAlertingSlowburn struct {
	// Annotations to attach only to Slow Burn alerts.
	Annotations []GetSlosSloAlertingSlowburnAnnotation `pulumi:"annotations"`
	// Labels to attach only to Slow Burn alerts.
	Labels []GetSlosSloAlertingSlowburnLabel `pulumi:"labels"`
}

type GetSlosSloAlertingSlowburnAnnotation

type GetSlosSloAlertingSlowburnAnnotation struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloAlertingSlowburnAnnotationArgs

type GetSlosSloAlertingSlowburnAnnotationArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloAlertingSlowburnAnnotationArgs) ElementType

func (GetSlosSloAlertingSlowburnAnnotationArgs) ToGetSlosSloAlertingSlowburnAnnotationOutput

func (i GetSlosSloAlertingSlowburnAnnotationArgs) ToGetSlosSloAlertingSlowburnAnnotationOutput() GetSlosSloAlertingSlowburnAnnotationOutput

func (GetSlosSloAlertingSlowburnAnnotationArgs) ToGetSlosSloAlertingSlowburnAnnotationOutputWithContext

func (i GetSlosSloAlertingSlowburnAnnotationArgs) ToGetSlosSloAlertingSlowburnAnnotationOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnAnnotationOutput

type GetSlosSloAlertingSlowburnAnnotationArray

type GetSlosSloAlertingSlowburnAnnotationArray []GetSlosSloAlertingSlowburnAnnotationInput

func (GetSlosSloAlertingSlowburnAnnotationArray) ElementType

func (GetSlosSloAlertingSlowburnAnnotationArray) ToGetSlosSloAlertingSlowburnAnnotationArrayOutput

func (i GetSlosSloAlertingSlowburnAnnotationArray) ToGetSlosSloAlertingSlowburnAnnotationArrayOutput() GetSlosSloAlertingSlowburnAnnotationArrayOutput

func (GetSlosSloAlertingSlowburnAnnotationArray) ToGetSlosSloAlertingSlowburnAnnotationArrayOutputWithContext

func (i GetSlosSloAlertingSlowburnAnnotationArray) ToGetSlosSloAlertingSlowburnAnnotationArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnAnnotationArrayOutput

type GetSlosSloAlertingSlowburnAnnotationArrayInput

type GetSlosSloAlertingSlowburnAnnotationArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingSlowburnAnnotationArrayOutput() GetSlosSloAlertingSlowburnAnnotationArrayOutput
	ToGetSlosSloAlertingSlowburnAnnotationArrayOutputWithContext(context.Context) GetSlosSloAlertingSlowburnAnnotationArrayOutput
}

GetSlosSloAlertingSlowburnAnnotationArrayInput is an input type that accepts GetSlosSloAlertingSlowburnAnnotationArray and GetSlosSloAlertingSlowburnAnnotationArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingSlowburnAnnotationArrayInput` via:

GetSlosSloAlertingSlowburnAnnotationArray{ GetSlosSloAlertingSlowburnAnnotationArgs{...} }

type GetSlosSloAlertingSlowburnAnnotationArrayOutput

type GetSlosSloAlertingSlowburnAnnotationArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingSlowburnAnnotationArrayOutput) ElementType

func (GetSlosSloAlertingSlowburnAnnotationArrayOutput) Index

func (GetSlosSloAlertingSlowburnAnnotationArrayOutput) ToGetSlosSloAlertingSlowburnAnnotationArrayOutput

func (o GetSlosSloAlertingSlowburnAnnotationArrayOutput) ToGetSlosSloAlertingSlowburnAnnotationArrayOutput() GetSlosSloAlertingSlowburnAnnotationArrayOutput

func (GetSlosSloAlertingSlowburnAnnotationArrayOutput) ToGetSlosSloAlertingSlowburnAnnotationArrayOutputWithContext

func (o GetSlosSloAlertingSlowburnAnnotationArrayOutput) ToGetSlosSloAlertingSlowburnAnnotationArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnAnnotationArrayOutput

type GetSlosSloAlertingSlowburnAnnotationInput

type GetSlosSloAlertingSlowburnAnnotationInput interface {
	pulumi.Input

	ToGetSlosSloAlertingSlowburnAnnotationOutput() GetSlosSloAlertingSlowburnAnnotationOutput
	ToGetSlosSloAlertingSlowburnAnnotationOutputWithContext(context.Context) GetSlosSloAlertingSlowburnAnnotationOutput
}

GetSlosSloAlertingSlowburnAnnotationInput is an input type that accepts GetSlosSloAlertingSlowburnAnnotationArgs and GetSlosSloAlertingSlowburnAnnotationOutput values. You can construct a concrete instance of `GetSlosSloAlertingSlowburnAnnotationInput` via:

GetSlosSloAlertingSlowburnAnnotationArgs{...}

type GetSlosSloAlertingSlowburnAnnotationOutput

type GetSlosSloAlertingSlowburnAnnotationOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingSlowburnAnnotationOutput) ElementType

func (GetSlosSloAlertingSlowburnAnnotationOutput) Key

Key for filtering and identification

func (GetSlosSloAlertingSlowburnAnnotationOutput) ToGetSlosSloAlertingSlowburnAnnotationOutput

func (o GetSlosSloAlertingSlowburnAnnotationOutput) ToGetSlosSloAlertingSlowburnAnnotationOutput() GetSlosSloAlertingSlowburnAnnotationOutput

func (GetSlosSloAlertingSlowburnAnnotationOutput) ToGetSlosSloAlertingSlowburnAnnotationOutputWithContext

func (o GetSlosSloAlertingSlowburnAnnotationOutput) ToGetSlosSloAlertingSlowburnAnnotationOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnAnnotationOutput

func (GetSlosSloAlertingSlowburnAnnotationOutput) Value

Templatable value

type GetSlosSloAlertingSlowburnArgs

type GetSlosSloAlertingSlowburnArgs struct {
	// Annotations to attach only to Slow Burn alerts.
	Annotations GetSlosSloAlertingSlowburnAnnotationArrayInput `pulumi:"annotations"`
	// Labels to attach only to Slow Burn alerts.
	Labels GetSlosSloAlertingSlowburnLabelArrayInput `pulumi:"labels"`
}

func (GetSlosSloAlertingSlowburnArgs) ElementType

func (GetSlosSloAlertingSlowburnArgs) ToGetSlosSloAlertingSlowburnOutput

func (i GetSlosSloAlertingSlowburnArgs) ToGetSlosSloAlertingSlowburnOutput() GetSlosSloAlertingSlowburnOutput

func (GetSlosSloAlertingSlowburnArgs) ToGetSlosSloAlertingSlowburnOutputWithContext

func (i GetSlosSloAlertingSlowburnArgs) ToGetSlosSloAlertingSlowburnOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnOutput

type GetSlosSloAlertingSlowburnArray

type GetSlosSloAlertingSlowburnArray []GetSlosSloAlertingSlowburnInput

func (GetSlosSloAlertingSlowburnArray) ElementType

func (GetSlosSloAlertingSlowburnArray) ToGetSlosSloAlertingSlowburnArrayOutput

func (i GetSlosSloAlertingSlowburnArray) ToGetSlosSloAlertingSlowburnArrayOutput() GetSlosSloAlertingSlowburnArrayOutput

func (GetSlosSloAlertingSlowburnArray) ToGetSlosSloAlertingSlowburnArrayOutputWithContext

func (i GetSlosSloAlertingSlowburnArray) ToGetSlosSloAlertingSlowburnArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnArrayOutput

type GetSlosSloAlertingSlowburnArrayInput

type GetSlosSloAlertingSlowburnArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingSlowburnArrayOutput() GetSlosSloAlertingSlowburnArrayOutput
	ToGetSlosSloAlertingSlowburnArrayOutputWithContext(context.Context) GetSlosSloAlertingSlowburnArrayOutput
}

GetSlosSloAlertingSlowburnArrayInput is an input type that accepts GetSlosSloAlertingSlowburnArray and GetSlosSloAlertingSlowburnArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingSlowburnArrayInput` via:

GetSlosSloAlertingSlowburnArray{ GetSlosSloAlertingSlowburnArgs{...} }

type GetSlosSloAlertingSlowburnArrayOutput

type GetSlosSloAlertingSlowburnArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingSlowburnArrayOutput) ElementType

func (GetSlosSloAlertingSlowburnArrayOutput) Index

func (GetSlosSloAlertingSlowburnArrayOutput) ToGetSlosSloAlertingSlowburnArrayOutput

func (o GetSlosSloAlertingSlowburnArrayOutput) ToGetSlosSloAlertingSlowburnArrayOutput() GetSlosSloAlertingSlowburnArrayOutput

func (GetSlosSloAlertingSlowburnArrayOutput) ToGetSlosSloAlertingSlowburnArrayOutputWithContext

func (o GetSlosSloAlertingSlowburnArrayOutput) ToGetSlosSloAlertingSlowburnArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnArrayOutput

type GetSlosSloAlertingSlowburnInput

type GetSlosSloAlertingSlowburnInput interface {
	pulumi.Input

	ToGetSlosSloAlertingSlowburnOutput() GetSlosSloAlertingSlowburnOutput
	ToGetSlosSloAlertingSlowburnOutputWithContext(context.Context) GetSlosSloAlertingSlowburnOutput
}

GetSlosSloAlertingSlowburnInput is an input type that accepts GetSlosSloAlertingSlowburnArgs and GetSlosSloAlertingSlowburnOutput values. You can construct a concrete instance of `GetSlosSloAlertingSlowburnInput` via:

GetSlosSloAlertingSlowburnArgs{...}

type GetSlosSloAlertingSlowburnLabel

type GetSlosSloAlertingSlowburnLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloAlertingSlowburnLabelArgs

type GetSlosSloAlertingSlowburnLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloAlertingSlowburnLabelArgs) ElementType

func (GetSlosSloAlertingSlowburnLabelArgs) ToGetSlosSloAlertingSlowburnLabelOutput

func (i GetSlosSloAlertingSlowburnLabelArgs) ToGetSlosSloAlertingSlowburnLabelOutput() GetSlosSloAlertingSlowburnLabelOutput

func (GetSlosSloAlertingSlowburnLabelArgs) ToGetSlosSloAlertingSlowburnLabelOutputWithContext

func (i GetSlosSloAlertingSlowburnLabelArgs) ToGetSlosSloAlertingSlowburnLabelOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnLabelOutput

type GetSlosSloAlertingSlowburnLabelArray

type GetSlosSloAlertingSlowburnLabelArray []GetSlosSloAlertingSlowburnLabelInput

func (GetSlosSloAlertingSlowburnLabelArray) ElementType

func (GetSlosSloAlertingSlowburnLabelArray) ToGetSlosSloAlertingSlowburnLabelArrayOutput

func (i GetSlosSloAlertingSlowburnLabelArray) ToGetSlosSloAlertingSlowburnLabelArrayOutput() GetSlosSloAlertingSlowburnLabelArrayOutput

func (GetSlosSloAlertingSlowburnLabelArray) ToGetSlosSloAlertingSlowburnLabelArrayOutputWithContext

func (i GetSlosSloAlertingSlowburnLabelArray) ToGetSlosSloAlertingSlowburnLabelArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnLabelArrayOutput

type GetSlosSloAlertingSlowburnLabelArrayInput

type GetSlosSloAlertingSlowburnLabelArrayInput interface {
	pulumi.Input

	ToGetSlosSloAlertingSlowburnLabelArrayOutput() GetSlosSloAlertingSlowburnLabelArrayOutput
	ToGetSlosSloAlertingSlowburnLabelArrayOutputWithContext(context.Context) GetSlosSloAlertingSlowburnLabelArrayOutput
}

GetSlosSloAlertingSlowburnLabelArrayInput is an input type that accepts GetSlosSloAlertingSlowburnLabelArray and GetSlosSloAlertingSlowburnLabelArrayOutput values. You can construct a concrete instance of `GetSlosSloAlertingSlowburnLabelArrayInput` via:

GetSlosSloAlertingSlowburnLabelArray{ GetSlosSloAlertingSlowburnLabelArgs{...} }

type GetSlosSloAlertingSlowburnLabelArrayOutput

type GetSlosSloAlertingSlowburnLabelArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingSlowburnLabelArrayOutput) ElementType

func (GetSlosSloAlertingSlowburnLabelArrayOutput) Index

func (GetSlosSloAlertingSlowburnLabelArrayOutput) ToGetSlosSloAlertingSlowburnLabelArrayOutput

func (o GetSlosSloAlertingSlowburnLabelArrayOutput) ToGetSlosSloAlertingSlowburnLabelArrayOutput() GetSlosSloAlertingSlowburnLabelArrayOutput

func (GetSlosSloAlertingSlowburnLabelArrayOutput) ToGetSlosSloAlertingSlowburnLabelArrayOutputWithContext

func (o GetSlosSloAlertingSlowburnLabelArrayOutput) ToGetSlosSloAlertingSlowburnLabelArrayOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnLabelArrayOutput

type GetSlosSloAlertingSlowburnLabelInput

type GetSlosSloAlertingSlowburnLabelInput interface {
	pulumi.Input

	ToGetSlosSloAlertingSlowburnLabelOutput() GetSlosSloAlertingSlowburnLabelOutput
	ToGetSlosSloAlertingSlowburnLabelOutputWithContext(context.Context) GetSlosSloAlertingSlowburnLabelOutput
}

GetSlosSloAlertingSlowburnLabelInput is an input type that accepts GetSlosSloAlertingSlowburnLabelArgs and GetSlosSloAlertingSlowburnLabelOutput values. You can construct a concrete instance of `GetSlosSloAlertingSlowburnLabelInput` via:

GetSlosSloAlertingSlowburnLabelArgs{...}

type GetSlosSloAlertingSlowburnLabelOutput

type GetSlosSloAlertingSlowburnLabelOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingSlowburnLabelOutput) ElementType

func (GetSlosSloAlertingSlowburnLabelOutput) Key

Key for filtering and identification

func (GetSlosSloAlertingSlowburnLabelOutput) ToGetSlosSloAlertingSlowburnLabelOutput

func (o GetSlosSloAlertingSlowburnLabelOutput) ToGetSlosSloAlertingSlowburnLabelOutput() GetSlosSloAlertingSlowburnLabelOutput

func (GetSlosSloAlertingSlowburnLabelOutput) ToGetSlosSloAlertingSlowburnLabelOutputWithContext

func (o GetSlosSloAlertingSlowburnLabelOutput) ToGetSlosSloAlertingSlowburnLabelOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnLabelOutput

func (GetSlosSloAlertingSlowburnLabelOutput) Value

Templatable value

type GetSlosSloAlertingSlowburnOutput

type GetSlosSloAlertingSlowburnOutput struct{ *pulumi.OutputState }

func (GetSlosSloAlertingSlowburnOutput) Annotations

Annotations to attach only to Slow Burn alerts.

func (GetSlosSloAlertingSlowburnOutput) ElementType

func (GetSlosSloAlertingSlowburnOutput) Labels

Labels to attach only to Slow Burn alerts.

func (GetSlosSloAlertingSlowburnOutput) ToGetSlosSloAlertingSlowburnOutput

func (o GetSlosSloAlertingSlowburnOutput) ToGetSlosSloAlertingSlowburnOutput() GetSlosSloAlertingSlowburnOutput

func (GetSlosSloAlertingSlowburnOutput) ToGetSlosSloAlertingSlowburnOutputWithContext

func (o GetSlosSloAlertingSlowburnOutput) ToGetSlosSloAlertingSlowburnOutputWithContext(ctx context.Context) GetSlosSloAlertingSlowburnOutput

type GetSlosSloArgs

type GetSlosSloArgs struct {
	// Configures the alerting rules that will be generated for each
	// 				time window associated with the SLO. Grafana SLOs can generate
	// 				alerts when the short-term error budget burn is very high, the
	// 				long-term error budget burn rate is high, or when the remaining
	// 				error budget is below a certain threshold. Annotations and Labels support templating.
	Alertings GetSlosSloAlertingArrayInput `pulumi:"alertings"`
	// Description is a free-text field that can provide more context to an SLO.
	Description pulumi.StringInput `pulumi:"description"`
	// Destination Datasource sets the datasource defined for an SLO
	DestinationDatasources GetSlosSloDestinationDatasourceArrayInput `pulumi:"destinationDatasources"`
	// UID for the SLO folder
	FolderUid pulumi.StringInput `pulumi:"folderUid"`
	// Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"
	Labels GetSlosSloLabelArrayInput `pulumi:"labels"`
	// Name should be a short description of your indicator. Consider names like "API Availability"
	Name pulumi.StringInput `pulumi:"name"`
	// Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
	Objectives GetSlosSloObjectiveArrayInput `pulumi:"objectives"`
	// Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.
	Queries GetSlosSloQueryArrayInput `pulumi:"queries"`
	// The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.
	SearchExpression pulumi.StringInput `pulumi:"searchExpression"`
	// A unique, random identifier. This value will also be the name of the resource stored in the API server. This value is read-only.
	Uuid pulumi.StringInput `pulumi:"uuid"`
}

func (GetSlosSloArgs) ElementType

func (GetSlosSloArgs) ElementType() reflect.Type

func (GetSlosSloArgs) ToGetSlosSloOutput

func (i GetSlosSloArgs) ToGetSlosSloOutput() GetSlosSloOutput

func (GetSlosSloArgs) ToGetSlosSloOutputWithContext

func (i GetSlosSloArgs) ToGetSlosSloOutputWithContext(ctx context.Context) GetSlosSloOutput

type GetSlosSloArray

type GetSlosSloArray []GetSlosSloInput

func (GetSlosSloArray) ElementType

func (GetSlosSloArray) ElementType() reflect.Type

func (GetSlosSloArray) ToGetSlosSloArrayOutput

func (i GetSlosSloArray) ToGetSlosSloArrayOutput() GetSlosSloArrayOutput

func (GetSlosSloArray) ToGetSlosSloArrayOutputWithContext

func (i GetSlosSloArray) ToGetSlosSloArrayOutputWithContext(ctx context.Context) GetSlosSloArrayOutput

type GetSlosSloArrayInput

type GetSlosSloArrayInput interface {
	pulumi.Input

	ToGetSlosSloArrayOutput() GetSlosSloArrayOutput
	ToGetSlosSloArrayOutputWithContext(context.Context) GetSlosSloArrayOutput
}

GetSlosSloArrayInput is an input type that accepts GetSlosSloArray and GetSlosSloArrayOutput values. You can construct a concrete instance of `GetSlosSloArrayInput` via:

GetSlosSloArray{ GetSlosSloArgs{...} }

type GetSlosSloArrayOutput

type GetSlosSloArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloArrayOutput) ElementType

func (GetSlosSloArrayOutput) ElementType() reflect.Type

func (GetSlosSloArrayOutput) Index

func (GetSlosSloArrayOutput) ToGetSlosSloArrayOutput

func (o GetSlosSloArrayOutput) ToGetSlosSloArrayOutput() GetSlosSloArrayOutput

func (GetSlosSloArrayOutput) ToGetSlosSloArrayOutputWithContext

func (o GetSlosSloArrayOutput) ToGetSlosSloArrayOutputWithContext(ctx context.Context) GetSlosSloArrayOutput

type GetSlosSloDestinationDatasource

type GetSlosSloDestinationDatasource struct {
	// UID for the Datasource
	Uid string `pulumi:"uid"`
}

type GetSlosSloDestinationDatasourceArgs

type GetSlosSloDestinationDatasourceArgs struct {
	// UID for the Datasource
	Uid pulumi.StringInput `pulumi:"uid"`
}

func (GetSlosSloDestinationDatasourceArgs) ElementType

func (GetSlosSloDestinationDatasourceArgs) ToGetSlosSloDestinationDatasourceOutput

func (i GetSlosSloDestinationDatasourceArgs) ToGetSlosSloDestinationDatasourceOutput() GetSlosSloDestinationDatasourceOutput

func (GetSlosSloDestinationDatasourceArgs) ToGetSlosSloDestinationDatasourceOutputWithContext

func (i GetSlosSloDestinationDatasourceArgs) ToGetSlosSloDestinationDatasourceOutputWithContext(ctx context.Context) GetSlosSloDestinationDatasourceOutput

type GetSlosSloDestinationDatasourceArray

type GetSlosSloDestinationDatasourceArray []GetSlosSloDestinationDatasourceInput

func (GetSlosSloDestinationDatasourceArray) ElementType

func (GetSlosSloDestinationDatasourceArray) ToGetSlosSloDestinationDatasourceArrayOutput

func (i GetSlosSloDestinationDatasourceArray) ToGetSlosSloDestinationDatasourceArrayOutput() GetSlosSloDestinationDatasourceArrayOutput

func (GetSlosSloDestinationDatasourceArray) ToGetSlosSloDestinationDatasourceArrayOutputWithContext

func (i GetSlosSloDestinationDatasourceArray) ToGetSlosSloDestinationDatasourceArrayOutputWithContext(ctx context.Context) GetSlosSloDestinationDatasourceArrayOutput

type GetSlosSloDestinationDatasourceArrayInput

type GetSlosSloDestinationDatasourceArrayInput interface {
	pulumi.Input

	ToGetSlosSloDestinationDatasourceArrayOutput() GetSlosSloDestinationDatasourceArrayOutput
	ToGetSlosSloDestinationDatasourceArrayOutputWithContext(context.Context) GetSlosSloDestinationDatasourceArrayOutput
}

GetSlosSloDestinationDatasourceArrayInput is an input type that accepts GetSlosSloDestinationDatasourceArray and GetSlosSloDestinationDatasourceArrayOutput values. You can construct a concrete instance of `GetSlosSloDestinationDatasourceArrayInput` via:

GetSlosSloDestinationDatasourceArray{ GetSlosSloDestinationDatasourceArgs{...} }

type GetSlosSloDestinationDatasourceArrayOutput

type GetSlosSloDestinationDatasourceArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloDestinationDatasourceArrayOutput) ElementType

func (GetSlosSloDestinationDatasourceArrayOutput) Index

func (GetSlosSloDestinationDatasourceArrayOutput) ToGetSlosSloDestinationDatasourceArrayOutput

func (o GetSlosSloDestinationDatasourceArrayOutput) ToGetSlosSloDestinationDatasourceArrayOutput() GetSlosSloDestinationDatasourceArrayOutput

func (GetSlosSloDestinationDatasourceArrayOutput) ToGetSlosSloDestinationDatasourceArrayOutputWithContext

func (o GetSlosSloDestinationDatasourceArrayOutput) ToGetSlosSloDestinationDatasourceArrayOutputWithContext(ctx context.Context) GetSlosSloDestinationDatasourceArrayOutput

type GetSlosSloDestinationDatasourceInput

type GetSlosSloDestinationDatasourceInput interface {
	pulumi.Input

	ToGetSlosSloDestinationDatasourceOutput() GetSlosSloDestinationDatasourceOutput
	ToGetSlosSloDestinationDatasourceOutputWithContext(context.Context) GetSlosSloDestinationDatasourceOutput
}

GetSlosSloDestinationDatasourceInput is an input type that accepts GetSlosSloDestinationDatasourceArgs and GetSlosSloDestinationDatasourceOutput values. You can construct a concrete instance of `GetSlosSloDestinationDatasourceInput` via:

GetSlosSloDestinationDatasourceArgs{...}

type GetSlosSloDestinationDatasourceOutput

type GetSlosSloDestinationDatasourceOutput struct{ *pulumi.OutputState }

func (GetSlosSloDestinationDatasourceOutput) ElementType

func (GetSlosSloDestinationDatasourceOutput) ToGetSlosSloDestinationDatasourceOutput

func (o GetSlosSloDestinationDatasourceOutput) ToGetSlosSloDestinationDatasourceOutput() GetSlosSloDestinationDatasourceOutput

func (GetSlosSloDestinationDatasourceOutput) ToGetSlosSloDestinationDatasourceOutputWithContext

func (o GetSlosSloDestinationDatasourceOutput) ToGetSlosSloDestinationDatasourceOutputWithContext(ctx context.Context) GetSlosSloDestinationDatasourceOutput

func (GetSlosSloDestinationDatasourceOutput) Uid

UID for the Datasource

type GetSlosSloInput

type GetSlosSloInput interface {
	pulumi.Input

	ToGetSlosSloOutput() GetSlosSloOutput
	ToGetSlosSloOutputWithContext(context.Context) GetSlosSloOutput
}

GetSlosSloInput is an input type that accepts GetSlosSloArgs and GetSlosSloOutput values. You can construct a concrete instance of `GetSlosSloInput` via:

GetSlosSloArgs{...}

type GetSlosSloLabel

type GetSlosSloLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type GetSlosSloLabelArgs

type GetSlosSloLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSlosSloLabelArgs) ElementType

func (GetSlosSloLabelArgs) ElementType() reflect.Type

func (GetSlosSloLabelArgs) ToGetSlosSloLabelOutput

func (i GetSlosSloLabelArgs) ToGetSlosSloLabelOutput() GetSlosSloLabelOutput

func (GetSlosSloLabelArgs) ToGetSlosSloLabelOutputWithContext

func (i GetSlosSloLabelArgs) ToGetSlosSloLabelOutputWithContext(ctx context.Context) GetSlosSloLabelOutput

type GetSlosSloLabelArray

type GetSlosSloLabelArray []GetSlosSloLabelInput

func (GetSlosSloLabelArray) ElementType

func (GetSlosSloLabelArray) ElementType() reflect.Type

func (GetSlosSloLabelArray) ToGetSlosSloLabelArrayOutput

func (i GetSlosSloLabelArray) ToGetSlosSloLabelArrayOutput() GetSlosSloLabelArrayOutput

func (GetSlosSloLabelArray) ToGetSlosSloLabelArrayOutputWithContext

func (i GetSlosSloLabelArray) ToGetSlosSloLabelArrayOutputWithContext(ctx context.Context) GetSlosSloLabelArrayOutput

type GetSlosSloLabelArrayInput

type GetSlosSloLabelArrayInput interface {
	pulumi.Input

	ToGetSlosSloLabelArrayOutput() GetSlosSloLabelArrayOutput
	ToGetSlosSloLabelArrayOutputWithContext(context.Context) GetSlosSloLabelArrayOutput
}

GetSlosSloLabelArrayInput is an input type that accepts GetSlosSloLabelArray and GetSlosSloLabelArrayOutput values. You can construct a concrete instance of `GetSlosSloLabelArrayInput` via:

GetSlosSloLabelArray{ GetSlosSloLabelArgs{...} }

type GetSlosSloLabelArrayOutput

type GetSlosSloLabelArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloLabelArrayOutput) ElementType

func (GetSlosSloLabelArrayOutput) ElementType() reflect.Type

func (GetSlosSloLabelArrayOutput) Index

func (GetSlosSloLabelArrayOutput) ToGetSlosSloLabelArrayOutput

func (o GetSlosSloLabelArrayOutput) ToGetSlosSloLabelArrayOutput() GetSlosSloLabelArrayOutput

func (GetSlosSloLabelArrayOutput) ToGetSlosSloLabelArrayOutputWithContext

func (o GetSlosSloLabelArrayOutput) ToGetSlosSloLabelArrayOutputWithContext(ctx context.Context) GetSlosSloLabelArrayOutput

type GetSlosSloLabelInput

type GetSlosSloLabelInput interface {
	pulumi.Input

	ToGetSlosSloLabelOutput() GetSlosSloLabelOutput
	ToGetSlosSloLabelOutputWithContext(context.Context) GetSlosSloLabelOutput
}

GetSlosSloLabelInput is an input type that accepts GetSlosSloLabelArgs and GetSlosSloLabelOutput values. You can construct a concrete instance of `GetSlosSloLabelInput` via:

GetSlosSloLabelArgs{...}

type GetSlosSloLabelOutput

type GetSlosSloLabelOutput struct{ *pulumi.OutputState }

func (GetSlosSloLabelOutput) ElementType

func (GetSlosSloLabelOutput) ElementType() reflect.Type

func (GetSlosSloLabelOutput) Key

Key for filtering and identification

func (GetSlosSloLabelOutput) ToGetSlosSloLabelOutput

func (o GetSlosSloLabelOutput) ToGetSlosSloLabelOutput() GetSlosSloLabelOutput

func (GetSlosSloLabelOutput) ToGetSlosSloLabelOutputWithContext

func (o GetSlosSloLabelOutput) ToGetSlosSloLabelOutputWithContext(ctx context.Context) GetSlosSloLabelOutput

func (GetSlosSloLabelOutput) Value

Templatable value

type GetSlosSloObjective

type GetSlosSloObjective struct {
	// Value between 0 and 1. If the value of the query is above the objective, the SLO is met.
	Value float64 `pulumi:"value"`
	// A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.
	Window string `pulumi:"window"`
}

type GetSlosSloObjectiveArgs

type GetSlosSloObjectiveArgs struct {
	// Value between 0 and 1. If the value of the query is above the objective, the SLO is met.
	Value pulumi.Float64Input `pulumi:"value"`
	// A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.
	Window pulumi.StringInput `pulumi:"window"`
}

func (GetSlosSloObjectiveArgs) ElementType

func (GetSlosSloObjectiveArgs) ElementType() reflect.Type

func (GetSlosSloObjectiveArgs) ToGetSlosSloObjectiveOutput

func (i GetSlosSloObjectiveArgs) ToGetSlosSloObjectiveOutput() GetSlosSloObjectiveOutput

func (GetSlosSloObjectiveArgs) ToGetSlosSloObjectiveOutputWithContext

func (i GetSlosSloObjectiveArgs) ToGetSlosSloObjectiveOutputWithContext(ctx context.Context) GetSlosSloObjectiveOutput

type GetSlosSloObjectiveArray

type GetSlosSloObjectiveArray []GetSlosSloObjectiveInput

func (GetSlosSloObjectiveArray) ElementType

func (GetSlosSloObjectiveArray) ElementType() reflect.Type

func (GetSlosSloObjectiveArray) ToGetSlosSloObjectiveArrayOutput

func (i GetSlosSloObjectiveArray) ToGetSlosSloObjectiveArrayOutput() GetSlosSloObjectiveArrayOutput

func (GetSlosSloObjectiveArray) ToGetSlosSloObjectiveArrayOutputWithContext

func (i GetSlosSloObjectiveArray) ToGetSlosSloObjectiveArrayOutputWithContext(ctx context.Context) GetSlosSloObjectiveArrayOutput

type GetSlosSloObjectiveArrayInput

type GetSlosSloObjectiveArrayInput interface {
	pulumi.Input

	ToGetSlosSloObjectiveArrayOutput() GetSlosSloObjectiveArrayOutput
	ToGetSlosSloObjectiveArrayOutputWithContext(context.Context) GetSlosSloObjectiveArrayOutput
}

GetSlosSloObjectiveArrayInput is an input type that accepts GetSlosSloObjectiveArray and GetSlosSloObjectiveArrayOutput values. You can construct a concrete instance of `GetSlosSloObjectiveArrayInput` via:

GetSlosSloObjectiveArray{ GetSlosSloObjectiveArgs{...} }

type GetSlosSloObjectiveArrayOutput

type GetSlosSloObjectiveArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloObjectiveArrayOutput) ElementType

func (GetSlosSloObjectiveArrayOutput) Index

func (GetSlosSloObjectiveArrayOutput) ToGetSlosSloObjectiveArrayOutput

func (o GetSlosSloObjectiveArrayOutput) ToGetSlosSloObjectiveArrayOutput() GetSlosSloObjectiveArrayOutput

func (GetSlosSloObjectiveArrayOutput) ToGetSlosSloObjectiveArrayOutputWithContext

func (o GetSlosSloObjectiveArrayOutput) ToGetSlosSloObjectiveArrayOutputWithContext(ctx context.Context) GetSlosSloObjectiveArrayOutput

type GetSlosSloObjectiveInput

type GetSlosSloObjectiveInput interface {
	pulumi.Input

	ToGetSlosSloObjectiveOutput() GetSlosSloObjectiveOutput
	ToGetSlosSloObjectiveOutputWithContext(context.Context) GetSlosSloObjectiveOutput
}

GetSlosSloObjectiveInput is an input type that accepts GetSlosSloObjectiveArgs and GetSlosSloObjectiveOutput values. You can construct a concrete instance of `GetSlosSloObjectiveInput` via:

GetSlosSloObjectiveArgs{...}

type GetSlosSloObjectiveOutput

type GetSlosSloObjectiveOutput struct{ *pulumi.OutputState }

func (GetSlosSloObjectiveOutput) ElementType

func (GetSlosSloObjectiveOutput) ElementType() reflect.Type

func (GetSlosSloObjectiveOutput) ToGetSlosSloObjectiveOutput

func (o GetSlosSloObjectiveOutput) ToGetSlosSloObjectiveOutput() GetSlosSloObjectiveOutput

func (GetSlosSloObjectiveOutput) ToGetSlosSloObjectiveOutputWithContext

func (o GetSlosSloObjectiveOutput) ToGetSlosSloObjectiveOutputWithContext(ctx context.Context) GetSlosSloObjectiveOutput

func (GetSlosSloObjectiveOutput) Value

Value between 0 and 1. If the value of the query is above the objective, the SLO is met.

func (GetSlosSloObjectiveOutput) Window

A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.

type GetSlosSloOutput

type GetSlosSloOutput struct{ *pulumi.OutputState }

func (GetSlosSloOutput) Alertings

Configures the alerting rules that will be generated for each

time window associated with the SLO. Grafana SLOs can generate
alerts when the short-term error budget burn is very high, the
long-term error budget burn rate is high, or when the remaining
error budget is below a certain threshold. Annotations and Labels support templating.

func (GetSlosSloOutput) Description

func (o GetSlosSloOutput) Description() pulumi.StringOutput

Description is a free-text field that can provide more context to an SLO.

func (GetSlosSloOutput) DestinationDatasources

Destination Datasource sets the datasource defined for an SLO

func (GetSlosSloOutput) ElementType

func (GetSlosSloOutput) ElementType() reflect.Type

func (GetSlosSloOutput) FolderUid

func (o GetSlosSloOutput) FolderUid() pulumi.StringOutput

UID for the SLO folder

func (GetSlosSloOutput) Labels

Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"

func (GetSlosSloOutput) Name

Name should be a short description of your indicator. Consider names like "API Availability"

func (GetSlosSloOutput) Objectives

Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.

func (GetSlosSloOutput) Queries

Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.

func (GetSlosSloOutput) SearchExpression added in v0.7.1

func (o GetSlosSloOutput) SearchExpression() pulumi.StringOutput

The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.

func (GetSlosSloOutput) ToGetSlosSloOutput

func (o GetSlosSloOutput) ToGetSlosSloOutput() GetSlosSloOutput

func (GetSlosSloOutput) ToGetSlosSloOutputWithContext

func (o GetSlosSloOutput) ToGetSlosSloOutputWithContext(ctx context.Context) GetSlosSloOutput

func (GetSlosSloOutput) Uuid

A unique, random identifier. This value will also be the name of the resource stored in the API server. This value is read-only.

type GetSlosSloQuery

type GetSlosSloQuery struct {
	Freeform *GetSlosSloQueryFreeform `pulumi:"freeform"`
	Ratio    *GetSlosSloQueryRatio    `pulumi:"ratio"`
	// Query type must be one of: "freeform", "query", "ratio", or "threshold"
	Type string `pulumi:"type"`
}

type GetSlosSloQueryArgs

type GetSlosSloQueryArgs struct {
	Freeform GetSlosSloQueryFreeformPtrInput `pulumi:"freeform"`
	Ratio    GetSlosSloQueryRatioPtrInput    `pulumi:"ratio"`
	// Query type must be one of: "freeform", "query", "ratio", or "threshold"
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetSlosSloQueryArgs) ElementType

func (GetSlosSloQueryArgs) ElementType() reflect.Type

func (GetSlosSloQueryArgs) ToGetSlosSloQueryOutput

func (i GetSlosSloQueryArgs) ToGetSlosSloQueryOutput() GetSlosSloQueryOutput

func (GetSlosSloQueryArgs) ToGetSlosSloQueryOutputWithContext

func (i GetSlosSloQueryArgs) ToGetSlosSloQueryOutputWithContext(ctx context.Context) GetSlosSloQueryOutput

type GetSlosSloQueryArray

type GetSlosSloQueryArray []GetSlosSloQueryInput

func (GetSlosSloQueryArray) ElementType

func (GetSlosSloQueryArray) ElementType() reflect.Type

func (GetSlosSloQueryArray) ToGetSlosSloQueryArrayOutput

func (i GetSlosSloQueryArray) ToGetSlosSloQueryArrayOutput() GetSlosSloQueryArrayOutput

func (GetSlosSloQueryArray) ToGetSlosSloQueryArrayOutputWithContext

func (i GetSlosSloQueryArray) ToGetSlosSloQueryArrayOutputWithContext(ctx context.Context) GetSlosSloQueryArrayOutput

type GetSlosSloQueryArrayInput

type GetSlosSloQueryArrayInput interface {
	pulumi.Input

	ToGetSlosSloQueryArrayOutput() GetSlosSloQueryArrayOutput
	ToGetSlosSloQueryArrayOutputWithContext(context.Context) GetSlosSloQueryArrayOutput
}

GetSlosSloQueryArrayInput is an input type that accepts GetSlosSloQueryArray and GetSlosSloQueryArrayOutput values. You can construct a concrete instance of `GetSlosSloQueryArrayInput` via:

GetSlosSloQueryArray{ GetSlosSloQueryArgs{...} }

type GetSlosSloQueryArrayOutput

type GetSlosSloQueryArrayOutput struct{ *pulumi.OutputState }

func (GetSlosSloQueryArrayOutput) ElementType

func (GetSlosSloQueryArrayOutput) ElementType() reflect.Type

func (GetSlosSloQueryArrayOutput) Index

func (GetSlosSloQueryArrayOutput) ToGetSlosSloQueryArrayOutput

func (o GetSlosSloQueryArrayOutput) ToGetSlosSloQueryArrayOutput() GetSlosSloQueryArrayOutput

func (GetSlosSloQueryArrayOutput) ToGetSlosSloQueryArrayOutputWithContext

func (o GetSlosSloQueryArrayOutput) ToGetSlosSloQueryArrayOutputWithContext(ctx context.Context) GetSlosSloQueryArrayOutput

type GetSlosSloQueryFreeform

type GetSlosSloQueryFreeform struct {
	// Freeform Query Field
	Query string `pulumi:"query"`
}

type GetSlosSloQueryFreeformArgs

type GetSlosSloQueryFreeformArgs struct {
	// Freeform Query Field
	Query pulumi.StringInput `pulumi:"query"`
}

func (GetSlosSloQueryFreeformArgs) ElementType

func (GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformOutput

func (i GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformOutput() GetSlosSloQueryFreeformOutput

func (GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformOutputWithContext

func (i GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformOutputWithContext(ctx context.Context) GetSlosSloQueryFreeformOutput

func (GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformPtrOutput

func (i GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformPtrOutput() GetSlosSloQueryFreeformPtrOutput

func (GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformPtrOutputWithContext

func (i GetSlosSloQueryFreeformArgs) ToGetSlosSloQueryFreeformPtrOutputWithContext(ctx context.Context) GetSlosSloQueryFreeformPtrOutput

type GetSlosSloQueryFreeformInput

type GetSlosSloQueryFreeformInput interface {
	pulumi.Input

	ToGetSlosSloQueryFreeformOutput() GetSlosSloQueryFreeformOutput
	ToGetSlosSloQueryFreeformOutputWithContext(context.Context) GetSlosSloQueryFreeformOutput
}

GetSlosSloQueryFreeformInput is an input type that accepts GetSlosSloQueryFreeformArgs and GetSlosSloQueryFreeformOutput values. You can construct a concrete instance of `GetSlosSloQueryFreeformInput` via:

GetSlosSloQueryFreeformArgs{...}

type GetSlosSloQueryFreeformOutput

type GetSlosSloQueryFreeformOutput struct{ *pulumi.OutputState }

func (GetSlosSloQueryFreeformOutput) ElementType

func (GetSlosSloQueryFreeformOutput) Query

Freeform Query Field

func (GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformOutput

func (o GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformOutput() GetSlosSloQueryFreeformOutput

func (GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformOutputWithContext

func (o GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformOutputWithContext(ctx context.Context) GetSlosSloQueryFreeformOutput

func (GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformPtrOutput

func (o GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformPtrOutput() GetSlosSloQueryFreeformPtrOutput

func (GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformPtrOutputWithContext

func (o GetSlosSloQueryFreeformOutput) ToGetSlosSloQueryFreeformPtrOutputWithContext(ctx context.Context) GetSlosSloQueryFreeformPtrOutput

type GetSlosSloQueryFreeformPtrInput

type GetSlosSloQueryFreeformPtrInput interface {
	pulumi.Input

	ToGetSlosSloQueryFreeformPtrOutput() GetSlosSloQueryFreeformPtrOutput
	ToGetSlosSloQueryFreeformPtrOutputWithContext(context.Context) GetSlosSloQueryFreeformPtrOutput
}

GetSlosSloQueryFreeformPtrInput is an input type that accepts GetSlosSloQueryFreeformArgs, GetSlosSloQueryFreeformPtr and GetSlosSloQueryFreeformPtrOutput values. You can construct a concrete instance of `GetSlosSloQueryFreeformPtrInput` via:

        GetSlosSloQueryFreeformArgs{...}

or:

        nil

type GetSlosSloQueryFreeformPtrOutput

type GetSlosSloQueryFreeformPtrOutput struct{ *pulumi.OutputState }

func (GetSlosSloQueryFreeformPtrOutput) Elem

func (GetSlosSloQueryFreeformPtrOutput) ElementType

func (GetSlosSloQueryFreeformPtrOutput) Query

Freeform Query Field

func (GetSlosSloQueryFreeformPtrOutput) ToGetSlosSloQueryFreeformPtrOutput

func (o GetSlosSloQueryFreeformPtrOutput) ToGetSlosSloQueryFreeformPtrOutput() GetSlosSloQueryFreeformPtrOutput

func (GetSlosSloQueryFreeformPtrOutput) ToGetSlosSloQueryFreeformPtrOutputWithContext

func (o GetSlosSloQueryFreeformPtrOutput) ToGetSlosSloQueryFreeformPtrOutputWithContext(ctx context.Context) GetSlosSloQueryFreeformPtrOutput

type GetSlosSloQueryInput

type GetSlosSloQueryInput interface {
	pulumi.Input

	ToGetSlosSloQueryOutput() GetSlosSloQueryOutput
	ToGetSlosSloQueryOutputWithContext(context.Context) GetSlosSloQueryOutput
}

GetSlosSloQueryInput is an input type that accepts GetSlosSloQueryArgs and GetSlosSloQueryOutput values. You can construct a concrete instance of `GetSlosSloQueryInput` via:

GetSlosSloQueryArgs{...}

type GetSlosSloQueryOutput

type GetSlosSloQueryOutput struct{ *pulumi.OutputState }

func (GetSlosSloQueryOutput) ElementType

func (GetSlosSloQueryOutput) ElementType() reflect.Type

func (GetSlosSloQueryOutput) Freeform

func (GetSlosSloQueryOutput) Ratio

func (GetSlosSloQueryOutput) ToGetSlosSloQueryOutput

func (o GetSlosSloQueryOutput) ToGetSlosSloQueryOutput() GetSlosSloQueryOutput

func (GetSlosSloQueryOutput) ToGetSlosSloQueryOutputWithContext

func (o GetSlosSloQueryOutput) ToGetSlosSloQueryOutputWithContext(ctx context.Context) GetSlosSloQueryOutput

func (GetSlosSloQueryOutput) Type

Query type must be one of: "freeform", "query", "ratio", or "threshold"

type GetSlosSloQueryRatio

type GetSlosSloQueryRatio struct {
	// Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"
	GroupByLabels []string `pulumi:"groupByLabels"`
	// Counter metric for success events (numerator)
	SuccessMetric string `pulumi:"successMetric"`
	// Metric for total events (denominator)
	TotalMetric string `pulumi:"totalMetric"`
}

type GetSlosSloQueryRatioArgs

type GetSlosSloQueryRatioArgs struct {
	// Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"
	GroupByLabels pulumi.StringArrayInput `pulumi:"groupByLabels"`
	// Counter metric for success events (numerator)
	SuccessMetric pulumi.StringInput `pulumi:"successMetric"`
	// Metric for total events (denominator)
	TotalMetric pulumi.StringInput `pulumi:"totalMetric"`
}

func (GetSlosSloQueryRatioArgs) ElementType

func (GetSlosSloQueryRatioArgs) ElementType() reflect.Type

func (GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioOutput

func (i GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioOutput() GetSlosSloQueryRatioOutput

func (GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioOutputWithContext

func (i GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioOutputWithContext(ctx context.Context) GetSlosSloQueryRatioOutput

func (GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioPtrOutput

func (i GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioPtrOutput() GetSlosSloQueryRatioPtrOutput

func (GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioPtrOutputWithContext

func (i GetSlosSloQueryRatioArgs) ToGetSlosSloQueryRatioPtrOutputWithContext(ctx context.Context) GetSlosSloQueryRatioPtrOutput

type GetSlosSloQueryRatioInput

type GetSlosSloQueryRatioInput interface {
	pulumi.Input

	ToGetSlosSloQueryRatioOutput() GetSlosSloQueryRatioOutput
	ToGetSlosSloQueryRatioOutputWithContext(context.Context) GetSlosSloQueryRatioOutput
}

GetSlosSloQueryRatioInput is an input type that accepts GetSlosSloQueryRatioArgs and GetSlosSloQueryRatioOutput values. You can construct a concrete instance of `GetSlosSloQueryRatioInput` via:

GetSlosSloQueryRatioArgs{...}

type GetSlosSloQueryRatioOutput

type GetSlosSloQueryRatioOutput struct{ *pulumi.OutputState }

func (GetSlosSloQueryRatioOutput) ElementType

func (GetSlosSloQueryRatioOutput) ElementType() reflect.Type

func (GetSlosSloQueryRatioOutput) GroupByLabels

Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"

func (GetSlosSloQueryRatioOutput) SuccessMetric

Counter metric for success events (numerator)

func (GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioOutput

func (o GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioOutput() GetSlosSloQueryRatioOutput

func (GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioOutputWithContext

func (o GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioOutputWithContext(ctx context.Context) GetSlosSloQueryRatioOutput

func (GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioPtrOutput

func (o GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioPtrOutput() GetSlosSloQueryRatioPtrOutput

func (GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioPtrOutputWithContext

func (o GetSlosSloQueryRatioOutput) ToGetSlosSloQueryRatioPtrOutputWithContext(ctx context.Context) GetSlosSloQueryRatioPtrOutput

func (GetSlosSloQueryRatioOutput) TotalMetric

Metric for total events (denominator)

type GetSlosSloQueryRatioPtrInput

type GetSlosSloQueryRatioPtrInput interface {
	pulumi.Input

	ToGetSlosSloQueryRatioPtrOutput() GetSlosSloQueryRatioPtrOutput
	ToGetSlosSloQueryRatioPtrOutputWithContext(context.Context) GetSlosSloQueryRatioPtrOutput
}

GetSlosSloQueryRatioPtrInput is an input type that accepts GetSlosSloQueryRatioArgs, GetSlosSloQueryRatioPtr and GetSlosSloQueryRatioPtrOutput values. You can construct a concrete instance of `GetSlosSloQueryRatioPtrInput` via:

        GetSlosSloQueryRatioArgs{...}

or:

        nil

type GetSlosSloQueryRatioPtrOutput

type GetSlosSloQueryRatioPtrOutput struct{ *pulumi.OutputState }

func (GetSlosSloQueryRatioPtrOutput) Elem

func (GetSlosSloQueryRatioPtrOutput) ElementType

func (GetSlosSloQueryRatioPtrOutput) GroupByLabels

Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"

func (GetSlosSloQueryRatioPtrOutput) SuccessMetric

Counter metric for success events (numerator)

func (GetSlosSloQueryRatioPtrOutput) ToGetSlosSloQueryRatioPtrOutput

func (o GetSlosSloQueryRatioPtrOutput) ToGetSlosSloQueryRatioPtrOutput() GetSlosSloQueryRatioPtrOutput

func (GetSlosSloQueryRatioPtrOutput) ToGetSlosSloQueryRatioPtrOutputWithContext

func (o GetSlosSloQueryRatioPtrOutput) ToGetSlosSloQueryRatioPtrOutputWithContext(ctx context.Context) GetSlosSloQueryRatioPtrOutput

func (GetSlosSloQueryRatioPtrOutput) TotalMetric

Metric for total events (denominator)

type SLO

type SLO struct {
	pulumi.CustomResourceState

	// Configures the alerting rules that will be generated for each
	// 			time window associated with the SLO. Grafana SLOs can generate
	// 			alerts when the short-term error budget burn is very high, the
	// 			long-term error budget burn rate is high, or when the remaining
	// 			error budget is below a certain threshold. Annotations and Labels support templating.
	Alertings SLOAlertingArrayOutput `pulumi:"alertings"`
	// Description is a free-text field that can provide more context to an SLO.
	Description pulumi.StringOutput `pulumi:"description"`
	// Destination Datasource sets the datasource defined for an SLO
	DestinationDatasource SLODestinationDatasourceOutput `pulumi:"destinationDatasource"`
	// UID for the SLO folder
	FolderUid pulumi.StringPtrOutput `pulumi:"folderUid"`
	// Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"
	Labels SLOLabelArrayOutput `pulumi:"labels"`
	// Name should be a short description of your indicator. Consider names like "API Availability"
	Name pulumi.StringOutput `pulumi:"name"`
	// Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
	Objectives SLOObjectiveArrayOutput `pulumi:"objectives"`
	// Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.
	Queries SLOQueryArrayOutput `pulumi:"queries"`
	// The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.
	SearchExpression pulumi.StringPtrOutput `pulumi:"searchExpression"`
}

Resource manages Grafana SLOs.

* [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/) * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/) * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)

## Example Usage

### Basic

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/slo"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := slo.NewSLO(ctx, "test", &slo.SLOArgs{
			Name:        pulumi.String("Terraform Testing"),
			Description: pulumi.String("Terraform Description"),
			Queries: slo.SLOQueryArray{
				&slo.SLOQueryArgs{
					Freeform: &slo.SLOQueryFreeformArgs{
						Query: pulumi.String("sum(rate(apiserver_request_total{code!=\"500\"}[$__rate_interval])) / sum(rate(apiserver_request_total[$__rate_interval]))"),
					},
					Type: pulumi.String("freeform"),
				},
			},
			Objectives: slo.SLOObjectiveArray{
				&slo.SLOObjectiveArgs{
					Value:  pulumi.Float64(0.995),
					Window: pulumi.String("30d"),
				},
			},
			DestinationDatasource: &slo.SLODestinationDatasourceArgs{
				Uid: pulumi.String("grafanacloud-prom"),
			},
			Labels: slo.SLOLabelArray{
				&slo.SLOLabelArgs{
					Key:   pulumi.String("slo"),
					Value: pulumi.String("terraform"),
				},
			},
			Alertings: slo.SLOAlertingArray{
				&slo.SLOAlertingArgs{
					Fastburns: slo.SLOAlertingFastburnArray{
						&slo.SLOAlertingFastburnArgs{
							Annotations: slo.SLOAlertingFastburnAnnotationArray{
								&slo.SLOAlertingFastburnAnnotationArgs{
									Key:   pulumi.String("name"),
									Value: pulumi.String("SLO Burn Rate Very High"),
								},
								&slo.SLOAlertingFastburnAnnotationArgs{
									Key:   pulumi.String("description"),
									Value: pulumi.String("Error budget is burning too fast"),
								},
							},
						},
					},
					Slowburns: slo.SLOAlertingSlowburnArray{
						&slo.SLOAlertingSlowburnArgs{
							Annotations: slo.SLOAlertingSlowburnAnnotationArray{
								&slo.SLOAlertingSlowburnAnnotationArgs{
									Key:   pulumi.String("name"),
									Value: pulumi.String("SLO Burn Rate High"),
								},
								&slo.SLOAlertingSlowburnAnnotationArgs{
									Key:   pulumi.String("description"),
									Value: pulumi.String("Error budget is burning too fast"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Advanced

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/slo"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := slo.NewSLO(ctx, "test", &slo.SLOArgs{
			Name:        pulumi.String("Complex Resource - Terraform Ratio Query Example"),
			Description: pulumi.String("Complex Resource - Terraform Ratio Query Description"),
			Queries: slo.SLOQueryArray{
				&slo.SLOQueryArgs{
					Ratio: &slo.SLOQueryRatioArgs{
						SuccessMetric: pulumi.String("kubelet_http_requests_total{status!~\"5..\"}"),
						TotalMetric:   pulumi.String("kubelet_http_requests_total"),
						GroupByLabels: pulumi.StringArray{
							pulumi.String("job"),
							pulumi.String("instance"),
						},
					},
					Type: pulumi.String("ratio"),
				},
			},
			Objectives: slo.SLOObjectiveArray{
				&slo.SLOObjectiveArgs{
					Value:  pulumi.Float64(0.995),
					Window: pulumi.String("30d"),
				},
			},
			DestinationDatasource: &slo.SLODestinationDatasourceArgs{
				Uid: pulumi.String("grafanacloud-prom"),
			},
			Labels: slo.SLOLabelArray{
				&slo.SLOLabelArgs{
					Key:   pulumi.String("slo"),
					Value: pulumi.String("terraform"),
				},
			},
			Alertings: slo.SLOAlertingArray{
				&slo.SLOAlertingArgs{
					Fastburns: slo.SLOAlertingFastburnArray{
						&slo.SLOAlertingFastburnArgs{
							Annotations: slo.SLOAlertingFastburnAnnotationArray{
								&slo.SLOAlertingFastburnAnnotationArgs{
									Key:   pulumi.String("name"),
									Value: pulumi.String("SLO Burn Rate Very High"),
								},
								&slo.SLOAlertingFastburnAnnotationArgs{
									Key:   pulumi.String("description"),
									Value: pulumi.String("Error budget is burning too fast"),
								},
							},
							Labels: slo.SLOAlertingFastburnLabelArray{
								&slo.SLOAlertingFastburnLabelArgs{
									Key:   pulumi.String("type"),
									Value: pulumi.String("slo"),
								},
							},
						},
					},
					Slowburns: slo.SLOAlertingSlowburnArray{
						&slo.SLOAlertingSlowburnArgs{
							Annotations: slo.SLOAlertingSlowburnAnnotationArray{
								&slo.SLOAlertingSlowburnAnnotationArgs{
									Key:   pulumi.String("name"),
									Value: pulumi.String("SLO Burn Rate High"),
								},
								&slo.SLOAlertingSlowburnAnnotationArgs{
									Key:   pulumi.String("description"),
									Value: pulumi.String("Error budget is burning too fast"),
								},
							},
							Labels: slo.SLOAlertingSlowburnLabelArray{
								&slo.SLOAlertingSlowburnLabelArgs{
									Key:   pulumi.String("type"),
									Value: pulumi.String("slo"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import grafana:slo/sLO:SLO name "{{ uuid }}" ```

func GetSLO

func GetSLO(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SLOState, opts ...pulumi.ResourceOption) (*SLO, error)

GetSLO gets an existing SLO resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSLO

func NewSLO(ctx *pulumi.Context,
	name string, args *SLOArgs, opts ...pulumi.ResourceOption) (*SLO, error)

NewSLO registers a new resource with the given unique name, arguments, and options.

func (*SLO) ElementType

func (*SLO) ElementType() reflect.Type

func (*SLO) ToSLOOutput

func (i *SLO) ToSLOOutput() SLOOutput

func (*SLO) ToSLOOutputWithContext

func (i *SLO) ToSLOOutputWithContext(ctx context.Context) SLOOutput

type SLOAlerting

type SLOAlerting struct {
	// Advanced Options for Alert Rules
	AdvancedOptions *SLOAlertingAdvancedOptions `pulumi:"advancedOptions"`
	// Annotations will be attached to all alerts generated by any of these rules.
	Annotations []SLOAlertingAnnotation `pulumi:"annotations"`
	// Alerting Rules generated for Fast Burn alerts
	Fastburns []SLOAlertingFastburn `pulumi:"fastburns"`
	// Labels will be attached to all alerts generated by any of these rules.
	Labels []SLOAlertingLabel `pulumi:"labels"`
	// Alerting Rules generated for Slow Burn alerts
	Slowburns []SLOAlertingSlowburn `pulumi:"slowburns"`
}

type SLOAlertingAdvancedOptions

type SLOAlertingAdvancedOptions struct {
	// Minimum number of failed events to trigger an alert
	MinFailures *int `pulumi:"minFailures"`
}

type SLOAlertingAdvancedOptionsArgs

type SLOAlertingAdvancedOptionsArgs struct {
	// Minimum number of failed events to trigger an alert
	MinFailures pulumi.IntPtrInput `pulumi:"minFailures"`
}

func (SLOAlertingAdvancedOptionsArgs) ElementType

func (SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsOutput

func (i SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsOutput() SLOAlertingAdvancedOptionsOutput

func (SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsOutputWithContext

func (i SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsOutputWithContext(ctx context.Context) SLOAlertingAdvancedOptionsOutput

func (SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsPtrOutput

func (i SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsPtrOutput() SLOAlertingAdvancedOptionsPtrOutput

func (SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsPtrOutputWithContext

func (i SLOAlertingAdvancedOptionsArgs) ToSLOAlertingAdvancedOptionsPtrOutputWithContext(ctx context.Context) SLOAlertingAdvancedOptionsPtrOutput

type SLOAlertingAdvancedOptionsInput

type SLOAlertingAdvancedOptionsInput interface {
	pulumi.Input

	ToSLOAlertingAdvancedOptionsOutput() SLOAlertingAdvancedOptionsOutput
	ToSLOAlertingAdvancedOptionsOutputWithContext(context.Context) SLOAlertingAdvancedOptionsOutput
}

SLOAlertingAdvancedOptionsInput is an input type that accepts SLOAlertingAdvancedOptionsArgs and SLOAlertingAdvancedOptionsOutput values. You can construct a concrete instance of `SLOAlertingAdvancedOptionsInput` via:

SLOAlertingAdvancedOptionsArgs{...}

type SLOAlertingAdvancedOptionsOutput

type SLOAlertingAdvancedOptionsOutput struct{ *pulumi.OutputState }

func (SLOAlertingAdvancedOptionsOutput) ElementType

func (SLOAlertingAdvancedOptionsOutput) MinFailures

Minimum number of failed events to trigger an alert

func (SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsOutput

func (o SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsOutput() SLOAlertingAdvancedOptionsOutput

func (SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsOutputWithContext

func (o SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsOutputWithContext(ctx context.Context) SLOAlertingAdvancedOptionsOutput

func (SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsPtrOutput

func (o SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsPtrOutput() SLOAlertingAdvancedOptionsPtrOutput

func (SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsPtrOutputWithContext

func (o SLOAlertingAdvancedOptionsOutput) ToSLOAlertingAdvancedOptionsPtrOutputWithContext(ctx context.Context) SLOAlertingAdvancedOptionsPtrOutput

type SLOAlertingAdvancedOptionsPtrInput

type SLOAlertingAdvancedOptionsPtrInput interface {
	pulumi.Input

	ToSLOAlertingAdvancedOptionsPtrOutput() SLOAlertingAdvancedOptionsPtrOutput
	ToSLOAlertingAdvancedOptionsPtrOutputWithContext(context.Context) SLOAlertingAdvancedOptionsPtrOutput
}

SLOAlertingAdvancedOptionsPtrInput is an input type that accepts SLOAlertingAdvancedOptionsArgs, SLOAlertingAdvancedOptionsPtr and SLOAlertingAdvancedOptionsPtrOutput values. You can construct a concrete instance of `SLOAlertingAdvancedOptionsPtrInput` via:

        SLOAlertingAdvancedOptionsArgs{...}

or:

        nil

type SLOAlertingAdvancedOptionsPtrOutput

type SLOAlertingAdvancedOptionsPtrOutput struct{ *pulumi.OutputState }

func (SLOAlertingAdvancedOptionsPtrOutput) Elem

func (SLOAlertingAdvancedOptionsPtrOutput) ElementType

func (SLOAlertingAdvancedOptionsPtrOutput) MinFailures

Minimum number of failed events to trigger an alert

func (SLOAlertingAdvancedOptionsPtrOutput) ToSLOAlertingAdvancedOptionsPtrOutput

func (o SLOAlertingAdvancedOptionsPtrOutput) ToSLOAlertingAdvancedOptionsPtrOutput() SLOAlertingAdvancedOptionsPtrOutput

func (SLOAlertingAdvancedOptionsPtrOutput) ToSLOAlertingAdvancedOptionsPtrOutputWithContext

func (o SLOAlertingAdvancedOptionsPtrOutput) ToSLOAlertingAdvancedOptionsPtrOutputWithContext(ctx context.Context) SLOAlertingAdvancedOptionsPtrOutput

type SLOAlertingAnnotation

type SLOAlertingAnnotation struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOAlertingAnnotationArgs

type SLOAlertingAnnotationArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOAlertingAnnotationArgs) ElementType

func (SLOAlertingAnnotationArgs) ElementType() reflect.Type

func (SLOAlertingAnnotationArgs) ToSLOAlertingAnnotationOutput

func (i SLOAlertingAnnotationArgs) ToSLOAlertingAnnotationOutput() SLOAlertingAnnotationOutput

func (SLOAlertingAnnotationArgs) ToSLOAlertingAnnotationOutputWithContext

func (i SLOAlertingAnnotationArgs) ToSLOAlertingAnnotationOutputWithContext(ctx context.Context) SLOAlertingAnnotationOutput

type SLOAlertingAnnotationArray

type SLOAlertingAnnotationArray []SLOAlertingAnnotationInput

func (SLOAlertingAnnotationArray) ElementType

func (SLOAlertingAnnotationArray) ElementType() reflect.Type

func (SLOAlertingAnnotationArray) ToSLOAlertingAnnotationArrayOutput

func (i SLOAlertingAnnotationArray) ToSLOAlertingAnnotationArrayOutput() SLOAlertingAnnotationArrayOutput

func (SLOAlertingAnnotationArray) ToSLOAlertingAnnotationArrayOutputWithContext

func (i SLOAlertingAnnotationArray) ToSLOAlertingAnnotationArrayOutputWithContext(ctx context.Context) SLOAlertingAnnotationArrayOutput

type SLOAlertingAnnotationArrayInput

type SLOAlertingAnnotationArrayInput interface {
	pulumi.Input

	ToSLOAlertingAnnotationArrayOutput() SLOAlertingAnnotationArrayOutput
	ToSLOAlertingAnnotationArrayOutputWithContext(context.Context) SLOAlertingAnnotationArrayOutput
}

SLOAlertingAnnotationArrayInput is an input type that accepts SLOAlertingAnnotationArray and SLOAlertingAnnotationArrayOutput values. You can construct a concrete instance of `SLOAlertingAnnotationArrayInput` via:

SLOAlertingAnnotationArray{ SLOAlertingAnnotationArgs{...} }

type SLOAlertingAnnotationArrayOutput

type SLOAlertingAnnotationArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingAnnotationArrayOutput) ElementType

func (SLOAlertingAnnotationArrayOutput) Index

func (SLOAlertingAnnotationArrayOutput) ToSLOAlertingAnnotationArrayOutput

func (o SLOAlertingAnnotationArrayOutput) ToSLOAlertingAnnotationArrayOutput() SLOAlertingAnnotationArrayOutput

func (SLOAlertingAnnotationArrayOutput) ToSLOAlertingAnnotationArrayOutputWithContext

func (o SLOAlertingAnnotationArrayOutput) ToSLOAlertingAnnotationArrayOutputWithContext(ctx context.Context) SLOAlertingAnnotationArrayOutput

type SLOAlertingAnnotationInput

type SLOAlertingAnnotationInput interface {
	pulumi.Input

	ToSLOAlertingAnnotationOutput() SLOAlertingAnnotationOutput
	ToSLOAlertingAnnotationOutputWithContext(context.Context) SLOAlertingAnnotationOutput
}

SLOAlertingAnnotationInput is an input type that accepts SLOAlertingAnnotationArgs and SLOAlertingAnnotationOutput values. You can construct a concrete instance of `SLOAlertingAnnotationInput` via:

SLOAlertingAnnotationArgs{...}

type SLOAlertingAnnotationOutput

type SLOAlertingAnnotationOutput struct{ *pulumi.OutputState }

func (SLOAlertingAnnotationOutput) ElementType

func (SLOAlertingAnnotationOutput) Key

Key for filtering and identification

func (SLOAlertingAnnotationOutput) ToSLOAlertingAnnotationOutput

func (o SLOAlertingAnnotationOutput) ToSLOAlertingAnnotationOutput() SLOAlertingAnnotationOutput

func (SLOAlertingAnnotationOutput) ToSLOAlertingAnnotationOutputWithContext

func (o SLOAlertingAnnotationOutput) ToSLOAlertingAnnotationOutputWithContext(ctx context.Context) SLOAlertingAnnotationOutput

func (SLOAlertingAnnotationOutput) Value

Templatable value

type SLOAlertingArgs

type SLOAlertingArgs struct {
	// Advanced Options for Alert Rules
	AdvancedOptions SLOAlertingAdvancedOptionsPtrInput `pulumi:"advancedOptions"`
	// Annotations will be attached to all alerts generated by any of these rules.
	Annotations SLOAlertingAnnotationArrayInput `pulumi:"annotations"`
	// Alerting Rules generated for Fast Burn alerts
	Fastburns SLOAlertingFastburnArrayInput `pulumi:"fastburns"`
	// Labels will be attached to all alerts generated by any of these rules.
	Labels SLOAlertingLabelArrayInput `pulumi:"labels"`
	// Alerting Rules generated for Slow Burn alerts
	Slowburns SLOAlertingSlowburnArrayInput `pulumi:"slowburns"`
}

func (SLOAlertingArgs) ElementType

func (SLOAlertingArgs) ElementType() reflect.Type

func (SLOAlertingArgs) ToSLOAlertingOutput

func (i SLOAlertingArgs) ToSLOAlertingOutput() SLOAlertingOutput

func (SLOAlertingArgs) ToSLOAlertingOutputWithContext

func (i SLOAlertingArgs) ToSLOAlertingOutputWithContext(ctx context.Context) SLOAlertingOutput

type SLOAlertingArray

type SLOAlertingArray []SLOAlertingInput

func (SLOAlertingArray) ElementType

func (SLOAlertingArray) ElementType() reflect.Type

func (SLOAlertingArray) ToSLOAlertingArrayOutput

func (i SLOAlertingArray) ToSLOAlertingArrayOutput() SLOAlertingArrayOutput

func (SLOAlertingArray) ToSLOAlertingArrayOutputWithContext

func (i SLOAlertingArray) ToSLOAlertingArrayOutputWithContext(ctx context.Context) SLOAlertingArrayOutput

type SLOAlertingArrayInput

type SLOAlertingArrayInput interface {
	pulumi.Input

	ToSLOAlertingArrayOutput() SLOAlertingArrayOutput
	ToSLOAlertingArrayOutputWithContext(context.Context) SLOAlertingArrayOutput
}

SLOAlertingArrayInput is an input type that accepts SLOAlertingArray and SLOAlertingArrayOutput values. You can construct a concrete instance of `SLOAlertingArrayInput` via:

SLOAlertingArray{ SLOAlertingArgs{...} }

type SLOAlertingArrayOutput

type SLOAlertingArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingArrayOutput) ElementType

func (SLOAlertingArrayOutput) ElementType() reflect.Type

func (SLOAlertingArrayOutput) Index

func (SLOAlertingArrayOutput) ToSLOAlertingArrayOutput

func (o SLOAlertingArrayOutput) ToSLOAlertingArrayOutput() SLOAlertingArrayOutput

func (SLOAlertingArrayOutput) ToSLOAlertingArrayOutputWithContext

func (o SLOAlertingArrayOutput) ToSLOAlertingArrayOutputWithContext(ctx context.Context) SLOAlertingArrayOutput

type SLOAlertingFastburn

type SLOAlertingFastburn struct {
	// Annotations to attach only to Fast Burn alerts.
	Annotations []SLOAlertingFastburnAnnotation `pulumi:"annotations"`
	// Labels to attach only to Fast Burn alerts.
	Labels []SLOAlertingFastburnLabel `pulumi:"labels"`
}

type SLOAlertingFastburnAnnotation

type SLOAlertingFastburnAnnotation struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOAlertingFastburnAnnotationArgs

type SLOAlertingFastburnAnnotationArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOAlertingFastburnAnnotationArgs) ElementType

func (SLOAlertingFastburnAnnotationArgs) ToSLOAlertingFastburnAnnotationOutput

func (i SLOAlertingFastburnAnnotationArgs) ToSLOAlertingFastburnAnnotationOutput() SLOAlertingFastburnAnnotationOutput

func (SLOAlertingFastburnAnnotationArgs) ToSLOAlertingFastburnAnnotationOutputWithContext

func (i SLOAlertingFastburnAnnotationArgs) ToSLOAlertingFastburnAnnotationOutputWithContext(ctx context.Context) SLOAlertingFastburnAnnotationOutput

type SLOAlertingFastburnAnnotationArray

type SLOAlertingFastburnAnnotationArray []SLOAlertingFastburnAnnotationInput

func (SLOAlertingFastburnAnnotationArray) ElementType

func (SLOAlertingFastburnAnnotationArray) ToSLOAlertingFastburnAnnotationArrayOutput

func (i SLOAlertingFastburnAnnotationArray) ToSLOAlertingFastburnAnnotationArrayOutput() SLOAlertingFastburnAnnotationArrayOutput

func (SLOAlertingFastburnAnnotationArray) ToSLOAlertingFastburnAnnotationArrayOutputWithContext

func (i SLOAlertingFastburnAnnotationArray) ToSLOAlertingFastburnAnnotationArrayOutputWithContext(ctx context.Context) SLOAlertingFastburnAnnotationArrayOutput

type SLOAlertingFastburnAnnotationArrayInput

type SLOAlertingFastburnAnnotationArrayInput interface {
	pulumi.Input

	ToSLOAlertingFastburnAnnotationArrayOutput() SLOAlertingFastburnAnnotationArrayOutput
	ToSLOAlertingFastburnAnnotationArrayOutputWithContext(context.Context) SLOAlertingFastburnAnnotationArrayOutput
}

SLOAlertingFastburnAnnotationArrayInput is an input type that accepts SLOAlertingFastburnAnnotationArray and SLOAlertingFastburnAnnotationArrayOutput values. You can construct a concrete instance of `SLOAlertingFastburnAnnotationArrayInput` via:

SLOAlertingFastburnAnnotationArray{ SLOAlertingFastburnAnnotationArgs{...} }

type SLOAlertingFastburnAnnotationArrayOutput

type SLOAlertingFastburnAnnotationArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingFastburnAnnotationArrayOutput) ElementType

func (SLOAlertingFastburnAnnotationArrayOutput) Index

func (SLOAlertingFastburnAnnotationArrayOutput) ToSLOAlertingFastburnAnnotationArrayOutput

func (o SLOAlertingFastburnAnnotationArrayOutput) ToSLOAlertingFastburnAnnotationArrayOutput() SLOAlertingFastburnAnnotationArrayOutput

func (SLOAlertingFastburnAnnotationArrayOutput) ToSLOAlertingFastburnAnnotationArrayOutputWithContext

func (o SLOAlertingFastburnAnnotationArrayOutput) ToSLOAlertingFastburnAnnotationArrayOutputWithContext(ctx context.Context) SLOAlertingFastburnAnnotationArrayOutput

type SLOAlertingFastburnAnnotationInput

type SLOAlertingFastburnAnnotationInput interface {
	pulumi.Input

	ToSLOAlertingFastburnAnnotationOutput() SLOAlertingFastburnAnnotationOutput
	ToSLOAlertingFastburnAnnotationOutputWithContext(context.Context) SLOAlertingFastburnAnnotationOutput
}

SLOAlertingFastburnAnnotationInput is an input type that accepts SLOAlertingFastburnAnnotationArgs and SLOAlertingFastburnAnnotationOutput values. You can construct a concrete instance of `SLOAlertingFastburnAnnotationInput` via:

SLOAlertingFastburnAnnotationArgs{...}

type SLOAlertingFastburnAnnotationOutput

type SLOAlertingFastburnAnnotationOutput struct{ *pulumi.OutputState }

func (SLOAlertingFastburnAnnotationOutput) ElementType

func (SLOAlertingFastburnAnnotationOutput) Key

Key for filtering and identification

func (SLOAlertingFastburnAnnotationOutput) ToSLOAlertingFastburnAnnotationOutput

func (o SLOAlertingFastburnAnnotationOutput) ToSLOAlertingFastburnAnnotationOutput() SLOAlertingFastburnAnnotationOutput

func (SLOAlertingFastburnAnnotationOutput) ToSLOAlertingFastburnAnnotationOutputWithContext

func (o SLOAlertingFastburnAnnotationOutput) ToSLOAlertingFastburnAnnotationOutputWithContext(ctx context.Context) SLOAlertingFastburnAnnotationOutput

func (SLOAlertingFastburnAnnotationOutput) Value

Templatable value

type SLOAlertingFastburnArgs

type SLOAlertingFastburnArgs struct {
	// Annotations to attach only to Fast Burn alerts.
	Annotations SLOAlertingFastburnAnnotationArrayInput `pulumi:"annotations"`
	// Labels to attach only to Fast Burn alerts.
	Labels SLOAlertingFastburnLabelArrayInput `pulumi:"labels"`
}

func (SLOAlertingFastburnArgs) ElementType

func (SLOAlertingFastburnArgs) ElementType() reflect.Type

func (SLOAlertingFastburnArgs) ToSLOAlertingFastburnOutput

func (i SLOAlertingFastburnArgs) ToSLOAlertingFastburnOutput() SLOAlertingFastburnOutput

func (SLOAlertingFastburnArgs) ToSLOAlertingFastburnOutputWithContext

func (i SLOAlertingFastburnArgs) ToSLOAlertingFastburnOutputWithContext(ctx context.Context) SLOAlertingFastburnOutput

type SLOAlertingFastburnArray

type SLOAlertingFastburnArray []SLOAlertingFastburnInput

func (SLOAlertingFastburnArray) ElementType

func (SLOAlertingFastburnArray) ElementType() reflect.Type

func (SLOAlertingFastburnArray) ToSLOAlertingFastburnArrayOutput

func (i SLOAlertingFastburnArray) ToSLOAlertingFastburnArrayOutput() SLOAlertingFastburnArrayOutput

func (SLOAlertingFastburnArray) ToSLOAlertingFastburnArrayOutputWithContext

func (i SLOAlertingFastburnArray) ToSLOAlertingFastburnArrayOutputWithContext(ctx context.Context) SLOAlertingFastburnArrayOutput

type SLOAlertingFastburnArrayInput

type SLOAlertingFastburnArrayInput interface {
	pulumi.Input

	ToSLOAlertingFastburnArrayOutput() SLOAlertingFastburnArrayOutput
	ToSLOAlertingFastburnArrayOutputWithContext(context.Context) SLOAlertingFastburnArrayOutput
}

SLOAlertingFastburnArrayInput is an input type that accepts SLOAlertingFastburnArray and SLOAlertingFastburnArrayOutput values. You can construct a concrete instance of `SLOAlertingFastburnArrayInput` via:

SLOAlertingFastburnArray{ SLOAlertingFastburnArgs{...} }

type SLOAlertingFastburnArrayOutput

type SLOAlertingFastburnArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingFastburnArrayOutput) ElementType

func (SLOAlertingFastburnArrayOutput) Index

func (SLOAlertingFastburnArrayOutput) ToSLOAlertingFastburnArrayOutput

func (o SLOAlertingFastburnArrayOutput) ToSLOAlertingFastburnArrayOutput() SLOAlertingFastburnArrayOutput

func (SLOAlertingFastburnArrayOutput) ToSLOAlertingFastburnArrayOutputWithContext

func (o SLOAlertingFastburnArrayOutput) ToSLOAlertingFastburnArrayOutputWithContext(ctx context.Context) SLOAlertingFastburnArrayOutput

type SLOAlertingFastburnInput

type SLOAlertingFastburnInput interface {
	pulumi.Input

	ToSLOAlertingFastburnOutput() SLOAlertingFastburnOutput
	ToSLOAlertingFastburnOutputWithContext(context.Context) SLOAlertingFastburnOutput
}

SLOAlertingFastburnInput is an input type that accepts SLOAlertingFastburnArgs and SLOAlertingFastburnOutput values. You can construct a concrete instance of `SLOAlertingFastburnInput` via:

SLOAlertingFastburnArgs{...}

type SLOAlertingFastburnLabel

type SLOAlertingFastburnLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOAlertingFastburnLabelArgs

type SLOAlertingFastburnLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOAlertingFastburnLabelArgs) ElementType

func (SLOAlertingFastburnLabelArgs) ToSLOAlertingFastburnLabelOutput

func (i SLOAlertingFastburnLabelArgs) ToSLOAlertingFastburnLabelOutput() SLOAlertingFastburnLabelOutput

func (SLOAlertingFastburnLabelArgs) ToSLOAlertingFastburnLabelOutputWithContext

func (i SLOAlertingFastburnLabelArgs) ToSLOAlertingFastburnLabelOutputWithContext(ctx context.Context) SLOAlertingFastburnLabelOutput

type SLOAlertingFastburnLabelArray

type SLOAlertingFastburnLabelArray []SLOAlertingFastburnLabelInput

func (SLOAlertingFastburnLabelArray) ElementType

func (SLOAlertingFastburnLabelArray) ToSLOAlertingFastburnLabelArrayOutput

func (i SLOAlertingFastburnLabelArray) ToSLOAlertingFastburnLabelArrayOutput() SLOAlertingFastburnLabelArrayOutput

func (SLOAlertingFastburnLabelArray) ToSLOAlertingFastburnLabelArrayOutputWithContext

func (i SLOAlertingFastburnLabelArray) ToSLOAlertingFastburnLabelArrayOutputWithContext(ctx context.Context) SLOAlertingFastburnLabelArrayOutput

type SLOAlertingFastburnLabelArrayInput

type SLOAlertingFastburnLabelArrayInput interface {
	pulumi.Input

	ToSLOAlertingFastburnLabelArrayOutput() SLOAlertingFastburnLabelArrayOutput
	ToSLOAlertingFastburnLabelArrayOutputWithContext(context.Context) SLOAlertingFastburnLabelArrayOutput
}

SLOAlertingFastburnLabelArrayInput is an input type that accepts SLOAlertingFastburnLabelArray and SLOAlertingFastburnLabelArrayOutput values. You can construct a concrete instance of `SLOAlertingFastburnLabelArrayInput` via:

SLOAlertingFastburnLabelArray{ SLOAlertingFastburnLabelArgs{...} }

type SLOAlertingFastburnLabelArrayOutput

type SLOAlertingFastburnLabelArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingFastburnLabelArrayOutput) ElementType

func (SLOAlertingFastburnLabelArrayOutput) Index

func (SLOAlertingFastburnLabelArrayOutput) ToSLOAlertingFastburnLabelArrayOutput

func (o SLOAlertingFastburnLabelArrayOutput) ToSLOAlertingFastburnLabelArrayOutput() SLOAlertingFastburnLabelArrayOutput

func (SLOAlertingFastburnLabelArrayOutput) ToSLOAlertingFastburnLabelArrayOutputWithContext

func (o SLOAlertingFastburnLabelArrayOutput) ToSLOAlertingFastburnLabelArrayOutputWithContext(ctx context.Context) SLOAlertingFastburnLabelArrayOutput

type SLOAlertingFastburnLabelInput

type SLOAlertingFastburnLabelInput interface {
	pulumi.Input

	ToSLOAlertingFastburnLabelOutput() SLOAlertingFastburnLabelOutput
	ToSLOAlertingFastburnLabelOutputWithContext(context.Context) SLOAlertingFastburnLabelOutput
}

SLOAlertingFastburnLabelInput is an input type that accepts SLOAlertingFastburnLabelArgs and SLOAlertingFastburnLabelOutput values. You can construct a concrete instance of `SLOAlertingFastburnLabelInput` via:

SLOAlertingFastburnLabelArgs{...}

type SLOAlertingFastburnLabelOutput

type SLOAlertingFastburnLabelOutput struct{ *pulumi.OutputState }

func (SLOAlertingFastburnLabelOutput) ElementType

func (SLOAlertingFastburnLabelOutput) Key

Key for filtering and identification

func (SLOAlertingFastburnLabelOutput) ToSLOAlertingFastburnLabelOutput

func (o SLOAlertingFastburnLabelOutput) ToSLOAlertingFastburnLabelOutput() SLOAlertingFastburnLabelOutput

func (SLOAlertingFastburnLabelOutput) ToSLOAlertingFastburnLabelOutputWithContext

func (o SLOAlertingFastburnLabelOutput) ToSLOAlertingFastburnLabelOutputWithContext(ctx context.Context) SLOAlertingFastburnLabelOutput

func (SLOAlertingFastburnLabelOutput) Value

Templatable value

type SLOAlertingFastburnOutput

type SLOAlertingFastburnOutput struct{ *pulumi.OutputState }

func (SLOAlertingFastburnOutput) Annotations

Annotations to attach only to Fast Burn alerts.

func (SLOAlertingFastburnOutput) ElementType

func (SLOAlertingFastburnOutput) ElementType() reflect.Type

func (SLOAlertingFastburnOutput) Labels

Labels to attach only to Fast Burn alerts.

func (SLOAlertingFastburnOutput) ToSLOAlertingFastburnOutput

func (o SLOAlertingFastburnOutput) ToSLOAlertingFastburnOutput() SLOAlertingFastburnOutput

func (SLOAlertingFastburnOutput) ToSLOAlertingFastburnOutputWithContext

func (o SLOAlertingFastburnOutput) ToSLOAlertingFastburnOutputWithContext(ctx context.Context) SLOAlertingFastburnOutput

type SLOAlertingInput

type SLOAlertingInput interface {
	pulumi.Input

	ToSLOAlertingOutput() SLOAlertingOutput
	ToSLOAlertingOutputWithContext(context.Context) SLOAlertingOutput
}

SLOAlertingInput is an input type that accepts SLOAlertingArgs and SLOAlertingOutput values. You can construct a concrete instance of `SLOAlertingInput` via:

SLOAlertingArgs{...}

type SLOAlertingLabel

type SLOAlertingLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOAlertingLabelArgs

type SLOAlertingLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOAlertingLabelArgs) ElementType

func (SLOAlertingLabelArgs) ElementType() reflect.Type

func (SLOAlertingLabelArgs) ToSLOAlertingLabelOutput

func (i SLOAlertingLabelArgs) ToSLOAlertingLabelOutput() SLOAlertingLabelOutput

func (SLOAlertingLabelArgs) ToSLOAlertingLabelOutputWithContext

func (i SLOAlertingLabelArgs) ToSLOAlertingLabelOutputWithContext(ctx context.Context) SLOAlertingLabelOutput

type SLOAlertingLabelArray

type SLOAlertingLabelArray []SLOAlertingLabelInput

func (SLOAlertingLabelArray) ElementType

func (SLOAlertingLabelArray) ElementType() reflect.Type

func (SLOAlertingLabelArray) ToSLOAlertingLabelArrayOutput

func (i SLOAlertingLabelArray) ToSLOAlertingLabelArrayOutput() SLOAlertingLabelArrayOutput

func (SLOAlertingLabelArray) ToSLOAlertingLabelArrayOutputWithContext

func (i SLOAlertingLabelArray) ToSLOAlertingLabelArrayOutputWithContext(ctx context.Context) SLOAlertingLabelArrayOutput

type SLOAlertingLabelArrayInput

type SLOAlertingLabelArrayInput interface {
	pulumi.Input

	ToSLOAlertingLabelArrayOutput() SLOAlertingLabelArrayOutput
	ToSLOAlertingLabelArrayOutputWithContext(context.Context) SLOAlertingLabelArrayOutput
}

SLOAlertingLabelArrayInput is an input type that accepts SLOAlertingLabelArray and SLOAlertingLabelArrayOutput values. You can construct a concrete instance of `SLOAlertingLabelArrayInput` via:

SLOAlertingLabelArray{ SLOAlertingLabelArgs{...} }

type SLOAlertingLabelArrayOutput

type SLOAlertingLabelArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingLabelArrayOutput) ElementType

func (SLOAlertingLabelArrayOutput) Index

func (SLOAlertingLabelArrayOutput) ToSLOAlertingLabelArrayOutput

func (o SLOAlertingLabelArrayOutput) ToSLOAlertingLabelArrayOutput() SLOAlertingLabelArrayOutput

func (SLOAlertingLabelArrayOutput) ToSLOAlertingLabelArrayOutputWithContext

func (o SLOAlertingLabelArrayOutput) ToSLOAlertingLabelArrayOutputWithContext(ctx context.Context) SLOAlertingLabelArrayOutput

type SLOAlertingLabelInput

type SLOAlertingLabelInput interface {
	pulumi.Input

	ToSLOAlertingLabelOutput() SLOAlertingLabelOutput
	ToSLOAlertingLabelOutputWithContext(context.Context) SLOAlertingLabelOutput
}

SLOAlertingLabelInput is an input type that accepts SLOAlertingLabelArgs and SLOAlertingLabelOutput values. You can construct a concrete instance of `SLOAlertingLabelInput` via:

SLOAlertingLabelArgs{...}

type SLOAlertingLabelOutput

type SLOAlertingLabelOutput struct{ *pulumi.OutputState }

func (SLOAlertingLabelOutput) ElementType

func (SLOAlertingLabelOutput) ElementType() reflect.Type

func (SLOAlertingLabelOutput) Key

Key for filtering and identification

func (SLOAlertingLabelOutput) ToSLOAlertingLabelOutput

func (o SLOAlertingLabelOutput) ToSLOAlertingLabelOutput() SLOAlertingLabelOutput

func (SLOAlertingLabelOutput) ToSLOAlertingLabelOutputWithContext

func (o SLOAlertingLabelOutput) ToSLOAlertingLabelOutputWithContext(ctx context.Context) SLOAlertingLabelOutput

func (SLOAlertingLabelOutput) Value

Templatable value

type SLOAlertingOutput

type SLOAlertingOutput struct{ *pulumi.OutputState }

func (SLOAlertingOutput) AdvancedOptions

Advanced Options for Alert Rules

func (SLOAlertingOutput) Annotations

Annotations will be attached to all alerts generated by any of these rules.

func (SLOAlertingOutput) ElementType

func (SLOAlertingOutput) ElementType() reflect.Type

func (SLOAlertingOutput) Fastburns

Alerting Rules generated for Fast Burn alerts

func (SLOAlertingOutput) Labels

Labels will be attached to all alerts generated by any of these rules.

func (SLOAlertingOutput) Slowburns

Alerting Rules generated for Slow Burn alerts

func (SLOAlertingOutput) ToSLOAlertingOutput

func (o SLOAlertingOutput) ToSLOAlertingOutput() SLOAlertingOutput

func (SLOAlertingOutput) ToSLOAlertingOutputWithContext

func (o SLOAlertingOutput) ToSLOAlertingOutputWithContext(ctx context.Context) SLOAlertingOutput

type SLOAlertingSlowburn

type SLOAlertingSlowburn struct {
	// Annotations to attach only to Slow Burn alerts.
	Annotations []SLOAlertingSlowburnAnnotation `pulumi:"annotations"`
	// Labels to attach only to Slow Burn alerts.
	Labels []SLOAlertingSlowburnLabel `pulumi:"labels"`
}

type SLOAlertingSlowburnAnnotation

type SLOAlertingSlowburnAnnotation struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOAlertingSlowburnAnnotationArgs

type SLOAlertingSlowburnAnnotationArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOAlertingSlowburnAnnotationArgs) ElementType

func (SLOAlertingSlowburnAnnotationArgs) ToSLOAlertingSlowburnAnnotationOutput

func (i SLOAlertingSlowburnAnnotationArgs) ToSLOAlertingSlowburnAnnotationOutput() SLOAlertingSlowburnAnnotationOutput

func (SLOAlertingSlowburnAnnotationArgs) ToSLOAlertingSlowburnAnnotationOutputWithContext

func (i SLOAlertingSlowburnAnnotationArgs) ToSLOAlertingSlowburnAnnotationOutputWithContext(ctx context.Context) SLOAlertingSlowburnAnnotationOutput

type SLOAlertingSlowburnAnnotationArray

type SLOAlertingSlowburnAnnotationArray []SLOAlertingSlowburnAnnotationInput

func (SLOAlertingSlowburnAnnotationArray) ElementType

func (SLOAlertingSlowburnAnnotationArray) ToSLOAlertingSlowburnAnnotationArrayOutput

func (i SLOAlertingSlowburnAnnotationArray) ToSLOAlertingSlowburnAnnotationArrayOutput() SLOAlertingSlowburnAnnotationArrayOutput

func (SLOAlertingSlowburnAnnotationArray) ToSLOAlertingSlowburnAnnotationArrayOutputWithContext

func (i SLOAlertingSlowburnAnnotationArray) ToSLOAlertingSlowburnAnnotationArrayOutputWithContext(ctx context.Context) SLOAlertingSlowburnAnnotationArrayOutput

type SLOAlertingSlowburnAnnotationArrayInput

type SLOAlertingSlowburnAnnotationArrayInput interface {
	pulumi.Input

	ToSLOAlertingSlowburnAnnotationArrayOutput() SLOAlertingSlowburnAnnotationArrayOutput
	ToSLOAlertingSlowburnAnnotationArrayOutputWithContext(context.Context) SLOAlertingSlowburnAnnotationArrayOutput
}

SLOAlertingSlowburnAnnotationArrayInput is an input type that accepts SLOAlertingSlowburnAnnotationArray and SLOAlertingSlowburnAnnotationArrayOutput values. You can construct a concrete instance of `SLOAlertingSlowburnAnnotationArrayInput` via:

SLOAlertingSlowburnAnnotationArray{ SLOAlertingSlowburnAnnotationArgs{...} }

type SLOAlertingSlowburnAnnotationArrayOutput

type SLOAlertingSlowburnAnnotationArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingSlowburnAnnotationArrayOutput) ElementType

func (SLOAlertingSlowburnAnnotationArrayOutput) Index

func (SLOAlertingSlowburnAnnotationArrayOutput) ToSLOAlertingSlowburnAnnotationArrayOutput

func (o SLOAlertingSlowburnAnnotationArrayOutput) ToSLOAlertingSlowburnAnnotationArrayOutput() SLOAlertingSlowburnAnnotationArrayOutput

func (SLOAlertingSlowburnAnnotationArrayOutput) ToSLOAlertingSlowburnAnnotationArrayOutputWithContext

func (o SLOAlertingSlowburnAnnotationArrayOutput) ToSLOAlertingSlowburnAnnotationArrayOutputWithContext(ctx context.Context) SLOAlertingSlowburnAnnotationArrayOutput

type SLOAlertingSlowburnAnnotationInput

type SLOAlertingSlowburnAnnotationInput interface {
	pulumi.Input

	ToSLOAlertingSlowburnAnnotationOutput() SLOAlertingSlowburnAnnotationOutput
	ToSLOAlertingSlowburnAnnotationOutputWithContext(context.Context) SLOAlertingSlowburnAnnotationOutput
}

SLOAlertingSlowburnAnnotationInput is an input type that accepts SLOAlertingSlowburnAnnotationArgs and SLOAlertingSlowburnAnnotationOutput values. You can construct a concrete instance of `SLOAlertingSlowburnAnnotationInput` via:

SLOAlertingSlowburnAnnotationArgs{...}

type SLOAlertingSlowburnAnnotationOutput

type SLOAlertingSlowburnAnnotationOutput struct{ *pulumi.OutputState }

func (SLOAlertingSlowburnAnnotationOutput) ElementType

func (SLOAlertingSlowburnAnnotationOutput) Key

Key for filtering and identification

func (SLOAlertingSlowburnAnnotationOutput) ToSLOAlertingSlowburnAnnotationOutput

func (o SLOAlertingSlowburnAnnotationOutput) ToSLOAlertingSlowburnAnnotationOutput() SLOAlertingSlowburnAnnotationOutput

func (SLOAlertingSlowburnAnnotationOutput) ToSLOAlertingSlowburnAnnotationOutputWithContext

func (o SLOAlertingSlowburnAnnotationOutput) ToSLOAlertingSlowburnAnnotationOutputWithContext(ctx context.Context) SLOAlertingSlowburnAnnotationOutput

func (SLOAlertingSlowburnAnnotationOutput) Value

Templatable value

type SLOAlertingSlowburnArgs

type SLOAlertingSlowburnArgs struct {
	// Annotations to attach only to Slow Burn alerts.
	Annotations SLOAlertingSlowburnAnnotationArrayInput `pulumi:"annotations"`
	// Labels to attach only to Slow Burn alerts.
	Labels SLOAlertingSlowburnLabelArrayInput `pulumi:"labels"`
}

func (SLOAlertingSlowburnArgs) ElementType

func (SLOAlertingSlowburnArgs) ElementType() reflect.Type

func (SLOAlertingSlowburnArgs) ToSLOAlertingSlowburnOutput

func (i SLOAlertingSlowburnArgs) ToSLOAlertingSlowburnOutput() SLOAlertingSlowburnOutput

func (SLOAlertingSlowburnArgs) ToSLOAlertingSlowburnOutputWithContext

func (i SLOAlertingSlowburnArgs) ToSLOAlertingSlowburnOutputWithContext(ctx context.Context) SLOAlertingSlowburnOutput

type SLOAlertingSlowburnArray

type SLOAlertingSlowburnArray []SLOAlertingSlowburnInput

func (SLOAlertingSlowburnArray) ElementType

func (SLOAlertingSlowburnArray) ElementType() reflect.Type

func (SLOAlertingSlowburnArray) ToSLOAlertingSlowburnArrayOutput

func (i SLOAlertingSlowburnArray) ToSLOAlertingSlowburnArrayOutput() SLOAlertingSlowburnArrayOutput

func (SLOAlertingSlowburnArray) ToSLOAlertingSlowburnArrayOutputWithContext

func (i SLOAlertingSlowburnArray) ToSLOAlertingSlowburnArrayOutputWithContext(ctx context.Context) SLOAlertingSlowburnArrayOutput

type SLOAlertingSlowburnArrayInput

type SLOAlertingSlowburnArrayInput interface {
	pulumi.Input

	ToSLOAlertingSlowburnArrayOutput() SLOAlertingSlowburnArrayOutput
	ToSLOAlertingSlowburnArrayOutputWithContext(context.Context) SLOAlertingSlowburnArrayOutput
}

SLOAlertingSlowburnArrayInput is an input type that accepts SLOAlertingSlowburnArray and SLOAlertingSlowburnArrayOutput values. You can construct a concrete instance of `SLOAlertingSlowburnArrayInput` via:

SLOAlertingSlowburnArray{ SLOAlertingSlowburnArgs{...} }

type SLOAlertingSlowburnArrayOutput

type SLOAlertingSlowburnArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingSlowburnArrayOutput) ElementType

func (SLOAlertingSlowburnArrayOutput) Index

func (SLOAlertingSlowburnArrayOutput) ToSLOAlertingSlowburnArrayOutput

func (o SLOAlertingSlowburnArrayOutput) ToSLOAlertingSlowburnArrayOutput() SLOAlertingSlowburnArrayOutput

func (SLOAlertingSlowburnArrayOutput) ToSLOAlertingSlowburnArrayOutputWithContext

func (o SLOAlertingSlowburnArrayOutput) ToSLOAlertingSlowburnArrayOutputWithContext(ctx context.Context) SLOAlertingSlowburnArrayOutput

type SLOAlertingSlowburnInput

type SLOAlertingSlowburnInput interface {
	pulumi.Input

	ToSLOAlertingSlowburnOutput() SLOAlertingSlowburnOutput
	ToSLOAlertingSlowburnOutputWithContext(context.Context) SLOAlertingSlowburnOutput
}

SLOAlertingSlowburnInput is an input type that accepts SLOAlertingSlowburnArgs and SLOAlertingSlowburnOutput values. You can construct a concrete instance of `SLOAlertingSlowburnInput` via:

SLOAlertingSlowburnArgs{...}

type SLOAlertingSlowburnLabel

type SLOAlertingSlowburnLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOAlertingSlowburnLabelArgs

type SLOAlertingSlowburnLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOAlertingSlowburnLabelArgs) ElementType

func (SLOAlertingSlowburnLabelArgs) ToSLOAlertingSlowburnLabelOutput

func (i SLOAlertingSlowburnLabelArgs) ToSLOAlertingSlowburnLabelOutput() SLOAlertingSlowburnLabelOutput

func (SLOAlertingSlowburnLabelArgs) ToSLOAlertingSlowburnLabelOutputWithContext

func (i SLOAlertingSlowburnLabelArgs) ToSLOAlertingSlowburnLabelOutputWithContext(ctx context.Context) SLOAlertingSlowburnLabelOutput

type SLOAlertingSlowburnLabelArray

type SLOAlertingSlowburnLabelArray []SLOAlertingSlowburnLabelInput

func (SLOAlertingSlowburnLabelArray) ElementType

func (SLOAlertingSlowburnLabelArray) ToSLOAlertingSlowburnLabelArrayOutput

func (i SLOAlertingSlowburnLabelArray) ToSLOAlertingSlowburnLabelArrayOutput() SLOAlertingSlowburnLabelArrayOutput

func (SLOAlertingSlowburnLabelArray) ToSLOAlertingSlowburnLabelArrayOutputWithContext

func (i SLOAlertingSlowburnLabelArray) ToSLOAlertingSlowburnLabelArrayOutputWithContext(ctx context.Context) SLOAlertingSlowburnLabelArrayOutput

type SLOAlertingSlowburnLabelArrayInput

type SLOAlertingSlowburnLabelArrayInput interface {
	pulumi.Input

	ToSLOAlertingSlowburnLabelArrayOutput() SLOAlertingSlowburnLabelArrayOutput
	ToSLOAlertingSlowburnLabelArrayOutputWithContext(context.Context) SLOAlertingSlowburnLabelArrayOutput
}

SLOAlertingSlowburnLabelArrayInput is an input type that accepts SLOAlertingSlowburnLabelArray and SLOAlertingSlowburnLabelArrayOutput values. You can construct a concrete instance of `SLOAlertingSlowburnLabelArrayInput` via:

SLOAlertingSlowburnLabelArray{ SLOAlertingSlowburnLabelArgs{...} }

type SLOAlertingSlowburnLabelArrayOutput

type SLOAlertingSlowburnLabelArrayOutput struct{ *pulumi.OutputState }

func (SLOAlertingSlowburnLabelArrayOutput) ElementType

func (SLOAlertingSlowburnLabelArrayOutput) Index

func (SLOAlertingSlowburnLabelArrayOutput) ToSLOAlertingSlowburnLabelArrayOutput

func (o SLOAlertingSlowburnLabelArrayOutput) ToSLOAlertingSlowburnLabelArrayOutput() SLOAlertingSlowburnLabelArrayOutput

func (SLOAlertingSlowburnLabelArrayOutput) ToSLOAlertingSlowburnLabelArrayOutputWithContext

func (o SLOAlertingSlowburnLabelArrayOutput) ToSLOAlertingSlowburnLabelArrayOutputWithContext(ctx context.Context) SLOAlertingSlowburnLabelArrayOutput

type SLOAlertingSlowburnLabelInput

type SLOAlertingSlowburnLabelInput interface {
	pulumi.Input

	ToSLOAlertingSlowburnLabelOutput() SLOAlertingSlowburnLabelOutput
	ToSLOAlertingSlowburnLabelOutputWithContext(context.Context) SLOAlertingSlowburnLabelOutput
}

SLOAlertingSlowburnLabelInput is an input type that accepts SLOAlertingSlowburnLabelArgs and SLOAlertingSlowburnLabelOutput values. You can construct a concrete instance of `SLOAlertingSlowburnLabelInput` via:

SLOAlertingSlowburnLabelArgs{...}

type SLOAlertingSlowburnLabelOutput

type SLOAlertingSlowburnLabelOutput struct{ *pulumi.OutputState }

func (SLOAlertingSlowburnLabelOutput) ElementType

func (SLOAlertingSlowburnLabelOutput) Key

Key for filtering and identification

func (SLOAlertingSlowburnLabelOutput) ToSLOAlertingSlowburnLabelOutput

func (o SLOAlertingSlowburnLabelOutput) ToSLOAlertingSlowburnLabelOutput() SLOAlertingSlowburnLabelOutput

func (SLOAlertingSlowburnLabelOutput) ToSLOAlertingSlowburnLabelOutputWithContext

func (o SLOAlertingSlowburnLabelOutput) ToSLOAlertingSlowburnLabelOutputWithContext(ctx context.Context) SLOAlertingSlowburnLabelOutput

func (SLOAlertingSlowburnLabelOutput) Value

Templatable value

type SLOAlertingSlowburnOutput

type SLOAlertingSlowburnOutput struct{ *pulumi.OutputState }

func (SLOAlertingSlowburnOutput) Annotations

Annotations to attach only to Slow Burn alerts.

func (SLOAlertingSlowburnOutput) ElementType

func (SLOAlertingSlowburnOutput) ElementType() reflect.Type

func (SLOAlertingSlowburnOutput) Labels

Labels to attach only to Slow Burn alerts.

func (SLOAlertingSlowburnOutput) ToSLOAlertingSlowburnOutput

func (o SLOAlertingSlowburnOutput) ToSLOAlertingSlowburnOutput() SLOAlertingSlowburnOutput

func (SLOAlertingSlowburnOutput) ToSLOAlertingSlowburnOutputWithContext

func (o SLOAlertingSlowburnOutput) ToSLOAlertingSlowburnOutputWithContext(ctx context.Context) SLOAlertingSlowburnOutput

type SLOArgs

type SLOArgs struct {
	// Configures the alerting rules that will be generated for each
	// 			time window associated with the SLO. Grafana SLOs can generate
	// 			alerts when the short-term error budget burn is very high, the
	// 			long-term error budget burn rate is high, or when the remaining
	// 			error budget is below a certain threshold. Annotations and Labels support templating.
	Alertings SLOAlertingArrayInput
	// Description is a free-text field that can provide more context to an SLO.
	Description pulumi.StringInput
	// Destination Datasource sets the datasource defined for an SLO
	DestinationDatasource SLODestinationDatasourceInput
	// UID for the SLO folder
	FolderUid pulumi.StringPtrInput
	// Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"
	Labels SLOLabelArrayInput
	// Name should be a short description of your indicator. Consider names like "API Availability"
	Name pulumi.StringPtrInput
	// Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
	Objectives SLOObjectiveArrayInput
	// Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.
	Queries SLOQueryArrayInput
	// The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.
	SearchExpression pulumi.StringPtrInput
}

The set of arguments for constructing a SLO resource.

func (SLOArgs) ElementType

func (SLOArgs) ElementType() reflect.Type

type SLOArray

type SLOArray []SLOInput

func (SLOArray) ElementType

func (SLOArray) ElementType() reflect.Type

func (SLOArray) ToSLOArrayOutput

func (i SLOArray) ToSLOArrayOutput() SLOArrayOutput

func (SLOArray) ToSLOArrayOutputWithContext

func (i SLOArray) ToSLOArrayOutputWithContext(ctx context.Context) SLOArrayOutput

type SLOArrayInput

type SLOArrayInput interface {
	pulumi.Input

	ToSLOArrayOutput() SLOArrayOutput
	ToSLOArrayOutputWithContext(context.Context) SLOArrayOutput
}

SLOArrayInput is an input type that accepts SLOArray and SLOArrayOutput values. You can construct a concrete instance of `SLOArrayInput` via:

SLOArray{ SLOArgs{...} }

type SLOArrayOutput

type SLOArrayOutput struct{ *pulumi.OutputState }

func (SLOArrayOutput) ElementType

func (SLOArrayOutput) ElementType() reflect.Type

func (SLOArrayOutput) Index

func (SLOArrayOutput) ToSLOArrayOutput

func (o SLOArrayOutput) ToSLOArrayOutput() SLOArrayOutput

func (SLOArrayOutput) ToSLOArrayOutputWithContext

func (o SLOArrayOutput) ToSLOArrayOutputWithContext(ctx context.Context) SLOArrayOutput

type SLODestinationDatasource

type SLODestinationDatasource struct {
	// UID for the Datasource
	Uid string `pulumi:"uid"`
}

type SLODestinationDatasourceArgs

type SLODestinationDatasourceArgs struct {
	// UID for the Datasource
	Uid pulumi.StringInput `pulumi:"uid"`
}

func (SLODestinationDatasourceArgs) ElementType

func (SLODestinationDatasourceArgs) ToSLODestinationDatasourceOutput

func (i SLODestinationDatasourceArgs) ToSLODestinationDatasourceOutput() SLODestinationDatasourceOutput

func (SLODestinationDatasourceArgs) ToSLODestinationDatasourceOutputWithContext

func (i SLODestinationDatasourceArgs) ToSLODestinationDatasourceOutputWithContext(ctx context.Context) SLODestinationDatasourceOutput

func (SLODestinationDatasourceArgs) ToSLODestinationDatasourcePtrOutput

func (i SLODestinationDatasourceArgs) ToSLODestinationDatasourcePtrOutput() SLODestinationDatasourcePtrOutput

func (SLODestinationDatasourceArgs) ToSLODestinationDatasourcePtrOutputWithContext

func (i SLODestinationDatasourceArgs) ToSLODestinationDatasourcePtrOutputWithContext(ctx context.Context) SLODestinationDatasourcePtrOutput

type SLODestinationDatasourceInput

type SLODestinationDatasourceInput interface {
	pulumi.Input

	ToSLODestinationDatasourceOutput() SLODestinationDatasourceOutput
	ToSLODestinationDatasourceOutputWithContext(context.Context) SLODestinationDatasourceOutput
}

SLODestinationDatasourceInput is an input type that accepts SLODestinationDatasourceArgs and SLODestinationDatasourceOutput values. You can construct a concrete instance of `SLODestinationDatasourceInput` via:

SLODestinationDatasourceArgs{...}

type SLODestinationDatasourceOutput

type SLODestinationDatasourceOutput struct{ *pulumi.OutputState }

func (SLODestinationDatasourceOutput) ElementType

func (SLODestinationDatasourceOutput) ToSLODestinationDatasourceOutput

func (o SLODestinationDatasourceOutput) ToSLODestinationDatasourceOutput() SLODestinationDatasourceOutput

func (SLODestinationDatasourceOutput) ToSLODestinationDatasourceOutputWithContext

func (o SLODestinationDatasourceOutput) ToSLODestinationDatasourceOutputWithContext(ctx context.Context) SLODestinationDatasourceOutput

func (SLODestinationDatasourceOutput) ToSLODestinationDatasourcePtrOutput

func (o SLODestinationDatasourceOutput) ToSLODestinationDatasourcePtrOutput() SLODestinationDatasourcePtrOutput

func (SLODestinationDatasourceOutput) ToSLODestinationDatasourcePtrOutputWithContext

func (o SLODestinationDatasourceOutput) ToSLODestinationDatasourcePtrOutputWithContext(ctx context.Context) SLODestinationDatasourcePtrOutput

func (SLODestinationDatasourceOutput) Uid

UID for the Datasource

type SLODestinationDatasourcePtrInput

type SLODestinationDatasourcePtrInput interface {
	pulumi.Input

	ToSLODestinationDatasourcePtrOutput() SLODestinationDatasourcePtrOutput
	ToSLODestinationDatasourcePtrOutputWithContext(context.Context) SLODestinationDatasourcePtrOutput
}

SLODestinationDatasourcePtrInput is an input type that accepts SLODestinationDatasourceArgs, SLODestinationDatasourcePtr and SLODestinationDatasourcePtrOutput values. You can construct a concrete instance of `SLODestinationDatasourcePtrInput` via:

        SLODestinationDatasourceArgs{...}

or:

        nil

type SLODestinationDatasourcePtrOutput

type SLODestinationDatasourcePtrOutput struct{ *pulumi.OutputState }

func (SLODestinationDatasourcePtrOutput) Elem

func (SLODestinationDatasourcePtrOutput) ElementType

func (SLODestinationDatasourcePtrOutput) ToSLODestinationDatasourcePtrOutput

func (o SLODestinationDatasourcePtrOutput) ToSLODestinationDatasourcePtrOutput() SLODestinationDatasourcePtrOutput

func (SLODestinationDatasourcePtrOutput) ToSLODestinationDatasourcePtrOutputWithContext

func (o SLODestinationDatasourcePtrOutput) ToSLODestinationDatasourcePtrOutputWithContext(ctx context.Context) SLODestinationDatasourcePtrOutput

func (SLODestinationDatasourcePtrOutput) Uid

UID for the Datasource

type SLOInput

type SLOInput interface {
	pulumi.Input

	ToSLOOutput() SLOOutput
	ToSLOOutputWithContext(ctx context.Context) SLOOutput
}

type SLOLabel

type SLOLabel struct {
	// Key for filtering and identification
	Key string `pulumi:"key"`
	// Templatable value
	Value string `pulumi:"value"`
}

type SLOLabelArgs

type SLOLabelArgs struct {
	// Key for filtering and identification
	Key pulumi.StringInput `pulumi:"key"`
	// Templatable value
	Value pulumi.StringInput `pulumi:"value"`
}

func (SLOLabelArgs) ElementType

func (SLOLabelArgs) ElementType() reflect.Type

func (SLOLabelArgs) ToSLOLabelOutput

func (i SLOLabelArgs) ToSLOLabelOutput() SLOLabelOutput

func (SLOLabelArgs) ToSLOLabelOutputWithContext

func (i SLOLabelArgs) ToSLOLabelOutputWithContext(ctx context.Context) SLOLabelOutput

type SLOLabelArray

type SLOLabelArray []SLOLabelInput

func (SLOLabelArray) ElementType

func (SLOLabelArray) ElementType() reflect.Type

func (SLOLabelArray) ToSLOLabelArrayOutput

func (i SLOLabelArray) ToSLOLabelArrayOutput() SLOLabelArrayOutput

func (SLOLabelArray) ToSLOLabelArrayOutputWithContext

func (i SLOLabelArray) ToSLOLabelArrayOutputWithContext(ctx context.Context) SLOLabelArrayOutput

type SLOLabelArrayInput

type SLOLabelArrayInput interface {
	pulumi.Input

	ToSLOLabelArrayOutput() SLOLabelArrayOutput
	ToSLOLabelArrayOutputWithContext(context.Context) SLOLabelArrayOutput
}

SLOLabelArrayInput is an input type that accepts SLOLabelArray and SLOLabelArrayOutput values. You can construct a concrete instance of `SLOLabelArrayInput` via:

SLOLabelArray{ SLOLabelArgs{...} }

type SLOLabelArrayOutput

type SLOLabelArrayOutput struct{ *pulumi.OutputState }

func (SLOLabelArrayOutput) ElementType

func (SLOLabelArrayOutput) ElementType() reflect.Type

func (SLOLabelArrayOutput) Index

func (SLOLabelArrayOutput) ToSLOLabelArrayOutput

func (o SLOLabelArrayOutput) ToSLOLabelArrayOutput() SLOLabelArrayOutput

func (SLOLabelArrayOutput) ToSLOLabelArrayOutputWithContext

func (o SLOLabelArrayOutput) ToSLOLabelArrayOutputWithContext(ctx context.Context) SLOLabelArrayOutput

type SLOLabelInput

type SLOLabelInput interface {
	pulumi.Input

	ToSLOLabelOutput() SLOLabelOutput
	ToSLOLabelOutputWithContext(context.Context) SLOLabelOutput
}

SLOLabelInput is an input type that accepts SLOLabelArgs and SLOLabelOutput values. You can construct a concrete instance of `SLOLabelInput` via:

SLOLabelArgs{...}

type SLOLabelOutput

type SLOLabelOutput struct{ *pulumi.OutputState }

func (SLOLabelOutput) ElementType

func (SLOLabelOutput) ElementType() reflect.Type

func (SLOLabelOutput) Key

Key for filtering and identification

func (SLOLabelOutput) ToSLOLabelOutput

func (o SLOLabelOutput) ToSLOLabelOutput() SLOLabelOutput

func (SLOLabelOutput) ToSLOLabelOutputWithContext

func (o SLOLabelOutput) ToSLOLabelOutputWithContext(ctx context.Context) SLOLabelOutput

func (SLOLabelOutput) Value

Templatable value

type SLOMap

type SLOMap map[string]SLOInput

func (SLOMap) ElementType

func (SLOMap) ElementType() reflect.Type

func (SLOMap) ToSLOMapOutput

func (i SLOMap) ToSLOMapOutput() SLOMapOutput

func (SLOMap) ToSLOMapOutputWithContext

func (i SLOMap) ToSLOMapOutputWithContext(ctx context.Context) SLOMapOutput

type SLOMapInput

type SLOMapInput interface {
	pulumi.Input

	ToSLOMapOutput() SLOMapOutput
	ToSLOMapOutputWithContext(context.Context) SLOMapOutput
}

SLOMapInput is an input type that accepts SLOMap and SLOMapOutput values. You can construct a concrete instance of `SLOMapInput` via:

SLOMap{ "key": SLOArgs{...} }

type SLOMapOutput

type SLOMapOutput struct{ *pulumi.OutputState }

func (SLOMapOutput) ElementType

func (SLOMapOutput) ElementType() reflect.Type

func (SLOMapOutput) MapIndex

func (o SLOMapOutput) MapIndex(k pulumi.StringInput) SLOOutput

func (SLOMapOutput) ToSLOMapOutput

func (o SLOMapOutput) ToSLOMapOutput() SLOMapOutput

func (SLOMapOutput) ToSLOMapOutputWithContext

func (o SLOMapOutput) ToSLOMapOutputWithContext(ctx context.Context) SLOMapOutput

type SLOObjective

type SLOObjective struct {
	// Value between 0 and 1. If the value of the query is above the objective, the SLO is met.
	Value float64 `pulumi:"value"`
	// A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.
	Window string `pulumi:"window"`
}

type SLOObjectiveArgs

type SLOObjectiveArgs struct {
	// Value between 0 and 1. If the value of the query is above the objective, the SLO is met.
	Value pulumi.Float64Input `pulumi:"value"`
	// A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.
	Window pulumi.StringInput `pulumi:"window"`
}

func (SLOObjectiveArgs) ElementType

func (SLOObjectiveArgs) ElementType() reflect.Type

func (SLOObjectiveArgs) ToSLOObjectiveOutput

func (i SLOObjectiveArgs) ToSLOObjectiveOutput() SLOObjectiveOutput

func (SLOObjectiveArgs) ToSLOObjectiveOutputWithContext

func (i SLOObjectiveArgs) ToSLOObjectiveOutputWithContext(ctx context.Context) SLOObjectiveOutput

type SLOObjectiveArray

type SLOObjectiveArray []SLOObjectiveInput

func (SLOObjectiveArray) ElementType

func (SLOObjectiveArray) ElementType() reflect.Type

func (SLOObjectiveArray) ToSLOObjectiveArrayOutput

func (i SLOObjectiveArray) ToSLOObjectiveArrayOutput() SLOObjectiveArrayOutput

func (SLOObjectiveArray) ToSLOObjectiveArrayOutputWithContext

func (i SLOObjectiveArray) ToSLOObjectiveArrayOutputWithContext(ctx context.Context) SLOObjectiveArrayOutput

type SLOObjectiveArrayInput

type SLOObjectiveArrayInput interface {
	pulumi.Input

	ToSLOObjectiveArrayOutput() SLOObjectiveArrayOutput
	ToSLOObjectiveArrayOutputWithContext(context.Context) SLOObjectiveArrayOutput
}

SLOObjectiveArrayInput is an input type that accepts SLOObjectiveArray and SLOObjectiveArrayOutput values. You can construct a concrete instance of `SLOObjectiveArrayInput` via:

SLOObjectiveArray{ SLOObjectiveArgs{...} }

type SLOObjectiveArrayOutput

type SLOObjectiveArrayOutput struct{ *pulumi.OutputState }

func (SLOObjectiveArrayOutput) ElementType

func (SLOObjectiveArrayOutput) ElementType() reflect.Type

func (SLOObjectiveArrayOutput) Index

func (SLOObjectiveArrayOutput) ToSLOObjectiveArrayOutput

func (o SLOObjectiveArrayOutput) ToSLOObjectiveArrayOutput() SLOObjectiveArrayOutput

func (SLOObjectiveArrayOutput) ToSLOObjectiveArrayOutputWithContext

func (o SLOObjectiveArrayOutput) ToSLOObjectiveArrayOutputWithContext(ctx context.Context) SLOObjectiveArrayOutput

type SLOObjectiveInput

type SLOObjectiveInput interface {
	pulumi.Input

	ToSLOObjectiveOutput() SLOObjectiveOutput
	ToSLOObjectiveOutputWithContext(context.Context) SLOObjectiveOutput
}

SLOObjectiveInput is an input type that accepts SLOObjectiveArgs and SLOObjectiveOutput values. You can construct a concrete instance of `SLOObjectiveInput` via:

SLOObjectiveArgs{...}

type SLOObjectiveOutput

type SLOObjectiveOutput struct{ *pulumi.OutputState }

func (SLOObjectiveOutput) ElementType

func (SLOObjectiveOutput) ElementType() reflect.Type

func (SLOObjectiveOutput) ToSLOObjectiveOutput

func (o SLOObjectiveOutput) ToSLOObjectiveOutput() SLOObjectiveOutput

func (SLOObjectiveOutput) ToSLOObjectiveOutputWithContext

func (o SLOObjectiveOutput) ToSLOObjectiveOutputWithContext(ctx context.Context) SLOObjectiveOutput

func (SLOObjectiveOutput) Value

Value between 0 and 1. If the value of the query is above the objective, the SLO is met.

func (SLOObjectiveOutput) Window

A Prometheus-parsable time duration string like 24h, 60m. This is the time window the objective is measured over.

type SLOOutput

type SLOOutput struct{ *pulumi.OutputState }

func (SLOOutput) Alertings

func (o SLOOutput) Alertings() SLOAlertingArrayOutput

Configures the alerting rules that will be generated for each

time window associated with the SLO. Grafana SLOs can generate
alerts when the short-term error budget burn is very high, the
long-term error budget burn rate is high, or when the remaining
error budget is below a certain threshold. Annotations and Labels support templating.

func (SLOOutput) Description

func (o SLOOutput) Description() pulumi.StringOutput

Description is a free-text field that can provide more context to an SLO.

func (SLOOutput) DestinationDatasource

func (o SLOOutput) DestinationDatasource() SLODestinationDatasourceOutput

Destination Datasource sets the datasource defined for an SLO

func (SLOOutput) ElementType

func (SLOOutput) ElementType() reflect.Type

func (SLOOutput) FolderUid

func (o SLOOutput) FolderUid() pulumi.StringPtrOutput

UID for the SLO folder

func (SLOOutput) Labels

func (o SLOOutput) Labels() SLOLabelArrayOutput

Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"

func (SLOOutput) Name

func (o SLOOutput) Name() pulumi.StringOutput

Name should be a short description of your indicator. Consider names like "API Availability"

func (SLOOutput) Objectives

func (o SLOOutput) Objectives() SLOObjectiveArrayOutput

Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.

func (SLOOutput) Queries

func (o SLOOutput) Queries() SLOQueryArrayOutput

Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.

func (SLOOutput) SearchExpression added in v0.7.1

func (o SLOOutput) SearchExpression() pulumi.StringPtrOutput

The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.

func (SLOOutput) ToSLOOutput

func (o SLOOutput) ToSLOOutput() SLOOutput

func (SLOOutput) ToSLOOutputWithContext

func (o SLOOutput) ToSLOOutputWithContext(ctx context.Context) SLOOutput

type SLOQuery

type SLOQuery struct {
	Freeform *SLOQueryFreeform `pulumi:"freeform"`
	Ratio    *SLOQueryRatio    `pulumi:"ratio"`
	// Query type must be one of: "freeform", "query", "ratio", or "threshold"
	Type string `pulumi:"type"`
}

type SLOQueryArgs

type SLOQueryArgs struct {
	Freeform SLOQueryFreeformPtrInput `pulumi:"freeform"`
	Ratio    SLOQueryRatioPtrInput    `pulumi:"ratio"`
	// Query type must be one of: "freeform", "query", "ratio", or "threshold"
	Type pulumi.StringInput `pulumi:"type"`
}

func (SLOQueryArgs) ElementType

func (SLOQueryArgs) ElementType() reflect.Type

func (SLOQueryArgs) ToSLOQueryOutput

func (i SLOQueryArgs) ToSLOQueryOutput() SLOQueryOutput

func (SLOQueryArgs) ToSLOQueryOutputWithContext

func (i SLOQueryArgs) ToSLOQueryOutputWithContext(ctx context.Context) SLOQueryOutput

type SLOQueryArray

type SLOQueryArray []SLOQueryInput

func (SLOQueryArray) ElementType

func (SLOQueryArray) ElementType() reflect.Type

func (SLOQueryArray) ToSLOQueryArrayOutput

func (i SLOQueryArray) ToSLOQueryArrayOutput() SLOQueryArrayOutput

func (SLOQueryArray) ToSLOQueryArrayOutputWithContext

func (i SLOQueryArray) ToSLOQueryArrayOutputWithContext(ctx context.Context) SLOQueryArrayOutput

type SLOQueryArrayInput

type SLOQueryArrayInput interface {
	pulumi.Input

	ToSLOQueryArrayOutput() SLOQueryArrayOutput
	ToSLOQueryArrayOutputWithContext(context.Context) SLOQueryArrayOutput
}

SLOQueryArrayInput is an input type that accepts SLOQueryArray and SLOQueryArrayOutput values. You can construct a concrete instance of `SLOQueryArrayInput` via:

SLOQueryArray{ SLOQueryArgs{...} }

type SLOQueryArrayOutput

type SLOQueryArrayOutput struct{ *pulumi.OutputState }

func (SLOQueryArrayOutput) ElementType

func (SLOQueryArrayOutput) ElementType() reflect.Type

func (SLOQueryArrayOutput) Index

func (SLOQueryArrayOutput) ToSLOQueryArrayOutput

func (o SLOQueryArrayOutput) ToSLOQueryArrayOutput() SLOQueryArrayOutput

func (SLOQueryArrayOutput) ToSLOQueryArrayOutputWithContext

func (o SLOQueryArrayOutput) ToSLOQueryArrayOutputWithContext(ctx context.Context) SLOQueryArrayOutput

type SLOQueryFreeform

type SLOQueryFreeform struct {
	// Freeform Query Field
	Query string `pulumi:"query"`
}

type SLOQueryFreeformArgs

type SLOQueryFreeformArgs struct {
	// Freeform Query Field
	Query pulumi.StringInput `pulumi:"query"`
}

func (SLOQueryFreeformArgs) ElementType

func (SLOQueryFreeformArgs) ElementType() reflect.Type

func (SLOQueryFreeformArgs) ToSLOQueryFreeformOutput

func (i SLOQueryFreeformArgs) ToSLOQueryFreeformOutput() SLOQueryFreeformOutput

func (SLOQueryFreeformArgs) ToSLOQueryFreeformOutputWithContext

func (i SLOQueryFreeformArgs) ToSLOQueryFreeformOutputWithContext(ctx context.Context) SLOQueryFreeformOutput

func (SLOQueryFreeformArgs) ToSLOQueryFreeformPtrOutput

func (i SLOQueryFreeformArgs) ToSLOQueryFreeformPtrOutput() SLOQueryFreeformPtrOutput

func (SLOQueryFreeformArgs) ToSLOQueryFreeformPtrOutputWithContext

func (i SLOQueryFreeformArgs) ToSLOQueryFreeformPtrOutputWithContext(ctx context.Context) SLOQueryFreeformPtrOutput

type SLOQueryFreeformInput

type SLOQueryFreeformInput interface {
	pulumi.Input

	ToSLOQueryFreeformOutput() SLOQueryFreeformOutput
	ToSLOQueryFreeformOutputWithContext(context.Context) SLOQueryFreeformOutput
}

SLOQueryFreeformInput is an input type that accepts SLOQueryFreeformArgs and SLOQueryFreeformOutput values. You can construct a concrete instance of `SLOQueryFreeformInput` via:

SLOQueryFreeformArgs{...}

type SLOQueryFreeformOutput

type SLOQueryFreeformOutput struct{ *pulumi.OutputState }

func (SLOQueryFreeformOutput) ElementType

func (SLOQueryFreeformOutput) ElementType() reflect.Type

func (SLOQueryFreeformOutput) Query

Freeform Query Field

func (SLOQueryFreeformOutput) ToSLOQueryFreeformOutput

func (o SLOQueryFreeformOutput) ToSLOQueryFreeformOutput() SLOQueryFreeformOutput

func (SLOQueryFreeformOutput) ToSLOQueryFreeformOutputWithContext

func (o SLOQueryFreeformOutput) ToSLOQueryFreeformOutputWithContext(ctx context.Context) SLOQueryFreeformOutput

func (SLOQueryFreeformOutput) ToSLOQueryFreeformPtrOutput

func (o SLOQueryFreeformOutput) ToSLOQueryFreeformPtrOutput() SLOQueryFreeformPtrOutput

func (SLOQueryFreeformOutput) ToSLOQueryFreeformPtrOutputWithContext

func (o SLOQueryFreeformOutput) ToSLOQueryFreeformPtrOutputWithContext(ctx context.Context) SLOQueryFreeformPtrOutput

type SLOQueryFreeformPtrInput

type SLOQueryFreeformPtrInput interface {
	pulumi.Input

	ToSLOQueryFreeformPtrOutput() SLOQueryFreeformPtrOutput
	ToSLOQueryFreeformPtrOutputWithContext(context.Context) SLOQueryFreeformPtrOutput
}

SLOQueryFreeformPtrInput is an input type that accepts SLOQueryFreeformArgs, SLOQueryFreeformPtr and SLOQueryFreeformPtrOutput values. You can construct a concrete instance of `SLOQueryFreeformPtrInput` via:

        SLOQueryFreeformArgs{...}

or:

        nil

type SLOQueryFreeformPtrOutput

type SLOQueryFreeformPtrOutput struct{ *pulumi.OutputState }

func (SLOQueryFreeformPtrOutput) Elem

func (SLOQueryFreeformPtrOutput) ElementType

func (SLOQueryFreeformPtrOutput) ElementType() reflect.Type

func (SLOQueryFreeformPtrOutput) Query

Freeform Query Field

func (SLOQueryFreeformPtrOutput) ToSLOQueryFreeformPtrOutput

func (o SLOQueryFreeformPtrOutput) ToSLOQueryFreeformPtrOutput() SLOQueryFreeformPtrOutput

func (SLOQueryFreeformPtrOutput) ToSLOQueryFreeformPtrOutputWithContext

func (o SLOQueryFreeformPtrOutput) ToSLOQueryFreeformPtrOutputWithContext(ctx context.Context) SLOQueryFreeformPtrOutput

type SLOQueryInput

type SLOQueryInput interface {
	pulumi.Input

	ToSLOQueryOutput() SLOQueryOutput
	ToSLOQueryOutputWithContext(context.Context) SLOQueryOutput
}

SLOQueryInput is an input type that accepts SLOQueryArgs and SLOQueryOutput values. You can construct a concrete instance of `SLOQueryInput` via:

SLOQueryArgs{...}

type SLOQueryOutput

type SLOQueryOutput struct{ *pulumi.OutputState }

func (SLOQueryOutput) ElementType

func (SLOQueryOutput) ElementType() reflect.Type

func (SLOQueryOutput) Freeform

func (SLOQueryOutput) Ratio

func (SLOQueryOutput) ToSLOQueryOutput

func (o SLOQueryOutput) ToSLOQueryOutput() SLOQueryOutput

func (SLOQueryOutput) ToSLOQueryOutputWithContext

func (o SLOQueryOutput) ToSLOQueryOutputWithContext(ctx context.Context) SLOQueryOutput

func (SLOQueryOutput) Type

Query type must be one of: "freeform", "query", "ratio", or "threshold"

type SLOQueryRatio

type SLOQueryRatio struct {
	// Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"
	GroupByLabels []string `pulumi:"groupByLabels"`
	// Counter metric for success events (numerator)
	SuccessMetric string `pulumi:"successMetric"`
	// Metric for total events (denominator)
	TotalMetric string `pulumi:"totalMetric"`
}

type SLOQueryRatioArgs

type SLOQueryRatioArgs struct {
	// Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"
	GroupByLabels pulumi.StringArrayInput `pulumi:"groupByLabels"`
	// Counter metric for success events (numerator)
	SuccessMetric pulumi.StringInput `pulumi:"successMetric"`
	// Metric for total events (denominator)
	TotalMetric pulumi.StringInput `pulumi:"totalMetric"`
}

func (SLOQueryRatioArgs) ElementType

func (SLOQueryRatioArgs) ElementType() reflect.Type

func (SLOQueryRatioArgs) ToSLOQueryRatioOutput

func (i SLOQueryRatioArgs) ToSLOQueryRatioOutput() SLOQueryRatioOutput

func (SLOQueryRatioArgs) ToSLOQueryRatioOutputWithContext

func (i SLOQueryRatioArgs) ToSLOQueryRatioOutputWithContext(ctx context.Context) SLOQueryRatioOutput

func (SLOQueryRatioArgs) ToSLOQueryRatioPtrOutput

func (i SLOQueryRatioArgs) ToSLOQueryRatioPtrOutput() SLOQueryRatioPtrOutput

func (SLOQueryRatioArgs) ToSLOQueryRatioPtrOutputWithContext

func (i SLOQueryRatioArgs) ToSLOQueryRatioPtrOutputWithContext(ctx context.Context) SLOQueryRatioPtrOutput

type SLOQueryRatioInput

type SLOQueryRatioInput interface {
	pulumi.Input

	ToSLOQueryRatioOutput() SLOQueryRatioOutput
	ToSLOQueryRatioOutputWithContext(context.Context) SLOQueryRatioOutput
}

SLOQueryRatioInput is an input type that accepts SLOQueryRatioArgs and SLOQueryRatioOutput values. You can construct a concrete instance of `SLOQueryRatioInput` via:

SLOQueryRatioArgs{...}

type SLOQueryRatioOutput

type SLOQueryRatioOutput struct{ *pulumi.OutputState }

func (SLOQueryRatioOutput) ElementType

func (SLOQueryRatioOutput) ElementType() reflect.Type

func (SLOQueryRatioOutput) GroupByLabels

func (o SLOQueryRatioOutput) GroupByLabels() pulumi.StringArrayOutput

Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"

func (SLOQueryRatioOutput) SuccessMetric

func (o SLOQueryRatioOutput) SuccessMetric() pulumi.StringOutput

Counter metric for success events (numerator)

func (SLOQueryRatioOutput) ToSLOQueryRatioOutput

func (o SLOQueryRatioOutput) ToSLOQueryRatioOutput() SLOQueryRatioOutput

func (SLOQueryRatioOutput) ToSLOQueryRatioOutputWithContext

func (o SLOQueryRatioOutput) ToSLOQueryRatioOutputWithContext(ctx context.Context) SLOQueryRatioOutput

func (SLOQueryRatioOutput) ToSLOQueryRatioPtrOutput

func (o SLOQueryRatioOutput) ToSLOQueryRatioPtrOutput() SLOQueryRatioPtrOutput

func (SLOQueryRatioOutput) ToSLOQueryRatioPtrOutputWithContext

func (o SLOQueryRatioOutput) ToSLOQueryRatioPtrOutputWithContext(ctx context.Context) SLOQueryRatioPtrOutput

func (SLOQueryRatioOutput) TotalMetric

func (o SLOQueryRatioOutput) TotalMetric() pulumi.StringOutput

Metric for total events (denominator)

type SLOQueryRatioPtrInput

type SLOQueryRatioPtrInput interface {
	pulumi.Input

	ToSLOQueryRatioPtrOutput() SLOQueryRatioPtrOutput
	ToSLOQueryRatioPtrOutputWithContext(context.Context) SLOQueryRatioPtrOutput
}

SLOQueryRatioPtrInput is an input type that accepts SLOQueryRatioArgs, SLOQueryRatioPtr and SLOQueryRatioPtrOutput values. You can construct a concrete instance of `SLOQueryRatioPtrInput` via:

        SLOQueryRatioArgs{...}

or:

        nil

type SLOQueryRatioPtrOutput

type SLOQueryRatioPtrOutput struct{ *pulumi.OutputState }

func (SLOQueryRatioPtrOutput) Elem

func (SLOQueryRatioPtrOutput) ElementType

func (SLOQueryRatioPtrOutput) ElementType() reflect.Type

func (SLOQueryRatioPtrOutput) GroupByLabels

Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"

func (SLOQueryRatioPtrOutput) SuccessMetric

func (o SLOQueryRatioPtrOutput) SuccessMetric() pulumi.StringPtrOutput

Counter metric for success events (numerator)

func (SLOQueryRatioPtrOutput) ToSLOQueryRatioPtrOutput

func (o SLOQueryRatioPtrOutput) ToSLOQueryRatioPtrOutput() SLOQueryRatioPtrOutput

func (SLOQueryRatioPtrOutput) ToSLOQueryRatioPtrOutputWithContext

func (o SLOQueryRatioPtrOutput) ToSLOQueryRatioPtrOutputWithContext(ctx context.Context) SLOQueryRatioPtrOutput

func (SLOQueryRatioPtrOutput) TotalMetric

Metric for total events (denominator)

type SLOState

type SLOState struct {
	// Configures the alerting rules that will be generated for each
	// 			time window associated with the SLO. Grafana SLOs can generate
	// 			alerts when the short-term error budget burn is very high, the
	// 			long-term error budget burn rate is high, or when the remaining
	// 			error budget is below a certain threshold. Annotations and Labels support templating.
	Alertings SLOAlertingArrayInput
	// Description is a free-text field that can provide more context to an SLO.
	Description pulumi.StringPtrInput
	// Destination Datasource sets the datasource defined for an SLO
	DestinationDatasource SLODestinationDatasourcePtrInput
	// UID for the SLO folder
	FolderUid pulumi.StringPtrInput
	// Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z*][a-zA-Z0-9*]*$"
	Labels SLOLabelArrayInput
	// Name should be a short description of your indicator. Consider names like "API Availability"
	Name pulumi.StringPtrInput
	// Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
	Objectives SLOObjectiveArrayInput
	// Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.
	Queries SLOQueryArrayInput
	// The name of a search expression in Grafana Asserts. This is used in the SLO UI to open the Asserts RCA workbench and in alerts to link to the RCA workbench.
	SearchExpression pulumi.StringPtrInput
}

func (SLOState) ElementType

func (SLOState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL