pulumi-newrelic 5.16.0a1698964311__py3-none-any.whl → 5.58.0a1763707205__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-newrelic might be problematic. Click here for more details.

Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +58 -1
  2. pulumi_newrelic/_inputs.py +10772 -2775
  3. pulumi_newrelic/_utilities.py +92 -11
  4. pulumi_newrelic/account_management.py +56 -42
  5. pulumi_newrelic/alert_channel.py +177 -151
  6. pulumi_newrelic/alert_condition.py +313 -301
  7. pulumi_newrelic/alert_muting_rule.py +195 -138
  8. pulumi_newrelic/alert_policy.py +157 -109
  9. pulumi_newrelic/alert_policy_channel.py +95 -81
  10. pulumi_newrelic/api_access_key.py +191 -209
  11. pulumi_newrelic/browser_application.py +161 -153
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +4267 -2710
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
  16. pulumi_newrelic/cloud/aws_integrations.py +518 -1490
  17. pulumi_newrelic/cloud/aws_link_account.py +88 -76
  18. pulumi_newrelic/cloud/azure_integrations.py +681 -587
  19. pulumi_newrelic/cloud/azure_link_account.py +129 -117
  20. pulumi_newrelic/cloud/gcp_integrations.py +436 -408
  21. pulumi_newrelic/cloud/gcp_link_account.py +71 -59
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1678 -2317
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +45 -0
  26. pulumi_newrelic/config/vars.py +22 -17
  27. pulumi_newrelic/data_partition_rule.py +129 -117
  28. pulumi_newrelic/entity_tags.py +153 -31
  29. pulumi_newrelic/events_to_metrics_rule.py +114 -102
  30. pulumi_newrelic/get_account.py +41 -29
  31. pulumi_newrelic/get_alert_channel.py +73 -28
  32. pulumi_newrelic/get_alert_policy.py +83 -34
  33. pulumi_newrelic/get_application.py +51 -39
  34. pulumi_newrelic/get_authentication_domain.py +111 -0
  35. pulumi_newrelic/get_cloud_account.py +43 -31
  36. pulumi_newrelic/get_entity.py +126 -121
  37. pulumi_newrelic/get_group.py +190 -0
  38. pulumi_newrelic/get_key_transaction.py +117 -38
  39. pulumi_newrelic/get_notification_destination.py +86 -36
  40. pulumi_newrelic/get_obfuscation_expression.py +47 -35
  41. pulumi_newrelic/get_service_level_alert_helper.py +237 -137
  42. pulumi_newrelic/get_test_grok_pattern.py +47 -32
  43. pulumi_newrelic/get_user.py +165 -0
  44. pulumi_newrelic/group.py +286 -0
  45. pulumi_newrelic/infra_alert_condition.py +400 -382
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +94 -23
  48. pulumi_newrelic/insights/event.py +56 -48
  49. pulumi_newrelic/insights/outputs.py +51 -18
  50. pulumi_newrelic/key_transaction.py +465 -0
  51. pulumi_newrelic/log_parsing_rule.py +169 -153
  52. pulumi_newrelic/monitor_downtime.py +914 -0
  53. pulumi_newrelic/notification_channel.py +560 -418
  54. pulumi_newrelic/notification_destination.py +379 -124
  55. pulumi_newrelic/nrql_alert_condition.py +945 -513
  56. pulumi_newrelic/nrql_drop_rule.py +121 -129
  57. pulumi_newrelic/obfuscation_expression.py +88 -76
  58. pulumi_newrelic/obfuscation_rule.py +123 -109
  59. pulumi_newrelic/one_dashboard.py +118 -108
  60. pulumi_newrelic/one_dashboard_json.py +77 -67
  61. pulumi_newrelic/one_dashboard_raw.py +214 -202
  62. pulumi_newrelic/outputs.py +5491 -2141
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +520 -90
  66. pulumi_newrelic/plugins/application_settings.py +463 -167
  67. pulumi_newrelic/plugins/outputs.py +337 -75
  68. pulumi_newrelic/plugins/workload.py +387 -151
  69. pulumi_newrelic/provider.py +156 -142
  70. pulumi_newrelic/pulumi-plugin.json +2 -1
  71. pulumi_newrelic/service_level.py +277 -255
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +275 -106
  74. pulumi_newrelic/synthetics/alert_condition.py +174 -160
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
  77. pulumi_newrelic/synthetics/get_private_location.py +51 -39
  78. pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
  79. pulumi_newrelic/synthetics/monitor.py +668 -462
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
  81. pulumi_newrelic/synthetics/outputs.py +102 -85
  82. pulumi_newrelic/synthetics/private_location.py +120 -110
  83. pulumi_newrelic/synthetics/script_monitor.py +623 -375
  84. pulumi_newrelic/synthetics/secure_credential.py +99 -93
  85. pulumi_newrelic/synthetics/step_monitor.py +545 -201
  86. pulumi_newrelic/user.py +366 -0
  87. pulumi_newrelic/workflow.py +348 -312
  88. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
  89. pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
  92. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins as _builtins
5
6
  from .. import _utilities
6
7
  import typing
7
8
  # Export this package's modules as members:
@@ -1,94 +1,165 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = [
13
18
  'EventEventArgs',
19
+ 'EventEventArgsDict',
14
20
  'EventEventAttributeArgs',
21
+ 'EventEventAttributeArgsDict',
15
22
  ]
16
23
 
24
+ MYPY = False
25
+
26
+ if not MYPY:
27
+ class EventEventArgsDict(TypedDict):
28
+ attributes: pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgsDict']]]
29
+ """
30
+ An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.
31
+ """
32
+ type: pulumi.Input[_builtins.str]
33
+ """
34
+ The event's name. Can be a combination of alphanumeric characters, underscores, and colons.
35
+ """
36
+ timestamp: NotRequired[pulumi.Input[_builtins.int]]
37
+ """
38
+ Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.
39
+ """
40
+ elif False:
41
+ EventEventArgsDict: TypeAlias = Mapping[str, Any]
42
+
17
43
  @pulumi.input_type
18
44
  class EventEventArgs:
19
45
  def __init__(__self__, *,
20
46
  attributes: pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgs']]],
21
- type: pulumi.Input[str],
22
- timestamp: Optional[pulumi.Input[int]] = None):
47
+ type: pulumi.Input[_builtins.str],
48
+ timestamp: Optional[pulumi.Input[_builtins.int]] = None):
49
+ """
50
+ :param pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgs']]] attributes: An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.
51
+ :param pulumi.Input[_builtins.str] type: The event's name. Can be a combination of alphanumeric characters, underscores, and colons.
52
+ :param pulumi.Input[_builtins.int] timestamp: Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.
53
+ """
23
54
  pulumi.set(__self__, "attributes", attributes)
24
55
  pulumi.set(__self__, "type", type)
25
56
  if timestamp is not None:
26
57
  pulumi.set(__self__, "timestamp", timestamp)
27
58
 
28
- @property
59
+ @_builtins.property
29
60
  @pulumi.getter
30
61
  def attributes(self) -> pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgs']]]:
62
+ """
63
+ An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.
64
+ """
31
65
  return pulumi.get(self, "attributes")
32
66
 
33
67
  @attributes.setter
34
68
  def attributes(self, value: pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgs']]]):
35
69
  pulumi.set(self, "attributes", value)
36
70
 
37
- @property
71
+ @_builtins.property
38
72
  @pulumi.getter
39
- def type(self) -> pulumi.Input[str]:
73
+ def type(self) -> pulumi.Input[_builtins.str]:
74
+ """
75
+ The event's name. Can be a combination of alphanumeric characters, underscores, and colons.
76
+ """
40
77
  return pulumi.get(self, "type")
41
78
 
42
79
  @type.setter
43
- def type(self, value: pulumi.Input[str]):
80
+ def type(self, value: pulumi.Input[_builtins.str]):
44
81
  pulumi.set(self, "type", value)
45
82
 
46
- @property
83
+ @_builtins.property
47
84
  @pulumi.getter
48
- def timestamp(self) -> Optional[pulumi.Input[int]]:
85
+ def timestamp(self) -> Optional[pulumi.Input[_builtins.int]]:
86
+ """
87
+ Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.
88
+ """
49
89
  return pulumi.get(self, "timestamp")
50
90
 
51
91
  @timestamp.setter
52
- def timestamp(self, value: Optional[pulumi.Input[int]]):
92
+ def timestamp(self, value: Optional[pulumi.Input[_builtins.int]]):
53
93
  pulumi.set(self, "timestamp", value)
54
94
 
55
95
 
96
+ if not MYPY:
97
+ class EventEventAttributeArgsDict(TypedDict):
98
+ key: pulumi.Input[_builtins.str]
99
+ """
100
+ The name of the attribute.
101
+ """
102
+ value: pulumi.Input[_builtins.str]
103
+ """
104
+ The value of the attribute.
105
+ """
106
+ type: NotRequired[pulumi.Input[_builtins.str]]
107
+ """
108
+ Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.
109
+ """
110
+ elif False:
111
+ EventEventAttributeArgsDict: TypeAlias = Mapping[str, Any]
112
+
56
113
  @pulumi.input_type
57
114
  class EventEventAttributeArgs:
58
115
  def __init__(__self__, *,
59
- key: pulumi.Input[str],
60
- value: pulumi.Input[str],
61
- type: Optional[pulumi.Input[str]] = None):
116
+ key: pulumi.Input[_builtins.str],
117
+ value: pulumi.Input[_builtins.str],
118
+ type: Optional[pulumi.Input[_builtins.str]] = None):
119
+ """
120
+ :param pulumi.Input[_builtins.str] key: The name of the attribute.
121
+ :param pulumi.Input[_builtins.str] value: The value of the attribute.
122
+ :param pulumi.Input[_builtins.str] type: Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.
123
+ """
62
124
  pulumi.set(__self__, "key", key)
63
125
  pulumi.set(__self__, "value", value)
64
126
  if type is not None:
65
127
  pulumi.set(__self__, "type", type)
66
128
 
67
- @property
129
+ @_builtins.property
68
130
  @pulumi.getter
69
- def key(self) -> pulumi.Input[str]:
131
+ def key(self) -> pulumi.Input[_builtins.str]:
132
+ """
133
+ The name of the attribute.
134
+ """
70
135
  return pulumi.get(self, "key")
71
136
 
72
137
  @key.setter
73
- def key(self, value: pulumi.Input[str]):
138
+ def key(self, value: pulumi.Input[_builtins.str]):
74
139
  pulumi.set(self, "key", value)
75
140
 
76
- @property
141
+ @_builtins.property
77
142
  @pulumi.getter
78
- def value(self) -> pulumi.Input[str]:
143
+ def value(self) -> pulumi.Input[_builtins.str]:
144
+ """
145
+ The value of the attribute.
146
+ """
79
147
  return pulumi.get(self, "value")
80
148
 
81
149
  @value.setter
82
- def value(self, value: pulumi.Input[str]):
150
+ def value(self, value: pulumi.Input[_builtins.str]):
83
151
  pulumi.set(self, "value", value)
84
152
 
85
- @property
153
+ @_builtins.property
86
154
  @pulumi.getter
87
- def type(self) -> Optional[pulumi.Input[str]]:
155
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
156
+ """
157
+ Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.
158
+ """
88
159
  return pulumi.get(self, "type")
89
160
 
90
161
  @type.setter
91
- def type(self, value: Optional[pulumi.Input[str]]):
162
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
92
163
  pulumi.set(self, "type", value)
93
164
 
94
165
 
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from .. import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -23,7 +28,7 @@ class EventArgs:
23
28
  """
24
29
  pulumi.set(__self__, "events", events)
25
30
 
26
- @property
31
+ @_builtins.property
27
32
  @pulumi.getter
28
33
  def events(self) -> pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]:
29
34
  """
@@ -47,7 +52,7 @@ class _EventState:
47
52
  if events is not None:
48
53
  pulumi.set(__self__, "events", events)
49
54
 
50
- @property
55
+ @_builtins.property
51
56
  @pulumi.getter
52
57
  def events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]]:
53
58
  """
@@ -60,12 +65,13 @@ class _EventState:
60
65
  pulumi.set(self, "events", value)
61
66
 
62
67
 
68
+ @pulumi.type_token("newrelic:insights/event:Event")
63
69
  class Event(pulumi.CustomResource):
64
70
  @overload
65
71
  def __init__(__self__,
66
72
  resource_name: str,
67
73
  opts: Optional[pulumi.ResourceOptions] = None,
68
- events: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]]] = None,
74
+ events: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EventEventArgs', 'EventEventArgsDict']]]]] = None,
69
75
  __props__=None):
70
76
  """
71
77
  Use this resource to create one or more Insights events.
@@ -76,27 +82,28 @@ class Event(pulumi.CustomResource):
76
82
  import pulumi
77
83
  import pulumi_newrelic as newrelic
78
84
 
79
- foo = newrelic.insights.Event("foo", events=[newrelic.insights.EventEventArgs(
80
- attributes=[
81
- newrelic.insights.EventEventAttributeArgs(
82
- key="a_string_attribute",
83
- value="a string",
84
- ),
85
- newrelic.insights.EventEventAttributeArgs(
86
- key="an_integer_attribute",
87
- type="int",
88
- value="42",
89
- ),
90
- newrelic.insights.EventEventAttributeArgs(
91
- key="a_float_attribute",
92
- type="float",
93
- value="101.1",
94
- ),
85
+ foo = newrelic.insights.Event("foo", events=[{
86
+ "type": "MyEvent",
87
+ "timestamp": 1232471100,
88
+ "attributes": [
89
+ {
90
+ "key": "a_string_attribute",
91
+ "value": "a string",
92
+ },
93
+ {
94
+ "key": "an_integer_attribute",
95
+ "value": "42",
96
+ "type": "int",
97
+ },
98
+ {
99
+ "key": "a_float_attribute",
100
+ "value": "101.1",
101
+ "type": "float",
102
+ },
95
103
  ],
96
- timestamp=1232471100,
97
- type="MyEvent",
98
- )])
104
+ }])
99
105
  ```
106
+
100
107
  ## Events
101
108
 
102
109
  The `event` mapping supports the following arguments:
@@ -115,7 +122,7 @@ class Event(pulumi.CustomResource):
115
122
 
116
123
  :param str resource_name: The name of the resource.
117
124
  :param pulumi.ResourceOptions opts: Options for the resource.
118
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
125
+ :param pulumi.Input[Sequence[pulumi.Input[Union['EventEventArgs', 'EventEventArgsDict']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
119
126
  """
120
127
  ...
121
128
  @overload
@@ -132,27 +139,28 @@ class Event(pulumi.CustomResource):
132
139
  import pulumi
133
140
  import pulumi_newrelic as newrelic
134
141
 
135
- foo = newrelic.insights.Event("foo", events=[newrelic.insights.EventEventArgs(
136
- attributes=[
137
- newrelic.insights.EventEventAttributeArgs(
138
- key="a_string_attribute",
139
- value="a string",
140
- ),
141
- newrelic.insights.EventEventAttributeArgs(
142
- key="an_integer_attribute",
143
- type="int",
144
- value="42",
145
- ),
146
- newrelic.insights.EventEventAttributeArgs(
147
- key="a_float_attribute",
148
- type="float",
149
- value="101.1",
150
- ),
142
+ foo = newrelic.insights.Event("foo", events=[{
143
+ "type": "MyEvent",
144
+ "timestamp": 1232471100,
145
+ "attributes": [
146
+ {
147
+ "key": "a_string_attribute",
148
+ "value": "a string",
149
+ },
150
+ {
151
+ "key": "an_integer_attribute",
152
+ "value": "42",
153
+ "type": "int",
154
+ },
155
+ {
156
+ "key": "a_float_attribute",
157
+ "value": "101.1",
158
+ "type": "float",
159
+ },
151
160
  ],
152
- timestamp=1232471100,
153
- type="MyEvent",
154
- )])
161
+ }])
155
162
  ```
163
+
156
164
  ## Events
157
165
 
158
166
  The `event` mapping supports the following arguments:
@@ -184,7 +192,7 @@ class Event(pulumi.CustomResource):
184
192
  def _internal_init(__self__,
185
193
  resource_name: str,
186
194
  opts: Optional[pulumi.ResourceOptions] = None,
187
- events: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]]] = None,
195
+ events: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EventEventArgs', 'EventEventArgsDict']]]]] = None,
188
196
  __props__=None):
189
197
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
190
198
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -207,7 +215,7 @@ class Event(pulumi.CustomResource):
207
215
  def get(resource_name: str,
208
216
  id: pulumi.Input[str],
209
217
  opts: Optional[pulumi.ResourceOptions] = None,
210
- events: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]]] = None) -> 'Event':
218
+ events: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EventEventArgs', 'EventEventArgsDict']]]]] = None) -> 'Event':
211
219
  """
212
220
  Get an existing Event resource's state with the given name, id, and optional extra
213
221
  properties used to qualify the lookup.
@@ -215,7 +223,7 @@ class Event(pulumi.CustomResource):
215
223
  :param str resource_name: The unique name of the resulting resource.
216
224
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
217
225
  :param pulumi.ResourceOptions opts: Options for the resource.
218
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EventEventArgs']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
226
+ :param pulumi.Input[Sequence[pulumi.Input[Union['EventEventArgs', 'EventEventArgsDict']]]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details.
219
227
  """
220
228
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
221
229
 
@@ -224,7 +232,7 @@ class Event(pulumi.CustomResource):
224
232
  __props__.__dict__["events"] = events
225
233
  return Event(resource_name, opts=opts, __props__=__props__)
226
234
 
227
- @property
235
+ @_builtins.property
228
236
  @pulumi.getter
229
237
  def events(self) -> pulumi.Output[Sequence['outputs.EventEvent']]:
230
238
  """
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from .. import _utilities
11
16
  from . import outputs
12
17
 
@@ -19,53 +24,81 @@ __all__ = [
19
24
  class EventEvent(dict):
20
25
  def __init__(__self__, *,
21
26
  attributes: Sequence['outputs.EventEventAttribute'],
22
- type: str,
23
- timestamp: Optional[int] = None):
27
+ type: _builtins.str,
28
+ timestamp: Optional[_builtins.int] = None):
29
+ """
30
+ :param Sequence['EventEventAttributeArgs'] attributes: An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.
31
+ :param _builtins.str type: The event's name. Can be a combination of alphanumeric characters, underscores, and colons.
32
+ :param _builtins.int timestamp: Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.
33
+ """
24
34
  pulumi.set(__self__, "attributes", attributes)
25
35
  pulumi.set(__self__, "type", type)
26
36
  if timestamp is not None:
27
37
  pulumi.set(__self__, "timestamp", timestamp)
28
38
 
29
- @property
39
+ @_builtins.property
30
40
  @pulumi.getter
31
41
  def attributes(self) -> Sequence['outputs.EventEventAttribute']:
42
+ """
43
+ An attribute to include in your event payload. Multiple attribute blocks can be defined for an event.
44
+ """
32
45
  return pulumi.get(self, "attributes")
33
46
 
34
- @property
47
+ @_builtins.property
35
48
  @pulumi.getter
36
- def type(self) -> str:
49
+ def type(self) -> _builtins.str:
50
+ """
51
+ The event's name. Can be a combination of alphanumeric characters, underscores, and colons.
52
+ """
37
53
  return pulumi.get(self, "type")
38
54
 
39
- @property
55
+ @_builtins.property
40
56
  @pulumi.getter
41
- def timestamp(self) -> Optional[int]:
57
+ def timestamp(self) -> Optional[_builtins.int]:
58
+ """
59
+ Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds.
60
+ """
42
61
  return pulumi.get(self, "timestamp")
43
62
 
44
63
 
45
64
  @pulumi.output_type
46
65
  class EventEventAttribute(dict):
47
66
  def __init__(__self__, *,
48
- key: str,
49
- value: str,
50
- type: Optional[str] = None):
67
+ key: _builtins.str,
68
+ value: _builtins.str,
69
+ type: Optional[_builtins.str] = None):
70
+ """
71
+ :param _builtins.str key: The name of the attribute.
72
+ :param _builtins.str value: The value of the attribute.
73
+ :param _builtins.str type: Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.
74
+ """
51
75
  pulumi.set(__self__, "key", key)
52
76
  pulumi.set(__self__, "value", value)
53
77
  if type is not None:
54
78
  pulumi.set(__self__, "type", type)
55
79
 
56
- @property
80
+ @_builtins.property
57
81
  @pulumi.getter
58
- def key(self) -> str:
82
+ def key(self) -> _builtins.str:
83
+ """
84
+ The name of the attribute.
85
+ """
59
86
  return pulumi.get(self, "key")
60
87
 
61
- @property
88
+ @_builtins.property
62
89
  @pulumi.getter
63
- def value(self) -> str:
90
+ def value(self) -> _builtins.str:
91
+ """
92
+ The value of the attribute.
93
+ """
64
94
  return pulumi.get(self, "value")
65
95
 
66
- @property
96
+ @_builtins.property
67
97
  @pulumi.getter
68
- def type(self) -> Optional[str]:
98
+ def type(self) -> Optional[_builtins.str]:
99
+ """
100
+ Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string.
101
+ """
69
102
  return pulumi.get(self, "type")
70
103
 
71
104