Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
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.
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 Lbrlabs.Pulumi Package. 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 Lbrlabs.Pulumi Package. 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 WebApp Custom Errors Error Rules Error Rule Capture Settings - Key
Matcher string - Value
Matcher string - Key
Pattern string - Value
Pattern string
- capture
Settings WebApp Custom Errors Error Rules Error Rule Capture Settings - key
Matcher String - value
Matcher String - key
Pattern String - value
Pattern String
- capture
Settings WebApp Custom Errors Error Rules Error Rule Capture Settings - key
Matcher string - value
Matcher string - key
Pattern string - value
Pattern string
- capture
Settings Property Map - key
Matcher String - value
Matcher String - key
Pattern String - value
Pattern String
WebAppCustomErrorsErrorRulesErrorRuleCaptureSettings, WebAppCustomErrorsErrorRulesErrorRuleCaptureSettingsArgs
- Capture bool
- Consider
For boolAi - Impact
Apdex bool
- Capture bool
- Consider
For boolAi - Impact
Apdex bool
- capture Boolean
- consider
For BooleanAi - impact
Apdex Boolean
- capture boolean
- consider
For booleanAi - impact
Apdex boolean
- capture bool
- consider_
for_ boolai - impact_
apdex bool
- capture Boolean
- consider
For BooleanAi - impact
Apdex Boolean
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.