1. Packages
  2. Dynatrace
  3. API Docs
  4. WebAppRequestErrors
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.WebAppRequestErrors

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args WebAppRequestErrorsArgs
    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 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 string
    The unique name of the resource.
    args WebAppRequestErrorsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppRequestErrorsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
                },
            },
        },
    });
    
    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"),
    			},
    		},
    	},
    })
    
    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());
    
    web_app_request_errors_resource = dynatrace.WebAppRequestErrors("webAppRequestErrorsResource",
        ignore_request_errors_in_apdex_calculation=False,
        scope="string",
        error_rules=dynatrace.WebAppRequestErrorsErrorRulesArgs(
            error_rules=[dynatrace.WebAppRequestErrorsErrorRulesErrorRuleArgs(
                capture_settings=dynatrace.WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs(
                    capture=False,
                    consider_for_ai=False,
                    impact_apdex=False,
                ),
                consider_csp_violations=False,
                consider_failed_images=False,
                filter_settings=dynatrace.WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs(
                    filter="string",
                    url="string",
                ),
                error_codes="string",
            )],
        ))
    
    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",
            }],
        },
    });
    
    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
    

    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

    The WebAppRequestErrors resource accepts the following input properties:

    IgnoreRequestErrorsInApdexCalculation bool
    (Field has overlap with dynatrace.ApplicationErrorRules) This setting overrides Apdex settings for individual rules listed below
    Scope string
    The scope of this setting (APPLICATION)
    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 string
    The scope of this setting (APPLICATION)
    ErrorRules WebAppRequestErrorsErrorRulesArgs
    (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 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 string
    The scope of this setting (APPLICATION)
    errorRules WebAppRequestErrorsErrorRules
    (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 str
    The scope of this setting (APPLICATION)
    error_rules WebAppRequestErrorsErrorRulesArgs
    (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 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)
    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:
    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 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 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 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 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 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 String
    The scope of this setting (APPLICATION)

    Supporting Types

    WebAppRequestErrorsErrorRules, WebAppRequestErrorsErrorRulesArgs

    WebAppRequestErrorsErrorRulesErrorRule, WebAppRequestErrorsErrorRulesErrorRuleArgs

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

    WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings, WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs

    Capture bool
    Capture this error
    ConsiderForAi bool
    View more details
    ImpactApdex bool
    Include error in Apdex calculations
    Capture bool
    Capture this error
    ConsiderForAi bool
    View more details
    ImpactApdex bool
    Include error in Apdex calculations
    capture Boolean
    Capture this error
    considerForAi Boolean
    View more details
    impactApdex Boolean
    Include error in Apdex calculations
    capture boolean
    Capture this error
    considerForAi boolean
    View more details
    impactApdex boolean
    Include error in Apdex calculations
    capture bool
    Capture this error
    consider_for_ai bool
    View more details
    impact_apdex bool
    Include error in Apdex calculations
    capture 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.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse