1. Packages
  2. Dynatrace
  3. API Docs
  4. WebAppKeyPerformanceXhr
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.WebAppKeyPerformanceXhr

Explore with Pulumi AI

Create WebAppKeyPerformanceXhr Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new WebAppKeyPerformanceXhr(name: string, args: WebAppKeyPerformanceXhrArgs, opts?: CustomResourceOptions);
@overload
def WebAppKeyPerformanceXhr(resource_name: str,
                            args: WebAppKeyPerformanceXhrArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def WebAppKeyPerformanceXhr(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            kpm: Optional[str] = None,
                            scope: Optional[str] = None,
                            thresholds: Optional[WebAppKeyPerformanceXhrThresholdsArgs] = None,
                            fallback_thresholds: Optional[WebAppKeyPerformanceXhrFallbackThresholdsArgs] = None)
func NewWebAppKeyPerformanceXhr(ctx *Context, name string, args WebAppKeyPerformanceXhrArgs, opts ...ResourceOption) (*WebAppKeyPerformanceXhr, error)
public WebAppKeyPerformanceXhr(string name, WebAppKeyPerformanceXhrArgs args, CustomResourceOptions? opts = null)
public WebAppKeyPerformanceXhr(String name, WebAppKeyPerformanceXhrArgs args)
public WebAppKeyPerformanceXhr(String name, WebAppKeyPerformanceXhrArgs args, CustomResourceOptions options)
type: dynatrace:WebAppKeyPerformanceXhr
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WebAppKeyPerformanceXhrArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WebAppKeyPerformanceXhrArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WebAppKeyPerformanceXhrArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WebAppKeyPerformanceXhrArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WebAppKeyPerformanceXhrArgs
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 webAppKeyPerformanceXhrResource = new Dynatrace.WebAppKeyPerformanceXhr("webAppKeyPerformanceXhrResource", new()
{
    Kpm = "string",
    Scope = "string",
    Thresholds = new Dynatrace.Inputs.WebAppKeyPerformanceXhrThresholdsArgs
    {
        FrustratingThresholdSeconds = 0,
        ToleratedThresholdSeconds = 0,
    },
    FallbackThresholds = new Dynatrace.Inputs.WebAppKeyPerformanceXhrFallbackThresholdsArgs
    {
        FrustratingFallbackThresholdSeconds = 0,
        ToleratedFallbackThresholdSeconds = 0,
    },
});
Copy
example, err := dynatrace.NewWebAppKeyPerformanceXhr(ctx, "webAppKeyPerformanceXhrResource", &dynatrace.WebAppKeyPerformanceXhrArgs{
	Kpm:   pulumi.String("string"),
	Scope: pulumi.String("string"),
	Thresholds: &dynatrace.WebAppKeyPerformanceXhrThresholdsArgs{
		FrustratingThresholdSeconds: pulumi.Float64(0),
		ToleratedThresholdSeconds:   pulumi.Float64(0),
	},
	FallbackThresholds: &dynatrace.WebAppKeyPerformanceXhrFallbackThresholdsArgs{
		FrustratingFallbackThresholdSeconds: pulumi.Float64(0),
		ToleratedFallbackThresholdSeconds:   pulumi.Float64(0),
	},
})
Copy
var webAppKeyPerformanceXhrResource = new WebAppKeyPerformanceXhr("webAppKeyPerformanceXhrResource", WebAppKeyPerformanceXhrArgs.builder()
    .kpm("string")
    .scope("string")
    .thresholds(WebAppKeyPerformanceXhrThresholdsArgs.builder()
        .frustratingThresholdSeconds(0)
        .toleratedThresholdSeconds(0)
        .build())
    .fallbackThresholds(WebAppKeyPerformanceXhrFallbackThresholdsArgs.builder()
        .frustratingFallbackThresholdSeconds(0)
        .toleratedFallbackThresholdSeconds(0)
        .build())
    .build());
Copy
web_app_key_performance_xhr_resource = dynatrace.WebAppKeyPerformanceXhr("webAppKeyPerformanceXhrResource",
    kpm="string",
    scope="string",
    thresholds={
        "frustrating_threshold_seconds": 0,
        "tolerated_threshold_seconds": 0,
    },
    fallback_thresholds={
        "frustrating_fallback_threshold_seconds": 0,
        "tolerated_fallback_threshold_seconds": 0,
    })
Copy
const webAppKeyPerformanceXhrResource = new dynatrace.WebAppKeyPerformanceXhr("webAppKeyPerformanceXhrResource", {
    kpm: "string",
    scope: "string",
    thresholds: {
        frustratingThresholdSeconds: 0,
        toleratedThresholdSeconds: 0,
    },
    fallbackThresholds: {
        frustratingFallbackThresholdSeconds: 0,
        toleratedFallbackThresholdSeconds: 0,
    },
});
Copy
type: dynatrace:WebAppKeyPerformanceXhr
properties:
    fallbackThresholds:
        frustratingFallbackThresholdSeconds: 0
        toleratedFallbackThresholdSeconds: 0
    kpm: string
    scope: string
    thresholds:
        frustratingThresholdSeconds: 0
        toleratedThresholdSeconds: 0
Copy

WebAppKeyPerformanceXhr Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The WebAppKeyPerformanceXhr resource accepts the following input properties:

Kpm This property is required. string
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
Thresholds This property is required. Pulumiverse.Dynatrace.Inputs.WebAppKeyPerformanceXhrThresholds
Set the Tolerating and Frustrated performance thresholds for this action type.
FallbackThresholds Pulumiverse.Dynatrace.Inputs.WebAppKeyPerformanceXhrFallbackThresholds
If the selected key performance metric is not detected, the User action duration metric is used instead.
Kpm This property is required. string
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
Thresholds This property is required. WebAppKeyPerformanceXhrThresholdsArgs
Set the Tolerating and Frustrated performance thresholds for this action type.
FallbackThresholds WebAppKeyPerformanceXhrFallbackThresholdsArgs
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm This property is required. String
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds This property is required. WebAppKeyPerformanceXhrThresholds
Set the Tolerating and Frustrated performance thresholds for this action type.
fallbackThresholds WebAppKeyPerformanceXhrFallbackThresholds
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm This property is required. string
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds This property is required. WebAppKeyPerformanceXhrThresholds
Set the Tolerating and Frustrated performance thresholds for this action type.
fallbackThresholds WebAppKeyPerformanceXhrFallbackThresholds
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm This property is required. str
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds This property is required. WebAppKeyPerformanceXhrThresholdsArgs
Set the Tolerating and Frustrated performance thresholds for this action type.
fallback_thresholds WebAppKeyPerformanceXhrFallbackThresholdsArgs
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm This property is required. String
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds This property is required. Property Map
Set the Tolerating and Frustrated performance thresholds for this action type.
fallbackThresholds Property Map
If the selected key performance metric is not detected, the User action duration metric is used instead.

Outputs

All input properties are implicitly available as output properties. Additionally, the WebAppKeyPerformanceXhr 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 WebAppKeyPerformanceXhr Resource

Get an existing WebAppKeyPerformanceXhr 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?: WebAppKeyPerformanceXhrState, opts?: CustomResourceOptions): WebAppKeyPerformanceXhr
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        fallback_thresholds: Optional[WebAppKeyPerformanceXhrFallbackThresholdsArgs] = None,
        kpm: Optional[str] = None,
        scope: Optional[str] = None,
        thresholds: Optional[WebAppKeyPerformanceXhrThresholdsArgs] = None) -> WebAppKeyPerformanceXhr
func GetWebAppKeyPerformanceXhr(ctx *Context, name string, id IDInput, state *WebAppKeyPerformanceXhrState, opts ...ResourceOption) (*WebAppKeyPerformanceXhr, error)
public static WebAppKeyPerformanceXhr Get(string name, Input<string> id, WebAppKeyPerformanceXhrState? state, CustomResourceOptions? opts = null)
public static WebAppKeyPerformanceXhr get(String name, Output<String> id, WebAppKeyPerformanceXhrState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:WebAppKeyPerformanceXhr    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
FallbackThresholds Pulumiverse.Dynatrace.Inputs.WebAppKeyPerformanceXhrFallbackThresholds
If the selected key performance metric is not detected, the User action duration metric is used instead.
Kpm string
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
Scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
Thresholds Pulumiverse.Dynatrace.Inputs.WebAppKeyPerformanceXhrThresholds
Set the Tolerating and Frustrated performance thresholds for this action type.
FallbackThresholds WebAppKeyPerformanceXhrFallbackThresholdsArgs
If the selected key performance metric is not detected, the User action duration metric is used instead.
Kpm string
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
Scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
Thresholds WebAppKeyPerformanceXhrThresholdsArgs
Set the Tolerating and Frustrated performance thresholds for this action type.
fallbackThresholds WebAppKeyPerformanceXhrFallbackThresholds
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm String
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope Changes to this property will trigger replacement. String
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds WebAppKeyPerformanceXhrThresholds
Set the Tolerating and Frustrated performance thresholds for this action type.
fallbackThresholds WebAppKeyPerformanceXhrFallbackThresholds
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm string
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds WebAppKeyPerformanceXhrThresholds
Set the Tolerating and Frustrated performance thresholds for this action type.
fallback_thresholds WebAppKeyPerformanceXhrFallbackThresholdsArgs
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm str
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope Changes to this property will trigger replacement. str
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds WebAppKeyPerformanceXhrThresholdsArgs
Set the Tolerating and Frustrated performance thresholds for this action type.
fallbackThresholds Property Map
If the selected key performance metric is not detected, the User action duration metric is used instead.
kpm String
Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
scope Changes to this property will trigger replacement. String
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds Property Map
Set the Tolerating and Frustrated performance thresholds for this action type.

Supporting Types

WebAppKeyPerformanceXhrFallbackThresholds
, WebAppKeyPerformanceXhrFallbackThresholdsArgs

FrustratingFallbackThresholdSeconds This property is required. double
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
ToleratedFallbackThresholdSeconds This property is required. double
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
FrustratingFallbackThresholdSeconds This property is required. float64
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
ToleratedFallbackThresholdSeconds This property is required. float64
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustratingFallbackThresholdSeconds This property is required. Double
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
toleratedFallbackThresholdSeconds This property is required. Double
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustratingFallbackThresholdSeconds This property is required. number
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
toleratedFallbackThresholdSeconds This property is required. number
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustrating_fallback_threshold_seconds This property is required. float
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
tolerated_fallback_threshold_seconds This property is required. float
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustratingFallbackThresholdSeconds This property is required. Number
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
toleratedFallbackThresholdSeconds This property is required. Number
If User action duration is below this value, the action is assigned to the Satisfied performance zone.

WebAppKeyPerformanceXhrThresholds
, WebAppKeyPerformanceXhrThresholdsArgs

FrustratingThresholdSeconds This property is required. double
If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
ToleratedThresholdSeconds This property is required. double
If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
FrustratingThresholdSeconds This property is required. float64
If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
ToleratedThresholdSeconds This property is required. float64
If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
frustratingThresholdSeconds This property is required. Double
If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
toleratedThresholdSeconds This property is required. Double
If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
frustratingThresholdSeconds This property is required. number
If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
toleratedThresholdSeconds This property is required. number
If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
frustrating_threshold_seconds This property is required. float
If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
tolerated_threshold_seconds This property is required. float
If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
frustratingThresholdSeconds This property is required. Number
If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
toleratedThresholdSeconds This property is required. Number
If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.