1. Packages
  2. Dynatrace
  3. API Docs
  4. ApplicationDetectionRule
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.ApplicationDetectionRule

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args ApplicationDetectionRuleArgs
    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 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 string
    The unique name of the resource.
    args ApplicationDetectionRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationDetectionRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    var applicationDetectionRuleResource = new ApplicationDetectionRule("applicationDetectionRuleResource", ApplicationDetectionRuleArgs.builder()
        .applicationIdentifier("string")
        .filterConfig(ApplicationDetectionRuleFilterConfigArgs.builder()
            .applicationMatchTarget("string")
            .applicationMatchType("string")
            .pattern("string")
            .build())
        .order("string")
        .build());
    
    application_detection_rule_resource = dynatrace.ApplicationDetectionRule("applicationDetectionRuleResource",
        application_identifier="string",
        filter_config={
            "application_match_target": "string",
            "application_match_type": "string",
            "pattern": "string",
        },
        order="string")
    
    const applicationDetectionRuleResource = new dynatrace.ApplicationDetectionRule("applicationDetectionRuleResource", {
        applicationIdentifier: "string",
        filterConfig: {
            applicationMatchTarget: "string",
            applicationMatchType: "string",
            pattern: "string",
        },
        order: "string",
    });
    
    type: dynatrace:ApplicationDetectionRule
    properties:
        applicationIdentifier: string
        filterConfig:
            applicationMatchTarget: string
            applicationMatchType: string
            pattern: string
        order: string
    

    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 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

    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)
    Resource lookup is not supported in YAML
    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:
    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 string
    Where to look for the pattern value, possible values are DOMAIN or URL
    ApplicationMatchType string
    The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
    Pattern string
    The value to look for with the application detection rule
    ApplicationMatchTarget string
    Where to look for the pattern value, possible values are DOMAIN or URL
    ApplicationMatchType string
    The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
    Pattern string
    The value to look for with the application detection rule
    applicationMatchTarget String
    Where to look for the pattern value, possible values are DOMAIN or URL
    applicationMatchType String
    The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
    pattern String
    The value to look for with the application detection rule
    applicationMatchTarget string
    Where to look for the pattern value, possible values are DOMAIN or URL
    applicationMatchType string
    The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
    pattern string
    The value to look for with the application detection rule
    application_match_target str
    Where to look for the pattern value, possible values are DOMAIN or URL
    application_match_type str
    The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
    pattern str
    The value to look for with the application detection rule
    applicationMatchTarget String
    Where to look for the pattern value, possible values are DOMAIN or URL
    applicationMatchType String
    The operator used for matching the application detection rule, possible values are BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS, MATCHES
    pattern 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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse