pulumi-signalfx 7.2.0a1709367777__py3-none-any.whl → 7.6.0a1736835428__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.
Files changed (54) hide show
  1. pulumi_signalfx/__init__.py +9 -0
  2. pulumi_signalfx/_inputs.py +1976 -339
  3. pulumi_signalfx/_utilities.py +41 -5
  4. pulumi_signalfx/alert_muting_rule.py +110 -86
  5. pulumi_signalfx/aws/_inputs.py +85 -16
  6. pulumi_signalfx/aws/external_integration.py +20 -275
  7. pulumi_signalfx/aws/integration.py +222 -367
  8. pulumi_signalfx/aws/outputs.py +21 -16
  9. pulumi_signalfx/aws/token_integration.py +46 -65
  10. pulumi_signalfx/azure/_inputs.py +41 -4
  11. pulumi_signalfx/azure/integration.py +144 -259
  12. pulumi_signalfx/azure/outputs.py +15 -4
  13. pulumi_signalfx/config/__init__.pyi +22 -0
  14. pulumi_signalfx/config/vars.py +28 -0
  15. pulumi_signalfx/dashboard.py +171 -186
  16. pulumi_signalfx/dashboard_group.py +131 -198
  17. pulumi_signalfx/data_link.py +76 -141
  18. pulumi_signalfx/detector.py +264 -369
  19. pulumi_signalfx/event_feed_chart.py +51 -82
  20. pulumi_signalfx/gcp/_inputs.py +51 -0
  21. pulumi_signalfx/gcp/integration.py +224 -192
  22. pulumi_signalfx/gcp/outputs.py +44 -0
  23. pulumi_signalfx/get_dimension_values.py +47 -24
  24. pulumi_signalfx/heatmap_chart.py +165 -228
  25. pulumi_signalfx/jira/integration.py +70 -119
  26. pulumi_signalfx/list_chart.py +219 -315
  27. pulumi_signalfx/log/_inputs.py +33 -2
  28. pulumi_signalfx/log/outputs.py +7 -2
  29. pulumi_signalfx/log/timeline.py +64 -99
  30. pulumi_signalfx/log/view.py +134 -173
  31. pulumi_signalfx/metric_ruleset.py +217 -70
  32. pulumi_signalfx/opsgenie/integration.py +41 -60
  33. pulumi_signalfx/org_token.py +97 -128
  34. pulumi_signalfx/outputs.py +661 -339
  35. pulumi_signalfx/pagerduty/get_integration.py +22 -21
  36. pulumi_signalfx/pagerduty/integration.py +34 -49
  37. pulumi_signalfx/provider.py +99 -0
  38. pulumi_signalfx/pulumi-plugin.json +2 -1
  39. pulumi_signalfx/servicenow/integration.py +52 -107
  40. pulumi_signalfx/single_value_chart.py +113 -178
  41. pulumi_signalfx/slack/integration.py +30 -47
  42. pulumi_signalfx/slo.py +99 -197
  43. pulumi_signalfx/slo_chart.py +197 -0
  44. pulumi_signalfx/table_chart.py +50 -75
  45. pulumi_signalfx/team.py +74 -109
  46. pulumi_signalfx/text_chart.py +64 -89
  47. pulumi_signalfx/time_chart.py +271 -400
  48. pulumi_signalfx/victorops/integration.py +30 -47
  49. pulumi_signalfx/webhook_integration.py +154 -75
  50. {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/METADATA +7 -6
  51. pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
  52. {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/WHEEL +1 -1
  53. pulumi_signalfx-7.2.0a1709367777.dist-info/RECORD +0 -64
  54. {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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__ = ['IntegrationArgs', 'Integration']
@@ -19,9 +24,9 @@ class IntegrationArgs:
19
24
  post_url: Optional[pulumi.Input[str]] = None):
20
25
  """
21
26
  The set of arguments for constructing a Integration resource.
22
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
23
- :param pulumi.Input[str] name: Name of the integration
24
- :param pulumi.Input[str] post_url: Opsgenie API URL for integration
27
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
28
+ :param pulumi.Input[str] name: Name of the integration.
29
+ :param pulumi.Input[str] post_url: Splunk On-Call REST API URL.
25
30
  """
26
31
  pulumi.set(__self__, "enabled", enabled)
27
32
  if name is not None:
@@ -33,7 +38,7 @@ class IntegrationArgs:
33
38
  @pulumi.getter
34
39
  def enabled(self) -> pulumi.Input[bool]:
35
40
  """
36
- Whether the integration is enabled or not
41
+ Whether the integration is enabled.
37
42
  """
38
43
  return pulumi.get(self, "enabled")
39
44
 
@@ -45,7 +50,7 @@ class IntegrationArgs:
45
50
  @pulumi.getter
46
51
  def name(self) -> Optional[pulumi.Input[str]]:
47
52
  """
48
- Name of the integration
53
+ Name of the integration.
49
54
  """
50
55
  return pulumi.get(self, "name")
51
56
 
@@ -57,7 +62,7 @@ class IntegrationArgs:
57
62
  @pulumi.getter(name="postUrl")
58
63
  def post_url(self) -> Optional[pulumi.Input[str]]:
59
64
  """
60
- Opsgenie API URL for integration
65
+ Splunk On-Call REST API URL.
61
66
  """
62
67
  return pulumi.get(self, "post_url")
63
68
 
@@ -74,9 +79,9 @@ class _IntegrationState:
74
79
  post_url: Optional[pulumi.Input[str]] = None):
75
80
  """
76
81
  Input properties used for looking up and filtering Integration resources.
77
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
78
- :param pulumi.Input[str] name: Name of the integration
79
- :param pulumi.Input[str] post_url: Opsgenie API URL for integration
82
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
83
+ :param pulumi.Input[str] name: Name of the integration.
84
+ :param pulumi.Input[str] post_url: Splunk On-Call REST API URL.
80
85
  """
81
86
  if enabled is not None:
82
87
  pulumi.set(__self__, "enabled", enabled)
@@ -89,7 +94,7 @@ class _IntegrationState:
89
94
  @pulumi.getter
90
95
  def enabled(self) -> Optional[pulumi.Input[bool]]:
91
96
  """
92
- Whether the integration is enabled or not
97
+ Whether the integration is enabled.
93
98
  """
94
99
  return pulumi.get(self, "enabled")
95
100
 
@@ -101,7 +106,7 @@ class _IntegrationState:
101
106
  @pulumi.getter
102
107
  def name(self) -> Optional[pulumi.Input[str]]:
103
108
  """
104
- Name of the integration
109
+ Name of the integration.
105
110
  """
106
111
  return pulumi.get(self, "name")
107
112
 
@@ -113,7 +118,7 @@ class _IntegrationState:
113
118
  @pulumi.getter(name="postUrl")
114
119
  def post_url(self) -> Optional[pulumi.Input[str]]:
115
120
  """
116
- Opsgenie API URL for integration
121
+ Splunk On-Call REST API URL.
117
122
  """
118
123
  return pulumi.get(self, "post_url")
119
124
 
@@ -142,28 +147,17 @@ class Integration(pulumi.CustomResource):
142
147
  import pulumi
143
148
  import pulumi_signalfx as signalfx
144
149
 
145
- vioctor_ops_myteam = signalfx.victorops.Integration("vioctorOpsMyteam",
150
+ vioctor_ops_myteam = signalfx.victorops.Integration("vioctor_ops_myteam",
151
+ name="Splunk On-Call - My Team",
146
152
  enabled=True,
147
153
  post_url="https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key")
148
154
  ```
149
155
 
150
- ## Arguments
151
-
152
- * `name` - (Required) Name of the integration.
153
- * `enabled` - (Required) Whether the integration is enabled.
154
- * `post_url` - (Optional) Splunk On-Call REST API URL.
155
-
156
- ## Attributes
157
-
158
- In a addition to all arguments above, the following attributes are exported:
159
-
160
- * `id` - The ID of the integration.
161
-
162
156
  :param str resource_name: The name of the resource.
163
157
  :param pulumi.ResourceOptions opts: Options for the resource.
164
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
165
- :param pulumi.Input[str] name: Name of the integration
166
- :param pulumi.Input[str] post_url: Opsgenie API URL for integration
158
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
159
+ :param pulumi.Input[str] name: Name of the integration.
160
+ :param pulumi.Input[str] post_url: Splunk On-Call REST API URL.
167
161
  """
168
162
  ...
169
163
  @overload
@@ -182,23 +176,12 @@ class Integration(pulumi.CustomResource):
182
176
  import pulumi
183
177
  import pulumi_signalfx as signalfx
184
178
 
185
- vioctor_ops_myteam = signalfx.victorops.Integration("vioctorOpsMyteam",
179
+ vioctor_ops_myteam = signalfx.victorops.Integration("vioctor_ops_myteam",
180
+ name="Splunk On-Call - My Team",
186
181
  enabled=True,
187
182
  post_url="https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key")
188
183
  ```
189
184
 
190
- ## Arguments
191
-
192
- * `name` - (Required) Name of the integration.
193
- * `enabled` - (Required) Whether the integration is enabled.
194
- * `post_url` - (Optional) Splunk On-Call REST API URL.
195
-
196
- ## Attributes
197
-
198
- In a addition to all arguments above, the following attributes are exported:
199
-
200
- * `id` - The ID of the integration.
201
-
202
185
  :param str resource_name: The name of the resource.
203
186
  :param IntegrationArgs args: The arguments to use to populate this resource's properties.
204
187
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -251,9 +234,9 @@ class Integration(pulumi.CustomResource):
251
234
  :param str resource_name: The unique name of the resulting resource.
252
235
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
253
236
  :param pulumi.ResourceOptions opts: Options for the resource.
254
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
255
- :param pulumi.Input[str] name: Name of the integration
256
- :param pulumi.Input[str] post_url: Opsgenie API URL for integration
237
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
238
+ :param pulumi.Input[str] name: Name of the integration.
239
+ :param pulumi.Input[str] post_url: Splunk On-Call REST API URL.
257
240
  """
258
241
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
259
242
 
@@ -268,7 +251,7 @@ class Integration(pulumi.CustomResource):
268
251
  @pulumi.getter
269
252
  def enabled(self) -> pulumi.Output[bool]:
270
253
  """
271
- Whether the integration is enabled or not
254
+ Whether the integration is enabled.
272
255
  """
273
256
  return pulumi.get(self, "enabled")
274
257
 
@@ -276,7 +259,7 @@ class Integration(pulumi.CustomResource):
276
259
  @pulumi.getter
277
260
  def name(self) -> pulumi.Output[str]:
278
261
  """
279
- Name of the integration
262
+ Name of the integration.
280
263
  """
281
264
  return pulumi.get(self, "name")
282
265
 
@@ -284,7 +267,7 @@ class Integration(pulumi.CustomResource):
284
267
  @pulumi.getter(name="postUrl")
285
268
  def post_url(self) -> pulumi.Output[Optional[str]]:
286
269
  """
287
- Opsgenie API URL for integration
270
+ Splunk On-Call REST API URL.
288
271
  """
289
272
  return pulumi.get(self, "post_url")
290
273
 
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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 *
@@ -18,21 +23,29 @@ class WebhookIntegrationArgs:
18
23
  def __init__(__self__, *,
19
24
  enabled: pulumi.Input[bool],
20
25
  headers: Optional[pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]]] = None,
26
+ method: Optional[pulumi.Input[str]] = None,
21
27
  name: Optional[pulumi.Input[str]] = None,
28
+ payload_template: Optional[pulumi.Input[str]] = None,
22
29
  shared_secret: Optional[pulumi.Input[str]] = None,
23
30
  url: Optional[pulumi.Input[str]] = None):
24
31
  """
25
32
  The set of arguments for constructing a WebhookIntegration resource.
26
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
27
- :param pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]] headers: HTTP headers to pass in the request
28
- :param pulumi.Input[str] name: Name of the integration
29
- :param pulumi.Input[str] url: Webhook URL
33
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
34
+ :param pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]] headers: A header to send with the request
35
+ :param pulumi.Input[str] method: HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
36
+ :param pulumi.Input[str] name: Name of the integration.
37
+ :param pulumi.Input[str] payload_template: Template for the payload to be sent with the webhook request in JSON format
38
+ :param pulumi.Input[str] url: The URL to request
30
39
  """
31
40
  pulumi.set(__self__, "enabled", enabled)
32
41
  if headers is not None:
33
42
  pulumi.set(__self__, "headers", headers)
43
+ if method is not None:
44
+ pulumi.set(__self__, "method", method)
34
45
  if name is not None:
35
46
  pulumi.set(__self__, "name", name)
47
+ if payload_template is not None:
48
+ pulumi.set(__self__, "payload_template", payload_template)
36
49
  if shared_secret is not None:
37
50
  pulumi.set(__self__, "shared_secret", shared_secret)
38
51
  if url is not None:
@@ -42,7 +55,7 @@ class WebhookIntegrationArgs:
42
55
  @pulumi.getter
43
56
  def enabled(self) -> pulumi.Input[bool]:
44
57
  """
