1. Packages
  2. Dynatrace
  3. API Docs
  4. PlatformSlo
Dynatrace v0.28.0 published on Sunday, May 11, 2025 by Pulumiverse

dynatrace.PlatformSlo

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.28.0 published on Sunday, May 11, 2025 by Pulumiverse

    Dynatrace SaaS only

    To utilize this resource, please define the environment variables DT_CLIENT_ID, DT_CLIENT_SECRET, DT_ACCOUNT_ID with an OAuth client including the following permissions: View SLOs (slo:slos:read) and Create and edit SLOs (slo:slos:write).

    This resource is excluded by default in the export utility, please explicitly specify the resource to retrieve existing configuration.

    Dynatrace Documentation

    • Service-Level Objectives overview - hhttps://docs.dynatrace.com/docs/deliver/service-level-objectives

    • SLO Service Public API - https://########.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Service-Level+Objectives

    Resource Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dynatrace from "@pulumiverse/dynatrace";
    
    const _name_ = new dynatrace.PlatformSlo("#name#", {
        criteria: {
            criteriaDetails: [{
                target: 96,
                timeframeFrom: "now-30d",
                timeframeTo: "now",
                warning: 99,
            }],
        },
        customSli: {
            indicator: `  timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }
      | fieldsAdd tags=entityAttr(dt.entity.service, "tags")
      | filter in(tags, "criticality:Gold")
      | fieldsAdd entityName = entityName(dt.entity.service)
      | fieldsAdd sli=(((total[]-failures[])/total[])*(100))
      | fieldsRemove total, failures, tags
    
    `,
        },
        description: "Sample custom SLO",
        tags: ["ExampleKey:ExampleValue"],
    });
    
    import pulumi
    import pulumiverse_dynatrace as dynatrace
    
    _name_ = dynatrace.PlatformSlo("#name#",
        criteria={
            "criteria_details": [{
                "target": 96,
                "timeframe_from": "now-30d",
                "timeframe_to": "now",
                "warning": 99,
            }],
        },
        custom_sli={
            "indicator": """  timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }
      | fieldsAdd tags=entityAttr(dt.entity.service, "tags")
      | filter in(tags, "criticality:Gold")
      | fieldsAdd entityName = entityName(dt.entity.service)
      | fieldsAdd sli=(((total[]-failures[])/total[])*(100))
      | fieldsRemove total, failures, tags
    
    """,
        },
        description="Sample custom SLO",
        tags=["ExampleKey:ExampleValue"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dynatrace.NewPlatformSlo(ctx, "#name#", &dynatrace.PlatformSloArgs{
    			Criteria: &dynatrace.PlatformSloCriteriaArgs{
    				CriteriaDetails: dynatrace.PlatformSloCriteriaCriteriaDetailArray{
    					&dynatrace.PlatformSloCriteriaCriteriaDetailArgs{
    						Target:        pulumi.Float64(96),
    						TimeframeFrom: pulumi.String("now-30d"),
    						TimeframeTo:   pulumi.String("now"),
    						Warning:       pulumi.Float64(99),
    					},
    				},
    			},
    			CustomSli: &dynatrace.PlatformSloCustomSliArgs{
    				Indicator: pulumi.String(`  timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }
      | fieldsAdd tags=entityAttr(dt.entity.service, "tags")
      | filter in(tags, "criticality:Gold")
      | fieldsAdd entityName = entityName(dt.entity.service)
      | fieldsAdd sli=(((total[]-failures[])/total[])*(100))
      | fieldsRemove total, failures, tags
    
    `),
    			},
    			Description: pulumi.String("Sample custom SLO"),
    			Tags: pulumi.StringArray{
    				pulumi.String("ExampleKey:ExampleValue"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Dynatrace = Pulumiverse.Dynatrace;
    
    return await Deployment.RunAsync(() => 
    {
        var _name_ = new Dynatrace.PlatformSlo("#name#", new()
        {
            Criteria = new Dynatrace.Inputs.PlatformSloCriteriaArgs
            {
                CriteriaDetails = new[]
                {
                    new Dynatrace.Inputs.PlatformSloCriteriaCriteriaDetailArgs
                    {
                        Target = 96,
                        TimeframeFrom = "now-30d",
                        TimeframeTo = "now",
                        Warning = 99,
                    },
                },
            },
            CustomSli = new Dynatrace.Inputs.PlatformSloCustomSliArgs
            {
                Indicator = @"  timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }
      | fieldsAdd tags=entityAttr(dt.entity.service, ""tags"")
      | filter in(tags, ""criticality:Gold"")
      | fieldsAdd entityName = entityName(dt.entity.service)
      | fieldsAdd sli=(((total[]-failures[])/total[])*(100))
      | fieldsRemove total, failures, tags
    
    ",
            },
            Description = "Sample custom SLO",
            Tags = new[]
            {
                "ExampleKey:ExampleValue",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.PlatformSlo;
    import com.pulumi.dynatrace.PlatformSloArgs;
    import com.pulumi.dynatrace.inputs.PlatformSloCriteriaArgs;
    import com.pulumi.dynatrace.inputs.PlatformSloCustomSliArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var _name_ = new PlatformSlo("#name#", PlatformSloArgs.builder()
                .criteria(PlatformSloCriteriaArgs.builder()
                    .criteriaDetails(PlatformSloCriteriaCriteriaDetailArgs.builder()
                        .target(96.0)
                        .timeframeFrom("now-30d")
                        .timeframeTo("now")
                        .warning(99.0)
                        .build())
                    .build())
                .customSli(PlatformSloCustomSliArgs.builder()
                    .indicator("""
      timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }
      | fieldsAdd tags=entityAttr(dt.entity.service, "tags")
      | filter in(tags, "criticality:Gold")
      | fieldsAdd entityName = entityName(dt.entity.service)
      | fieldsAdd sli=(((total[]-failures[])/total[])*(100))
      | fieldsRemove total, failures, tags
    
                    """)
                    .build())
                .description("Sample custom SLO")
                .tags("ExampleKey:ExampleValue")
                .build());
    
        }
    }
    
    resources:
      '#name#':
        type: dynatrace:PlatformSlo
        properties:
          criteria:
            criteriaDetails:
              - target: 96
                timeframeFrom: now-30d
                timeframeTo: now
                warning: 99
          customSli:
            indicator: |2+
                timeseries { total=sum(dt.service.request.count) ,failures=sum(dt.service.request.failure_count) }, by: { dt.entity.service }
                | fieldsAdd tags=entityAttr(dt.entity.service, "tags")
                | filter in(tags, "criticality:Gold")
                | fieldsAdd entityName = entityName(dt.entity.service)
                | fieldsAdd sli=(((total[]-failures[])/total[])*(100))
                | fieldsRemove total, failures, tags
    
          description: Sample custom SLO
          tags:
            - ExampleKey:ExampleValue
    

    Create PlatformSlo Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PlatformSlo(name: string, args: PlatformSloArgs, opts?: CustomResourceOptions);
    @overload
    def PlatformSlo(resource_name: str,
                    args: PlatformSloArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PlatformSlo(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    criteria: Optional[PlatformSloCriteriaArgs] = None,
                    custom_sli: Optional[PlatformSloCustomSliArgs] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    sli_reference: Optional[PlatformSloSliReferenceArgs] = None,
                    tags: Optional[Sequence[str]] = None)
    func NewPlatformSlo(ctx *Context, name string, args PlatformSloArgs, opts ...ResourceOption) (*PlatformSlo, error)
    public PlatformSlo(string name, PlatformSloArgs args, CustomResourceOptions? opts = null)
    public PlatformSlo(String name, PlatformSloArgs args)
    public PlatformSlo(String name, PlatformSloArgs args, CustomResourceOptions options)
    
    type: dynatrace:PlatformSlo
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PlatformSloArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PlatformSloArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PlatformSloArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PlatformSloArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PlatformSloArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var platformSloResource = new Dynatrace.PlatformSlo("platformSloResource", new()
    {
        Criteria = new Dynatrace.Inputs.PlatformSloCriteriaArgs
        {
            CriteriaDetails = new[]
            {
                new Dynatrace.Inputs.PlatformSloCriteriaCriteriaDetailArgs
                {
                    Target = 0,
                    TimeframeFrom = "string",
                    TimeframeTo = "string",
                    Warning = 0,
                },
            },
        },
        CustomSli = new Dynatrace.Inputs.PlatformSloCustomSliArgs
        {
            Indicator = "string",
            FilterSegments = new Dynatrace.Inputs.PlatformSloCustomSliFilterSegmentsArgs
            {
                FilterSegments = new[]
                {
                    new Dynatrace.Inputs.PlatformSloCustomSliFilterSegmentsFilterSegmentArgs
                    {
                        Id = "string",
                        Variables = new Dynatrace.Inputs.PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesArgs
                        {
                            FilterSegmentVariables = new[]
                            {
                                new Dynatrace.Inputs.PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesFilterSegmentVariableArgs
                                {
                                    Name = "string",
                                    Values = new[]
                                    {
                                        "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
        },
        Description = "string",
        Name = "string",
        SliReference = new Dynatrace.Inputs.PlatformSloSliReferenceArgs
        {
            TemplateId = "string",
            Variables = new Dynatrace.Inputs.PlatformSloSliReferenceVariablesArgs
            {
                SliReferenceVariables = new[]
                {
                    new Dynatrace.Inputs.PlatformSloSliReferenceVariablesSliReferenceVariableArgs
                    {
                        Name = "string",
                        Value = "string",
                    },
                },
            },
        },
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := dynatrace.NewPlatformSlo(ctx, "platformSloResource", &dynatrace.PlatformSloArgs{
    	Criteria: &dynatrace.PlatformSloCriteriaArgs{
    		CriteriaDetails: dynatrace.PlatformSloCriteriaCriteriaDetailArray{
    			&dynatrace.PlatformSloCriteriaCriteriaDetailArgs{
    				Target:        pulumi.Float64(0),
    				TimeframeFrom: pulumi.String("string"),
    				TimeframeTo:   pulumi.String("string"),
    				Warning:       pulumi.Float64(0),
    			},
    		},
    	},
    	CustomSli: &dynatrace.PlatformSloCustomSliArgs{
    		Indicator: pulumi.String("string"),
    		FilterSegments: &dynatrace.PlatformSloCustomSliFilterSegmentsArgs{
    			FilterSegments: dynatrace.PlatformSloCustomSliFilterSegmentsFilterSegmentArray{
    				&dynatrace.PlatformSloCustomSliFilterSegmentsFilterSegmentArgs{
    					Id: pulumi.String("string"),
    					Variables: &dynatrace.PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesArgs{
    						FilterSegmentVariables: dynatrace.PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesFilterSegmentVariableArray{
    							&dynatrace.PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesFilterSegmentVariableArgs{
    								Name: pulumi.String("string"),
    								Values: pulumi.StringArray{
    									pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	SliReference: &dynatrace.PlatformSloSliReferenceArgs{
    		TemplateId: pulumi.String("string"),
    		Variables: &dynatrace.PlatformSloSliReferenceVariablesArgs{
    			SliReferenceVariables: dynatrace.PlatformSloSliReferenceVariablesSliReferenceVariableArray{
    				&dynatrace.PlatformSloSliReferenceVariablesSliReferenceVariableArgs{
    					Name:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var platformSloResource = new PlatformSlo("platformSloResource", PlatformSloArgs.builder()
        .criteria(PlatformSloCriteriaArgs.builder()
            .criteriaDetails(PlatformSloCriteriaCriteriaDetailArgs.builder()
                .target(0.0)
                .timeframeFrom("string")
                .timeframeTo("string")
                .warning(0.0)
                .build())
            .build())
        .customSli(PlatformSloCustomSliArgs.builder()
            .indicator("string")
            .filterSegments(PlatformSloCustomSliFilterSegmentsArgs.builder()
                .filterSegments(PlatformSloCustomSliFilterSegmentsFilterSegmentArgs.builder()
                    .id("string")
                    .variables(PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesArgs.builder()
                        .filterSegmentVariables(PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesFilterSegmentVariableArgs.builder()
                            .name("string")
                            .values("string")
                            .build())
                        .build())
                    .build())
                .build())
            .build())
        .description("string")
        .name("string")
        .sliReference(PlatformSloSliReferenceArgs.builder()
            .templateId("string")
            .variables(PlatformSloSliReferenceVariablesArgs.builder()
                .sliReferenceVariables(PlatformSloSliReferenceVariablesSliReferenceVariableArgs.builder()
                    .name("string")
                    .value("string")
                    .build())
                .build())
            .build())
        .tags("string")
        .build());
    
    platform_slo_resource = dynatrace.PlatformSlo("platformSloResource",
        criteria={
            "criteria_details": [{
                "target": 0,
                "timeframe_from": "string",
                "timeframe_to": "string",
                "warning": 0,
            }],
        },
        custom_sli={
            "indicator": "string",
            "filter_segments": {
                "filter_segments": [{
                    "id": "string",
                    "variables": {
                        "filter_segment_variables": [{
                            "name": "string",
                            "values": ["string"],
                        }],
                    },
                }],
            },
        },
        description="string",
        name="string",
        sli_reference={
            "template_id": "string",
            "variables": {
                "sli_reference_variables": [{
                    "name": "string",
                    "value": "string",
                }],
            },
        },
        tags=["string"])
    
    const platformSloResource = new dynatrace.PlatformSlo("platformSloResource", {
        criteria: {
            criteriaDetails: [{
                target: 0,
                timeframeFrom: "string",
                timeframeTo: "string",
                warning: 0,
            }],
        },
        customSli: {
            indicator: "string",
            filterSegments: {
                filterSegments: [{
                    id: "string",
                    variables: {
                        filterSegmentVariables: [{
                            name: "string",
                            values: ["string"],
                        }],
                    },
                }],
            },
        },
        description: "string",
        name: "string",
        sliReference: {
            templateId: "string",
            variables: {
                sliReferenceVariables: [{
                    name: "string",
                    value: "string",
                }],
            },
        },
        tags: ["string"],
    });
    
    type: dynatrace:PlatformSlo
    properties:
        criteria:
            criteriaDetails:
                - target: 0
                  timeframeFrom: string
                  timeframeTo: string
                  warning: 0
        customSli:
            filterSegments:
                filterSegments:
                    - id: string
                      variables:
                        filterSegmentVariables:
                            - name: string
                              values:
                                - string
            indicator: string
        description: string
        name: string
        sliReference:
            templateId: string
            variables:
                sliReferenceVariables:
                    - name: string
                      value: string
        tags:
            - string
    

    PlatformSlo Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PlatformSlo resource accepts the following input properties:

    Criteria Pulumiverse.Dynatrace.Inputs.PlatformSloCriteria
    Criteria of the SLO
    CustomSli Pulumiverse.Dynatrace.Inputs.PlatformSloCustomSli
    Custom SLI of the SLO
    Description string
    Description of the SLO
    Name string
    Name of the SLO
    SliReference Pulumiverse.Dynatrace.Inputs.PlatformSloSliReference
    SLI reference of the SLO
    Tags List<string>
    Tags of the SLO. Example: Stage:DEV
    Criteria PlatformSloCriteriaArgs
    Criteria of the SLO
    CustomSli PlatformSloCustomSliArgs
    Custom SLI of the SLO
    Description string
    Description of the SLO
    Name string
    Name of the SLO
    SliReference PlatformSloSliReferenceArgs
    SLI reference of the SLO
    Tags []string
    Tags of the SLO. Example: Stage:DEV
    criteria PlatformSloCriteria
    Criteria of the SLO
    customSli PlatformSloCustomSli
    Custom SLI of the SLO
    description String
    Description of the SLO
    name String
    Name of the SLO
    sliReference PlatformSloSliReference
    SLI reference of the SLO
    tags List<String>
    Tags of the SLO. Example: Stage:DEV
    criteria PlatformSloCriteria
    Criteria of the SLO
    customSli PlatformSloCustomSli
    Custom SLI of the SLO
    description string
    Description of the SLO
    name string
    Name of the SLO
    sliReference PlatformSloSliReference
    SLI reference of the SLO
    tags string[]
    Tags of the SLO. Example: Stage:DEV
    criteria PlatformSloCriteriaArgs
    Criteria of the SLO
    custom_sli PlatformSloCustomSliArgs
    Custom SLI of the SLO
    description str
    Description of the SLO
    name str
    Name of the SLO
    sli_reference PlatformSloSliReferenceArgs
    SLI reference of the SLO
    tags Sequence[str]
    Tags of the SLO. Example: Stage:DEV
    criteria Property Map
    Criteria of the SLO
    customSli Property Map
    Custom SLI of the SLO
    description String
    Description of the SLO
    name String
    Name of the SLO
    sliReference Property Map
    SLI reference of the SLO
    tags List<String>
    Tags of the SLO. Example: Stage:DEV

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PlatformSlo resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PlatformSlo Resource

    Get an existing PlatformSlo resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PlatformSloState, opts?: CustomResourceOptions): PlatformSlo
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            criteria: Optional[PlatformSloCriteriaArgs] = None,
            custom_sli: Optional[PlatformSloCustomSliArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            sli_reference: Optional[PlatformSloSliReferenceArgs] = None,
            tags: Optional[Sequence[str]] = None) -> PlatformSlo
    func GetPlatformSlo(ctx *Context, name string, id IDInput, state *PlatformSloState, opts ...ResourceOption) (*PlatformSlo, error)
    public static PlatformSlo Get(string name, Input<string> id, PlatformSloState? state, CustomResourceOptions? opts = null)
    public static PlatformSlo get(String name, Output<String> id, PlatformSloState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:PlatformSlo    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Criteria Pulumiverse.Dynatrace.Inputs.PlatformSloCriteria
    Criteria of the SLO
    CustomSli Pulumiverse.Dynatrace.Inputs.PlatformSloCustomSli
    Custom SLI of the SLO
    Description string
    Description of the SLO
    Name string
    Name of the SLO
    SliReference Pulumiverse.Dynatrace.Inputs.PlatformSloSliReference
    SLI reference of the SLO
    Tags List<string>
    Tags of the SLO. Example: Stage:DEV
    Criteria PlatformSloCriteriaArgs
    Criteria of the SLO
    CustomSli PlatformSloCustomSliArgs
    Custom SLI of the SLO
    Description string
    Description of the SLO
    Name string
    Name of the SLO
    SliReference PlatformSloSliReferenceArgs
    SLI reference of the SLO
    Tags []string
    Tags of the SLO. Example: Stage:DEV
    criteria PlatformSloCriteria
    Criteria of the SLO
    customSli PlatformSloCustomSli
    Custom SLI of the SLO
    description String
    Description of the SLO
    name String
    Name of the SLO
    sliReference PlatformSloSliReference
    SLI reference of the SLO
    tags List<String>
    Tags of the SLO. Example: Stage:DEV
    criteria PlatformSloCriteria
    Criteria of the SLO
    customSli PlatformSloCustomSli
    Custom SLI of the SLO
    description string
    Description of the SLO
    name string
    Name of the SLO
    sliReference PlatformSloSliReference
    SLI reference of the SLO
    tags string[]
    Tags of the SLO. Example: Stage:DEV
    criteria PlatformSloCriteriaArgs
    Criteria of the SLO
    custom_sli PlatformSloCustomSliArgs
    Custom SLI of the SLO
    description str
    Description of the SLO
    name str
    Name of the SLO
    sli_reference PlatformSloSliReferenceArgs
    SLI reference of the SLO
    tags Sequence[str]
    Tags of the SLO. Example: Stage:DEV
    criteria Property Map
    Criteria of the SLO
    customSli Property Map
    Custom SLI of the SLO
    description String
    Description of the SLO
    name String
    Name of the SLO
    sliReference Property Map
    SLI reference of the SLO
    tags List<String>
    Tags of the SLO. Example: Stage:DEV

    Supporting Types

    PlatformSloCriteria, PlatformSloCriteriaArgs

    PlatformSloCriteriaCriteriaDetail, PlatformSloCriteriaCriteriaDetailArgs

    Target double
    Criteria target, example: 99.8
    TimeframeFrom string
    Timeframe from, example: now-7d
    TimeframeTo string
    Timeframe to, example: now
    Warning double
    Criteria warning, example: 99.9
    Target float64
    Criteria target, example: 99.8
    TimeframeFrom string
    Timeframe from, example: now-7d
    TimeframeTo string
    Timeframe to, example: now
    Warning float64
    Criteria warning, example: 99.9
    target Double
    Criteria target, example: 99.8
    timeframeFrom String
    Timeframe from, example: now-7d
    timeframeTo String
    Timeframe to, example: now
    warning Double
    Criteria warning, example: 99.9
    target number
    Criteria target, example: 99.8
    timeframeFrom string
    Timeframe from, example: now-7d
    timeframeTo string
    Timeframe to, example: now
    warning number
    Criteria warning, example: 99.9
    target float
    Criteria target, example: 99.8
    timeframe_from str
    Timeframe from, example: now-7d
    timeframe_to str
    Timeframe to, example: now
    warning float
    Criteria warning, example: 99.9
    target Number
    Criteria target, example: 99.8
    timeframeFrom String
    Timeframe from, example: now-7d
    timeframeTo String
    Timeframe to, example: now
    warning Number
    Criteria warning, example: 99.9

    PlatformSloCustomSli, PlatformSloCustomSliArgs

    Indicator string
    Indicator of the custom SLI. Example: timeseries sli=avg(dt.host.cpu.idle)
    FilterSegments Pulumiverse.Dynatrace.Inputs.PlatformSloCustomSliFilterSegments
    A filter segment is identified by an ID. Each segment includes a list of variable definitions.
    Indicator string
    Indicator of the custom SLI. Example: timeseries sli=avg(dt.host.cpu.idle)
    FilterSegments PlatformSloCustomSliFilterSegments
    A filter segment is identified by an ID. Each segment includes a list of variable definitions.
    indicator String
    Indicator of the custom SLI. Example: timeseries sli=avg(dt.host.cpu.idle)
    filterSegments PlatformSloCustomSliFilterSegments
    A filter segment is identified by an ID. Each segment includes a list of variable definitions.
    indicator string
    Indicator of the custom SLI. Example: timeseries sli=avg(dt.host.cpu.idle)
    filterSegments PlatformSloCustomSliFilterSegments
    A filter segment is identified by an ID. Each segment includes a list of variable definitions.
    indicator str
    Indicator of the custom SLI. Example: timeseries sli=avg(dt.host.cpu.idle)
    filter_segments PlatformSloCustomSliFilterSegments
    A filter segment is identified by an ID. Each segment includes a list of variable definitions.
    indicator String
    Indicator of the custom SLI. Example: timeseries sli=avg(dt.host.cpu.idle)
    filterSegments Property Map
    A filter segment is identified by an ID. Each segment includes a list of variable definitions.

    PlatformSloCustomSliFilterSegments, PlatformSloCustomSliFilterSegmentsArgs

    PlatformSloCustomSliFilterSegmentsFilterSegment, PlatformSloCustomSliFilterSegmentsFilterSegmentArgs

    Id string
    The ID of the filter segment
    Variables Pulumiverse.Dynatrace.Inputs.PlatformSloCustomSliFilterSegmentsFilterSegmentVariables
    Defines a variable with a name and a list of values
    Id string
    The ID of the filter segment
    Variables PlatformSloCustomSliFilterSegmentsFilterSegmentVariables
    Defines a variable with a name and a list of values
    id String
    The ID of the filter segment
    variables PlatformSloCustomSliFilterSegmentsFilterSegmentVariables
    Defines a variable with a name and a list of values
    id string
    The ID of the filter segment
    variables PlatformSloCustomSliFilterSegmentsFilterSegmentVariables
    Defines a variable with a name and a list of values
    id str
    The ID of the filter segment
    variables PlatformSloCustomSliFilterSegmentsFilterSegmentVariables
    Defines a variable with a name and a list of values
    id String
    The ID of the filter segment
    variables Property Map
    Defines a variable with a name and a list of values

    PlatformSloCustomSliFilterSegmentsFilterSegmentVariables, PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesArgs

    PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesFilterSegmentVariable, PlatformSloCustomSliFilterSegmentsFilterSegmentVariablesFilterSegmentVariableArgs

    Name string
    Name of the filter segment variable
    Values List<string>
    Values of the filter segment variable
    Name string
    Name of the filter segment variable
    Values []string
    Values of the filter segment variable
    name String
    Name of the filter segment variable
    values List<String>
    Values of the filter segment variable
    name string
    Name of the filter segment variable
    values string[]
    Values of the filter segment variable
    name str
    Name of the filter segment variable
    values Sequence[str]
    Values of the filter segment variable
    name String
    Name of the filter segment variable
    values List<String>
    Values of the filter segment variable

    PlatformSloSliReference, PlatformSloSliReferenceArgs

    TemplateId string
    Template ID of the SLI reference
    Variables Pulumiverse.Dynatrace.Inputs.PlatformSloSliReferenceVariables
    Variables of the SLI reference
    TemplateId string
    Template ID of the SLI reference
    Variables PlatformSloSliReferenceVariables
    Variables of the SLI reference
    templateId String
    Template ID of the SLI reference
    variables PlatformSloSliReferenceVariables
    Variables of the SLI reference
    templateId string
    Template ID of the SLI reference
    variables PlatformSloSliReferenceVariables
    Variables of the SLI reference
    template_id str
    Template ID of the SLI reference
    variables PlatformSloSliReferenceVariables
    Variables of the SLI reference
    templateId String
    Template ID of the SLI reference
    variables Property Map
    Variables of the SLI reference

    PlatformSloSliReferenceVariables, PlatformSloSliReferenceVariablesArgs

    PlatformSloSliReferenceVariablesSliReferenceVariable, PlatformSloSliReferenceVariablesSliReferenceVariableArgs

    Name string
    Name of the SLI reference variable. Example: hostIds
    Value string
    Value of the SLI reference variable. Example: HOST-123456789ABCDEFG
    Name string
    Name of the SLI reference variable. Example: hostIds
    Value string
    Value of the SLI reference variable. Example: HOST-123456789ABCDEFG
    name String
    Name of the SLI reference variable. Example: hostIds
    value String
    Value of the SLI reference variable. Example: HOST-123456789ABCDEFG
    name string
    Name of the SLI reference variable. Example: hostIds
    value string
    Value of the SLI reference variable. Example: HOST-123456789ABCDEFG
    name str
    Name of the SLI reference variable. Example: hostIds
    value str
    Value of the SLI reference variable. Example: HOST-123456789ABCDEFG
    name String
    Name of the SLI reference variable. Example: hostIds
    value String
    Value of the SLI reference variable. Example: HOST-123456789ABCDEFG

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.28.0 published on Sunday, May 11, 2025 by Pulumiverse