1. Packages
  2. Dynatrace
  3. API Docs
  4. ApplicationDetectionRule
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.ApplicationDetectionRule

Explore with Pulumi AI

Create ApplicationDetectionRule Resource

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

Constructor syntax

new ApplicationDetectionRule(name: string, args: ApplicationDetectionRuleArgs, opts?: CustomResourceOptions);
@overload
def ApplicationDetectionRule(resource_name: str,
                             args: ApplicationDetectionRuleArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def ApplicationDetectionRule(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             application_identifier: Optional[str] = None,
                             filter_config: Optional[ApplicationDetectionRuleFilterConfigArgs] = None,
                             name: Optional[str] = None,
                             order: Optional[str] = None)
func NewApplicationDetectionRule(ctx *Context, name string, args ApplicationDetectionRuleArgs, opts ...ResourceOption) (*ApplicationDetectionRule, error)
public ApplicationDetectionRule(string name, ApplicationDetectionRuleArgs args, CustomResourceOptions? opts = null)
public ApplicationDetectionRule(String name, ApplicationDetectionRuleArgs args)
public ApplicationDetectionRule(String name, ApplicationDetectionRuleArgs args, CustomResourceOptions options)
type: dynatrace:ApplicationDetectionRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplicationDetectionRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplicationDetectionRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationDetectionRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationDetectionRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplicationDetectionRuleArgs
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 applicationDetectionRuleResource = new Dynatrace.ApplicationDetectionRule("applicationDetectionRuleResource", new()
{
    ApplicationIdentifier = "string",
    FilterConfig = new Dynatrace.Inputs.ApplicationDetectionRuleFilterConfigArgs
    {
        ApplicationMatchTarget = "string",
        ApplicationMatchType = "string",
        Pattern = "string",
    },
    Order = "string",
});
Copy
example, err := dynatrace.NewApplicationDetectionRule(ctx, "applicationDetectionRuleResource", &dynatrace.ApplicationDetectionRuleArgs{
	ApplicationIdentifier: pulumi.String("string"),
	FilterConfig: &dynatrace.ApplicationDetectionRuleFilterConfigArgs{
		ApplicationMatchTarget: pulumi.String("string"),
		ApplicationMatchType:   pulumi.String("string"),
		Pattern:                pulumi.String("string"),
	},
	Order: pulumi.String("string"),
})
Copy
var applicationDetectionRuleResource = new ApplicationDetectionRule("applicationDetectionRuleResource", ApplicationDetectionRuleArgs.builder()
    .applicationIdentifier("string")
    .filterConfig(ApplicationDetectionRuleFilterConfigArgs.builder()
        .applicationMatchTarget("string")
        .applicationMatchType("string")
        .pattern("string")
        .build())
    .order("string")
    .build());
Copy
application_detection_rule_resource = dynatrace.ApplicationDetectionRule("applicationDetectionRuleResource",
    application_identifier="string",
    filter_config={
        "application_match_target": "string",
        "application_match_type": "string",
        "pattern": "string",
    },
    order="string")
Copy
const applicationDetectionRuleResource = new dynatrace.ApplicationDetectionRule("applicationDetectionRuleResource", {
    applicationIdentifier: "string",
    filterConfig: {
        applicationMatchTarget: "string",
        applicationMatchType: "string",
        pattern: "string",
    },
    order: "string",
});
Copy
type: dynatrace:ApplicationDetectionRule
properties:
    applicationIdentifier: string
    filterConfig:
        applicationMatchTarget: string
        applicationMatchType: string
        pattern: string
    order: string
Copy

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

ApplicationIdentifier This property is required. string
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
FilterConfig This property is required. Pulumiverse.Dynatrace.Inputs.ApplicationDetectionRuleFilterConfig
The condition of an application detection rule
Name string
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

Order string
The order of the rule in the rules list
ApplicationIdentifier This property is required. string
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
FilterConfig This property is required. ApplicationDetectionRuleFilterConfigArgs
The condition of an application detection rule
Name string
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

Order string
The order of the rule in the rules list
applicationIdentifier This property is required. String
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filterConfig This property is required. ApplicationDetectionRuleFilterConfig
The condition of an application detection rule
name String
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order String
The order of the rule in the rules list
applicationIdentifier This property is required. string
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filterConfig This property is required. ApplicationDetectionRuleFilterConfig
The condition of an application detection rule
name string
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order string
The order of the rule in the rules list
application_identifier This property is required. str
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filter_config This property is required. ApplicationDetectionRuleFilterConfigArgs
The condition of an application detection rule
name str
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order str
The order of the rule in the rules list
applicationIdentifier This property is required. String
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filterConfig This property is required. Property Map
The condition of an application detection rule
name String
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order String
The order of the rule in the rules list

Outputs

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

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

Look up Existing ApplicationDetectionRule Resource

Get an existing ApplicationDetectionRule 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?: ApplicationDetectionRuleState, opts?: CustomResourceOptions): ApplicationDetectionRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_identifier: Optional[str] = None,
        filter_config: Optional[ApplicationDetectionRuleFilterConfigArgs] = None,
        name: Optional[str] = None,
        order: Optional[str] = None) -> ApplicationDetectionRule
func GetApplicationDetectionRule(ctx *Context, name string, id IDInput, state *ApplicationDetectionRuleState, opts ...ResourceOption) (*ApplicationDetectionRule, error)
public static ApplicationDetectionRule Get(string name, Input<string> id, ApplicationDetectionRuleState? state, CustomResourceOptions? opts = null)
public static ApplicationDetectionRule get(String name, Output<String> id, ApplicationDetectionRuleState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:ApplicationDetectionRule    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApplicationIdentifier string
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
FilterConfig Pulumiverse.Dynatrace.Inputs.ApplicationDetectionRuleFilterConfig
The condition of an application detection rule
Name string
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

Order string
The order of the rule in the rules list
ApplicationIdentifier string
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
FilterConfig ApplicationDetectionRuleFilterConfigArgs
The condition of an application detection rule
Name string
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

Order string
The order of the rule in the rules list
applicationIdentifier String
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filterConfig ApplicationDetectionRuleFilterConfig
The condition of an application detection rule
name String
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order String
The order of the rule in the rules list
applicationIdentifier string
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filterConfig ApplicationDetectionRuleFilterConfig
The condition of an application detection rule
name string
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order string
The order of the rule in the rules list
application_identifier str
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filter_config ApplicationDetectionRuleFilterConfigArgs
The condition of an application detection rule
name str
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order str
The order of the rule in the rules list
applicationIdentifier String
The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
filterConfig Property Map
The condition of an application detection rule
name String
The unique name of the Application detection rule

Deprecated: Dynatrace computes that value automatically. Any attempts to specify that value will are getting ignored.

order String
The order of the rule in the rules list

Supporting Types

ApplicationDetectionRuleFilterConfig
, ApplicationDetectionRuleFilterConfigArgs

ApplicationMatchTarget This property is required. string
Where to look for the pattern value, possible values are DOMAIN or URL
ApplicationMatchType This property is required. string
The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
Pattern This property is required. string
The value to look for with the application detection rule
ApplicationMatchTarget This property is required. string
Where to look for the pattern value, possible values are DOMAIN or URL
ApplicationMatchType This property is required. string
The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
Pattern This property is required. string
The value to look for with the application detection rule
applicationMatchTarget This property is required. String
Where to look for the pattern value, possible values are DOMAIN or URL
applicationMatchType This property is required. String
The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
pattern This property is required. String
The value to look for with the application detection rule
applicationMatchTarget This property is required. string
Where to look for the pattern value, possible values are DOMAIN or URL
applicationMatchType This property is required. string
The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
pattern This property is required. string
The value to look for with the application detection rule
application_match_target This property is required. str
Where to look for the pattern value, possible values are DOMAIN or URL
application_match_type This property is required. str
The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
pattern This property is required. str
The value to look for with the application detection rule
applicationMatchTarget This property is required. String
Where to look for the pattern value, possible values are DOMAIN or URL
applicationMatchType This property is required. String
The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
pattern This property is required. String
The value to look for with the application detection rule

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.