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

dynatrace.WebAppKeyPerformanceCustom

Explore with Pulumi AI

Create WebAppKeyPerformanceCustom Resource

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

Constructor syntax

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

@overload
def WebAppKeyPerformanceCustom(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               scope: Optional[str] = None,
                               thresholds: Optional[WebAppKeyPerformanceCustomThresholdsArgs] = None)
func NewWebAppKeyPerformanceCustom(ctx *Context, name string, args WebAppKeyPerformanceCustomArgs, opts ...ResourceOption) (*WebAppKeyPerformanceCustom, error)
public WebAppKeyPerformanceCustom(string name, WebAppKeyPerformanceCustomArgs args, CustomResourceOptions? opts = null)
public WebAppKeyPerformanceCustom(String name, WebAppKeyPerformanceCustomArgs args)
public WebAppKeyPerformanceCustom(String name, WebAppKeyPerformanceCustomArgs args, CustomResourceOptions options)
type: dynatrace:WebAppKeyPerformanceCustom
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. WebAppKeyPerformanceCustomArgs
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. WebAppKeyPerformanceCustomArgs
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. WebAppKeyPerformanceCustomArgs
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. WebAppKeyPerformanceCustomArgs
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. WebAppKeyPerformanceCustomArgs
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 webAppKeyPerformanceCustomResource = new Dynatrace.WebAppKeyPerformanceCustom("webAppKeyPerformanceCustomResource", new()
{
    Scope = "string",
    Thresholds = new Dynatrace.Inputs.WebAppKeyPerformanceCustomThresholdsArgs
    {
        FrustratingThresholdSeconds = 0,
        ToleratedThresholdSeconds = 0,
    },
});
Copy
example, err := dynatrace.NewWebAppKeyPerformanceCustom(ctx, "webAppKeyPerformanceCustomResource", &dynatrace.WebAppKeyPerformanceCustomArgs{
	Scope: pulumi.String("string"),
	Thresholds: &dynatrace.WebAppKeyPerformanceCustomThresholdsArgs{
		FrustratingThresholdSeconds: pulumi.Float64(0),
		ToleratedThresholdSeconds:   pulumi.Float64(0),
	},
})
Copy
var webAppKeyPerformanceCustomResource = new WebAppKeyPerformanceCustom("webAppKeyPerformanceCustomResource", WebAppKeyPerformanceCustomArgs.builder()
    .scope("string")
    .thresholds(WebAppKeyPerformanceCustomThresholdsArgs.builder()
        .frustratingThresholdSeconds(0)
        .toleratedThresholdSeconds(0)
        .build())
    .build());
Copy
web_app_key_performance_custom_resource = dynatrace.WebAppKeyPerformanceCustom("webAppKeyPerformanceCustomResource",
    scope="string",
    thresholds={
        "frustrating_threshold_seconds": 0,
        "tolerated_threshold_seconds": 0,
    })
Copy
const webAppKeyPerformanceCustomResource = new dynatrace.WebAppKeyPerformanceCustom("webAppKeyPerformanceCustomResource", {
    scope: "string",
    thresholds: {
        frustratingThresholdSeconds: 0,
        toleratedThresholdSeconds: 0,
    },
});
Copy
type: dynatrace:WebAppKeyPerformanceCustom
properties:
    scope: string
    thresholds:
        frustratingThresholdSeconds: 0
        toleratedThresholdSeconds: 0
Copy

WebAppKeyPerformanceCustom 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 WebAppKeyPerformanceCustom resource accepts the following input properties:

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.WebAppKeyPerformanceCustomThresholds
User action duration thresholds
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. WebAppKeyPerformanceCustomThresholdsArgs
User action duration thresholds
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. WebAppKeyPerformanceCustomThresholds
User action duration thresholds
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. WebAppKeyPerformanceCustomThresholds
User action duration thresholds
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. WebAppKeyPerformanceCustomThresholdsArgs
User action duration thresholds
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
User action duration thresholds

Outputs

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

Get an existing WebAppKeyPerformanceCustom 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?: WebAppKeyPerformanceCustomState, opts?: CustomResourceOptions): WebAppKeyPerformanceCustom
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        scope: Optional[str] = None,
        thresholds: Optional[WebAppKeyPerformanceCustomThresholdsArgs] = None) -> WebAppKeyPerformanceCustom
func GetWebAppKeyPerformanceCustom(ctx *Context, name string, id IDInput, state *WebAppKeyPerformanceCustomState, opts ...ResourceOption) (*WebAppKeyPerformanceCustom, error)
public static WebAppKeyPerformanceCustom Get(string name, Input<string> id, WebAppKeyPerformanceCustomState? state, CustomResourceOptions? opts = null)
public static WebAppKeyPerformanceCustom get(String name, Output<String> id, WebAppKeyPerformanceCustomState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:WebAppKeyPerformanceCustom    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:
Scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
Thresholds Pulumiverse.Dynatrace.Inputs.WebAppKeyPerformanceCustomThresholds
User action duration thresholds
Scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
Thresholds WebAppKeyPerformanceCustomThresholdsArgs
User action duration thresholds
scope Changes to this property will trigger replacement. String
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds WebAppKeyPerformanceCustomThresholds
User action duration thresholds
scope Changes to this property will trigger replacement. string
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds WebAppKeyPerformanceCustomThresholds
User action duration thresholds
scope Changes to this property will trigger replacement. str
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds WebAppKeyPerformanceCustomThresholdsArgs
User action duration thresholds
scope Changes to this property will trigger replacement. String
The scope of this setting (APPLICATION_METHOD, APPLICATION)
thresholds Property Map
User action duration thresholds

Supporting Types

WebAppKeyPerformanceCustomThresholds
, WebAppKeyPerformanceCustomThresholdsArgs

FrustratingThresholdSeconds This property is required. double
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
ToleratedThresholdSeconds This property is required. double
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
FrustratingThresholdSeconds This property is required. float64
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
ToleratedThresholdSeconds This property is required. float64
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustratingThresholdSeconds This property is required. Double
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
toleratedThresholdSeconds This property is required. Double
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustratingThresholdSeconds This property is required. number
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
toleratedThresholdSeconds This property is required. number
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustrating_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_threshold_seconds This property is required. float
If User action duration is below this value, the action is assigned to the Satisfied performance zone.
frustratingThresholdSeconds This property is required. Number
If User action duration is above this value, the action is assigned to the Frustrated performance zone.
toleratedThresholdSeconds This property is required. Number
If User action duration 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.