Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.WebAppCustomErrors
Explore with Pulumi AI
Create WebAppCustomErrors Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppCustomErrors(name: string, args: WebAppCustomErrorsArgs, opts?: CustomResourceOptions);
@overload
def WebAppCustomErrors(resource_name: str,
args: WebAppCustomErrorsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppCustomErrors(resource_name: str,
opts: Optional[ResourceOptions] = None,
ignore_custom_errors_in_apdex_calculation: Optional[bool] = None,
scope: Optional[str] = None,
error_rules: Optional[WebAppCustomErrorsErrorRulesArgs] = None)
func NewWebAppCustomErrors(ctx *Context, name string, args WebAppCustomErrorsArgs, opts ...ResourceOption) (*WebAppCustomErrors, error)
public WebAppCustomErrors(string name, WebAppCustomErrorsArgs args, CustomResourceOptions? opts = null)
public WebAppCustomErrors(String name, WebAppCustomErrorsArgs args)
public WebAppCustomErrors(String name, WebAppCustomErrorsArgs args, CustomResourceOptions options)
type: dynatrace:WebAppCustomErrors
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 WebAppCustomErrorsArgs
- 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 WebAppCustomErrorsArgs
- 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 WebAppCustomErrorsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppCustomErrorsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppCustomErrorsArgs
- 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 webAppCustomErrorsResource = new Dynatrace.WebAppCustomErrors("webAppCustomErrorsResource", new()
{
IgnoreCustomErrorsInApdexCalculation = false,
Scope = "string",
ErrorRules = new Dynatrace.Inputs.WebAppCustomErrorsErrorRulesArgs
{
ErrorRules = new[]
{
new Dynatrace.Inputs.WebAppCustomErrorsErrorRulesErrorRuleArgs
{
CaptureSettings = new Dynatrace.Inputs.WebAppCustomErrorsErrorRulesErrorRuleCaptureSettingsArgs
{
Capture = false,
ConsiderForAi = false,
ImpactApdex = false,
},
KeyMatcher = "string",
ValueMatcher = "string",
KeyPattern = "string",
ValuePattern = "string",
},
},
},
});
example, err := dynatrace.NewWebAppCustomErrors(ctx, "webAppCustomErrorsResource", &dynatrace.WebAppCustomErrorsArgs{
IgnoreCustomErrorsInApdexCalculation: pulumi.Bool(false),
Scope: pulumi.String("string"),
ErrorRules: &dynatrace.WebAppCustomErrorsErrorRulesArgs{
ErrorRules: dynatrace.WebAppCustomErrorsErrorRulesErrorRuleArray{
&dynatrace.WebAppCustomErrorsErrorRulesErrorRuleArgs{
CaptureSettings: &dynatrace.WebAppCustomErrorsErrorRulesErrorRuleCaptureSettingsArgs{
Capture: pulumi.Bool(false),
ConsiderForAi: pulumi.Bool(false),
ImpactApdex: pulumi.Bool(false),
},
KeyMatcher: pulumi.String("string"),
ValueMatcher: pulumi.String("string"),
KeyPattern: pulumi.String("string"),
ValuePattern: pulumi.String("string"),
},
},
},
})
var webAppCustomErrorsResource = new WebAppCustomErrors("webAppCustomErrorsResource", WebAppCustomErrorsArgs.builder()
.ignoreCustomErrorsInApdexCalculation(false)
.scope("string")
.errorRules(WebAppCustomErrorsErrorRulesArgs.builder()
.errorRules(WebAppCustomErrorsErrorRulesErrorRuleArgs.builder()
.captureSettings(WebAppCustomErrorsErrorRulesErrorRuleCaptureSettingsArgs.builder()
.capture(false)
.considerForAi(false)
.impactApdex(false)
.build())
.keyMatcher("string")
.valueMatcher("string")
.keyPattern("string")
.valuePattern("string")
.build())
.build())
.build());
web_app_custom_errors_resource = dynatrace.WebAppCustomErrors("webAppCustomErrorsResource",
ignore_custom_errors_in_apdex_calculation=False,
scope="string",
error_rules=dynatrace.WebAppCustomErrorsErrorRulesArgs(
error_rules=[dynatrace.WebAppCustomErrorsErrorRulesErrorRuleArgs(
capture_settings=dynatrace.WebAppCustomErrorsErrorRulesErrorRuleCaptureSettingsArgs(
capture=False,
consider_for_ai=False,
impact_apdex=False,
),
key_matcher="string",
value_matcher="string",
key_pattern="string",
value_pattern="string",
)],
))
const webAppCustomErrorsResource = new dynatrace.WebAppCustomErrors("webAppCustomErrorsResource", {
ignoreCustomErrorsInApdexCalculation: false,
scope: "string",
errorRules: {
errorRules: [{
captureSettings: {
capture: false,
considerForAi: false,
impactApdex: false,
},
keyMatcher: "string",
valueMatcher: "string",
keyPattern: "string",
valuePattern: "string",
}],
},
});
type: dynatrace:WebAppCustomErrors
properties:
errorRules:
errorRules:
- captureSettings:
capture: false
considerForAi: false
impactApdex: false
keyMatcher: string
keyPattern: string
valueMatcher: string
valuePattern: string
ignoreCustomErrorsInApdexCalculation: false
scope: string
WebAppCustomErrors 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 WebAppCustomErrors resource accepts the following input properties:
- Ignore
Custom 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 Custom Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- Ignore
Custom 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 Custom Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore
Custom 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 Custom Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore
Custom 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 Custom Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore_
custom_ 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 Custom Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
)
- ignore
Custom 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 WebAppCustomErrors 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 WebAppCustomErrors Resource
Get an existing WebAppCustomErrors 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?: WebAppCustomErrorsState, opts?: CustomResourceOptions): WebAppCustomErrors
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
error_rules: Optional[WebAppCustomErrorsErrorRulesArgs] = None,
ignore_custom_errors_in_apdex_calculation: Optional[bool] = None,
scope: Optional[str] = None) -> WebAppCustomErrors
func GetWebAppCustomErrors(ctx *Context, name string, id IDInput, state *WebAppCustomErrorsState, opts ...ResourceOption) (*WebAppCustomErrors, error)
public static WebAppCustomErrors Get(string name, Input<string> id, WebAppCustomErrorsState? state, CustomResourceOptions? opts = null)
public static WebAppCustomErrors get(String name, Output<String> id, WebAppCustomErrorsState 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 Custom Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
) - Ignore
Custom 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 Custom Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
) - Ignore
Custom 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 Custom Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore
Custom 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 Custom Errors Error Rules - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore
Custom 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 Custom Errors Error Rules Args - (Field has overlap with
dynatrace.ApplicationErrorRules
) - ignore_
custom_ 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
Custom 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
WebAppCustomErrorsErrorRules, WebAppCustomErrorsErrorRulesArgs
WebAppCustomErrorsErrorRulesErrorRule, WebAppCustomErrorsErrorRulesErrorRuleArgs
- Capture
Settings Pulumiverse.Dynatrace. Inputs. Web App Custom Errors Error Rules Error Rule Capture Settings - Capture settings
- Key
Matcher string - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- Value
Matcher string - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- Key
Pattern string - A case-insensitive key pattern
- Value
Pattern string - A case-insensitive value pattern
- Capture
Settings WebApp Custom Errors Error Rules Error Rule Capture Settings - Capture settings
- Key
Matcher string - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- Value
Matcher string - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- Key
Pattern string - A case-insensitive key pattern
- Value
Pattern string - A case-insensitive value pattern
- capture
Settings WebApp Custom Errors Error Rules Error Rule Capture Settings - Capture settings
- key
Matcher String - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- value
Matcher String - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- key
Pattern String - A case-insensitive key pattern
- value
Pattern String - A case-insensitive value pattern
- capture
Settings WebApp Custom Errors Error Rules Error Rule Capture Settings - Capture settings
- key
Matcher string - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- value
Matcher string - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- key
Pattern string - A case-insensitive key pattern
- value
Pattern string - A case-insensitive value pattern
- capture_
settings WebApp Custom Errors Error Rules Error Rule Capture Settings - Capture settings
- key_
matcher str - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- value_
matcher str - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- key_
pattern str - A case-insensitive key pattern
- value_
pattern str - A case-insensitive value pattern
- capture
Settings Property Map - Capture settings
- key
Matcher String - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- value
Matcher String - Possible Values:
ALL
,BEGINS_WITH
,CONTAINS
,ENDS_WITH
,EQUALS
- key
Pattern String - A case-insensitive key pattern
- value
Pattern String - A case-insensitive value pattern
WebAppCustomErrorsErrorRulesErrorRuleCaptureSettings, WebAppCustomErrorsErrorRulesErrorRuleCaptureSettingsArgs
- 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
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.