1. Packages
  2. Dynatrace
  3. API Docs
  4. WebAppRequestErrors
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.WebAppRequestErrors

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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.

    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 Lbrlabs.PulumiPackage.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 Lbrlabs.PulumiPackage.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

    WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings, WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs

    capture Boolean
    considerForAi Boolean
    impactApdex Boolean
    capture boolean
    considerForAi boolean
    impactApdex boolean
    capture Boolean
    considerForAi Boolean
    impactApdex Boolean

    WebAppRequestErrorsErrorRulesErrorRuleFilterSettings, WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs

    Filter string
    Url string
    Filter string
    Url string
    filter String
    url String
    filter string
    url string
    filter str
    url str
    filter String
    url String

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs