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 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:
- Application
Identifier string - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- Filter
Config Pulumiverse.Dynatrace. Inputs. Application Detection Rule Filter Config - The condition of an application detection rule
- Name string
- The unique name of the Application detection rule
- Order string
- The order of the rule in the rules list
- Application
Identifier string - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- Filter
Config ApplicationDetection Rule Filter Config Args - The condition of an application detection rule
- Name string
- The unique name of the Application detection rule
- Order string
- The order of the rule in the rules list
- application
Identifier String - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- filter
Config ApplicationDetection Rule Filter Config - The condition of an application detection rule
- name String
- The unique name of the Application detection rule
- order String
- The order of the rule in the rules list
- application
Identifier string - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- filter
Config ApplicationDetection Rule Filter Config - The condition of an application detection rule
- name string
- The unique name of the Application detection rule
- 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 ApplicationDetection Rule Filter Config Args - The condition of an application detection rule
- name str
- The unique name of the Application detection rule
- order str
- The order of the rule in the rules list
- application
Identifier String - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- filter
Config Property Map - The condition of an application detection rule
- name String
- The unique name of the Application detection rule
- 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.
- Application
Identifier string - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- Filter
Config Pulumiverse.Dynatrace. Inputs. Application Detection Rule Filter Config - The condition of an application detection rule
- Name string
- The unique name of the Application detection rule
- Order string
- The order of the rule in the rules list
- Application
Identifier string - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- Filter
Config ApplicationDetection Rule Filter Config Args - The condition of an application detection rule
- Name string
- The unique name of the Application detection rule
- Order string
- The order of the rule in the rules list
- application
Identifier String - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- filter
Config ApplicationDetection Rule Filter Config - The condition of an application detection rule
- name String
- The unique name of the Application detection rule
- order String
- The order of the rule in the rules list
- application
Identifier string - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- filter
Config ApplicationDetection Rule Filter Config - The condition of an application detection rule
- name string
- The unique name of the Application detection rule
- 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 ApplicationDetection Rule Filter Config Args - The condition of an application detection rule
- name str
- The unique name of the Application detection rule
- order str
- The order of the rule in the rules list
- application
Identifier String - The Dynatrace entity ID of the application, for example APPLICATION-4A3B43
- filter
Config Property Map - The condition of an application detection rule
- name String
- The unique name of the Application detection rule
- order String
- The order of the rule in the rules list
Supporting Types
ApplicationDetectionRuleFilterConfig, ApplicationDetectionRuleFilterConfigArgs
- Application
Match stringTarget - Where to look for the pattern value, possible values are
DOMAIN
orURL
- Application
Match stringType - 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 stringTarget - Where to look for the pattern value, possible values are
DOMAIN
orURL
- Application
Match stringType - 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 StringTarget - Where to look for the pattern value, possible values are
DOMAIN
orURL
- application
Match StringType - 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 stringTarget - Where to look for the pattern value, possible values are
DOMAIN
orURL
- application
Match stringType - 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_ strtarget - Where to look for the pattern value, possible values are
DOMAIN
orURL
- application_
match_ strtype - 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
- application
Match StringTarget - Where to look for the pattern value, possible values are
DOMAIN
orURL
- application
Match StringType - 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.