45
- Whether the integration is enabled or not
58
+ Whether the integration is enabled.
46
59
  """
47
60
  return pulumi.get(self, "enabled")
48
61
 
@@ -54,7 +67,7 @@ class WebhookIntegrationArgs:
54
67
  @pulumi.getter
55
68
  def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]]]:
56
69
  """
57
- HTTP headers to pass in the request
70
+ A header to send with the request
58
71
  """
59
72
  return pulumi.get(self, "headers")
60
73
 
@@ -62,11 +75,23 @@ class WebhookIntegrationArgs:
62
75
  def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]]]):
63
76
  pulumi.set(self, "headers", value)
64
77
 
78
+ @property
79
+ @pulumi.getter
80
+ def method(self) -> Optional[pulumi.Input[str]]:
81
+ """
82
+ HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
83
+ """
84
+ return pulumi.get(self, "method")
85
+
86
+ @method.setter
87
+ def method(self, value: Optional[pulumi.Input[str]]):
88
+ pulumi.set(self, "method", value)
89
+
65
90
  @property
66
91
  @pulumi.getter
67
92
  def name(self) -> Optional[pulumi.Input[str]]:
68
93
  """
69
- Name of the integration
94
+ Name of the integration.
70
95
  """
71
96
  return pulumi.get(self, "name")
72
97
 
@@ -74,6 +99,18 @@ class WebhookIntegrationArgs:
74
99
  def name(self, value: Optional[pulumi.Input[str]]):
75
100
  pulumi.set(self, "name", value)
76
101
 
102
+ @property
103
+ @pulumi.getter(name="payloadTemplate")
104
+ def payload_template(self) -> Optional[pulumi.Input[str]]:
105
+ """
106
+ Template for the payload to be sent with the webhook request in JSON format
107
+ """
108
+ return pulumi.get(self, "payload_template")
109
+
110
+ @payload_template.setter
111
+ def payload_template(self, value: Optional[pulumi.Input[str]]):
112
+ pulumi.set(self, "payload_template", value)
113
+
77
114
  @property
78
115
  @pulumi.getter(name="sharedSecret")
79
116
  def shared_secret(self) -> Optional[pulumi.Input[str]]:
@@ -87,7 +124,7 @@ class WebhookIntegrationArgs:
87
124
  @pulumi.getter
88
125
  def url(self) -> Optional[pulumi.Input[str]]:
89
126
  """
