1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. FailureDetectionRules
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

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

    Dynatrace Documentation

    • Configure service failure detection - https://www.dynatrace.com/support/help/platform-modules/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: builtin:failure-detection.environment.rules)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.FailureDetectionRules downloads all existing failure detection rules

    The full documentation of the export feature is available here.

    Create FailureDetectionRules Resource

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

    Constructor syntax

    new FailureDetectionRules(name: string, args: FailureDetectionRulesArgs, opts?: CustomResourceOptions);
    @overload
    def FailureDetectionRules(resource_name: str,
                              args: FailureDetectionRulesArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def FailureDetectionRules(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              conditions: Optional[FailureDetectionRulesConditionsArgs] = None,
                              enabled: Optional[bool] = None,
                              parameter_id: Optional[str] = None,
                              description: Optional[str] = None,
                              insert_after: Optional[str] = None,
                              name: Optional[str] = None)
    func NewFailureDetectionRules(ctx *Context, name string, args FailureDetectionRulesArgs, opts ...ResourceOption) (*FailureDetectionRules, error)
    public FailureDetectionRules(string name, FailureDetectionRulesArgs args, CustomResourceOptions? opts = null)
    public FailureDetectionRules(String name, FailureDetectionRulesArgs args)
    public FailureDetectionRules(String name, FailureDetectionRulesArgs args, CustomResourceOptions options)
    
    type: dynatrace:FailureDetectionRules
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_failuredetectionrules" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FailureDetectionRulesArgs
    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 FailureDetectionRulesArgs
    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 FailureDetectionRulesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FailureDetectionRulesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FailureDetectionRulesArgs
    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 failureDetectionRulesResource = new Dynatrace.FailureDetectionRules("failureDetectionRulesResource", new()
    {
        Conditions = new Dynatrace.Inputs.FailureDetectionRulesConditionsArgs
        {
            Conditions = new[]
            {
                new Dynatrace.Inputs.FailureDetectionRulesConditionsConditionArgs
                {
                    Attribute = "string",
                    Predicate = new Dynatrace.Inputs.FailureDetectionRulesConditionsConditionPredicateArgs
                    {
                        PredicateType = "string",
                        CaseSensitive = false,
                        ManagementZones = new[]
                        {
                            "string",
                        },
                        ServiceTypes = new[]
                        {
                            "string",
                        },
                        TagKeys = new[]
                        {
                            "string",
                        },
                        Tags = new[]
                        {
                            "string",
                        },
                        TextValues = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        Enabled = false,
        ParameterId = "string",
        Description = "string",
        InsertAfter = "string",
        Name = "string",
    });
    
    example, err := dynatrace.NewFailureDetectionRules(ctx, "failureDetectionRulesResource", &dynatrace.FailureDetectionRulesArgs{
    	Conditions: &dynatrace.FailureDetectionRulesConditionsArgs{
    		Conditions: dynatrace.FailureDetectionRulesConditionsConditionArray{
    			&dynatrace.FailureDetectionRulesConditionsConditionArgs{
    				Attribute: pulumi.String("string"),
    				Predicate: &dynatrace.FailureDetectionRulesConditionsConditionPredicateArgs{
    					PredicateType: pulumi.String("string"),
    					CaseSensitive: pulumi.Bool(false),
    					ManagementZones: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					ServiceTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					TagKeys: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Tags: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					TextValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	Enabled:     pulumi.Bool(false),
    	ParameterId: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	InsertAfter: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    resource "dynatrace_failuredetectionrules" "failureDetectionRulesResource" {
      conditions = {
        conditions = [{
          "attribute" = "string"
          "predicate" = {
            "predicateType"   = "string"
            "caseSensitive"   = false
            "managementZones" = ["string"]
            "serviceTypes"    = ["string"]
            "tagKeys"         = ["string"]
            "tags"            = ["string"]
            "textValues"      = ["string"]
          }
        }]
      }
      enabled      = false
      parameter_id = "string"
      description  = "string"
      insert_after = "string"
      name         = "string"
    }
    
    var failureDetectionRulesResource = new FailureDetectionRules("failureDetectionRulesResource", FailureDetectionRulesArgs.builder()
        .conditions(FailureDetectionRulesConditionsArgs.builder()
            .conditions(FailureDetectionRulesConditionsConditionArgs.builder()
                .attribute("string")
                .predicate(FailureDetectionRulesConditionsConditionPredicateArgs.builder()
                    .predicateType("string")
                    .caseSensitive(false)
                    .managementZones("string")
                    .serviceTypes("string")
                    .tagKeys("string")
                    .tags("string")
                    .textValues("string")
                    .build())
                .build())
            .build())
        .enabled(false)
        .parameterId("string")
        .description("string")
        .insertAfter("string")
        .name("string")
        .build());
    
    failure_detection_rules_resource = dynatrace.FailureDetectionRules("failureDetectionRulesResource",
        conditions={
            "conditions": [{
                "attribute": "string",
                "predicate": {
                    "predicate_type": "string",
                    "case_sensitive": False,
                    "management_zones": ["string"],
                    "service_types": ["string"],
                    "tag_keys": ["string"],
                    "tags": ["string"],
                    "text_values": ["string"],
                },
            }],
        },
        enabled=False,
        parameter_id="string",
        description="string",
        insert_after="string",
        name="string")
    
    const failureDetectionRulesResource = new dynatrace.FailureDetectionRules("failureDetectionRulesResource", {
        conditions: {
            conditions: [{
                attribute: "string",
                predicate: {
                    predicateType: "string",
                    caseSensitive: false,
                    managementZones: ["string"],
                    serviceTypes: ["string"],
                    tagKeys: ["string"],
                    tags: ["string"],
                    textValues: ["string"],
                },
            }],
        },
        enabled: false,
        parameterId: "string",
        description: "string",
        insertAfter: "string",
        name: "string",
    });
    
    type: dynatrace:FailureDetectionRules
    properties:
        conditions:
            conditions:
                - attribute: string
                  predicate:
                    caseSensitive: false
                    managementZones:
                        - string
                    predicateType: string
                    serviceTypes:
                        - string
                    tagKeys:
                        - string
                    tags:
                        - string
                    textValues:
                        - string
        description: string
        enabled: false
        insertAfter: string
        name: string
        parameterId: string
    

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

    Conditions Pulumiverse.Dynatrace.Inputs.FailureDetectionRulesConditions
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    ParameterId string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    Description string
    A short description of this failure detection rule.
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    Name string
    The display name of this failure detection rule.
    Conditions FailureDetectionRulesConditionsArgs
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    ParameterId string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    Description string
    A short description of this failure detection rule.
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    Name string
    The display name of this failure detection rule.
    conditions object
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    enabled bool
    This setting is enabled (true) or disabled (false)
    parameter_id string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    description string
    A short description of this failure detection rule.
    insert_after string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name string
    The display name of this failure detection rule.
    conditions FailureDetectionRulesConditions
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    parameterId String
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    description String
    A short description of this failure detection rule.
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name String
    The display name of this failure detection rule.
    conditions FailureDetectionRulesConditions
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    parameterId string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    description string
    A short description of this failure detection rule.
    insertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name string
    The display name of this failure detection rule.
    conditions FailureDetectionRulesConditionsArgs
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    enabled bool
    This setting is enabled (true) or disabled (false)
    parameter_id str
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    description str
    A short description of this failure detection rule.
    insert_after str
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name str
    The display name of this failure detection rule.
    conditions Property Map
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    parameterId String
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    description String
    A short description of this failure detection rule.
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name String
    The display name of this failure detection rule.

    Outputs

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

    Get an existing FailureDetectionRules 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?: FailureDetectionRulesState, opts?: CustomResourceOptions): FailureDetectionRules
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            conditions: Optional[FailureDetectionRulesConditionsArgs] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            insert_after: Optional[str] = None,
            name: Optional[str] = None,
            parameter_id: Optional[str] = None) -> FailureDetectionRules
    func GetFailureDetectionRules(ctx *Context, name string, id IDInput, state *FailureDetectionRulesState, opts ...ResourceOption) (*FailureDetectionRules, error)
    public static FailureDetectionRules Get(string name, Input<string> id, FailureDetectionRulesState? state, CustomResourceOptions? opts = null)
    public static FailureDetectionRules get(String name, Output<String> id, FailureDetectionRulesState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:FailureDetectionRules    get:      id: ${id}
    import {
      to = dynatrace_failuredetectionrules.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:
    Conditions Pulumiverse.Dynatrace.Inputs.FailureDetectionRulesConditions
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    Description string
    A short description of this failure detection rule.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    Name string
    The display name of this failure detection rule.
    ParameterId string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    Conditions FailureDetectionRulesConditionsArgs
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    Description string
    A short description of this failure detection rule.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    Name string
    The display name of this failure detection rule.
    ParameterId string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    conditions object
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    description string
    A short description of this failure detection rule.
    enabled bool
    This setting is enabled (true) or disabled (false)
    insert_after string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name string
    The display name of this failure detection rule.
    parameter_id string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    conditions FailureDetectionRulesConditions
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    description String
    A short description of this failure detection rule.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name String
    The display name of this failure detection rule.
    parameterId String
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    conditions FailureDetectionRulesConditions
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    description string
    A short description of this failure detection rule.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    insertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name string
    The display name of this failure detection rule.
    parameterId string
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    conditions FailureDetectionRulesConditionsArgs
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    description str
    A short description of this failure detection rule.
    enabled bool
    This setting is enabled (true) or disabled (false)
    insert_after str
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name str
    The display name of this failure detection rule.
    parameter_id str
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.
    conditions Property Map
    A list of conditions for this rule. All conditions must be fulfilled for the rule to match a service.
    description String
    A short description of this failure detection rule.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    name String
    The display name of this failure detection rule.
    parameterId String
    The ID of the failure detection parameter set to apply when this rule matches. The parameter set must already exist.

    Supporting Types

    FailureDetectionRulesConditions, FailureDetectionRulesConditionsArgs

    FailureDetectionRulesConditionsCondition, FailureDetectionRulesConditionsConditionArgs

    Attribute string
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    Predicate Pulumiverse.Dynatrace.Inputs.FailureDetectionRulesConditionsConditionPredicate

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    Attribute string
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    Predicate FailureDetectionRulesConditionsConditionPredicate

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    attribute string
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    predicate object

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    attribute String
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    predicate FailureDetectionRulesConditionsConditionPredicate

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    attribute string
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    predicate FailureDetectionRulesConditionsConditionPredicate

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    attribute str
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    predicate FailureDetectionRulesConditionsConditionPredicate

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    attribute String
    The attribute to be checked. Possible values: PG_NAME, PG_TAG, SERVICE_MANAGEMENT_ZONE, SERVICE_NAME, SERVICE_TAG, SERVICE_TYPE
    predicate Property Map

    The predicate that tests the value of the attribute.

    The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

    FailureDetectionRulesConditionsConditionPredicate, FailureDetectionRulesConditionsConditionPredicateArgs

    PredicateType string
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    CaseSensitive bool
    If true, the string comparison is case-sensitive. Default: false.
    ManagementZones List<string>
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    ServiceTypes List<string>
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    TagKeys List<string>
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    Tags List<string>
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    TextValues List<string>
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.
    PredicateType string
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    CaseSensitive bool
    If true, the string comparison is case-sensitive. Default: false.
    ManagementZones []string
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    ServiceTypes []string
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    TagKeys []string
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    Tags []string
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    TextValues []string
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.
    predicate_type string
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    case_sensitive bool
    If true, the string comparison is case-sensitive. Default: false.
    management_zones list(string)
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    service_types list(string)
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    tag_keys list(string)
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    tags list(string)
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    text_values list(string)
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.
    predicateType String
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    caseSensitive Boolean
    If true, the string comparison is case-sensitive. Default: false.
    managementZones List<String>
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    serviceTypes List<String>
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    tagKeys List<String>
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    tags List<String>
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    textValues List<String>
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.
    predicateType string
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    caseSensitive boolean
    If true, the string comparison is case-sensitive. Default: false.
    managementZones string[]
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    serviceTypes string[]
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    tagKeys string[]
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    tags string[]
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    textValues string[]
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.
    predicate_type str
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    case_sensitive bool
    If true, the string comparison is case-sensitive. Default: false.
    management_zones Sequence[str]
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    service_types Sequence[str]
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    tag_keys Sequence[str]
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    tags Sequence[str]
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    text_values Sequence[str]
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.
    predicateType String
    The type of predicate to apply. Available types depend on the condition attribute:

    • SERVICE_NAME and PG_NAME support STRING_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS;
    • SERVICE_TYPE supports SERVICE_TYPE_EQUALS;
    • SERVICE_MANAGEMENT_ZONE supports MANAGEMENT_ZONES_CONTAINS_ALL;
    • SERVICE_TAG and PG_TAG support TAG_EQUALS and TAG_KEY_EQUALS.
    caseSensitive Boolean
    If true, the string comparison is case-sensitive. Default: false.
    managementZones List<String>
    A set of management zone references. The rule matches if the service belongs to all specified management zones. Only applicable for predicate type MANAGEMENT_ZONES_CONTAINS_ALL.
    serviceTypes List<String>
    A set of service types to match against. The rule matches if the service type is contained in this set. Only applicable for predicate type SERVICE_TYPE_EQUALS. Possible values: CICS, CICSInteraction, CustomApplication, Database, EnterpriseServiceBus, External, IMS, IMSInteraction, Messaging, Method, Mobile, Process, QueueInteraction, QueueListener, RMI, RemoteCall, SaasVendor, WebRequest, WebService, WebSite, zOSConnect
    tagKeys List<String>
    A set of tag keys to match. The rule matches if the entity has tags with all specified keys, regardless of tag value. Only applicable for predicate type TAG_KEY_EQUALS.
    tags List<String>
    A set of tags to match exactly. The rule matches if the entity has all specified tags (both key and value must match). Only applicable for predicate type TAG_EQUALS.
    textValues List<String>
    A list of text values to match against. The rule matches if the attribute value matches any of these values according to the predicate type.

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial