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

dynatrace.WebAppRequestErrors

Explore with Pulumi AI

Create WebAppRequestErrors Resource

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

Constructor syntax

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

@overload
def WebAppRequestErrors(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        ignore_request_errors_in_apdex_calculation: Optional[bool] = None,
                        scope: Optional[str] = None,
                        error_rules: Optional[WebAppRequestErrorsErrorRulesArgs] = None)
func NewWebAppRequestErrors(ctx *Context, name string, args WebAppRequestErrorsArgs, opts ...ResourceOption) (*WebAppRequestErrors, error)
public WebAppRequestErrors(string name, WebAppRequestErrorsArgs args, CustomResourceOptions? opts = null)
public WebAppRequestErrors(String name, WebAppRequestErrorsArgs args)
public WebAppRequestErrors(String name, WebAppRequestErrorsArgs args, CustomResourceOptions options)
type: dynatrace:WebAppRequestErrors
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. WebAppRequestErrorsArgs
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. WebAppRequestErrorsArgs
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. WebAppRequestErrorsArgs
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. WebAppRequestErrorsArgs
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. WebAppRequestErrorsArgs
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 webAppRequestErrorsResource = new Dynatrace.WebAppRequestErrors("webAppRequestErrorsResource", new()
{
    IgnoreRequestErrorsInApdexCalculation = false,
    Scope = "string",
    ErrorRules = new Dynatrace.Inputs.WebAppRequestErrorsErrorRulesArgs
    {
        ErrorRules = new[]
        {
            new Dynatrace.Inputs.WebAppRequestErrorsErrorRulesErrorRuleArgs
            {
                CaptureSettings = new Dynatrace.Inputs.WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs
                {
                    Capture = false,
                    ConsiderForAi = false,
                    ImpactApdex = false,
                },
                ConsiderCspViolations = false,
                ConsiderFailedImages = false,
                FilterSettings = new Dynatrace.Inputs.WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs
                {
                    Filter = "string",
                    Url = "string",
                },
                ErrorCodes = "string",
            },
        },
    },
});
Copy
example, err := dynatrace.NewWebAppRequestErrors(ctx, "webAppRequestErrorsResource", &dynatrace.WebAppRequestErrorsArgs{
	IgnoreRequestErrorsInApdexCalculation: pulumi.Bool(false),
	Scope:                                 pulumi.String("string"),
	ErrorRules: &dynatrace.WebAppRequestErrorsErrorRulesArgs{
		ErrorRules: dynatrace.WebAppRequestErrorsErrorRulesErrorRuleArray{
			&dynatrace.WebAppRequestErrorsErrorRulesErrorRuleArgs{
				CaptureSettings: &dynatrace.WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs{
					Capture:       pulumi.Bool(false),
					ConsiderForAi: pulumi.Bool(false),
					ImpactApdex:   pulumi.Bool(false),
				},
				ConsiderCspViolations: pulumi.Bool(false),
				ConsiderFailedImages:  pulumi.Bool(false),
				FilterSettings: &dynatrace.WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs{
					Filter: pulumi.String("string"),
					Url:    pulumi.String("string"),
				},
				ErrorCodes: pulumi.String("string"),
			},
		},
	},
})
Copy
var webAppRequestErrorsResource = new WebAppRequestErrors("webAppRequestErrorsResource", WebAppRequestErrorsArgs.builder()
    .ignoreRequestErrorsInApdexCalculation(false)
    .scope("string")
    .errorRules(WebAppRequestErrorsErrorRulesArgs.builder()
        .errorRules(WebAppRequestErrorsErrorRulesErrorRuleArgs.builder()
            .captureSettings(WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs.builder()
                .capture(false)
                .considerForAi(false)
                .impactApdex(false)
                .build())
            .considerCspViolations(false)
            .considerFailedImages(false)
            .filterSettings(WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs.builder()
                .filter("string")
                .url("string")
                .build())
            .errorCodes("string")
            .build())
        .build())
    .build());
Copy
web_app_request_errors_resource = dynatrace.WebAppRequestErrors("webAppRequestErrorsResource",
    ignore_request_errors_in_apdex_calculation=False,
    scope="string",
    error_rules={
        "error_rules": [{
            "capture_settings": {
                "capture": False,
                "consider_for_ai": False,
                "impact_apdex": False,
            },
            "consider_csp_violations": False,
            "consider_failed_images": False,
            "filter_settings": {
                "filter": "string",
                "url": "string",
            },
            "error_codes": "string",
        }],
    })
Copy
const webAppRequestErrorsResource = new dynatrace.WebAppRequestErrors("webAppRequestErrorsResource", {
    ignoreRequestErrorsInApdexCalculation: false,
    scope: "string",
    errorRules: {
        errorRules: [{
            captureSettings: {
                capture: false,
                considerForAi: false,
                impactApdex: false,
            },
            considerCspViolations: false,
            considerFailedImages: false,
            filterSettings: {
                filter: "string",
                url: "string",
            },
            errorCodes: "string",
        }],
    },
});
Copy
type: dynatrace:WebAppRequestErrors
properties:
    errorRules:
        errorRules:
            - captureSettings:
                capture: false
                considerForAi: false
                impactApdex: false
              considerCspViolations: false
              considerFailedImages: false
              errorCodes: string
              filterSettings:
                filter: string
                url: string
    ignoreRequestErrorsInApdexCalculation: false
    scope: string
Copy

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

IgnoreRequestErrorsInApdexCalculation This property is required. bool
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (APPLICATION)
ErrorRules Pulumiverse.Dynatrace.Inputs.WebAppRequestErrorsErrorRules
(Field has overlap with dynatrace.ApplicationErrorRules)
IgnoreRequestErrorsInApdexCalculation This property is required. bool
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (APPLICATION)
ErrorRules WebAppRequestErrorsErrorRulesArgs
(Field has overlap with dynatrace.ApplicationErrorRules)
ignoreRequestErrorsInApdexCalculation This property is required. Boolean
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (APPLICATION)
errorRules WebAppRequestErrorsErrorRules
(Field has overlap with dynatrace.ApplicationErrorRules)
ignoreRequestErrorsInApdexCalculation This property is required. boolean
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (APPLICATION)
errorRules WebAppRequestErrorsErrorRules
(Field has overlap with dynatrace.ApplicationErrorRules)
ignore_request_errors_in_apdex_calculation This property is required. bool
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of this setting (APPLICATION)
error_rules WebAppRequestErrorsErrorRulesArgs
(Field has overlap with dynatrace.ApplicationErrorRules)
ignoreRequestErrorsInApdexCalculation This property is required. Boolean
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (APPLICATION)
errorRules Property Map
(Field has overlap with dynatrace.ApplicationErrorRules)

Outputs

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

Get an existing WebAppRequestErrors 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?: WebAppRequestErrorsState, opts?: CustomResourceOptions): WebAppRequestErrors
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        error_rules: Optional[WebAppRequestErrorsErrorRulesArgs] = None,
        ignore_request_errors_in_apdex_calculation: Optional[bool] = None,
        scope: Optional[str] = None) -> WebAppRequestErrors
func GetWebAppRequestErrors(ctx *Context, name string, id IDInput, state *WebAppRequestErrorsState, opts ...ResourceOption) (*WebAppRequestErrors, error)
public static WebAppRequestErrors Get(string name, Input<string> id, WebAppRequestErrorsState? state, CustomResourceOptions? opts = null)
public static WebAppRequestErrors get(String name, Output<String> id, WebAppRequestErrorsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:WebAppRequestErrors    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:
ErrorRules Pulumiverse.Dynatrace.Inputs.WebAppRequestErrorsErrorRules
(Field has overlap with dynatrace.ApplicationErrorRules)
IgnoreRequestErrorsInApdexCalculation bool
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
Scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION)
ErrorRules WebAppRequestErrorsErrorRulesArgs
(Field has overlap with dynatrace.ApplicationErrorRules)
IgnoreRequestErrorsInApdexCalculation bool
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
Scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION)
errorRules WebAppRequestErrorsErrorRules
(Field has overlap with dynatrace.ApplicationErrorRules)
ignoreRequestErrorsInApdexCalculation Boolean
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope Changes to this property will trigger replacement. String
The scope of this setting (APPLICATION)
errorRules WebAppRequestErrorsErrorRules
(Field has overlap with dynatrace.ApplicationErrorRules)
ignoreRequestErrorsInApdexCalculation boolean
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION)
error_rules WebAppRequestErrorsErrorRulesArgs
(Field has overlap with dynatrace.ApplicationErrorRules)
ignore_request_errors_in_apdex_calculation bool
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope Changes to this property will trigger replacement. str
The scope of this setting (APPLICATION)
errorRules Property Map
(Field has overlap with dynatrace.ApplicationErrorRules)
ignoreRequestErrorsInApdexCalculation Boolean
(Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
scope Changes to this property will trigger replacement. String
The scope of this setting (APPLICATION)

Supporting Types

WebAppRequestErrorsErrorRules
, WebAppRequestErrorsErrorRulesArgs

errorRules This property is required. List<Property Map>

WebAppRequestErrorsErrorRulesErrorRule
, WebAppRequestErrorsErrorRulesErrorRuleArgs

CaptureSettings This property is required. Pulumiverse.Dynatrace.Inputs.WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings
Capture settings
ConsiderCspViolations This property is required. bool
Match by errors that have CSP violations
ConsiderFailedImages This property is required. bool
Match by errors that have failed image requests
FilterSettings This property is required. Pulumiverse.Dynatrace.Inputs.WebAppRequestErrorsErrorRulesErrorRuleFilterSettings
Filter settings
ErrorCodes string
Match by error code
CaptureSettings This property is required. WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings
Capture settings
ConsiderCspViolations This property is required. bool
Match by errors that have CSP violations
ConsiderFailedImages This property is required. bool
Match by errors that have failed image requests
FilterSettings This property is required. WebAppRequestErrorsErrorRulesErrorRuleFilterSettings
Filter settings
ErrorCodes string
Match by error code
captureSettings This property is required. WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings
Capture settings
considerCspViolations This property is required. Boolean
Match by errors that have CSP violations
considerFailedImages This property is required. Boolean
Match by errors that have failed image requests
filterSettings This property is required. WebAppRequestErrorsErrorRulesErrorRuleFilterSettings
Filter settings
errorCodes String
Match by error code
captureSettings This property is required. WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings
Capture settings
considerCspViolations This property is required. boolean
Match by errors that have CSP violations
considerFailedImages This property is required. boolean
Match by errors that have failed image requests
filterSettings This property is required. WebAppRequestErrorsErrorRulesErrorRuleFilterSettings
Filter settings
errorCodes string
Match by error code
capture_settings This property is required. WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings
Capture settings
consider_csp_violations This property is required. bool
Match by errors that have CSP violations
consider_failed_images This property is required. bool
Match by errors that have failed image requests
filter_settings This property is required. WebAppRequestErrorsErrorRulesErrorRuleFilterSettings
Filter settings
error_codes str
Match by error code
captureSettings This property is required. Property Map
Capture settings
considerCspViolations This property is required. Boolean
Match by errors that have CSP violations
considerFailedImages This property is required. Boolean
Match by errors that have failed image requests
filterSettings This property is required. Property Map
Filter settings
errorCodes String
Match by error code

WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings
, WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs

Capture This property is required. bool
Capture this error
ConsiderForAi bool
View more details
ImpactApdex bool
Include error in Apdex calculations
Capture This property is required. bool
Capture this error
ConsiderForAi bool
View more details
ImpactApdex bool
Include error in Apdex calculations
capture This property is required. Boolean
Capture this error
considerForAi Boolean
View more details
impactApdex Boolean
Include error in Apdex calculations
capture This property is required. boolean
Capture this error
considerForAi boolean
View more details
impactApdex boolean
Include error in Apdex calculations
capture This property is required. bool
Capture this error
consider_for_ai bool
View more details
impact_apdex bool
Include error in Apdex calculations
capture This property is required. Boolean
Capture this error
considerForAi Boolean
View more details
impactApdex Boolean
Include error in Apdex calculations

WebAppRequestErrorsErrorRulesErrorRuleFilterSettings
, WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs

Filter string
Possible Values: BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS
Url string
no documentation available
Filter string
Possible Values: BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS
Url string
no documentation available
filter String
Possible Values: BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS
url String
no documentation available
filter string
Possible Values: BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS
url string
no documentation available
filter str
Possible Values: BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS
url str
no documentation available
filter String
Possible Values: BEGINS_WITH, CONTAINS, ENDS_WITH, EQUALS
url String
no documentation available

Package Details

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