90
- Webhook URL
127
+ The URL to request
91
128
  """
92
129
  return pulumi.get(self, "url")
93
130
 
@@ -101,22 +138,30 @@ class _WebhookIntegrationState:
101
138
  def __init__(__self__, *,
102
139
  enabled: Optional[pulumi.Input[bool]] = None,
103
140
  headers: Optional[pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]]] = None,
141
+ method: Optional[pulumi.Input[str]] = None,
104
142
  name: Optional[pulumi.Input[str]] = None,
143
+ payload_template: Optional[pulumi.Input[str]] = None,
105
144
  shared_secret: Optional[pulumi.Input[str]] = None,
106
145
  url: Optional[pulumi.Input[str]] = None):
107
146
  """
108
147
  Input properties used for looking up and filtering WebhookIntegration resources.
109
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
110
- :param pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]] headers: HTTP headers to pass in the request
111
- :param pulumi.Input[str] name: Name of the integration
112
- :param pulumi.Input[str] url: Webhook URL
148
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
149
+ :param pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]] headers: A header to send with the request
150
+ :param pulumi.Input[str] method: HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
151
+ :param pulumi.Input[str] name: Name of the integration.
152
+ :param pulumi.Input[str] payload_template: Template for the payload to be sent with the webhook request in JSON format
153
+ :param pulumi.Input[str] url: The URL to request
113
154
  """
114
155
  if enabled is not None:
115
156
  pulumi.set(__self__, "enabled", enabled)
116
157
  if headers is not None:
117
158
  pulumi.set(__self__, "headers", headers)
159
+ if method is not None:
160
+ pulumi.set(__self__, "method", method)
118
161
  if name is not None:
119
162
  pulumi.set(__self__, "name", name)
163
+ if payload_template is not None:
164
+ pulumi.set(__self__, "payload_template", payload_template)
120
165
  if shared_secret is not None:
121
166
  pulumi.set(__self__, "shared_secret", shared_secret)
122
167
  if url is not None:
@@ -126,7 +171,7 @@ class _WebhookIntegrationState:
126
171
  @pulumi.getter
127
172
  def enabled(self) -> Optional[pulumi.Input[bool]]:
128
173
  """
129
- Whether the integration is enabled or not
174
+ Whether the integration is enabled.
130
175
  """
131
176
  return pulumi.get(self, "enabled")
132
177
 
@@ -138,7 +183,7 @@ class _WebhookIntegrationState:
138
183
  @pulumi.getter
139
184
  def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]]]:
140
185
  """
141
- HTTP headers to pass in the request
186
+ A header to send with the request
142
187
  """
143
188
  return pulumi.get(self, "headers")
144
189
 
@@ -146,11 +191,23 @@ class _WebhookIntegrationState:
146
191
  def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WebhookIntegrationHeaderArgs']]]]):
147
192
  pulumi.set(self, "headers", value)
148
193
 
194
+ @property
195
+ @pulumi.getter
196
+ def method(self) -> Optional[pulumi.Input[str]]:
197
+ """
198
+ HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
199
+ """
200
+ return pulumi.get(self, "method")
201
+
202
+ @method.setter
203
+ def method(self, value: Optional[pulumi.Input[str]]):
204
+ pulumi.set(self, "method", value)
205
+
149
206
  @property
150
207
  @pulumi.getter
151
208
  def name(self) -> Optional[pulumi.Input[str]]:
152
209
  """
153
- Name of the integration
210
+ Name of the integration.
154
211
  """
155
212
  return pulumi.get(self, "name")
156
213
 
@@ -158,6 +215,18 @@ class _WebhookIntegrationState:
158
215
  def name(self, value: Optional[pulumi.Input[str]]):
159
216
  pulumi.set(self, "name", value)
160
217
 
218
+ @property
219
+ @pulumi.getter(name="payloadTemplate")
220
+ def payload_template(self) -> Optional[pulumi.Input[str]]:
221
+ """
222
+ Template for the payload to be sent with the webhook request in JSON format
223
+ """
224
+ return pulumi.get(self, "payload_template")
225
+
226
+ @payload_template.setter
227
+ def payload_template(self, value: Optional[pulumi.Input[str]]):
228
+ pulumi.set(self, "payload_template", value)
229
+
161
230
  @property
162
231
  @pulumi.getter(name="sharedSecret")
163
232
  def shared_secret(self) -> Optional[pulumi.Input[str]]:
@@ -171,7 +240,7 @@ class _WebhookIntegrationState:
171
240
  @pulumi.getter
172
241
  def url(self) -> Optional[pulumi.Input[str]]:
173
242
  """
