pulumi-wavefront 3.2.0a1743576067__py3-none-any.whl → 3.2.0a1744267399__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 +239 -238
- pulumi_wavefront/alert_target.py +148 -147
- pulumi_wavefront/cloud_integration_app_dynamics.py +239 -238
- pulumi_wavefront/cloud_integration_aws_external_id.py +1 -0
- pulumi_wavefront/cloud_integration_azure.py +155 -154
- pulumi_wavefront/cloud_integration_azure_activity_log.py +127 -126
- pulumi_wavefront/cloud_integration_cloud_trail.py +155 -154
- pulumi_wavefront/cloud_integration_cloud_watch.py +169 -168
- pulumi_wavefront/cloud_integration_ec2.py +113 -112
- pulumi_wavefront/cloud_integration_gcp.py +127 -126
- pulumi_wavefront/cloud_integration_gcp_billing.py +113 -112
- pulumi_wavefront/cloud_integration_new_relic.py +113 -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 +127 -126
- pulumi_wavefront/dashboard_json.py +15 -14
- pulumi_wavefront/derived_metric.py +71 -70
- pulumi_wavefront/event.py +67 -66
- pulumi_wavefront/external_link.py +99 -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 +79 -78
- pulumi_wavefront/maintenance_window.py +127 -126
- pulumi_wavefront/metrics_policy.py +22 -21
- pulumi_wavefront/outputs.py +1205 -1204
- pulumi_wavefront/provider.py +19 -18
- pulumi_wavefront/pulumi-plugin.json +1 -1
- pulumi_wavefront/role.py +57 -56
- pulumi_wavefront/service_account.py +85 -84
- pulumi_wavefront/user.py +57 -56
- pulumi_wavefront/user_group.py +29 -28
- {pulumi_wavefront-3.2.0a1743576067.dist-info → pulumi_wavefront-3.2.0a1744267399.dist-info}/METADATA +1 -1
- pulumi_wavefront-3.2.0a1744267399.dist-info/RECORD +58 -0
- pulumi_wavefront-3.2.0a1743576067.dist-info/RECORD +0 -58
- {pulumi_wavefront-3.2.0a1743576067.dist-info → pulumi_wavefront-3.2.0a1744267399.dist-info}/WHEEL +0 -0
- {pulumi_wavefront-3.2.0a1743576067.dist-info → pulumi_wavefront-3.2.0a1744267399.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,7 +407,7 @@ 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
|
|
@@ -415,17 +416,17 @@ class AlertTarget(pulumi.CustomResource):
|
|
415
416
|
def __init__(__self__,
|
416
417
|
resource_name: str,
|
417
418
|
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,
|
419
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
420
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
421
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
422
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
423
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
424
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
425
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
426
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
426
427
|
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,
|
428
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
429
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
429
430
|
__props__=None):
|
430
431
|
"""
|
431
432
|
Provides a wavefront Alert Target resource. This allows alert targets to created, updated, and deleted.
|
@@ -462,19 +463,19 @@ class AlertTarget(pulumi.CustomResource):
|
|
462
463
|
|
463
464
|
:param str resource_name: The name of the resource.
|
464
465
|
: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
|
466
|
+
:param pulumi.Input[builtins.str] content_type: The value of the `Content-Type` header of the webhook.
|
467
|
+
: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
468
|
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
|
469
|
+
:param pulumi.Input[builtins.str] description: Description describing this alert target.
|
470
|
+
:param pulumi.Input[builtins.str] email_subject: The subject title of an email notification target.
|
471
|
+
:param pulumi.Input[builtins.bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
472
|
+
:param pulumi.Input[builtins.str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
473
|
+
:param pulumi.Input[builtins.str] name: The name of the alert target as it is displayed in Wavefront.
|
474
|
+
:param pulumi.Input[builtins.str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
474
475
|
routing key. `WEBHOOK`: URL endpoint.
|
475
476
|
: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`,
|
477
|
+
:param pulumi.Input[builtins.str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
478
|
+
: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
479
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
479
480
|
"""
|
480
481
|
...
|
@@ -531,17 +532,17 @@ class AlertTarget(pulumi.CustomResource):
|
|
531
532
|
def _internal_init(__self__,
|
532
533
|
resource_name: str,
|
533
534
|
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,
|
535
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
536
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
537
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
538
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
539
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
540
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
541
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
542
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
542
543
|
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,
|
544
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
545
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
545
546
|
__props__=None):
|
546
547
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
547
548
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -581,18 +582,18 @@ class AlertTarget(pulumi.CustomResource):
|
|
581
582
|
def get(resource_name: str,
|
582
583
|
id: pulumi.Input[str],
|
583
584
|
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,
|
585
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
586
|
+
custom_headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
587
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
588
|
+
email_subject: Optional[pulumi.Input[builtins.str]] = None,
|
589
|
+
is_html_content: Optional[pulumi.Input[builtins.bool]] = None,
|
590
|
+
method: Optional[pulumi.Input[builtins.str]] = None,
|
591
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
592
|
+
recipient: Optional[pulumi.Input[builtins.str]] = None,
|
592
593
|
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':
|
594
|
+
target_id: Optional[pulumi.Input[builtins.str]] = None,
|
595
|
+
template: Optional[pulumi.Input[builtins.str]] = None,
|
596
|
+
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'AlertTarget':
|
596
597
|
"""
|
597
598
|
Get an existing AlertTarget resource's state with the given name, id, and optional extra
|
598
599
|
properties used to qualify the lookup.
|
@@ -600,20 +601,20 @@ class AlertTarget(pulumi.CustomResource):
|
|
600
601
|
:param str resource_name: The unique name of the resulting resource.
|
601
602
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
602
603
|
: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
|
604
|
+
:param pulumi.Input[builtins.str] content_type: The value of the `Content-Type` header of the webhook.
|
605
|
+
: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
606
|
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
|
607
|
+
:param pulumi.Input[builtins.str] description: Description describing this alert target.
|
608
|
+
:param pulumi.Input[builtins.str] email_subject: The subject title of an email notification target.
|
609
|
+
:param pulumi.Input[builtins.bool] is_html_content: Determine whether the email alert content is sent as HTML or text.
|
610
|
+
:param pulumi.Input[builtins.str] method: The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
611
|
+
:param pulumi.Input[builtins.str] name: The name of the alert target as it is displayed in Wavefront.
|
612
|
+
:param pulumi.Input[builtins.str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
612
613
|
routing key. `WEBHOOK`: URL endpoint.
|
613
614
|
: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`,
|
615
|
+
:param pulumi.Input[builtins.str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
616
|
+
:param pulumi.Input[builtins.str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
617
|
+
: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
618
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
618
619
|
"""
|
619
620
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -636,7 +637,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
636
637
|
|
637
638
|
@property
|
638
639
|
@pulumi.getter(name="contentType")
|
639
|
-
def content_type(self) -> pulumi.Output[Optional[str]]:
|
640
|
+
def content_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
640
641
|
"""
|
641
642
|
The value of the `Content-Type` header of the webhook.
|
642
643
|
"""
|
@@ -644,7 +645,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
644
645
|
|
645
646
|
@property
|
646
647
|
@pulumi.getter(name="customHeaders")
|
647
|
-
def custom_headers(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
648
|
+
def custom_headers(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
648
649
|
"""
|
649
650
|
A `string->string` map specifying the custom HTTP header key/value pairs that will be
|
650
651
|
sent in the requests with a method of `WEBHOOK`.
|
@@ -653,7 +654,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
653
654
|
|
654
655
|
@property
|
655
656
|
@pulumi.getter
|
656
|
-
def description(self) -> pulumi.Output[str]:
|
657
|
+
def description(self) -> pulumi.Output[builtins.str]:
|
657
658
|
"""
|
658
659
|
Description describing this alert target.
|
659
660
|
"""
|
@@ -661,7 +662,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
661
662
|
|
662
663
|
@property
|
663
664
|
@pulumi.getter(name="emailSubject")
|
664
|
-
def email_subject(self) -> pulumi.Output[Optional[str]]:
|
665
|
+
def email_subject(self) -> pulumi.Output[Optional[builtins.str]]:
|
665
666
|
"""
|
666
667
|
The subject title of an email notification target.
|
667
668
|
"""
|
@@ -669,7 +670,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
669
670
|
|
670
671
|
@property
|
671
672
|
@pulumi.getter(name="isHtmlContent")
|
672
|
-
def is_html_content(self) -> pulumi.Output[Optional[bool]]:
|
673
|
+
def is_html_content(self) -> pulumi.Output[Optional[builtins.bool]]:
|
673
674
|
"""
|
674
675
|
Determine whether the email alert content is sent as HTML or text.
|
675
676
|
"""
|
@@ -677,7 +678,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
677
678
|
|
678
679
|
@property
|
679
680
|
@pulumi.getter
|
680
|
-
def method(self) -> pulumi.Output[Optional[str]]:
|
681
|
+
def method(self) -> pulumi.Output[Optional[builtins.str]]:
|
681
682
|
"""
|
682
683
|
The notification method used for notification target. One of `WEBHOOK`, `EMAIL`, `PAGERDUTY`.
|
683
684
|
"""
|
@@ -685,7 +686,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
685
686
|
|
686
687
|
@property
|
687
688
|
@pulumi.getter
|
688
|
-
def name(self) -> pulumi.Output[str]:
|
689
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
689
690
|
"""
|
690
691
|
The name of the alert target as it is displayed in Wavefront.
|
691
692
|
"""
|
@@ -693,7 +694,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
693
694
|
|
694
695
|
@property
|
695
696
|
@pulumi.getter
|
696
|
-
def recipient(self) -> pulumi.Output[str]:
|
697
|
+
def recipient(self) -> pulumi.Output[builtins.str]:
|
697
698
|
"""
|
698
699
|
The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
699
700
|
routing key. `WEBHOOK`: URL endpoint.
|
@@ -710,7 +711,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
710
711
|
|
711
712
|
@property
|
712
713
|
@pulumi.getter(name="targetId")
|
713
|
-
def target_id(self) -> pulumi.Output[str]:
|
714
|
+
def target_id(self) -> pulumi.Output[builtins.str]:
|
714
715
|
"""
|
715
716
|
The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
716
717
|
"""
|
@@ -718,7 +719,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
718
719
|
|
719
720
|
@property
|
720
721
|
@pulumi.getter
|
721
|
-
def template(self) -> pulumi.Output[str]:
|
722
|
+
def template(self) -> pulumi.Output[builtins.str]:
|
722
723
|
"""
|
723
724
|
A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
724
725
|
"""
|
@@ -726,7 +727,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
726
727
|
|
727
728
|
@property
|
728
729
|
@pulumi.getter
|
729
|
-
def triggers(self) -> pulumi.Output[Sequence[str]]:
|
730
|
+
def triggers(self) -> pulumi.Output[Sequence[builtins.str]]:
|
730
731
|
"""
|
731
732
|
A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
|
732
733
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|