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,
},
});
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
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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- Thresholds
This property is required. Pulumiverse.Dynatrace. Inputs. Web App Key Performance Xhr Thresholds - Set the Tolerating and Frustrated performance thresholds for this action type.
- Fallback
Thresholds Pulumiverse.Dynatrace. Inputs. Web App Key Performance Xhr Fallback Thresholds - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- Thresholds
This property is required. WebApp Key Performance Xhr Thresholds Args - Set the Tolerating and Frustrated performance thresholds for this action type.
- Fallback
Thresholds WebApp Key Performance Xhr Fallback Thresholds Args - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds
This property is required. WebApp Key Performance Xhr Thresholds - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback
Thresholds WebApp Key Performance Xhr Fallback Thresholds - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds
This property is required. WebApp Key Performance Xhr Thresholds - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback
Thresholds WebApp Key Performance Xhr Fallback Thresholds - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds
This property is required. WebApp Key Performance Xhr Thresholds Args - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback_
thresholds WebApp Key Performance Xhr Fallback Thresholds Args - 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.
- 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.
- fallback
Thresholds 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.
- Fallback
Thresholds Pulumiverse.Dynatrace. Inputs. Web App Key Performance Xhr Fallback Thresholds - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- Thresholds
Pulumiverse.
Dynatrace. Inputs. Web App Key Performance Xhr Thresholds - Set the Tolerating and Frustrated performance thresholds for this action type.
- Fallback
Thresholds WebApp Key Performance Xhr Fallback Thresholds Args - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- Thresholds
Web
App Key Performance Xhr Thresholds Args - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback
Thresholds WebApp Key Performance Xhr Fallback Thresholds - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds
Web
App Key Performance Xhr Thresholds - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback
Thresholds WebApp Key Performance Xhr Fallback Thresholds - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds
Web
App Key Performance Xhr Thresholds - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback_
thresholds WebApp Key Performance Xhr Fallback Thresholds Args - 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.
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds
Web
App Key Performance Xhr Thresholds Args - Set the Tolerating and Frustrated performance thresholds for this action type.
- fallback
Thresholds 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.
- 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
- Frustrating
Fallback Threshold Seconds This property is required. double - 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. double - 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. float64 - 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. float64 - 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. Double - 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. Double - 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. number - 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. 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.
- frustrating
Fallback Threshold Seconds This property is required. Number - 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. Number - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
WebAppKeyPerformanceXhrThresholds, WebAppKeyPerformanceXhrThresholdsArgs
- Frustrating
Threshold Seconds This property is required. double - 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. double - 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. float64 - 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. float64 - 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. Double - 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. Double - 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. number - 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. 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.
- frustrating
Threshold Seconds This property is required. Number - 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. 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.