174
- Webhook URL
243
+ The URL to request
175
244
  """
176
245
  return pulumi.get(self, "url")
177
246
 
@@ -186,8 +255,10 @@ class WebhookIntegration(pulumi.CustomResource):
186
255
  resource_name: str,
187
256
  opts: Optional[pulumi.ResourceOptions] = None,
188
257
  enabled: Optional[pulumi.Input[bool]] = None,
189
- headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WebhookIntegrationHeaderArgs']]]]] = None,
258
+ headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WebhookIntegrationHeaderArgs', 'WebhookIntegrationHeaderArgsDict']]]]] = None,
259
+ method: Optional[pulumi.Input[str]] = None,
190
260
  name: Optional[pulumi.Input[str]] = None,
261
+ payload_template: Optional[pulumi.Input[str]] = None,
191
262
  shared_secret: Optional[pulumi.Input[str]] = None,
192
263
  url: Optional[pulumi.Input[str]] = None,
193
264
  __props__=None):
@@ -202,38 +273,30 @@ class WebhookIntegration(pulumi.CustomResource):
202
273
  import pulumi
203
274
  import pulumi_signalfx as signalfx
204
275
 
205
- webhook_myteam = signalfx.WebhookIntegration("webhookMyteam",
276
+ webhook_myteam = signalfx.WebhookIntegration("webhook_myteam",
277
+ name="Webhook - My Team",
206
278
  enabled=True,
207
- headers=[signalfx.WebhookIntegrationHeaderArgs(
208
- header_key="some_header",
209
- header_value="value_for_that_header",
210
- )],
279
+ url="https://www.example.com",
211
280
  shared_secret="abc1234",
212
- url="https://www.example.com")
281
+ method="POST",
282
+ payload_template=\"\"\"{
283
+ "incidentId": "{{{incidentId}}}"
284
+ }
285
+ \"\"\",
286
+ headers=[{
287
+ "header_key": "some_header",
288
+ "header_value": "value_for_that_header",
289
+ }])
213
290
  ```
214
291
 
215
- ## Arguments
216
-
217
- * `name` - (Required) Name of the integration.
218
- * `enabled` - (Required) Whether the integration is enabled.
219
- * `url` - (Required) The URL to request
220
- * `shared_secret` - (Optional)
221
- * `headers` - (Optional) A header to send with the request
222
- * `header_key` - (Required) The key of the header to send
223
- * `header_value` - (Required) The value of the header to send
224
-
225
- ## Attributes
226
-
227
- In a addition to all arguments above, the following attributes are exported:
228
-
229
- * `id` - The ID of the integration.
230
-
231
292
  :param str resource_name: The name of the resource.
232
293
  :param pulumi.ResourceOptions opts: Options for the resource.
233
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
234
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WebhookIntegrationHeaderArgs']]]] headers: HTTP headers to pass in the request
235
- :param pulumi.Input[str] name: Name of the integration
236
- :param pulumi.Input[str] url: Webhook URL
294
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
295
+ :param pulumi.Input[Sequence[pulumi.Input[Union['WebhookIntegrationHeaderArgs', 'WebhookIntegrationHeaderArgsDict']]]] headers: A header to send with the request
296
+ :param pulumi.Input[str] method: HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
297
+ :param pulumi.Input[str] name: Name of the integration.
298
+ :param pulumi.Input[str] payload_template: Template for the payload to be sent with the webhook request in JSON format
299
+ :param pulumi.Input[str] url: The URL to request
237
300
  """
238
301
  ...
239
302
  @overload
@@ -252,32 +315,22 @@ class WebhookIntegration(pulumi.CustomResource):
252
315
  import pulumi
253
316
  import pulumi_signalfx as signalfx
254
317
 
255
- webhook_myteam = signalfx.WebhookIntegration("webhookMyteam",
318
+ webhook_myteam = signalfx.WebhookIntegration("webhook_myteam",
319
+ name="Webhook - My Team",
256
320
  enabled=True,
257
- headers=[signalfx.WebhookIntegrationHeaderArgs(
258
- header_key="some_header",
259
- header_value="value_for_that_header",
260
- )],
321
+ url="https://www.example.com",
261
322
  shared_secret="abc1234",
262
- url="https://www.example.com")
323
+ method="POST",
324
+ payload_template=\"\"\"{
325
+ "incidentId": "{{{incidentId}}}"
326
+ }
327
+ \"\"\",
328
+ headers=[{
329
+ "header_key": "some_header",
330
+ "header_value": "value_for_that_header",
331
+ }])
263
332
  ```
264
333
 
265
- ## Arguments
266
-
267
- * `name` - (Required) Name of the integration.
268
- * `enabled` - (Required) Whether the integration is enabled.
269
- * `url` - (Required) The URL to request
270
- * `shared_secret` - (Optional)
271
- * `headers` - (Optional) A header to send with the request
272
- * `header_key` - (Required) The key of the header to send
273
- * `header_value` - (Required) The value of the header to send
274
-
275
- ## Attributes
276
-
277
- In a addition to all arguments above, the following attributes are exported:
278
-
279
- * `id` - The ID of the integration.
280
-
281
334
  :param str resource_name: The name of the resource.
282
335
  :param WebhookIntegrationArgs args: The arguments to use to populate this resource's properties.
283
336
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -294,8 +347,10 @@ class WebhookIntegration(pulumi.CustomResource):
294
347
  resource_name: str,
295
348
  opts: Optional[pulumi.ResourceOptions] = None,
296
349
  enabled: Optional[pulumi.Input[bool]] = None,
297
- headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WebhookIntegrationHeaderArgs']]]]] = None,
350
+ headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WebhookIntegrationHeaderArgs', 'WebhookIntegrationHeaderArgsDict']]]]] = None,
351
+ method: Optional[pulumi.Input[str]] = None,
298
352
  name: Optional[pulumi.Input[str]] = None,
353
+ payload_template: Optional[pulumi.Input[str]] = None,
299
354
  shared_secret: Optional[pulumi.Input[str]] = None,
300
355
  url: Optional[pulumi.Input[str]] = None,
301
356
  __props__=None):
@@ -311,7 +366,9 @@ class WebhookIntegration(pulumi.CustomResource):
311
366
  raise TypeError("Missing required property 'enabled'")
312
367
  __props__.__dict__["enabled"] = enabled
313
368
  __props__.__dict__["headers"] = None if headers is None else pulumi.Output.secret(headers)
369
+ __props__.__dict__["method"] = method
314
370
  __props__.__dict__["name"] = name
371
+ __props__.__dict__["payload_template"] = payload_template
315
372
  __props__.__dict__["shared_secret"] = None if shared_secret is None else pulumi.Output.secret(shared_secret)
316
373
  __props__.__dict__["url"] = url
317
374
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["headers", "sharedSecret"])
@@ -327,8 +384,10 @@ class WebhookIntegration(pulumi.CustomResource):
327
384
  id: pulumi.Input[str],
328
385
  opts: Optional[pulumi.ResourceOptions] = None,
329
386
  enabled: Optional[pulumi.Input[bool]] = None,
330
- headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WebhookIntegrationHeaderArgs']]]]] = None,
387
+ headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WebhookIntegrationHeaderArgs', 'WebhookIntegrationHeaderArgsDict']]]]] = None,
388
+ method: Optional[pulumi.Input[str]] = None,
331
389
  name: Optional[pulumi.Input[str]] = None,
390
+ payload_template: Optional[pulumi.Input[str]] = None,
332
391
  shared_secret: Optional[pulumi.Input[str]] = None,
333
392
  url: Optional[pulumi.Input[str]] = None) -> 'WebhookIntegration':
334
393
  """
@@ -338,10 +397,12 @@ class WebhookIntegration(pulumi.CustomResource):
338
397
  :param str resource_name: The unique name of the resulting resource.
339
398
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
340
399
  :param pulumi.ResourceOptions opts: Options for the resource.
341
- :param pulumi.Input[bool] enabled: Whether the integration is enabled or not
342
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['WebhookIntegrationHeaderArgs']]]] headers: HTTP headers to pass in the request
343
- :param pulumi.Input[str] name: Name of the integration
344
- :param pulumi.Input[str] url: Webhook URL
400
+ :param pulumi.Input[bool] enabled: Whether the integration is enabled.
401
+ :param pulumi.Input[Sequence[pulumi.Input[Union['WebhookIntegrationHeaderArgs', 'WebhookIntegrationHeaderArgsDict']]]] headers: A header to send with the request
402
+ :param pulumi.Input[str] method: HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
403
+ :param pulumi.Input[str] name: Name of the integration.
404
+ :param pulumi.Input[str] payload_template: Template for the payload to be sent with the webhook request in JSON format
405
+ :param pulumi.Input[str] url: The URL to request
345
406
  """
346
407
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
347
408
 
@@ -349,7 +410,9 @@ class WebhookIntegration(pulumi.CustomResource):
349
410
 
350
411
  __props__.__dict__["enabled"] = enabled
351
412
  __props__.__dict__["headers"] = headers
413
+ __props__.__dict__["method"] = method
352
414
  __props__.__dict__["name"] = name
415
+ __props__.__dict__["payload_template"] = payload_template
353
416
  __props__.__dict__["shared_secret"] = shared_secret
354
417
  __props__.__dict__["url"] = url
355
418
  return WebhookIntegration(resource_name, opts=opts, __props__=__props__)
@@ -358,7 +421,7 @@ class WebhookIntegration(pulumi.CustomResource):
358
421
  @pulumi.getter
359
422
  def enabled(self) -> pulumi.Output[bool]:
360
423
  """
361
- Whether the integration is enabled or not
424
+ Whether the integration is enabled.
362
425
  """
363
426
  return pulumi.get(self, "enabled")
364
427
 
@@ -366,18 +429,34 @@ class WebhookIntegration(pulumi.CustomResource):
366
429
  @pulumi.getter
367
430
  def headers(self) -> pulumi.Output[Optional[Sequence['outputs.WebhookIntegrationHeader']]]:
368
431
  """
369
- HTTP headers to pass in the request
432
+ A header to send with the request
370
433
  """
371
434
  return pulumi.get(self, "headers")
372
435
 
436
+ @property
437
+ @pulumi.getter
438
+ def method(self) -> pulumi.Output[Optional[str]]:
439
+ """
440
+ HTTP method used for the webhook request, such as 'GET', 'POST' and 'PUT'
441
+ """
442
+ return pulumi.get(self, "method")
443
+
373
444
  @property
374
445
  @pulumi.getter
375
446
  def name(self) -> pulumi.Output[str]:
376
447
  """
377
- Name of the integration
448
+ Name of the integration.
378
449
  """
379
450
  return pulumi.get(self, "name")
380
451
 
452
+ @property
453
+ @pulumi.getter(name="payloadTemplate")
454
+ def payload_template(self) -> pulumi.Output[Optional[str]]:
455
+ """
456
+ Template for the payload to be sent with the webhook request in JSON format
457
+ """
458
+ return pulumi.get(self, "payload_template")
459
+
381
460
  @property
382
461
  @pulumi.getter(name="sharedSecret")
383
462
  def shared_secret(self) -> pulumi.Output[Optional[str]]:
@@ -387,7 +466,7 @@ class WebhookIntegration(pulumi.CustomResource):
387
466
  @pulumi.getter
388
467
  def url(self) -> pulumi.Output[Optional[str]]:
389
468
  """
390
- Webhook URL
469
+ The URL to request
391
470
  """
392
471
  return pulumi.get(self, "url")
393
472
 
@@ -1,16 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pulumi_signalfx
3
- Version: 7.2.0a1709367777
3
+ Version: 7.6.0a1736835428
4
4
  Summary: A Pulumi package for creating and managing SignalFx resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-signalfx
8
8
  Keywords: pulumi,signalfx
9
- Requires-Python: >=3.8
9
+ Requires-Python: >=3.9
10
10
  Description-Content-Type: text/markdown
11
- Requires-Dist: parver >=0.2.1
12
- Requires-Dist: pulumi <4.0.0,>=3.0.0
13
- Requires-Dist: semver >=2.8.1
11
+ Requires-Dist: parver>=0.2.1
12
+ Requires-Dist: pulumi<4.0.0,>=3.142.0
13
+ Requires-Dist: semver>=2.8.1
14
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
14
15
 
15
16
  [![Actions Status](https://github.com/pulumi/pulumi-signalfx/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-signalfx/actions)
16
17
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)