1. Packages
  2. Dynatrace
  3. API Docs
  4. WebAppKeyPerformanceXhr
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.WebAppKeyPerformanceXhr

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args WebAppKeyPerformanceXhrArgs
    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 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 string
    The unique name of the resource.
    args WebAppKeyPerformanceXhrArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppKeyPerformanceXhrArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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,
        },
    });
    
    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),
    	},
    })
    
    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());
    
    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,
        })
    
    const webAppKeyPerformanceXhrResource = new dynatrace.WebAppKeyPerformanceXhr("webAppKeyPerformanceXhrResource", {
        kpm: "string",
        scope: "string",
        thresholds: {
            frustratingThresholdSeconds: 0,
            toleratedThresholdSeconds: 0,
        },
        fallbackThresholds: {
            frustratingFallbackThresholdSeconds: 0,
            toleratedFallbackThresholdSeconds: 0,
        },
    });
    
    type: dynatrace:WebAppKeyPerformanceXhr
    properties:
        fallbackThresholds:
            frustratingFallbackThresholdSeconds: 0
            toleratedFallbackThresholdSeconds: 0
        kpm: string
        scope: string
        thresholds:
            frustratingThresholdSeconds: 0
            toleratedThresholdSeconds: 0
    

    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 string
    Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
    Scope 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 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 string
    The scope of this setting (APPLICATION_METHOD, APPLICATION)
    Thresholds 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 String
    Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
    scope 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 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 str
    Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
    scope str
    The scope of this setting (APPLICATION_METHOD, APPLICATION)
    thresholds 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 String
    Possible Values: RESPONSE_END, RESPONSE_START, USER_ACTION_DURATION, VISUALLY_COMPLETE
    scope String
    The scope of this setting (APPLICATION_METHOD, APPLICATION)
    thresholds 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)
    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:
    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 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 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 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 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 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 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 double
    If User action duration is above this value, the action is assigned to the Frustrated performance zone.
    ToleratedFallbackThresholdSeconds double
    If User action duration is below this value, the action is assigned to the Satisfied performance zone.
    FrustratingFallbackThresholdSeconds float64
    If User action duration is above this value, the action is assigned to the Frustrated performance zone.
    ToleratedFallbackThresholdSeconds float64
    If User action duration is below this value, the action is assigned to the Satisfied performance zone.
    frustratingFallbackThresholdSeconds Double
    If User action duration is above this value, the action is assigned to the Frustrated performance zone.
    toleratedFallbackThresholdSeconds Double
    If User action duration is below this value, the action is assigned to the Satisfied performance zone.
    frustratingFallbackThresholdSeconds number
    If User action duration is above this value, the action is assigned to the Frustrated performance zone.
    toleratedFallbackThresholdSeconds number
    If User action duration is below this value, the action is assigned to the Satisfied performance zone.
    frustrating_fallback_threshold_seconds float
    If User action duration is above this value, the action is assigned to the Frustrated performance zone.
    tolerated_fallback_threshold_seconds float
    If User action duration is below this value, the action is assigned to the Satisfied performance zone.
    frustratingFallbackThresholdSeconds Number
    If User action duration is above this value, the action is assigned to the Frustrated performance zone.
    toleratedFallbackThresholdSeconds Number
    If User action duration is below this value, the action is assigned to the Satisfied performance zone.

    WebAppKeyPerformanceXhrThresholds, WebAppKeyPerformanceXhrThresholdsArgs

    FrustratingThresholdSeconds double
    If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
    ToleratedThresholdSeconds double
    If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
    FrustratingThresholdSeconds float64
    If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
    ToleratedThresholdSeconds float64
    If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
    frustratingThresholdSeconds Double
    If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
    toleratedThresholdSeconds Double
    If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
    frustratingThresholdSeconds number
    If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
    toleratedThresholdSeconds number
    If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
    frustrating_threshold_seconds float
    If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
    tolerated_threshold_seconds float
    If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
    frustratingThresholdSeconds Number
    If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
    toleratedThresholdSeconds 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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse