pulumi-wavefront 3.1.8a1741099290__py3-none-any.whl → 3.1.9a1745952368__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.
- pulumi_wavefront/__init__.py +1 -0
- pulumi_wavefront/_inputs.py +501 -500
- pulumi_wavefront/alert.py +242 -238
- pulumi_wavefront/alert_target.py +151 -147
- pulumi_wavefront/cloud_integration_app_dynamics.py +242 -238
- pulumi_wavefront/cloud_integration_aws_external_id.py +4 -0
- pulumi_wavefront/cloud_integration_azure.py +158 -154
- pulumi_wavefront/cloud_integration_azure_activity_log.py +130 -126
- pulumi_wavefront/cloud_integration_cloud_trail.py +158 -154
- pulumi_wavefront/cloud_integration_cloud_watch.py +172 -168
- pulumi_wavefront/cloud_integration_ec2.py +116 -112
- pulumi_wavefront/cloud_integration_gcp.py +130 -126
- pulumi_wavefront/cloud_integration_gcp_billing.py +116 -112
- pulumi_wavefront/cloud_integration_new_relic.py +116 -112
- pulumi_wavefront/config/__init__.py +1 -0
- pulumi_wavefront/config/__init__.pyi +1 -0
- pulumi_wavefront/config/vars.py +1 -0
- pulumi_wavefront/dashboard.py +130 -126
- pulumi_wavefront/dashboard_json.py +18 -14
- pulumi_wavefront/derived_metric.py +74 -70
- pulumi_wavefront/event.py +70 -66
- pulumi_wavefront/external_link.py +102 -98
- pulumi_wavefront/get_alert.py +31 -30
- pulumi_wavefront/get_alerts.py +12 -11
- pulumi_wavefront/get_dashboard.py +38 -37
- pulumi_wavefront/get_dashboards.py +12 -11
- pulumi_wavefront/get_default_user_group.py +3 -2
- pulumi_wavefront/get_derived_metric.py +29 -28
- pulumi_wavefront/get_derived_metrics.py +12 -11
- pulumi_wavefront/get_event.py +15 -14
- pulumi_wavefront/get_events.py +22 -21
- pulumi_wavefront/get_external_link.py +17 -16
- pulumi_wavefront/get_external_links.py +12 -11
- pulumi_wavefront/get_maintenance_window.py +23 -22
- pulumi_wavefront/get_maintenance_window_all.py +8 -7
- pulumi_wavefront/get_metrics_policy.py +5 -4
- pulumi_wavefront/get_role.py +9 -8
- pulumi_wavefront/get_roles.py +12 -11
- pulumi_wavefront/get_user.py +11 -10
- pulumi_wavefront/get_user_group.py +10 -9
- pulumi_wavefront/get_user_groups.py +12 -11
- pulumi_wavefront/get_users.py +2 -1
- pulumi_wavefront/ingestion_policy.py +82 -78
- pulumi_wavefront/maintenance_window.py +130 -126
- pulumi_wavefront/metrics_policy.py +25 -21
- pulumi_wavefront/outputs.py +1205 -1204
- pulumi_wavefront/provider.py +22 -18
- pulumi_wavefront/pulumi-plugin.json +1 -1
- pulumi_wavefront/role.py +60 -56
- pulumi_wavefront/service_account.py +88 -84
- pulumi_wavefront/user.py +60 -56
- pulumi_wavefront/user_group.py +32 -28
- {pulumi_wavefront-3.1.8a1741099290.dist-info → pulumi_wavefront-3.1.9a1745952368.dist-info}/METADATA +2 -2
- pulumi_wavefront-3.1.9a1745952368.dist-info/RECORD +58 -0
- {pulumi_wavefront-3.1.8a1741099290.dist-info → pulumi_wavefront-3.1.9a1745952368.dist-info}/WHEEL +1 -1
- pulumi_wavefront-3.1.8a1741099290.dist-info/RECORD +0 -58
- {pulumi_wavefront-3.1.8a1741099290.dist-info → pulumi_wavefront-3.1.9a1745952368.dist-info}/top_level.txt +0 -0
pulumi_wavefront/alert_target.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,32 +22,32 @@ __all__ = ['AlertTargetArgs', 'AlertTarget']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class AlertTargetArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
description: pulumi.Input[str],
|
25
|
-
recipient: pulumi.Input[str],
|
26
|
-
template: pulumi.Input[str],
|
27
|
-
triggers: pulumi.Input[Sequence[pulumi.Input[str]]],
|
28
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
29
|
-
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
-
email_subject: Optional[pulumi.Input[str]] = None,
|
31
|
-
is_html_content: Optional[pulumi.Input[bool]] = None,
|
32
|
-
method: Optional[pulumi.Input[str]] = None,
|
33
|
-
name: Optional[pulumi.Input[str]] = None,
|
25
|
+
description: pulumi.Input[builtins.str],
|
26
|
+
recipient: pulumi.Input[builtins.str],
|
27
|
+
template: pulumi.Input[builtins.str],
|
28
|
+
triggers: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
29
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
31
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
32
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
33
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
34
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
34
35
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input['AlertTargetRouteArgs']]]] = None):
|
35
36
|
"""
|
36
37
|
The set of arguments for constructing a AlertTarget resource.
|
37
|
-
:param pulumi.Input[str] description: Description describing this alert target.
|
38
|
-
:param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
38
|
+
:param pulumi.Input[builtins.str] description: Description describing this alert target.
|
39
|
+
:param pulumi.Input[builtins.str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
39
40
|
routing key. `WEBHOOK`: URL endpoint.
|
40
|
-
:param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
41
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
41
|
+
:param pulumi.Input[builtins.str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
42
43
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
43
|
-
:param pulumi.Input[str] content_type: The value of the `Content-Type` header of the webhook.
|
44
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
44
|
+
:param pulumi.Input[builtins.str] content_type: The value of the `Content-Type` header of the webhook.
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
45
46
|
sent in the requests with a method of `WEBHOOK`.
|
46
|
-
:param pulumi.Input[str] email_subject: The subject title of an email notification target.
|
47
|
-
:param pulumi.Input[bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
48
|
-
:param pulumi.Input[str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
49
|
-
:param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
|
47
|
+
:param pulumi.Input[builtins.str] email_subject: The subject title of an email notification target.
|
48
|
+
:param pulumi.Input[builtins.bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
49
|
+
:param pulumi.Input[builtins.str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
50
|
+
:param pulumi.Input[builtins.str] name: The name of the alert target as it is displayed in Wavefront.
|
50
51
|
:param pulumi.Input[Sequence[pulumi.Input['AlertTargetRouteArgs']]] routes: List of routing targets that this alert target will notify. See Route
|
51
52
|
"""
|
52
53
|
pulumi.set(__self__, "description", description)
|
@@ -70,19 +71,19 @@ class AlertTargetArgs:
|
|
70
71
|
|
71
72
|
@property
|
72
73
|
@pulumi.getter
|
73
|
-
def description(self) -> pulumi.Input[str]:
|
74
|
+
def description(self) -> pulumi.Input[builtins.str]:
|
74
75
|
"""
|
75
76
|
Description describing this alert target.
|
76
77
|
"""
|
77
78
|
return pulumi.get(self, "description")
|
78
79
|
|
79
80
|
@description.setter
|
80
|
-
def description(self, value: pulumi.Input[str]):
|
81
|
+
def description(self, value: pulumi.Input[builtins.str]):
|
81
82
|
pulumi.set(self, "description", value)
|
82
83
|
|
83
84
|
@property
|
84
85
|
@pulumi.getter
|
85
|
-
def recipient(self) -> pulumi.Input[str]:
|
86
|
+
def recipient(self) -> pulumi.Input[builtins.str]:
|
86
87
|
"""
|
87
88
|
The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
88
89
|
routing key. `WEBHOOK`: URL endpoint.
|
@@ -90,24 +91,24 @@ class AlertTargetArgs:
|
|
90
91
|
return pulumi.get(self, "recipient")
|
91
92
|
|
92
93
|
@recipient.setter
|
93
|
-
def recipient(self, value: pulumi.Input[str]):
|
94
|
+
def recipient(self, value: pulumi.Input[builtins.str]):
|
94
95
|
pulumi.set(self, "recipient", value)
|
95
96
|
|
96
97
|
@property
|
97
98
|
@pulumi.getter
|
98
|
-
def template(self) -> pulumi.Input[str]:
|
99
|
+
def template(self) -> pulumi.Input[builtins.str]:
|
99
100
|
"""
|
100
101
|
A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
101
102
|
"""
|
102
103
|
return pulumi.get(self, "template")
|
103
104
|
|
104
105
|
@template.setter
|
105
|
-
def template(self, value: pulumi.Input[str]):
|
106
|
+
def template(self, value: pulumi.Input[builtins.str]):
|
106
107
|
pulumi.set(self, "template", value)
|
107
108
|
|
108
109
|
@property
|
109
110
|
@pulumi.getter
|
110
|
-
def triggers(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
111
|
+
def triggers(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
111
112
|
"""
|
112
113
|
A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
113
114
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
@@ -115,24 +116,24 @@ class AlertTargetArgs:
|
|
115
116
|
return pulumi.get(self, "triggers")
|
116
117
|
|
117
118
|
@triggers.setter
|
118
|
-
def triggers(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
119
|
+
def triggers(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
119
120
|
pulumi.set(self, "triggers", value)
|
120
121
|
|
121
122
|
@property
|
122
123
|
@pulumi.getter(name="contentType")
|
123
|
-
def content_type(self) -> Optional[pulumi.Input[str]]:
|
124
|
+
def content_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
124
125
|
"""
|
125
126
|
The value of the `Content-Type` header of the webhook.
|
126
127
|
"""
|
127
128
|
return pulumi.get(self, "content_type")
|
128
129
|
|
129
130
|
@content_type.setter
|
130
|
-
def content_type(self, value: Optional[pulumi.Input[str]]):
|
131
|
+
def content_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
131
132
|
pulumi.set(self, "content_type", value)
|
132
133
|
|
133
134
|
@property
|
134
135
|
@pulumi.getter(name="customHeaders")
|
135
|
-
def custom_headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
136
|
+
def custom_headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
136
137
|
"""
|
137
138
|
A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
138
139
|
sent in the requests with a method of `WEBHOOK`.
|
@@ -140,55 +141,55 @@ class AlertTargetArgs:
|
|
140
141
|
return pulumi.get(self, "custom_headers")
|
141
142
|
|
142
143
|
@custom_headers.setter
|
143
|
-
def custom_headers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
144
|
+
def custom_headers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
144
145
|
pulumi.set(self, "custom_headers", value)
|
145
146
|
|
146
147
|
@property
|
147
148
|
@pulumi.getter(name="emailSubject")
|
148
|
-
def email_subject(self) -> Optional[pulumi.Input[str]]:
|
149
|
+
def email_subject(self) -> Optional[pulumi.Input[builtins.str]]:
|
149
150
|
"""
|
150
151
|
The subject title of an email notification target.
|
151
152
|
"""
|
152
153
|
return pulumi.get(self, "email_subject")
|
153
154
|
|
154
155
|
@email_subject.setter
|
155
|
-
def email_subject(self, value: Optional[pulumi.Input[str]]):
|
156
|
+
def email_subject(self, value: Optional[pulumi.Input[builtins.str]]):
|
156
157
|
pulumi.set(self, "email_subject", value)
|
157
158
|
|
158
159
|
@property
|
159
160
|
@pulumi.getter(name="isHtmlContent")
|
160
|
-
def is_html_content(self) -> Optional[pulumi.Input[bool]]:
|
161
|
+
def is_html_content(self) -> Optional[pulumi.Input[builtins.bool]]:
|
161
162
|
"""
|
162
163
|
Determine whether the email alert content is sent as HTML or text.
|
163
164
|
"""
|
164
165
|
return pulumi.get(self, "is_html_content")
|
165
166
|
|
166
167
|
@is_html_content.setter
|
167
|
-
def is_html_content(self, value: Optional[pulumi.Input[bool]]):
|
168
|
+
def is_html_content(self, value: Optional[pulumi.Input[builtins.bool]]):
|
168
169
|
pulumi.set(self, "is_html_content", value)
|
169
170
|
|
170
171
|
@property
|
171
172
|
@pulumi.getter
|
172
|
-
def method(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
def method(self) -> Optional[pulumi.Input[builtins.str]]:
|
173
174
|
"""
|
174
175
|
The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
175
176
|
"""
|
176
177
|
return pulumi.get(self, "method")
|
177
178
|
|
178
179
|
@method.setter
|
179
|
-
def method(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
def method(self, value: Optional[pulumi.Input[builtins.str]]):
|
180
181
|
pulumi.set(self, "method", value)
|
181
182
|
|
182
183
|
@property
|
183
184
|
@pulumi.getter
|
184
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
185
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
185
186
|
"""
|
186
187
|
The name of the alert target as it is displayed in Wavefront.
|
187
188
|
"""
|
188
189
|
return pulumi.get(self, "name")
|
189
190
|
|
190
191
|
@name.setter
|
191
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
192
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
192
193
|
pulumi.set(self, "name", value)
|
193
194
|
|
194
195
|
@property
|
@@ -207,34 +208,34 @@ class AlertTargetArgs:
|
|
207
208
|
@pulumi.input_type
|
208
209
|
class _AlertTargetState:
|
209
210
|
def __init__(__self__, *,
|
210
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
211
|
-
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
212
|
-
description: Optional[pulumi.Input[str]] = None,
|
213
|
-
email_subject: Optional[pulumi.Input[str]] = None,
|
214
|
-
is_html_content: Optional[pulumi.Input[bool]] = None,
|
215
|
-
method: Optional[pulumi.Input[str]] = None,
|
216
|
-
name: Optional[pulumi.Input[str]] = None,
|
217
|
-
recipient: Optional[pulumi.Input[str]] = None,
|
211
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
212
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
213
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
214
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
215
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
216
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
217
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
218
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
218
219
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input['AlertTargetRouteArgs']]]] = None,
|
219
|
-
target_id: Optional[pulumi.Input[str]] = None,
|
220
|
-
template: Optional[pulumi.Input[str]] = None,
|
221
|
-
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
220
|
+
target_id: Optional[pulumi.Input[builtins.str]] = None,
|
221
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
222
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
222
223
|
"""
|
223
224
|
Input properties used for looking up and filtering AlertTarget resources.
|
224
|
-
:param pulumi.Input[str] content_type: The value of the `Content-Type` header of the webhook.
|
225
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
225
|
+
:param pulumi.Input[builtins.str] content_type: The value of the `Content-Type` header of the webhook.
|
226
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
226
227
|
sent in the requests with a method of `WEBHOOK`.
|
227
|
-
:param pulumi.Input[str] description: Description describing this alert target.
|
228
|
-
:param pulumi.Input[str] email_subject: The subject title of an email notification target.
|
229
|
-
:param pulumi.Input[bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
230
|
-
:param pulumi.Input[str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
231
|
-
:param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
|
232
|
-
:param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
228
|
+
:param pulumi.Input[builtins.str] description: Description describing this alert target.
|
229
|
+
:param pulumi.Input[builtins.str] email_subject: The subject title of an email notification target.
|
230
|
+
:param pulumi.Input[builtins.bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
231
|
+
:param pulumi.Input[builtins.str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
232
|
+
:param pulumi.Input[builtins.str] name: The name of the alert target as it is displayed in Wavefront.
|
233
|
+
:param pulumi.Input[builtins.str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
233
234
|
routing key. `WEBHOOK`: URL endpoint.
|
234
235
|
:param pulumi.Input[Sequence[pulumi.Input['AlertTargetRouteArgs']]] routes: List of routing targets that this alert target will notify. See Route
|
235
|
-
:param pulumi.Input[str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
236
|
-
:param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
237
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
236
|
+
:param pulumi.Input[builtins.str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
237
|
+
:param pulumi.Input[builtins.str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
238
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
238
239
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
239
240
|
"""
|
240
241
|
if content_type is not None:
|
@@ -264,19 +265,19 @@ class _AlertTargetState:
|
|
264
265
|
|
265
266
|
@property
|
266
267
|
@pulumi.getter(name="contentType")
|
267
|
-
def content_type(self) -> Optional[pulumi.Input[str]]:
|
268
|
+
def content_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
268
269
|
"""
|
269
270
|
The value of the `Content-Type` header of the webhook.
|
270
271
|
"""
|
271
272
|
return pulumi.get(self, "content_type")
|
272
273
|
|
273
274
|
@content_type.setter
|
274
|
-
def content_type(self, value: Optional[pulumi.Input[str]]):
|
275
|
+
def content_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
275
276
|
pulumi.set(self, "content_type", value)
|
276
277
|
|
277
278
|
@property
|
278
279
|
@pulumi.getter(name="customHeaders")
|
279
|
-
def custom_headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
280
|
+
def custom_headers(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
280
281
|
"""
|
281
282
|
A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
282
283
|
sent in the requests with a method of `WEBHOOK`.
|
@@ -284,72 +285,72 @@ class _AlertTargetState:
|
|
284
285
|
return pulumi.get(self, "custom_headers")
|
285
286
|
|
286
287
|
@custom_headers.setter
|
287
|
-
def custom_headers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
288
|
+
def custom_headers(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
288
289
|
pulumi.set(self, "custom_headers", value)
|
289
290
|
|
290
291
|
@property
|
291
292
|
@pulumi.getter
|
292
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
293
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
293
294
|
"""
|
294
295
|
Description describing this alert target.
|
295
296
|
"""
|
296
297
|
return pulumi.get(self, "description")
|
297
298
|
|
298
299
|
@description.setter
|
299
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
300
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
300
301
|
pulumi.set(self, "description", value)
|
301
302
|
|
302
303
|
@property
|
303
304
|
@pulumi.getter(name="emailSubject")
|
304
|
-
def email_subject(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
def email_subject(self) -> Optional[pulumi.Input[builtins.str]]:
|
305
306
|
"""
|
306
307
|
The subject title of an email notification target.
|
307
308
|
"""
|
308
309
|
return pulumi.get(self, "email_subject")
|
309
310
|
|
310
311
|
@email_subject.setter
|
311
|
-
def email_subject(self, value: Optional[pulumi.Input[str]]):
|
312
|
+
def email_subject(self, value: Optional[pulumi.Input[builtins.str]]):
|
312
313
|
pulumi.set(self, "email_subject", value)
|
313
314
|
|
314
315
|
@property
|
315
316
|
@pulumi.getter(name="isHtmlContent")
|
316
|
-
def is_html_content(self) -> Optional[pulumi.Input[bool]]:
|
317
|
+
def is_html_content(self) -> Optional[pulumi.Input[builtins.bool]]:
|
317
318
|
"""
|
318
319
|
Determine whether the email alert content is sent as HTML or text.
|
319
320
|
"""
|
320
321
|
return pulumi.get(self, "is_html_content")
|
321
322
|
|
322
323
|
@is_html_content.setter
|
323
|
-
def is_html_content(self, value: Optional[pulumi.Input[bool]]):
|
324
|
+
def is_html_content(self, value: Optional[pulumi.Input[builtins.bool]]):
|
324
325
|
pulumi.set(self, "is_html_content", value)
|
325
326
|
|
326
327
|
@property
|
327
328
|
@pulumi.getter
|
328
|
-
def method(self) -> Optional[pulumi.Input[str]]:
|
329
|
+
def method(self) -> Optional[pulumi.Input[builtins.str]]:
|
329
330
|
"""
|
330
331
|
The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
331
332
|
"""
|
332
333
|
return pulumi.get(self, "method")
|
333
334
|
|
334
335
|
@method.setter
|
335
|
-
def method(self, value: Optional[pulumi.Input[str]]):
|
336
|
+
def method(self, value: Optional[pulumi.Input[builtins.str]]):
|
336
337
|
pulumi.set(self, "method", value)
|
337
338
|
|
338
339
|
@property
|
339
340
|
@pulumi.getter
|
340
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
341
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
341
342
|
"""
|
342
343
|
The name of the alert target as it is displayed in Wavefront.
|
343
344
|
"""
|
344
345
|
return pulumi.get(self, "name")
|
345
346
|
|
346
347
|
@name.setter
|
347
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
348
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
348
349
|
pulumi.set(self, "name", value)
|
349
350
|
|
350
351
|
@property
|
351
352
|
@pulumi.getter
|
352
|
-
def recipient(self) -> Optional[pulumi.Input[str]]:
|
353
|
+
def recipient(self) -> Optional[pulumi.Input[builtins.str]]:
|
353
354
|
"""
|
354
355
|
The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
355
356
|
routing key. `WEBHOOK`: URL endpoint.
|
@@ -357,7 +358,7 @@ class _AlertTargetState:
|
|
357
358
|
return pulumi.get(self, "recipient")
|
358
359
|
|
359
360
|
@recipient.setter
|
360
|
-
def recipient(self, value: Optional[pulumi.Input[str]]):
|
361
|
+
def recipient(self, value: Optional[pulumi.Input[builtins.str]]):
|
361
362
|
pulumi.set(self, "recipient", value)
|
362
363
|
|
363
364
|
@property
|
@@ -374,31 +375,31 @@ class _AlertTargetState:
|
|
374
375
|
|
375
376
|
@property
|
376
377
|
@pulumi.getter(name="targetId")
|
377
|
-
def target_id(self) -> Optional[pulumi.Input[str]]:
|
378
|
+
def target_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
378
379
|
"""
|
379
380
|
The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
380
381
|
"""
|
381
382
|
return pulumi.get(self, "target_id")
|
382
383
|
|
383
384
|
@target_id.setter
|
384
|
-
def target_id(self, value: Optional[pulumi.Input[str]]):
|
385
|
+
def target_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
385
386
|
pulumi.set(self, "target_id", value)
|
386
387
|
|
387
388
|
@property
|
388
389
|
@pulumi.getter
|
389
|
-
def template(self) -> Optional[pulumi.Input[str]]:
|
390
|
+
def template(self) -> Optional[pulumi.Input[builtins.str]]:
|
390
391
|
"""
|
391
392
|
A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
392
393
|
"""
|
393
394
|
return pulumi.get(self, "template")
|
394
395
|
|
395
396
|
@template.setter
|
396
|
-
def template(self, value: Optional[pulumi.Input[str]]):
|
397
|
+
def template(self, value: Optional[pulumi.Input[builtins.str]]):
|
397
398
|
pulumi.set(self, "template", value)
|
398
399
|
|
399
400
|
@property
|
400
401
|
@pulumi.getter
|
401
|
-
def triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
402
|
+
def triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
402
403
|
"""
|
403
404
|
A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
404
405
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
@@ -406,26 +407,29 @@ class _AlertTargetState:
|
|
406
407
|
return pulumi.get(self, "triggers")
|
407
408
|
|
408
409
|
@triggers.setter
|
409
|
-
def triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
410
|
+
def triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
410
411
|
pulumi.set(self, "triggers", value)
|
411
412
|
|
412
413
|
|
413
414
|
class AlertTarget(pulumi.CustomResource):
|
415
|
+
|
416
|
+
pulumi_type = "wavefront:index/alertTarget:AlertTarget"
|
417
|
+
|
414
418
|
@overload
|
415
419
|
def __init__(__self__,
|
416
420
|
resource_name: str,
|
417
421
|
opts: Optional[pulumi.ResourceOptions] = None,
|
418
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
419
|
-
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
420
|
-
description: Optional[pulumi.Input[str]] = None,
|
421
|
-
email_subject: Optional[pulumi.Input[str]] = None,
|
422
|
-
is_html_content: Optional[pulumi.Input[bool]] = None,
|
423
|
-
method: Optional[pulumi.Input[str]] = None,
|
424
|
-
name: Optional[pulumi.Input[str]] = None,
|
425
|
-
recipient: Optional[pulumi.Input[str]] = None,
|
422
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
423
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
424
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
425
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
426
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
427
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
428
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
429
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
426
430
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
|
427
|
-
template: Optional[pulumi.Input[str]] = None,
|
428
|
-
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
431
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
432
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
429
433
|
__props__=None):
|
430
434
|
"""
|
431
435
|
Provides a wavefront Alert Target resource. This allows alert targets to created, updated, and deleted.
|
@@ -462,19 +466,19 @@ class AlertTarget(pulumi.CustomResource):
|
|
462
466
|
|
463
467
|
:param str resource_name: The name of the resource.
|
464
468
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
465
|
-
:param pulumi.Input[str] content_type: The value of the `Content-Type` header of the webhook.
|
466
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
469
|
+
:param pulumi.Input[builtins.str] content_type: The value of the `Content-Type` header of the webhook.
|
470
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
467
471
|
sent in the requests with a method of `WEBHOOK`.
|
468
|
-
:param pulumi.Input[str] description: Description describing this alert target.
|
469
|
-
:param pulumi.Input[str] email_subject: The subject title of an email notification target.
|
470
|
-
:param pulumi.Input[bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
471
|
-
:param pulumi.Input[str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
472
|
-
:param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
|
473
|
-
:param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
472
|
+
:param pulumi.Input[builtins.str] description: Description describing this alert target.
|
473
|
+
:param pulumi.Input[builtins.str] email_subject: The subject title of an email notification target.
|
474
|
+
:param pulumi.Input[builtins.bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
475
|
+
:param pulumi.Input[builtins.str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
476
|
+
:param pulumi.Input[builtins.str] name: The name of the alert target as it is displayed in Wavefront.
|
477
|
+
:param pulumi.Input[builtins.str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
474
478
|
routing key. `WEBHOOK`: URL endpoint.
|
475
479
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]] routes: List of routing targets that this alert target will notify. See Route
|
476
|
-
:param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
477
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
480
|
+
:param pulumi.Input[builtins.str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
481
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
478
482
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
479
483
|
"""
|
480
484
|
...
|
@@ -531,17 +535,17 @@ class AlertTarget(pulumi.CustomResource):
|
|
531
535
|
def _internal_init(__self__,
|
532
536
|
resource_name: str,
|
533
537
|
opts: Optional[pulumi.ResourceOptions] = None,
|
534
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
535
|
-
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
536
|
-
description: Optional[pulumi.Input[str]] = None,
|
537
|
-
email_subject: Optional[pulumi.Input[str]] = None,
|
538
|
-
is_html_content: Optional[pulumi.Input[bool]] = None,
|
539
|
-
method: Optional[pulumi.Input[str]] = None,
|
540
|
-
name: Optional[pulumi.Input[str]] = None,
|
541
|
-
recipient: Optional[pulumi.Input[str]] = None,
|
538
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
539
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
540
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
541
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
542
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
543
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
544
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
545
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
542
546
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
|
543
|
-
template: Optional[pulumi.Input[str]] = None,
|
544
|
-
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
547
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
548
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
545
549
|
__props__=None):
|
546
550
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
547
551
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -581,18 +585,18 @@ class AlertTarget(pulumi.CustomResource):
|
|
581
585
|
def get(resource_name: str,
|
582
586
|
id: pulumi.Input[str],
|
583
587
|
opts: Optional[pulumi.ResourceOptions] = None,
|
584
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
585
|
-
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
586
|
-
description: Optional[pulumi.Input[str]] = None,
|
587
|
-
email_subject: Optional[pulumi.Input[str]] = None,
|
588
|
-
is_html_content: Optional[pulumi.Input[bool]] = None,
|
589
|
-
method: Optional[pulumi.Input[str]] = None,
|
590
|
-
name: Optional[pulumi.Input[str]] = None,
|
591
|
-
recipient: Optional[pulumi.Input[str]] = None,
|
588
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
589
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
590
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
591
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
592
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
593
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
594
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
595
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
592
596
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
|
593
|
-
target_id: Optional[pulumi.Input[str]] = None,
|
594
|
-
template: Optional[pulumi.Input[str]] = None,
|
595
|
-
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'AlertTarget':
|
597
|
+
target_id: Optional[pulumi.Input[builtins.str]] = None,
|
598
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
599
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'AlertTarget':
|
596
600
|
"""
|
597
601
|
Get an existing AlertTarget resource's state with the given name, id, and optional extra
|
598
602
|
properties used to qualify the lookup.
|
@@ -600,20 +604,20 @@ class AlertTarget(pulumi.CustomResource):
|
|
600
604
|
:param str resource_name: The unique name of the resulting resource.
|
601
605
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
602
606
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
603
|
-
:param pulumi.Input[str] content_type: The value of the `Content-Type` header of the webhook.
|
604
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
607
|
+
:param pulumi.Input[builtins.str] content_type: The value of the `Content-Type` header of the webhook.
|
608
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_headers: A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
605
609
|
sent in the requests with a method of `WEBHOOK`.
|
606
|
-
:param pulumi.Input[str] description: Description describing this alert target.
|
607
|
-
:param pulumi.Input[str] email_subject: The subject title of an email notification target.
|
608
|
-
:param pulumi.Input[bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
609
|
-
:param pulumi.Input[str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
610
|
-
:param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
|
611
|
-
:param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
610
|
+
:param pulumi.Input[builtins.str] description: Description describing this alert target.
|
611
|
+
:param pulumi.Input[builtins.str] email_subject: The subject title of an email notification target.
|
612
|
+
:param pulumi.Input[builtins.bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
613
|
+
:param pulumi.Input[builtins.str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
614
|
+
:param pulumi.Input[builtins.str] name: The name of the alert target as it is displayed in Wavefront.
|
615
|
+
:param pulumi.Input[builtins.str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
612
616
|
routing key. `WEBHOOK`: URL endpoint.
|
613
617
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]] routes: List of routing targets that this alert target will notify. See Route
|
614
|
-
:param pulumi.Input[str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
615
|
-
:param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
616
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
618
|
+
:param pulumi.Input[builtins.str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
619
|
+
:param pulumi.Input[builtins.str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
620
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
617
621
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
618
622
|
"""
|
619
623
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -636,7 +640,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
636
640
|
|
637
641
|
@property
|
638
642
|
@pulumi.getter(name="contentType")
|
639
|
-
def content_type(self) -> pulumi.Output[Optional[str]]:
|
643
|
+
def content_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
640
644
|
"""
|
641
645
|
The value of the `Content-Type` header of the webhook.
|
642
646
|
"""
|
@@ -644,7 +648,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
644
648
|
|
645
649
|
@property
|
646
650
|
@pulumi.getter(name="customHeaders")
|
647
|
-
def custom_headers(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
651
|
+
def custom_headers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
648
652
|
"""
|
649
653
|
A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
650
654
|
sent in the requests with a method of `WEBHOOK`.
|
@@ -653,7 +657,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
653
657
|
|
654
658
|
@property
|
655
659
|
@pulumi.getter
|
656
|
-
def description(self) -> pulumi.Output[str]:
|
660
|
+
def description(self) -> pulumi.Output[builtins.str]:
|
657
661
|
"""
|
658
662
|
Description describing this alert target.
|
659
663
|
"""
|
@@ -661,7 +665,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
661
665
|
|
662
666
|
@property
|
663
667
|
@pulumi.getter(name="emailSubject")
|
664
|
-
def email_subject(self) -> pulumi.Output[Optional[str]]:
|
668
|
+
def email_subject(self) -> pulumi.Output[Optional[builtins.str]]:
|
665
669
|
"""
|
666
670
|
The subject title of an email notification target.
|
667
671
|
"""
|
@@ -669,7 +673,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
669
673
|
|
670
674
|
@property
|
671
675
|
@pulumi.getter(name="isHtmlContent")
|
672
|
-
def is_html_content(self) -> pulumi.Output[Optional[bool]]:
|
676
|
+
def is_html_content(self) -> pulumi.Output[Optional[builtins.bool]]:
|
673
677
|
"""
|
674
678
|
Determine whether the email alert content is sent as HTML or text.
|
675
679
|
"""
|
@@ -677,7 +681,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
677
681
|
|
678
682
|
@property
|
679
683
|
@pulumi.getter
|
680
|
-
def method(self) -> pulumi.Output[Optional[str]]:
|
684
|
+
def method(self) -> pulumi.Output[Optional[builtins.str]]:
|
681
685
|
"""
|
682
686
|
The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
683
687
|
"""
|
@@ -685,7 +689,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
685
689
|
|
686
690
|
@property
|
687
691
|
@pulumi.getter
|
688
|
-
def name(self) -> pulumi.Output[str]:
|
692
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
689
693
|
"""
|
690
694
|
The name of the alert target as it is displayed in Wavefront.
|
691
695
|
"""
|
@@ -693,7 +697,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
693
697
|
|
694
698
|
@property
|
695
699
|
@pulumi.getter
|
696
|
-
def recipient(self) -> pulumi.Output[str]:
|
700
|
+
def recipient(self) -> pulumi.Output[builtins.str]:
|
697
701
|
"""
|
698
702
|
The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
699
703
|
routing key. `WEBHOOK`: URL endpoint.
|
@@ -710,7 +714,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
710
714
|
|
711
715
|
@property
|
712
716
|
@pulumi.getter(name="targetId")
|
713
|
-
def target_id(self) -> pulumi.Output[str]:
|
717
|
+
def target_id(self) -> pulumi.Output[builtins.str]:
|
714
718
|
"""
|
715
719
|
The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
716
720
|
"""
|
@@ -718,7 +722,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
718
722
|
|
719
723
|
@property
|
720
724
|
@pulumi.getter
|
721
|
-
def template(self) -> pulumi.Output[str]:
|
725
|
+
def template(self) -> pulumi.Output[builtins.str]:
|
722
726
|
"""
|
723
727
|
A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
724
728
|
"""
|
@@ -726,7 +730,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
726
730
|
|
727
731
|
@property
|
728
732
|
@pulumi.getter
|
729
|
-
def triggers(self) -> pulumi.Output[Sequence[str]]:
|
733
|
+
def triggers(self) -> pulumi.Output[Sequence[builtins.str]]:
|
730
734
|
"""
|
731
735
|
A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
732
736
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|