1. Registry
  2. Packages
  3. Dynatrace
  4. API Docs
  5. SiteReliabilityGuardian
Viewing docs for Dynatrace v0.45.0
published on Thursday, Nov 5, 2026 by Pulumiverse

dynatrace.SiteReliabilityGuardian

dynatrace logo Dynatrace
Viewing docs for Dynatrace v0.45.0
published on Thursday, Nov 5, 2026 by Pulumiverse

    This resource requires the Site Reliability Guardian app to be installed via the Dynatrace Hub.

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write)

    Dynatrace Documentation

    • Site Reliability Guardian - https://docs.dynatrace.com/docs/platform-modules/automations/site-reliability-guardian

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: app:dynatrace.site.reliability.guardian:guardians)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.SiteReliabilityGuardian downloads all existing Site Reliability Guardian configuration

    The full documentation of the export feature is available here.

    Create SiteReliabilityGuardian Resource

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

    Constructor syntax

    new SiteReliabilityGuardian(name: string, args: SiteReliabilityGuardianArgs, opts?: CustomResourceOptions);
    @overload
    def SiteReliabilityGuardian(resource_name: str,
                                args: SiteReliabilityGuardianArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def SiteReliabilityGuardian(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                objectives: Optional[SiteReliabilityGuardianObjectivesArgs] = None,
                                description: Optional[str] = None,
                                event_kind: Optional[str] = None,
                                name: Optional[str] = None,
                                tags: Optional[Sequence[str]] = None,
                                variables: Optional[SiteReliabilityGuardianVariablesArgs] = None)
    func NewSiteReliabilityGuardian(ctx *Context, name string, args SiteReliabilityGuardianArgs, opts ...ResourceOption) (*SiteReliabilityGuardian, error)
    public SiteReliabilityGuardian(string name, SiteReliabilityGuardianArgs args, CustomResourceOptions? opts = null)
    public SiteReliabilityGuardian(String name, SiteReliabilityGuardianArgs args)
    public SiteReliabilityGuardian(String name, SiteReliabilityGuardianArgs args, CustomResourceOptions options)
    
    type: dynatrace:SiteReliabilityGuardian
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_site_reliability_guardian" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SiteReliabilityGuardianArgs
    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 SiteReliabilityGuardianArgs
    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 SiteReliabilityGuardianArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SiteReliabilityGuardianArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SiteReliabilityGuardianArgs
    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 siteReliabilityGuardianResource = new Dynatrace.SiteReliabilityGuardian("siteReliabilityGuardianResource", new()
    {
        Objectives = new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesArgs
        {
            Objectives = new[]
            {
                new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveArgs
                {
                    ComparisonOperator = "string",
                    Name = "string",
                    ObjectiveType = "string",
                    AutoAdaptiveThresholdEnabled = false,
                    Description = "string",
                    DisplayUnit = new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs
                    {
                        Base = "string",
                        Decimals = 0,
                        Display = "string",
                    },
                    DqlQuery = "string",
                    Links = new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveLinksArgs
                    {
                        Links = new[]
                        {
                            new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveLinksLinkArgs
                            {
                                Url = "string",
                                Label = "string",
                            },
                        },
                    },
                    ReferenceSlo = "string",
                    Segments = new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveSegmentsArgs
                    {
                        Segments = new[]
                        {
                            new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentArgs
                            {
                                Id = "string",
                                Variables = new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesArgs
                                {
                                    Variables = new[]
                                    {
                                        new Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesVariableArgs
                                        {
                                            Name = "string",
                                            Values = new[]
                                            {
                                                "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                    Target = 0.0,
                    Warning = 0.0,
                },
            },
        },
        Description = "string",
        EventKind = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        Variables = new Dynatrace.Inputs.SiteReliabilityGuardianVariablesArgs
        {
            Variables = new[]
            {
                new Dynatrace.Inputs.SiteReliabilityGuardianVariablesVariableArgs
                {
                    Definition = "string",
                    Name = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewSiteReliabilityGuardian(ctx, "siteReliabilityGuardianResource", &dynatrace.SiteReliabilityGuardianArgs{
    	Objectives: &dynatrace.SiteReliabilityGuardianObjectivesArgs{
    		Objectives: dynatrace.SiteReliabilityGuardianObjectivesObjectiveArray{
    			&dynatrace.SiteReliabilityGuardianObjectivesObjectiveArgs{
    				ComparisonOperator:           pulumi.String("string"),
    				Name:                         pulumi.String("string"),
    				ObjectiveType:                pulumi.String("string"),
    				AutoAdaptiveThresholdEnabled: pulumi.Bool(false),
    				Description:                  pulumi.String("string"),
    				DisplayUnit: &dynatrace.SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs{
    					Base:     pulumi.String("string"),
    					Decimals: pulumi.Int(0),
    					Display:  pulumi.String("string"),
    				},
    				DqlQuery: pulumi.String("string"),
    				Links: &dynatrace.SiteReliabilityGuardianObjectivesObjectiveLinksArgs{
    					Links: dynatrace.SiteReliabilityGuardianObjectivesObjectiveLinksLinkArray{
    						&dynatrace.SiteReliabilityGuardianObjectivesObjectiveLinksLinkArgs{
    							Url:   pulumi.String("string"),
    							Label: pulumi.String("string"),
    						},
    					},
    				},
    				ReferenceSlo: pulumi.String("string"),
    				Segments: &dynatrace.SiteReliabilityGuardianObjectivesObjectiveSegmentsArgs{
    					Segments: dynatrace.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentArray{
    						&dynatrace.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentArgs{
    							Id: pulumi.String("string"),
    							Variables: &dynatrace.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesArgs{
    								Variables: dynatrace.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesVariableArray{
    									&dynatrace.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesVariableArgs{
    										Name: pulumi.String("string"),
    										Values: pulumi.StringArray{
    											pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				Target:  pulumi.Float64(0),
    				Warning: pulumi.Float64(0),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	EventKind:   pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Variables: &dynatrace.SiteReliabilityGuardianVariablesArgs{
    		Variables: dynatrace.SiteReliabilityGuardianVariablesVariableArray{
    			&dynatrace.SiteReliabilityGuardianVariablesVariableArgs{
    				Definition: pulumi.String("string"),
    				Name:       pulumi.String("string"),
    			},
    		},
    	},
    })
    
    resource "dynatrace_site_reliability_guardian" "siteReliabilityGuardianResource" {
      lifecycle {
        create_before_destroy = true
      }
      objectives = {
        objectives = [{
          comparison_operator             = "string"
          name                            = "string"
          objective_type                  = "string"
          auto_adaptive_threshold_enabled = false
          description                     = "string"
          display_unit = {
            base     = "string"
            decimals = 0
            display  = "string"
          }
          dql_query = "string"
          links = {
            links = [{
              url   = "string"
              label = "string"
            }]
          }
          reference_slo = "string"
          segments = {
            segments = [{
              id = "string"
              variables = {
                variables = [{
                  name   = "string"
                  values = ["string"]
                }]
              }
            }]
          }
          target  = 0
          warning = 0
        }]
      }
      description = "string"
      event_kind  = "string"
      name        = "string"
      tags        = ["string"]
      variables = {
        variables = [{
          definition = "string"
          name       = "string"
        }]
      }
    }
    
    var siteReliabilityGuardianResource = new SiteReliabilityGuardian("siteReliabilityGuardianResource", SiteReliabilityGuardianArgs.builder()
        .objectives(SiteReliabilityGuardianObjectivesArgs.builder()
            .objectives(SiteReliabilityGuardianObjectivesObjectiveArgs.builder()
                .comparisonOperator("string")
                .name("string")
                .objectiveType("string")
                .autoAdaptiveThresholdEnabled(false)
                .description("string")
                .displayUnit(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs.builder()
                    .base("string")
                    .decimals(0)
                    .display("string")
                    .build())
                .dqlQuery("string")
                .links(SiteReliabilityGuardianObjectivesObjectiveLinksArgs.builder()
                    .links(SiteReliabilityGuardianObjectivesObjectiveLinksLinkArgs.builder()
                        .url("string")
                        .label("string")
                        .build())
                    .build())
                .referenceSlo("string")
                .segments(SiteReliabilityGuardianObjectivesObjectiveSegmentsArgs.builder()
                    .segments(SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentArgs.builder()
                        .id("string")
                        .variables(SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesArgs.builder()
                            .variables(SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesVariableArgs.builder()
                                .name("string")
                                .values("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .target(0.0)
                .warning(0.0)
                .build())
            .build())
        .description("string")
        .eventKind("string")
        .name("string")
        .tags("string")
        .variables(SiteReliabilityGuardianVariablesArgs.builder()
            .variables(SiteReliabilityGuardianVariablesVariableArgs.builder()
                .definition("string")
                .name("string")
                .build())
            .build())
        .build());
    
    site_reliability_guardian_resource = dynatrace.SiteReliabilityGuardian("siteReliabilityGuardianResource",
        objectives={
            "objectives": [{
                "comparison_operator": "string",
                "name": "string",
                "objective_type": "string",
                "auto_adaptive_threshold_enabled": False,
                "description": "string",
                "display_unit": {
                    "base": "string",
                    "decimals": 0,
                    "display": "string",
                },
                "dql_query": "string",
                "links": {
                    "links": [{
                        "url": "string",
                        "label": "string",
                    }],
                },
                "reference_slo": "string",
                "segments": {
                    "segments": [{
                        "id": "string",
                        "variables": {
                            "variables": [{
                                "name": "string",
                                "values": ["string"],
                            }],
                        },
                    }],
                },
                "target": float(0),
                "warning": float(0),
            }],
        },
        description="string",
        event_kind="string",
        name="string",
        tags=["string"],
        variables={
            "variables": [{
                "definition": "string",
                "name": "string",
            }],
        })
    
    const siteReliabilityGuardianResource = new dynatrace.SiteReliabilityGuardian("siteReliabilityGuardianResource", {
        objectives: {
            objectives: [{
                comparisonOperator: "string",
                name: "string",
                objectiveType: "string",
                autoAdaptiveThresholdEnabled: false,
                description: "string",
                displayUnit: {
                    base: "string",
                    decimals: 0,
                    display: "string",
                },
                dqlQuery: "string",
                links: {
                    links: [{
                        url: "string",
                        label: "string",
                    }],
                },
                referenceSlo: "string",
                segments: {
                    segments: [{
                        id: "string",
                        variables: {
                            variables: [{
                                name: "string",
                                values: ["string"],
                            }],
                        },
                    }],
                },
                target: 0,
                warning: 0,
            }],
        },
        description: "string",
        eventKind: "string",
        name: "string",
        tags: ["string"],
        variables: {
            variables: [{
                definition: "string",
                name: "string",
            }],
        },
    });
    
    type: dynatrace:SiteReliabilityGuardian
    properties:
        description: string
        eventKind: string
        name: string
        objectives:
            objectives:
                - autoAdaptiveThresholdEnabled: false
                  comparisonOperator: string
                  description: string
                  displayUnit:
                    base: string
                    decimals: 0
                    display: string
                  dqlQuery: string
                  links:
                    links:
                        - label: string
                          url: string
                  name: string
                  objectiveType: string
                  referenceSlo: string
                  segments:
                    segments:
                        - id: string
                          variables:
                            variables:
                                - name: string
                                  values:
                                    - string
                  target: 0
                  warning: 0
        tags:
            - string
        variables:
            variables:
                - definition: string
                  name: string
    

    SiteReliabilityGuardian 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 SiteReliabilityGuardian resource accepts the following input properties:

    Objectives Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianObjectives
    The validation criteria evaluated each time this guardian is executed.
    Description string
    Optional explanation of this guardian's purpose and scope.
    EventKind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    Name string
    Unique display name for this guardian.
    Tags List<string>
    Define key/value pairs that further describe this guardian.
    Variables Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianVariables
    Define variables for dynamically defining DQL queries
    Objectives SiteReliabilityGuardianObjectivesArgs
    The validation criteria evaluated each time this guardian is executed.
    Description string
    Optional explanation of this guardian's purpose and scope.
    EventKind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    Name string
    Unique display name for this guardian.
    Tags []string
    Define key/value pairs that further describe this guardian.
    Variables SiteReliabilityGuardianVariablesArgs
    Define variables for dynamically defining DQL queries
    objectives object
    The validation criteria evaluated each time this guardian is executed.
    description string
    Optional explanation of this guardian's purpose and scope.
    event_kind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name string
    Unique display name for this guardian.
    tags list(string)
    Define key/value pairs that further describe this guardian.
    variables object
    Define variables for dynamically defining DQL queries
    objectives SiteReliabilityGuardianObjectives
    The validation criteria evaluated each time this guardian is executed.
    description String
    Optional explanation of this guardian's purpose and scope.
    eventKind String
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name String
    Unique display name for this guardian.
    tags List<String>
    Define key/value pairs that further describe this guardian.
    variables SiteReliabilityGuardianVariables
    Define variables for dynamically defining DQL queries
    objectives SiteReliabilityGuardianObjectives
    The validation criteria evaluated each time this guardian is executed.
    description string
    Optional explanation of this guardian's purpose and scope.
    eventKind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name string
    Unique display name for this guardian.
    tags string[]
    Define key/value pairs that further describe this guardian.
    variables SiteReliabilityGuardianVariables
    Define variables for dynamically defining DQL queries
    objectives SiteReliabilityGuardianObjectivesArgs
    The validation criteria evaluated each time this guardian is executed.
    description str
    Optional explanation of this guardian's purpose and scope.
    event_kind str
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name str
    Unique display name for this guardian.
    tags Sequence[str]
    Define key/value pairs that further describe this guardian.
    variables SiteReliabilityGuardianVariablesArgs
    Define variables for dynamically defining DQL queries
    objectives Property Map
    The validation criteria evaluated each time this guardian is executed.
    description String
    Optional explanation of this guardian's purpose and scope.
    eventKind String
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name String
    Unique display name for this guardian.
    tags List<String>
    Define key/value pairs that further describe this guardian.
    variables Property Map
    Define variables for dynamically defining DQL queries

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SiteReliabilityGuardian 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 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 SiteReliabilityGuardian Resource

    Get an existing SiteReliabilityGuardian 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?: SiteReliabilityGuardianState, opts?: CustomResourceOptions): SiteReliabilityGuardian
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            event_kind: Optional[str] = None,
            name: Optional[str] = None,
            objectives: Optional[SiteReliabilityGuardianObjectivesArgs] = None,
            tags: Optional[Sequence[str]] = None,
            variables: Optional[SiteReliabilityGuardianVariablesArgs] = None) -> SiteReliabilityGuardian
    func GetSiteReliabilityGuardian(ctx *Context, name string, id IDInput, state *SiteReliabilityGuardianState, opts ...ResourceOption) (*SiteReliabilityGuardian, error)
    public static SiteReliabilityGuardian Get(string name, Input<string> id, SiteReliabilityGuardianState? state, CustomResourceOptions? opts = null)
    public static SiteReliabilityGuardian get(String name, Output<String> id, SiteReliabilityGuardianState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:SiteReliabilityGuardian    get:      id: ${id}
    import {
      to = dynatrace_site_reliability_guardian.example
      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:
    Description string
    Optional explanation of this guardian's purpose and scope.
    EventKind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    Name string
    Unique display name for this guardian.
    Objectives Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianObjectives
    The validation criteria evaluated each time this guardian is executed.
    Tags List<string>
    Define key/value pairs that further describe this guardian.
    Variables Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianVariables
    Define variables for dynamically defining DQL queries
    Description string
    Optional explanation of this guardian's purpose and scope.
    EventKind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    Name string
    Unique display name for this guardian.
    Objectives SiteReliabilityGuardianObjectivesArgs
    The validation criteria evaluated each time this guardian is executed.
    Tags []string
    Define key/value pairs that further describe this guardian.
    Variables SiteReliabilityGuardianVariablesArgs
    Define variables for dynamically defining DQL queries
    description string
    Optional explanation of this guardian's purpose and scope.
    event_kind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name string
    Unique display name for this guardian.
    objectives object
    The validation criteria evaluated each time this guardian is executed.
    tags list(string)
    Define key/value pairs that further describe this guardian.
    variables object
    Define variables for dynamically defining DQL queries
    description String
    Optional explanation of this guardian's purpose and scope.
    eventKind String
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name String
    Unique display name for this guardian.
    objectives SiteReliabilityGuardianObjectives
    The validation criteria evaluated each time this guardian is executed.
    tags List<String>
    Define key/value pairs that further describe this guardian.
    variables SiteReliabilityGuardianVariables
    Define variables for dynamically defining DQL queries
    description string
    Optional explanation of this guardian's purpose and scope.
    eventKind string
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name string
    Unique display name for this guardian.
    objectives SiteReliabilityGuardianObjectives
    The validation criteria evaluated each time this guardian is executed.
    tags string[]
    Define key/value pairs that further describe this guardian.
    variables SiteReliabilityGuardianVariables
    Define variables for dynamically defining DQL queries
    description str
    Optional explanation of this guardian's purpose and scope.
    event_kind str
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name str
    Unique display name for this guardian.
    objectives SiteReliabilityGuardianObjectivesArgs
    The validation criteria evaluated each time this guardian is executed.
    tags Sequence[str]
    Define key/value pairs that further describe this guardian.
    variables SiteReliabilityGuardianVariablesArgs
    Define variables for dynamically defining DQL queries
    description String
    Optional explanation of this guardian's purpose and scope.
    eventKind String
    If set to null/'BIZEVENT' validation events stored as bizevents in Grail. If set to 'SDLCEVENT' validation events stored as SDLC events. Possible values: BIZ_EVENT, SDLC_EVENT
    name String
    Unique display name for this guardian.
    objectives Property Map
    The validation criteria evaluated each time this guardian is executed.
    tags List<String>
    Define key/value pairs that further describe this guardian.
    variables Property Map
    Define variables for dynamically defining DQL queries

    Supporting Types

    SiteReliabilityGuardianObjectives, SiteReliabilityGuardianObjectivesArgs

    SiteReliabilityGuardianObjectivesObjective, SiteReliabilityGuardianObjectivesObjectiveArgs

    ComparisonOperator string
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    Name string
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    ObjectiveType string
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    AutoAdaptiveThresholdEnabled bool
    Dynamically computes thresholds from 30 days of history.
    Description string
    Optional short explanation of what this objective measures.
    DisplayUnit Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnit
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    DqlQuery string
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    Links Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveLinks
    Fields for adding relevant links to this objective.
    ReferenceSlo string
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    Segments Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveSegments
    Optional Grail segments to scope the DQL query to specific data.
    Target double
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    Warning double
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.
    ComparisonOperator string
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    Name string
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    ObjectiveType string
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    AutoAdaptiveThresholdEnabled bool
    Dynamically computes thresholds from 30 days of history.
    Description string
    Optional short explanation of what this objective measures.
    DisplayUnit SiteReliabilityGuardianObjectivesObjectiveDisplayUnit
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    DqlQuery string
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    Links SiteReliabilityGuardianObjectivesObjectiveLinks
    Fields for adding relevant links to this objective.
    ReferenceSlo string
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    Segments SiteReliabilityGuardianObjectivesObjectiveSegments
    Optional Grail segments to scope the DQL query to specific data.
    Target float64
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    Warning float64
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.
    comparison_operator string
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    name string
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    objective_type string
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    auto_adaptive_threshold_enabled bool
    Dynamically computes thresholds from 30 days of history.
    description string
    Optional short explanation of what this objective measures.
    display_unit object
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    dql_query string
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    links object
    Fields for adding relevant links to this objective.
    reference_slo string
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    segments object
    Optional Grail segments to scope the DQL query to specific data.
    target number
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    warning number
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.
    comparisonOperator String
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    name String
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    objectiveType String
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    autoAdaptiveThresholdEnabled Boolean
    Dynamically computes thresholds from 30 days of history.
    description String
    Optional short explanation of what this objective measures.
    displayUnit SiteReliabilityGuardianObjectivesObjectiveDisplayUnit
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    dqlQuery String
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    links SiteReliabilityGuardianObjectivesObjectiveLinks
    Fields for adding relevant links to this objective.
    referenceSlo String
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    segments SiteReliabilityGuardianObjectivesObjectiveSegments
    Optional Grail segments to scope the DQL query to specific data.
    target Double
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    warning Double
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.
    comparisonOperator string
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    name string
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    objectiveType string
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    autoAdaptiveThresholdEnabled boolean
    Dynamically computes thresholds from 30 days of history.
    description string
    Optional short explanation of what this objective measures.
    displayUnit SiteReliabilityGuardianObjectivesObjectiveDisplayUnit
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    dqlQuery string
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    links SiteReliabilityGuardianObjectivesObjectiveLinks
    Fields for adding relevant links to this objective.
    referenceSlo string
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    segments SiteReliabilityGuardianObjectivesObjectiveSegments
    Optional Grail segments to scope the DQL query to specific data.
    target number
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    warning number
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.
    comparison_operator str
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    name str
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    objective_type str
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    auto_adaptive_threshold_enabled bool
    Dynamically computes thresholds from 30 days of history.
    description str
    Optional short explanation of what this objective measures.
    display_unit SiteReliabilityGuardianObjectivesObjectiveDisplayUnit
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    dql_query str
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    links SiteReliabilityGuardianObjectivesObjectiveLinks
    Fields for adding relevant links to this objective.
    reference_slo str
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    segments SiteReliabilityGuardianObjectivesObjectiveSegments
    Optional Grail segments to scope the DQL query to specific data.
    target float
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    warning float
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.
    comparisonOperator String
    Pass/fail direction: use ≥ when higher values are better, ≤ when lower values are better. Possible values: GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL
    name String
    Unique name within this guardian. Included in every emitted validation event as the objective identifier.
    objectiveType String
    How the objective value is computed: via a DQL query or an existing SLO metric. Possible values: DQL, REFERENCE_SLO
    autoAdaptiveThresholdEnabled Boolean
    Dynamically computes thresholds from 30 days of history.
    description String
    Optional short explanation of what this objective measures.
    displayUnit Property Map
    Optional unit conversion and decimal formatting applied when displaying the DQL result in the UI.
    dqlQuery String
    DQL query to execute. The first numeric result becomes the objective value. Supports $variable interpolation.
    links Property Map
    Fields for adding relevant links to this objective.
    referenceSlo String
    Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.'
    segments Property Map
    Optional Grail segments to scope the DQL query to specific data.
    target Number
    Hard pass/fail threshold. Missing this value yields FAIL. If unset with no warning, status is always INFO.
    warning Number
    Soft threshold. Results between warning and target yield WARNING. When set alone, yields PASS or WARNING.

    SiteReliabilityGuardianObjectivesObjectiveDisplayUnit, SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs

    Base string
    Unit the DQL query returns its result in. Source unit for conversion.
    Decimals int
    Number of decimal places (0-4) used when formatting the displayed value.
    Display string
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    Base string
    Unit the DQL query returns its result in. Source unit for conversion.
    Decimals int
    Number of decimal places (0-4) used when formatting the displayed value.
    Display string
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    base string
    Unit the DQL query returns its result in. Source unit for conversion.
    decimals number
    Number of decimal places (0-4) used when formatting the displayed value.
    display string
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    base String
    Unit the DQL query returns its result in. Source unit for conversion.
    decimals Integer
    Number of decimal places (0-4) used when formatting the displayed value.
    display String
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    base string
    Unit the DQL query returns its result in. Source unit for conversion.
    decimals number
    Number of decimal places (0-4) used when formatting the displayed value.
    display string
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    base str
    Unit the DQL query returns its result in. Source unit for conversion.
    decimals int
    Number of decimal places (0-4) used when formatting the displayed value.
    display str
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    base String
    Unit the DQL query returns its result in. Source unit for conversion.
    decimals Number
    Number of decimal places (0-4) used when formatting the displayed value.
    display String
    Unit to display the value in after conversion. Use Default to show the base unit as-is.
    Url string
    HTTPS link associated with this objective.
    Label string
    Short description for the link.
    Url string
    HTTPS link associated with this objective.
    Label string
    Short description for the link.
    url string
    HTTPS link associated with this objective.
    label string
    Short description for the link.
    url String
    HTTPS link associated with this objective.
    label String
    Short description for the link.
    url string
    HTTPS link associated with this objective.
    label string
    Short description for the link.
    url str
    HTTPS link associated with this objective.
    label str
    Short description for the link.
    url String
    HTTPS link associated with this objective.
    label String
    Short description for the link.

    SiteReliabilityGuardianObjectivesObjectiveSegments, SiteReliabilityGuardianObjectivesObjectiveSegmentsArgs

    SiteReliabilityGuardianObjectivesObjectiveSegmentsSegment, SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentArgs

    Id string
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    Variables Pulumiverse.Dynatrace.Inputs.SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariables
    Variables to parameterize the segment filter.
    Id string
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    Variables SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariables
    Variables to parameterize the segment filter.
    id string
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    variables object
    Variables to parameterize the segment filter.
    id String
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    variables SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariables
    Variables to parameterize the segment filter.
    id string
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    variables SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariables
    Variables to parameterize the segment filter.
    id str
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    variables SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariables
    Variables to parameterize the segment filter.
    id String
    Dynatrace Grail segment ID that scopes the DQL query to data within the segment.
    variables Property Map
    Variables to parameterize the segment filter.

    SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariables, SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesArgs

    SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesVariable, SiteReliabilityGuardianObjectivesObjectiveSegmentsSegmentVariablesVariableArgs

    Name string
    Name of the variable within the segment definition.
    Values List<string>
    One or more values for the variable, enabling multi-value filter expansion.
    Name string
    Name of the variable within the segment definition.
    Values []string
    One or more values for the variable, enabling multi-value filter expansion.
    name string
    Name of the variable within the segment definition.
    values list(string)
    One or more values for the variable, enabling multi-value filter expansion.
    name String
    Name of the variable within the segment definition.
    values List<String>
    One or more values for the variable, enabling multi-value filter expansion.
    name string
    Name of the variable within the segment definition.
    values string[]
    One or more values for the variable, enabling multi-value filter expansion.
    name str
    Name of the variable within the segment definition.
    values Sequence[str]
    One or more values for the variable, enabling multi-value filter expansion.
    name String
    Name of the variable within the segment definition.
    values List<String>
    One or more values for the variable, enabling multi-value filter expansion.

    SiteReliabilityGuardianVariables, SiteReliabilityGuardianVariablesArgs

    SiteReliabilityGuardianVariablesVariable, SiteReliabilityGuardianVariablesVariableArgs

    Definition string
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    Name string
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.
    Definition string
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    Name string
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.
    definition string
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    name string
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.
    definition String
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    name String
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.
    definition string
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    name string
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.
    definition str
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    name str
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.
    definition String
    Default value substituted for $name in DQL queries. Can be overridden at runtime via execution context.
    name String
    Alphanumeric/underscore identifier referenced in DQL queries as $name. Must be unique within the guardian.

    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
    Viewing docs for Dynatrace v0.45.0
    published on Thursday, Nov 5, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial