Dynatrace v0.10.0 published on Friday, Jun 7, 2024 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 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:
- Ignore
Request boolErrors In Apdex Calculation - (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 Pulumiverse.Dynatrace. Inputs. Web App Request Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- Ignore
Request boolErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore
Request BooleanErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore
Request booleanErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore_
request_ boolerrors_ in_ apdex_ calculation - (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 WebApp Request Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore
Request BooleanErrors In Apdex Calculation - (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 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.
- Error
Rules Pulumiverse.Dynatrace. Inputs. Web App Request Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
) - Ignore
Request boolErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
) - Ignore
Request boolErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore
Request BooleanErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore
Request booleanErrors In Apdex Calculation - (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 WebApp Request Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore_
request_ boolerrors_ in_ apdex_ calculation - (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 Property Map - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore
Request BooleanErrors In Apdex Calculation - (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
- Capture
Settings Pulumiverse.Dynatrace. Inputs. Web App Request Errors Error Rules Error Rule Capture Settings - Capture settings
- Consider
Csp boolViolations - Match by errors that have CSP violations
- Consider
Failed boolImages - Match by errors that have failed image requests
- Filter
Settings Pulumiverse.Dynatrace. Inputs. Web App Request Errors Error Rules Error Rule Filter Settings - Filter settings
- Error
Codes string - Match by error code
- Capture
Settings WebApp Request Errors Error Rules Error Rule Capture Settings - Capture settings
- Consider
Csp boolViolations - Match by errors that have CSP violations
- Consider
Failed boolImages - Match by errors that have failed image requests
- Filter
Settings WebApp Request Errors Error Rules Error Rule Filter Settings - Filter settings
- Error
Codes string - Match by error code
- capture
Settings WebApp Request Errors Error Rules Error Rule Capture Settings - Capture settings
- consider
Csp BooleanViolations - Match by errors that have CSP violations
- consider
Failed BooleanImages - Match by errors that have failed image requests
- filter
Settings WebApp Request Errors Error Rules Error Rule Filter Settings - Filter settings
- error
Codes String - Match by error code
- capture
Settings WebApp Request Errors Error Rules Error Rule Capture Settings - Capture settings
- consider
Csp booleanViolations - Match by errors that have CSP violations
- consider
Failed booleanImages - Match by errors that have failed image requests
- filter
Settings WebApp Request Errors Error Rules Error Rule Filter Settings - Filter settings
- error
Codes string - Match by error code
- capture_
settings WebApp Request Errors Error Rules Error Rule Capture Settings - Capture settings
- consider_
csp_ boolviolations - Match by errors that have CSP violations
- consider_
failed_ boolimages - Match by errors that have failed image requests
- filter_
settings WebApp Request Errors Error Rules Error Rule Filter Settings - Filter settings
- error_
codes str - Match by error code
- capture
Settings Property Map - Capture settings
- consider
Csp BooleanViolations - Match by errors that have CSP violations
- consider
Failed BooleanImages - Match by errors that have failed image requests
- filter
Settings Property Map - Filter settings
- error
Codes String - Match by error code
WebAppRequestErrorsErrorRulesErrorRuleCaptureSettings, WebAppRequestErrorsErrorRulesErrorRuleCaptureSettingsArgs
- Capture bool
- Capture this error
- Consider
For boolAi - View more details
- Impact
Apdex bool - Include error in Apdex calculations
- Capture bool
- Capture this error
- Consider
For boolAi - View more details
- Impact
Apdex bool - Include error in Apdex calculations
- capture Boolean
- Capture this error
- consider
For BooleanAi - View more details
- impact
Apdex Boolean - Include error in Apdex calculations
- capture boolean
- Capture this error
- consider
For booleanAi - View more details
- impact
Apdex boolean - Include error in Apdex calculations
- capture bool
- Capture this error
- consider_
for_ boolai - View more details
- impact_
apdex bool - Include error in Apdex calculations
- capture Boolean
- Capture this error
- consider
For BooleanAi - View more details
- impact
Apdex Boolean - Include error in Apdex calculations
WebAppRequestErrorsErrorRulesErrorRuleFilterSettings, WebAppRequestErrorsErrorRulesErrorRuleFilterSettingsArgs
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.