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 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. 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 string
- Possible Values:
RESPONSE_END
,RESPONSE_START
,USER_ACTION_DURATION
,VISUALLY_COMPLETE
- Scope string
- 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 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 String
- 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 string
- 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 str
- Possible Values:
RESPONSE_END
,RESPONSE_START
,USER_ACTION_DURATION
,VISUALLY_COMPLETE
- scope str
- 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 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 String
- The scope of this setting (APPLICATION_METHOD, APPLICATION)
- thresholds 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)
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.
- 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 string
- 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 string
- 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 String
- 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 string
- 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 str
- 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 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
- Frustrating
Fallback doubleThreshold Seconds - If User action duration is above this value, the action is assigned to the Frustrated performance zone.
- Tolerated
Fallback doubleThreshold Seconds - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
- Frustrating
Fallback float64Threshold Seconds - If User action duration is above this value, the action is assigned to the Frustrated performance zone.
- Tolerated
Fallback float64Threshold Seconds - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
- frustrating
Fallback DoubleThreshold Seconds - If User action duration is above this value, the action is assigned to the Frustrated performance zone.
- tolerated
Fallback DoubleThreshold Seconds - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
- frustrating
Fallback numberThreshold Seconds - If User action duration is above this value, the action is assigned to the Frustrated performance zone.
- tolerated
Fallback numberThreshold Seconds - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
- frustrating_
fallback_ floatthreshold_ seconds - If User action duration is above this value, the action is assigned to the Frustrated performance zone.
- tolerated_
fallback_ floatthreshold_ seconds - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
- frustrating
Fallback NumberThreshold Seconds - If User action duration is above this value, the action is assigned to the Frustrated performance zone.
- tolerated
Fallback NumberThreshold Seconds - If User action duration is below this value, the action is assigned to the Satisfied performance zone.
WebAppKeyPerformanceXhrThresholds, WebAppKeyPerformanceXhrThresholdsArgs
- Frustrating
Threshold doubleSeconds - If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
- Tolerated
Threshold doubleSeconds - If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
- Frustrating
Threshold float64Seconds - If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
- Tolerated
Threshold float64Seconds - If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
- frustrating
Threshold DoubleSeconds - If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
- tolerated
Threshold DoubleSeconds - If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
- frustrating
Threshold numberSeconds - If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
- tolerated
Threshold numberSeconds - If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
- frustrating_
threshold_ floatseconds - If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
- tolerated_
threshold_ floatseconds - If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
- frustrating
Threshold NumberSeconds - If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
- tolerated
Threshold NumberSeconds - 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.