pulumi-newrelic 5.21.0a1710157101__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +11 -6
  5. pulumi_newrelic/alert_channel.py +116 -127
  6. pulumi_newrelic/alert_condition.py +116 -129
  7. pulumi_newrelic/alert_muting_rule.py +128 -76
  8. pulumi_newrelic/alert_policy.py +78 -75
  9. pulumi_newrelic/alert_policy_channel.py +77 -68
  10. pulumi_newrelic/api_access_key.py +45 -28
  11. pulumi_newrelic/browser_application.py +77 -78
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
  15. pulumi_newrelic/cloud/aws_integrations.py +298 -1326
  16. pulumi_newrelic/cloud/aws_link_account.py +23 -20
  17. pulumi_newrelic/cloud/azure_integrations.py +521 -483
  18. pulumi_newrelic/cloud/azure_link_account.py +34 -31
  19. pulumi_newrelic/cloud/gcp_integrations.py +341 -322
  20. pulumi_newrelic/cloud/gcp_link_account.py +23 -20
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +19 -18
  25. pulumi_newrelic/entity_tags.py +32 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +23 -20
  27. pulumi_newrelic/get_account.py +24 -16
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -31
  31. pulumi_newrelic/get_authentication_domain.py +17 -13
  32. pulumi_newrelic/get_cloud_account.py +26 -18
  33. pulumi_newrelic/get_entity.py +90 -147
  34. pulumi_newrelic/get_group.py +58 -13
  35. pulumi_newrelic/get_key_transaction.py +109 -34
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -28
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -117
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -18
  40. pulumi_newrelic/get_user.py +17 -9
  41. pulumi_newrelic/group.py +5 -146
  42. pulumi_newrelic/infra_alert_condition.py +160 -167
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +48 -47
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +25 -24
  48. pulumi_newrelic/monitor_downtime.py +211 -225
  49. pulumi_newrelic/notification_channel.py +381 -366
  50. pulumi_newrelic/notification_destination.py +192 -54
  51. pulumi_newrelic/nrql_alert_condition.py +345 -262
  52. pulumi_newrelic/nrql_drop_rule.py +31 -30
  53. pulumi_newrelic/obfuscation_expression.py +23 -20
  54. pulumi_newrelic/obfuscation_rule.py +38 -33
  55. pulumi_newrelic/one_dashboard.py +29 -24
  56. pulumi_newrelic/one_dashboard_json.py +19 -14
  57. pulumi_newrelic/one_dashboard_raw.py +110 -105
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +25 -36
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +215 -92
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +185 -186
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +87 -98
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -30
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
  72. pulumi_newrelic/synthetics/monitor.py +348 -193
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +25 -20
  76. pulumi_newrelic/synthetics/script_monitor.py +317 -182
  77. pulumi_newrelic/synthetics/secure_credential.py +23 -22
  78. pulumi_newrelic/synthetics/step_monitor.py +405 -100
  79. pulumi_newrelic/user.py +13 -10
  80. pulumi_newrelic/workflow.py +209 -196
  81. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
  85. {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,464 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = ['KeyTransactionArgs', 'KeyTransaction']
18
+
19
+ @pulumi.input_type
20
+ class KeyTransactionArgs:
21
+ def __init__(__self__, *,
22
+ apdex_index: pulumi.Input[float],
23
+ application_guid: pulumi.Input[str],
24
+ browser_apdex_target: pulumi.Input[float],
25
+ metric_name: pulumi.Input[str],
26
+ name: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a KeyTransaction resource.
29
+ :param pulumi.Input[float] apdex_index: A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
30
+ :param pulumi.Input[str] application_guid: The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
31
+ :param pulumi.Input[float] browser_apdex_target: A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
32
+
33
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
34
+ :param pulumi.Input[str] metric_name: The name of the underlying metric monitored by the key transaction to be created.
35
+ :param pulumi.Input[str] name: The name of the key transaction.
36
+ """
37
+ pulumi.set(__self__, "apdex_index", apdex_index)
38
+ pulumi.set(__self__, "application_guid", application_guid)
39
+ pulumi.set(__self__, "browser_apdex_target", browser_apdex_target)
40
+ pulumi.set(__self__, "metric_name", metric_name)
41
+ if name is not None:
42
+ pulumi.set(__self__, "name", name)
43
+
44
+ @property
45
+ @pulumi.getter(name="apdexIndex")
46
+ def apdex_index(self) -> pulumi.Input[float]:
47
+ """
48
+ A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
49
+ """
50
+ return pulumi.get(self, "apdex_index")
51
+
52
+ @apdex_index.setter
53
+ def apdex_index(self, value: pulumi.Input[float]):
54
+ pulumi.set(self, "apdex_index", value)
55
+
56
+ @property
57
+ @pulumi.getter(name="applicationGuid")
58
+ def application_guid(self) -> pulumi.Input[str]:
59
+ """
60
+ The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
61
+ """
62
+ return pulumi.get(self, "application_guid")
63
+
64
+ @application_guid.setter
65
+ def application_guid(self, value: pulumi.Input[str]):
66
+ pulumi.set(self, "application_guid", value)
67
+
68
+ @property
69
+ @pulumi.getter(name="browserApdexTarget")
70
+ def browser_apdex_target(self) -> pulumi.Input[float]:
71
+ """
72
+ A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
73
+
74
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
75
+ """
76
+ return pulumi.get(self, "browser_apdex_target")
77
+
78
+ @browser_apdex_target.setter
79
+ def browser_apdex_target(self, value: pulumi.Input[float]):
80
+ pulumi.set(self, "browser_apdex_target", value)
81
+
82
+ @property
83
+ @pulumi.getter(name="metricName")
84
+ def metric_name(self) -> pulumi.Input[str]:
85
+ """
86
+ The name of the underlying metric monitored by the key transaction to be created.
87
+ """
88
+ return pulumi.get(self, "metric_name")
89
+
90
+ @metric_name.setter
91
+ def metric_name(self, value: pulumi.Input[str]):
92
+ pulumi.set(self, "metric_name", value)
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def name(self) -> Optional[pulumi.Input[str]]:
97
+ """
98
+ The name of the key transaction.
99
+ """
100
+ return pulumi.get(self, "name")
101
+
102
+ @name.setter
103
+ def name(self, value: Optional[pulumi.Input[str]]):
104
+ pulumi.set(self, "name", value)
105
+
106
+
107
+ @pulumi.input_type
108
+ class _KeyTransactionState:
109
+ def __init__(__self__, *,
110
+ apdex_index: Optional[pulumi.Input[float]] = None,
111
+ application_guid: Optional[pulumi.Input[str]] = None,
112
+ browser_apdex_target: Optional[pulumi.Input[float]] = None,
113
+ domain: Optional[pulumi.Input[str]] = None,
114
+ metric_name: Optional[pulumi.Input[str]] = None,
115
+ name: Optional[pulumi.Input[str]] = None,
116
+ type: Optional[pulumi.Input[str]] = None):
117
+ """
118
+ Input properties used for looking up and filtering KeyTransaction resources.
119
+ :param pulumi.Input[float] apdex_index: A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
120
+ :param pulumi.Input[str] application_guid: The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
121
+ :param pulumi.Input[float] browser_apdex_target: A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
122
+
123
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
124
+ :param pulumi.Input[str] domain: The domain of the entity monitored by the key transaction.
125
+ :param pulumi.Input[str] metric_name: The name of the underlying metric monitored by the key transaction to be created.
126
+ :param pulumi.Input[str] name: The name of the key transaction.
127
+ :param pulumi.Input[str] type: The type of the entity monitored by the key transaction.
128
+ """
129
+ if apdex_index is not None:
130
+ pulumi.set(__self__, "apdex_index", apdex_index)
131
+ if application_guid is not None:
132
+ pulumi.set(__self__, "application_guid", application_guid)
133
+ if browser_apdex_target is not None:
134
+ pulumi.set(__self__, "browser_apdex_target", browser_apdex_target)
135
+ if domain is not None:
136
+ pulumi.set(__self__, "domain", domain)
137
+ if metric_name is not None:
138
+ pulumi.set(__self__, "metric_name", metric_name)
139
+ if name is not None:
140
+ pulumi.set(__self__, "name", name)
141
+ if type is not None:
142
+ pulumi.set(__self__, "type", type)
143
+
144
+ @property
145
+ @pulumi.getter(name="apdexIndex")
146
+ def apdex_index(self) -> Optional[pulumi.Input[float]]:
147
+ """
148
+ A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
149
+ """
150
+ return pulumi.get(self, "apdex_index")
151
+
152
+ @apdex_index.setter
153
+ def apdex_index(self, value: Optional[pulumi.Input[float]]):
154
+ pulumi.set(self, "apdex_index", value)
155
+
156
+ @property
157
+ @pulumi.getter(name="applicationGuid")
158
+ def application_guid(self) -> Optional[pulumi.Input[str]]:
159
+ """
160
+ The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
161
+ """
162
+ return pulumi.get(self, "application_guid")
163
+
164
+ @application_guid.setter
165
+ def application_guid(self, value: Optional[pulumi.Input[str]]):
166
+ pulumi.set(self, "application_guid", value)
167
+
168
+ @property
169
+ @pulumi.getter(name="browserApdexTarget")
170
+ def browser_apdex_target(self) -> Optional[pulumi.Input[float]]:
171
+ """
172
+ A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
173
+
174
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
175
+ """
176
+ return pulumi.get(self, "browser_apdex_target")
177
+
178
+ @browser_apdex_target.setter
179
+ def browser_apdex_target(self, value: Optional[pulumi.Input[float]]):
180
+ pulumi.set(self, "browser_apdex_target", value)
181
+
182
+ @property
183
+ @pulumi.getter
184
+ def domain(self) -> Optional[pulumi.Input[str]]:
185
+ """
186
+ The domain of the entity monitored by the key transaction.
187
+ """
188
+ return pulumi.get(self, "domain")
189
+
190
+ @domain.setter
191
+ def domain(self, value: Optional[pulumi.Input[str]]):
192
+ pulumi.set(self, "domain", value)
193
+
194
+ @property
195
+ @pulumi.getter(name="metricName")
196
+ def metric_name(self) -> Optional[pulumi.Input[str]]:
197
+ """
198
+ The name of the underlying metric monitored by the key transaction to be created.
199
+ """
200
+ return pulumi.get(self, "metric_name")
201
+
202
+ @metric_name.setter
203
+ def metric_name(self, value: Optional[pulumi.Input[str]]):
204
+ pulumi.set(self, "metric_name", value)
205
+
206
+ @property
207
+ @pulumi.getter
208
+ def name(self) -> Optional[pulumi.Input[str]]:
209
+ """
210
+ The name of the key transaction.
211
+ """
212
+ return pulumi.get(self, "name")
213
+
214
+ @name.setter
215
+ def name(self, value: Optional[pulumi.Input[str]]):
216
+ pulumi.set(self, "name", value)
217
+
218
+ @property
219
+ @pulumi.getter
220
+ def type(self) -> Optional[pulumi.Input[str]]:
221
+ """
222
+ The type of the entity monitored by the key transaction.
223
+ """
224
+ return pulumi.get(self, "type")
225
+
226
+ @type.setter
227
+ def type(self, value: Optional[pulumi.Input[str]]):
228
+ pulumi.set(self, "type", value)
229
+
230
+
231
+ class KeyTransaction(pulumi.CustomResource):
232
+ @overload
233
+ def __init__(__self__,
234
+ resource_name: str,
235
+ opts: Optional[pulumi.ResourceOptions] = None,
236
+ apdex_index: Optional[pulumi.Input[float]] = None,
237
+ application_guid: Optional[pulumi.Input[str]] = None,
238
+ browser_apdex_target: Optional[pulumi.Input[float]] = None,
239
+ metric_name: Optional[pulumi.Input[str]] = None,
240
+ name: Optional[pulumi.Input[str]] = None,
241
+ __props__=None):
242
+ """
243
+ Use this resource to create a new Key Transaction in New Relic.
244
+
245
+ > **NOTE:** For more information on Key Transactions, head over to [this page](https://docs.newrelic.com/docs/apm/transactions/key-transactions/introduction-key-transactions/) in New Relic's docs.
246
+
247
+ ## Example Usage
248
+
249
+ ```python
250
+ import pulumi
251
+ import pulumi_newrelic as newrelic
252
+
253
+ foo = newrelic.KeyTransaction("foo",
254
+ application_guid="MzgfNjUyNnxBUE19QVBQTElDQVHJT068NTUfNDT4MjUy",
255
+ apdex_index=0.5,
256
+ browser_apdex_target=0.5,
257
+ metric_name="WebTransaction/Function/__main__:foo_bar",
258
+ name="Sample Key Transaction")
259
+ ```
260
+
261
+ ## Import
262
+
263
+ A Key Transaction in New Relic may be imported into Terraform using its GUID specified in the `<id>` field, in the following command.
264
+
265
+ bash
266
+
267
+ ```sh
268
+ $ pulumi import newrelic:index/keyTransaction:KeyTransaction foo <id>
269
+ ```
270
+
271
+ :param str resource_name: The name of the resource.
272
+ :param pulumi.ResourceOptions opts: Options for the resource.
273
+ :param pulumi.Input[float] apdex_index: A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
274
+ :param pulumi.Input[str] application_guid: The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
275
+ :param pulumi.Input[float] browser_apdex_target: A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
276
+
277
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
278
+ :param pulumi.Input[str] metric_name: The name of the underlying metric monitored by the key transaction to be created.
279
+ :param pulumi.Input[str] name: The name of the key transaction.
280
+ """
281
+ ...
282
+ @overload
283
+ def __init__(__self__,
284
+ resource_name: str,
285
+ args: KeyTransactionArgs,
286
+ opts: Optional[pulumi.ResourceOptions] = None):
287
+ """
288
+ Use this resource to create a new Key Transaction in New Relic.
289
+
290
+ > **NOTE:** For more information on Key Transactions, head over to [this page](https://docs.newrelic.com/docs/apm/transactions/key-transactions/introduction-key-transactions/) in New Relic's docs.
291
+
292
+ ## Example Usage
293
+
294
+ ```python
295
+ import pulumi
296
+ import pulumi_newrelic as newrelic
297
+
298
+ foo = newrelic.KeyTransaction("foo",
299
+ application_guid="MzgfNjUyNnxBUE19QVBQTElDQVHJT068NTUfNDT4MjUy",
300
+ apdex_index=0.5,
301
+ browser_apdex_target=0.5,
302
+ metric_name="WebTransaction/Function/__main__:foo_bar",
303
+ name="Sample Key Transaction")
304
+ ```
305
+
306
+ ## Import
307
+
308
+ A Key Transaction in New Relic may be imported into Terraform using its GUID specified in the `<id>` field, in the following command.
309
+
310
+ bash
311
+
312
+ ```sh
313
+ $ pulumi import newrelic:index/keyTransaction:KeyTransaction foo <id>
314
+ ```
315
+
316
+ :param str resource_name: The name of the resource.
317
+ :param KeyTransactionArgs args: The arguments to use to populate this resource's properties.
318
+ :param pulumi.ResourceOptions opts: Options for the resource.
319
+ """
320
+ ...
321
+ def __init__(__self__, resource_name: str, *args, **kwargs):
322
+ resource_args, opts = _utilities.get_resource_args_opts(KeyTransactionArgs, pulumi.ResourceOptions, *args, **kwargs)
323
+ if resource_args is not None:
324
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
325
+ else:
326
+ __self__._internal_init(resource_name, *args, **kwargs)
327
+
328
+ def _internal_init(__self__,
329
+ resource_name: str,
330
+ opts: Optional[pulumi.ResourceOptions] = None,
331
+ apdex_index: Optional[pulumi.Input[float]] = None,
332
+ application_guid: Optional[pulumi.Input[str]] = None,
333
+ browser_apdex_target: Optional[pulumi.Input[float]] = None,
334
+ metric_name: Optional[pulumi.Input[str]] = None,
335
+ name: Optional[pulumi.Input[str]] = None,
336
+ __props__=None):
337
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
338
+ if not isinstance(opts, pulumi.ResourceOptions):
339
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
340
+ if opts.id is None:
341
+ if __props__ is not None:
342
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
343
+ __props__ = KeyTransactionArgs.__new__(KeyTransactionArgs)
344
+
345
+ if apdex_index is None and not opts.urn:
346
+ raise TypeError("Missing required property 'apdex_index'")
347
+ __props__.__dict__["apdex_index"] = apdex_index
348
+ if application_guid is None and not opts.urn:
349
+ raise TypeError("Missing required property 'application_guid'")
350
+ __props__.__dict__["application_guid"] = application_guid
351
+ if browser_apdex_target is None and not opts.urn:
352
+ raise TypeError("Missing required property 'browser_apdex_target'")
353
+ __props__.__dict__["browser_apdex_target"] = browser_apdex_target
354
+ if metric_name is None and not opts.urn:
355
+ raise TypeError("Missing required property 'metric_name'")
356
+ __props__.__dict__["metric_name"] = metric_name
357
+ __props__.__dict__["name"] = name
358
+ __props__.__dict__["domain"] = None
359
+ __props__.__dict__["type"] = None
360
+ super(KeyTransaction, __self__).__init__(
361
+ 'newrelic:index/keyTransaction:KeyTransaction',
362
+ resource_name,
363
+ __props__,
364
+ opts)
365
+
366
+ @staticmethod
367
+ def get(resource_name: str,
368
+ id: pulumi.Input[str],
369
+ opts: Optional[pulumi.ResourceOptions] = None,
370
+ apdex_index: Optional[pulumi.Input[float]] = None,
371
+ application_guid: Optional[pulumi.Input[str]] = None,
372
+ browser_apdex_target: Optional[pulumi.Input[float]] = None,
373
+ domain: Optional[pulumi.Input[str]] = None,
374
+ metric_name: Optional[pulumi.Input[str]] = None,
375
+ name: Optional[pulumi.Input[str]] = None,
376
+ type: Optional[pulumi.Input[str]] = None) -> 'KeyTransaction':
377
+ """
378
+ Get an existing KeyTransaction resource's state with the given name, id, and optional extra
379
+ properties used to qualify the lookup.
380
+
381
+ :param str resource_name: The unique name of the resulting resource.
382
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
383
+ :param pulumi.ResourceOptions opts: Options for the resource.
384
+ :param pulumi.Input[float] apdex_index: A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
385
+ :param pulumi.Input[str] application_guid: The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
386
+ :param pulumi.Input[float] browser_apdex_target: A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
387
+
388
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
389
+ :param pulumi.Input[str] domain: The domain of the entity monitored by the key transaction.
390
+ :param pulumi.Input[str] metric_name: The name of the underlying metric monitored by the key transaction to be created.
391
+ :param pulumi.Input[str] name: The name of the key transaction.
392
+ :param pulumi.Input[str] type: The type of the entity monitored by the key transaction.
393
+ """
394
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
395
+
396
+ __props__ = _KeyTransactionState.__new__(_KeyTransactionState)
397
+
398
+ __props__.__dict__["apdex_index"] = apdex_index
399
+ __props__.__dict__["application_guid"] = application_guid
400
+ __props__.__dict__["browser_apdex_target"] = browser_apdex_target
401
+ __props__.__dict__["domain"] = domain
402
+ __props__.__dict__["metric_name"] = metric_name
403
+ __props__.__dict__["name"] = name
404
+ __props__.__dict__["type"] = type
405
+ return KeyTransaction(resource_name, opts=opts, __props__=__props__)
406
+
407
+ @property
408
+ @pulumi.getter(name="apdexIndex")
409
+ def apdex_index(self) -> pulumi.Output[float]:
410
+ """
411
+ A decimal value, measuring user satisfaction with response times, ranging from 0 (frustrated) to 1 (satisfied).
412
+ """
413
+ return pulumi.get(self, "apdex_index")
414
+
415
+ @property
416
+ @pulumi.getter(name="applicationGuid")
417
+ def application_guid(self) -> pulumi.Output[str]:
418
+ """
419
+ The GUID of the APM Application comprising transactions, of which one would be made a key transaction.
420
+ """
421
+ return pulumi.get(self, "application_guid")
422
+
423
+ @property
424
+ @pulumi.getter(name="browserApdexTarget")
425
+ def browser_apdex_target(self) -> pulumi.Output[float]:
426
+ """
427
+ A decimal value representing the response time threshold for satisfactory experience (e.g., 0.5 seconds).
428
+
429
+ > **NOTE:** It may be noted that the `metric_name` and `application_guid` of a Key Transaction _cannot_ be updated in a key transaction that has already been created; since this is not supported. As a consequence, altering the values of `application_guid` and/or `metric_name` of a `KeyTransaction` resource created (to try updating these values) would result in `pulumi preview` prompting a forced destruction and re-creation of the resource.
430
+ """
431
+ return pulumi.get(self, "browser_apdex_target")
432
+
433
+ @property
434
+ @pulumi.getter
435
+ def domain(self) -> pulumi.Output[str]:
436
+ """
437
+ The domain of the entity monitored by the key transaction.
438
+ """
439
+ return pulumi.get(self, "domain")
440
+
441
+ @property
442
+ @pulumi.getter(name="metricName")
443
+ def metric_name(self) -> pulumi.Output[str]:
444
+ """
445
+ The name of the underlying metric monitored by the key transaction to be created.
446
+ """
447
+ return pulumi.get(self, "metric_name")
448
+
449
+ @property
450
+ @pulumi.getter
451
+ def name(self) -> pulumi.Output[str]:
452
+ """
453
+ The name of the key transaction.
454
+ """
455
+ return pulumi.get(self, "name")
456
+
457
+ @property
458
+ @pulumi.getter
459
+ def type(self) -> pulumi.Output[str]:
460
+ """
461
+ The type of the entity monitored by the key transaction.
462
+ """
463
+ return pulumi.get(self, "type")
464
+