pulumi-wavefront 3.1.0a1704219685__py3-none-any.whl → 3.1.2__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/_inputs.py +10 -10
- pulumi_wavefront/_utilities.py +2 -2
- pulumi_wavefront/alert.py +8 -6
- pulumi_wavefront/alert_target.py +12 -10
- pulumi_wavefront/cloud_integration_app_dynamics.py +10 -8
- pulumi_wavefront/cloud_integration_aws_external_id.py +4 -4
- pulumi_wavefront/cloud_integration_azure.py +6 -4
- pulumi_wavefront/cloud_integration_azure_activity_log.py +6 -4
- pulumi_wavefront/cloud_integration_cloud_trail.py +6 -4
- pulumi_wavefront/cloud_integration_cloud_watch.py +6 -4
- pulumi_wavefront/cloud_integration_ec2.py +6 -4
- pulumi_wavefront/cloud_integration_gcp.py +8 -10
- pulumi_wavefront/cloud_integration_gcp_billing.py +10 -12
- pulumi_wavefront/cloud_integration_new_relic.py +8 -4
- pulumi_wavefront/dashboard.py +2 -2
- pulumi_wavefront/dashboard_json.py +230 -232
- pulumi_wavefront/derived_metric.py +4 -2
- pulumi_wavefront/event.py +6 -4
- pulumi_wavefront/external_link.py +4 -2
- pulumi_wavefront/get_alert.py +2 -0
- pulumi_wavefront/get_alerts.py +2 -0
- pulumi_wavefront/get_dashboard.py +2 -0
- pulumi_wavefront/get_dashboards.py +2 -0
- pulumi_wavefront/get_default_user_group.py +2 -0
- pulumi_wavefront/get_derived_metric.py +2 -0
- pulumi_wavefront/get_derived_metrics.py +2 -0
- pulumi_wavefront/get_event.py +2 -0
- pulumi_wavefront/get_events.py +8 -6
- pulumi_wavefront/get_external_link.py +2 -0
- pulumi_wavefront/get_external_links.py +2 -0
- pulumi_wavefront/get_maintenance_window.py +2 -0
- pulumi_wavefront/get_role.py +2 -0
- pulumi_wavefront/get_roles.py +2 -0
- pulumi_wavefront/get_user.py +2 -0
- pulumi_wavefront/get_user_group.py +2 -0
- pulumi_wavefront/get_user_groups.py +2 -0
- pulumi_wavefront/get_users.py +2 -0
- pulumi_wavefront/ingestion_policy.py +8 -4
- pulumi_wavefront/maintenance_window.py +10 -10
- pulumi_wavefront/metrics_policy.py +8 -6
- pulumi_wavefront/outputs.py +30 -10
- pulumi_wavefront/role.py +4 -4
- pulumi_wavefront/service_account.py +6 -6
- pulumi_wavefront/user.py +2 -2
- pulumi_wavefront/user_group.py +8 -4
- {pulumi_wavefront-3.1.0a1704219685.dist-info → pulumi_wavefront-3.1.2.dist-info}/METADATA +2 -2
- pulumi_wavefront-3.1.2.dist-info/RECORD +58 -0
- {pulumi_wavefront-3.1.0a1704219685.dist-info → pulumi_wavefront-3.1.2.dist-info}/WHEEL +1 -1
- pulumi_wavefront-3.1.0a1704219685.dist-info/RECORD +0 -58
- {pulumi_wavefront-3.1.0a1704219685.dist-info → pulumi_wavefront-3.1.2.dist-info}/top_level.txt +0 -0
@@ -78,126 +78,125 @@ class DashboardJson(pulumi.CustomResource):
|
|
78
78
|
import pulumi
|
79
79
|
import pulumi_wavefront as wavefront
|
80
80
|
|
81
|
-
test_dashboard_json = wavefront.DashboardJson("
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
81
|
+
test_dashboard_json = wavefront.DashboardJson("test_dashboard_json", dashboard_json=\"\"\"{
|
82
|
+
"acl": {
|
83
|
+
"canModify": [
|
84
|
+
"group-uuid",
|
85
|
+
"role-uuid"
|
86
|
+
],
|
87
|
+
"canView": [
|
88
|
+
"group-uuid",
|
89
|
+
"role-uuid"
|
90
|
+
]
|
91
|
+
},
|
92
|
+
"name": "Terraform Test Dashboard Json",
|
93
|
+
"description": "a",
|
94
|
+
"eventFilterType": "BYCHART",
|
95
|
+
"eventQuery": "",
|
96
|
+
"defaultTimeWindow": "",
|
97
|
+
"url": "tftestimport",
|
98
|
+
"displayDescription": false,
|
99
|
+
"displaySectionTableOfContents": true,
|
100
|
+
"displayQueryParameters": false,
|
101
|
+
"sections": [
|
102
|
+
{
|
103
|
+
"name": "section 1",
|
104
|
+
"rows": [
|
105
|
+
{
|
106
|
+
"charts": [
|
107
|
+
{
|
108
|
+
"name": "chart 1",
|
109
|
+
"sources": [
|
110
|
+
{
|
111
|
+
"name": "source 1",
|
112
|
+
"query": "ts()",
|
113
|
+
"scatterPlotSource": "Y",
|
114
|
+
"querybuilderEnabled": false,
|
115
|
+
"sourceDescription": ""
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"units": "someunit",
|
119
|
+
"base": 0,
|
120
|
+
"noDefaultEvents": false,
|
121
|
+
"interpolatePoints": false,
|
122
|
+
"includeObsoleteMetrics": false,
|
123
|
+
"description": "This is chart 1, showing something",
|
124
|
+
"chartSettings": {
|
125
|
+
"type": "markdown-widget",
|
126
|
+
"max": 100,
|
127
|
+
"expectedDataSpacing": 120,
|
128
|
+
"windowing": "full",
|
129
|
+
"windowSize": 10,
|
130
|
+
"autoColumnTags": false,
|
131
|
+
"columnTags": "deprecated",
|
132
|
+
"tagMode": "all",
|
133
|
+
"numTags": 2,
|
134
|
+
"customTags": [
|
135
|
+
"tag1",
|
136
|
+
"tag2"
|
137
|
+
],
|
138
|
+
"groupBySource": true,
|
139
|
+
"y1Max": 100,
|
140
|
+
"y1Units": "units",
|
141
|
+
"y0ScaleSIBy1024": true,
|
142
|
+
"y1ScaleSIBy1024": true,
|
143
|
+
"y0UnitAutoscaling": true,
|
144
|
+
"y1UnitAutoscaling": true,
|
145
|
+
"fixedLegendEnabled": true,
|
146
|
+
"fixedLegendUseRawStats": true,
|
147
|
+
"fixedLegendPosition": "RIGHT",
|
148
|
+
"fixedLegendDisplayStats": [
|
149
|
+
"stat1",
|
150
|
+
"stat2"
|
117
151
|
],
|
118
|
-
"
|
119
|
-
"
|
120
|
-
"
|
121
|
-
"
|
122
|
-
|
123
|
-
|
124
|
-
"
|
125
|
-
"
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
"autoColumnTags": false,
|
131
|
-
"columnTags": "deprecated",
|
132
|
-
"tagMode": "all",
|
133
|
-
"numTags": 2,
|
134
|
-
"customTags": [
|
135
|
-
"tag1",
|
136
|
-
"tag2"
|
137
|
-
],
|
138
|
-
"groupBySource": true,
|
139
|
-
"y1Max": 100,
|
140
|
-
"y1Units": "units",
|
141
|
-
"y0ScaleSIBy1024": true,
|
142
|
-
"y1ScaleSIBy1024": true,
|
143
|
-
"y0UnitAutoscaling": true,
|
144
|
-
"y1UnitAutoscaling": true,
|
145
|
-
"fixedLegendEnabled": true,
|
146
|
-
"fixedLegendUseRawStats": true,
|
147
|
-
"fixedLegendPosition": "RIGHT",
|
148
|
-
"fixedLegendDisplayStats": [
|
149
|
-
"stat1",
|
150
|
-
"stat2"
|
151
|
-
],
|
152
|
-
"fixedLegendFilterSort": "TOP",
|
153
|
-
"fixedLegendFilterLimit": 1,
|
154
|
-
"fixedLegendFilterField": "CURRENT",
|
155
|
-
"plainMarkdownContent": "markdown content"
|
156
|
-
},
|
157
|
-
"chartAttributes": {
|
158
|
-
"dashboardLinks": {
|
159
|
-
"*": {
|
160
|
-
"variables": {
|
161
|
-
"xxx": "xxx"
|
162
|
-
},
|
163
|
-
"destination": "/dashboards/xxxx"
|
164
|
-
}
|
152
|
+
"fixedLegendFilterSort": "TOP",
|
153
|
+
"fixedLegendFilterLimit": 1,
|
154
|
+
"fixedLegendFilterField": "CURRENT",
|
155
|
+
"plainMarkdownContent": "markdown content"
|
156
|
+
},
|
157
|
+
"chartAttributes": {
|
158
|
+
"dashboardLinks": {
|
159
|
+
"*": {
|
160
|
+
"variables": {
|
161
|
+
"xxx": "xxx"
|
162
|
+
},
|
163
|
+
"destination": "/dashboards/xxxx"
|
165
164
|
}
|
166
|
-
}
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
}
|
174
|
-
],
|
175
|
-
"parameterDetails": {
|
176
|
-
"param": {
|
177
|
-
"hideFromView": false,
|
178
|
-
"description": null,
|
179
|
-
"allowAll": null,
|
180
|
-
"tagKey": null,
|
181
|
-
"queryValue": null,
|
182
|
-
"dynamicFieldType": null,
|
183
|
-
"reverseDynSort": null,
|
184
|
-
"parameterType": "SIMPLE",
|
185
|
-
"label": "test",
|
186
|
-
"defaultValue": "Label",
|
187
|
-
"valuesToReadableStrings": {
|
188
|
-
"Label": "test"
|
189
|
-
},
|
190
|
-
"selectedLabel": "Label",
|
191
|
-
"value": "test"
|
192
|
-
}
|
193
|
-
},
|
194
|
-
"tags": {
|
195
|
-
"customerTags": [
|
196
|
-
"terraform"
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"summarization": "MEAN"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"heightFactor": 50
|
171
|
+
}
|
197
172
|
]
|
198
173
|
}
|
174
|
+
],
|
175
|
+
"parameterDetails": {
|
176
|
+
"param": {
|
177
|
+
"hideFromView": false,
|
178
|
+
"description": null,
|
179
|
+
"allowAll": null,
|
180
|
+
"tagKey": null,
|
181
|
+
"queryValue": null,
|
182
|
+
"dynamicFieldType": null,
|
183
|
+
"reverseDynSort": null,
|
184
|
+
"parameterType": "SIMPLE",
|
185
|
+
"label": "test",
|
186
|
+
"defaultValue": "Label",
|
187
|
+
"valuesToReadableStrings": {
|
188
|
+
"Label": "test"
|
189
|
+
},
|
190
|
+
"selectedLabel": "Label",
|
191
|
+
"value": "test"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
"tags": {
|
195
|
+
"customerTags": [
|
196
|
+
"terraform"
|
197
|
+
]
|
199
198
|
}
|
200
|
-
|
199
|
+
}
|
201
200
|
\"\"\")
|
202
201
|
```
|
203
202
|
|
@@ -210,7 +209,7 @@ class DashboardJson(pulumi.CustomResource):
|
|
210
209
|
Dashboard JSON can be imported by using the `id`, e.g.:
|
211
210
|
|
212
211
|
```sh
|
213
|
-
|
212
|
+
$ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
|
214
213
|
```
|
215
214
|
|
216
215
|
:param str resource_name: The name of the resource.
|
@@ -233,126 +232,125 @@ class DashboardJson(pulumi.CustomResource):
|
|
233
232
|
import pulumi
|
234
233
|
import pulumi_wavefront as wavefront
|
235
234
|
|
236
|
-
test_dashboard_json = wavefront.DashboardJson("
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
235
|
+
test_dashboard_json = wavefront.DashboardJson("test_dashboard_json", dashboard_json=\"\"\"{
|
236
|
+
"acl": {
|
237
|
+
"canModify": [
|
238
|
+
"group-uuid",
|
239
|
+
"role-uuid"
|
240
|
+
],
|
241
|
+
"canView": [
|
242
|
+
"group-uuid",
|
243
|
+
"role-uuid"
|
244
|
+
]
|
245
|
+
},
|
246
|
+
"name": "Terraform Test Dashboard Json",
|
247
|
+
"description": "a",
|
248
|
+
"eventFilterType": "BYCHART",
|
249
|
+
"eventQuery": "",
|
250
|
+
"defaultTimeWindow": "",
|
251
|
+
"url": "tftestimport",
|
252
|
+
"displayDescription": false,
|
253
|
+
"displaySectionTableOfContents": true,
|
254
|
+
"displayQueryParameters": false,
|
255
|
+
"sections": [
|
256
|
+
{
|
257
|
+
"name": "section 1",
|
258
|
+
"rows": [
|
259
|
+
{
|
260
|
+
"charts": [
|
261
|
+
{
|
262
|
+
"name": "chart 1",
|
263
|
+
"sources": [
|
264
|
+
{
|
265
|
+
"name": "source 1",
|
266
|
+
"query": "ts()",
|
267
|
+
"scatterPlotSource": "Y",
|
268
|
+
"querybuilderEnabled": false,
|
269
|
+
"sourceDescription": ""
|
270
|
+
}
|
271
|
+
],
|
272
|
+
"units": "someunit",
|
273
|
+
"base": 0,
|
274
|
+
"noDefaultEvents": false,
|
275
|
+
"interpolatePoints": false,
|
276
|
+
"includeObsoleteMetrics": false,
|
277
|
+
"description": "This is chart 1, showing something",
|
278
|
+
"chartSettings": {
|
279
|
+
"type": "markdown-widget",
|
280
|
+
"max": 100,
|
281
|
+
"expectedDataSpacing": 120,
|
282
|
+
"windowing": "full",
|
283
|
+
"windowSize": 10,
|
284
|
+
"autoColumnTags": false,
|
285
|
+
"columnTags": "deprecated",
|
286
|
+
"tagMode": "all",
|
287
|
+
"numTags": 2,
|
288
|
+
"customTags": [
|
289
|
+
"tag1",
|
290
|
+
"tag2"
|
291
|
+
],
|
292
|
+
"groupBySource": true,
|
293
|
+
"y1Max": 100,
|
294
|
+
"y1Units": "units",
|
295
|
+
"y0ScaleSIBy1024": true,
|
296
|
+
"y1ScaleSIBy1024": true,
|
297
|
+
"y0UnitAutoscaling": true,
|
298
|
+
"y1UnitAutoscaling": true,
|
299
|
+
"fixedLegendEnabled": true,
|
300
|
+
"fixedLegendUseRawStats": true,
|
301
|
+
"fixedLegendPosition": "RIGHT",
|
302
|
+
"fixedLegendDisplayStats": [
|
303
|
+
"stat1",
|
304
|
+
"stat2"
|
272
305
|
],
|
273
|
-
"
|
274
|
-
"
|
275
|
-
"
|
276
|
-
"
|
277
|
-
|
278
|
-
|
279
|
-
"
|
280
|
-
"
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
"autoColumnTags": false,
|
286
|
-
"columnTags": "deprecated",
|
287
|
-
"tagMode": "all",
|
288
|
-
"numTags": 2,
|
289
|
-
"customTags": [
|
290
|
-
"tag1",
|
291
|
-
"tag2"
|
292
|
-
],
|
293
|
-
"groupBySource": true,
|
294
|
-
"y1Max": 100,
|
295
|
-
"y1Units": "units",
|
296
|
-
"y0ScaleSIBy1024": true,
|
297
|
-
"y1ScaleSIBy1024": true,
|
298
|
-
"y0UnitAutoscaling": true,
|
299
|
-
"y1UnitAutoscaling": true,
|
300
|
-
"fixedLegendEnabled": true,
|
301
|
-
"fixedLegendUseRawStats": true,
|
302
|
-
"fixedLegendPosition": "RIGHT",
|
303
|
-
"fixedLegendDisplayStats": [
|
304
|
-
"stat1",
|
305
|
-
"stat2"
|
306
|
-
],
|
307
|
-
"fixedLegendFilterSort": "TOP",
|
308
|
-
"fixedLegendFilterLimit": 1,
|
309
|
-
"fixedLegendFilterField": "CURRENT",
|
310
|
-
"plainMarkdownContent": "markdown content"
|
311
|
-
},
|
312
|
-
"chartAttributes": {
|
313
|
-
"dashboardLinks": {
|
314
|
-
"*": {
|
315
|
-
"variables": {
|
316
|
-
"xxx": "xxx"
|
317
|
-
},
|
318
|
-
"destination": "/dashboards/xxxx"
|
319
|
-
}
|
306
|
+
"fixedLegendFilterSort": "TOP",
|
307
|
+
"fixedLegendFilterLimit": 1,
|
308
|
+
"fixedLegendFilterField": "CURRENT",
|
309
|
+
"plainMarkdownContent": "markdown content"
|
310
|
+
},
|
311
|
+
"chartAttributes": {
|
312
|
+
"dashboardLinks": {
|
313
|
+
"*": {
|
314
|
+
"variables": {
|
315
|
+
"xxx": "xxx"
|
316
|
+
},
|
317
|
+
"destination": "/dashboards/xxxx"
|
320
318
|
}
|
321
|
-
}
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
}
|
329
|
-
],
|
330
|
-
"parameterDetails": {
|
331
|
-
"param": {
|
332
|
-
"hideFromView": false,
|
333
|
-
"description": null,
|
334
|
-
"allowAll": null,
|
335
|
-
"tagKey": null,
|
336
|
-
"queryValue": null,
|
337
|
-
"dynamicFieldType": null,
|
338
|
-
"reverseDynSort": null,
|
339
|
-
"parameterType": "SIMPLE",
|
340
|
-
"label": "test",
|
341
|
-
"defaultValue": "Label",
|
342
|
-
"valuesToReadableStrings": {
|
343
|
-
"Label": "test"
|
344
|
-
},
|
345
|
-
"selectedLabel": "Label",
|
346
|
-
"value": "test"
|
347
|
-
}
|
348
|
-
},
|
349
|
-
"tags": {
|
350
|
-
"customerTags": [
|
351
|
-
"terraform"
|
319
|
+
}
|
320
|
+
},
|
321
|
+
"summarization": "MEAN"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"heightFactor": 50
|
325
|
+
}
|
352
326
|
]
|
353
327
|
}
|
328
|
+
],
|
329
|
+
"parameterDetails": {
|
330
|
+
"param": {
|
331
|
+
"hideFromView": false,
|
332
|
+
"description": null,
|
333
|
+
"allowAll": null,
|
334
|
+
"tagKey": null,
|
335
|
+
"queryValue": null,
|
336
|
+
"dynamicFieldType": null,
|
337
|
+
"reverseDynSort": null,
|
338
|
+
"parameterType": "SIMPLE",
|
339
|
+
"label": "test",
|
340
|
+
"defaultValue": "Label",
|
341
|
+
"valuesToReadableStrings": {
|
342
|
+
"Label": "test"
|
343
|
+
},
|
344
|
+
"selectedLabel": "Label",
|
345
|
+
"value": "test"
|
346
|
+
}
|
347
|
+
},
|
348
|
+
"tags": {
|
349
|
+
"customerTags": [
|
350
|
+
"terraform"
|
351
|
+
]
|
354
352
|
}
|
355
|
-
|
353
|
+
}
|
356
354
|
\"\"\")
|
357
355
|
```
|
358
356
|
|
@@ -365,7 +363,7 @@ class DashboardJson(pulumi.CustomResource):
|
|
365
363
|
Dashboard JSON can be imported by using the `id`, e.g.:
|
366
364
|
|
367
365
|
```sh
|
368
|
-
|
366
|
+
$ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
|
369
367
|
```
|
370
368
|
|
371
369
|
:param str resource_name: The name of the resource.
|
@@ -207,6 +207,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
207
207
|
import pulumi_wavefront as wavefront
|
208
208
|
|
209
209
|
derived = wavefront.DerivedMetric("derived",
|
210
|
+
name="dummy derived metric",
|
210
211
|
minutes=5,
|
211
212
|
query="aliasMetric(5, \\"some.metric\\")")
|
212
213
|
```
|
@@ -216,7 +217,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
216
217
|
Derived Metrics can be imported by using the `id`, e.g.:
|
217
218
|
|
218
219
|
```sh
|
219
|
-
|
220
|
+
$ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
|
220
221
|
```
|
221
222
|
|
222
223
|
:param str resource_name: The name of the resource.
|
@@ -244,6 +245,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
244
245
|
import pulumi_wavefront as wavefront
|
245
246
|
|
246
247
|
derived = wavefront.DerivedMetric("derived",
|
248
|
+
name="dummy derived metric",
|
247
249
|
minutes=5,
|
248
250
|
query="aliasMetric(5, \\"some.metric\\")")
|
249
251
|
```
|
@@ -253,7 +255,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
253
255
|
Derived Metrics can be imported by using the `id`, e.g.:
|
254
256
|
|
255
257
|
```sh
|
256
|
-
|
258
|
+
$ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
|
257
259
|
```
|
258
260
|
|
259
261
|
:param str resource_name: The name of the resource.
|
pulumi_wavefront/event.py
CHANGED
@@ -199,10 +199,11 @@ class Event(pulumi.CustomResource):
|
|
199
199
|
import pulumi_wavefront as wavefront
|
200
200
|
|
201
201
|
event = wavefront.Event("event",
|
202
|
+
name="terraform-test",
|
202
203
|
annotations={
|
203
|
-
"details": "description",
|
204
204
|
"severity": "info",
|
205
205
|
"type": "event type",
|
206
|
+
"details": "description",
|
206
207
|
},
|
207
208
|
tags=["eventTag1"])
|
208
209
|
```
|
@@ -212,7 +213,7 @@ class Event(pulumi.CustomResource):
|
|
212
213
|
You can import events by using the id, for example:
|
213
214
|
|
214
215
|
```sh
|
215
|
-
|
216
|
+
$ pulumi import wavefront:index/event:Event event 1479868728473
|
216
217
|
```
|
217
218
|
|
218
219
|
:param str resource_name: The name of the resource.
|
@@ -238,10 +239,11 @@ class Event(pulumi.CustomResource):
|
|
238
239
|
import pulumi_wavefront as wavefront
|
239
240
|
|
240
241
|
event = wavefront.Event("event",
|
242
|
+
name="terraform-test",
|
241
243
|
annotations={
|
242
|
-
"details": "description",
|
243
244
|
"severity": "info",
|
244
245
|
"type": "event type",
|
246
|
+
"details": "description",
|
245
247
|
},
|
246
248
|
tags=["eventTag1"])
|
247
249
|
```
|
@@ -251,7 +253,7 @@ class Event(pulumi.CustomResource):
|
|
251
253
|
You can import events by using the id, for example:
|
252
254
|
|
253
255
|
```sh
|
254
|
-
|
256
|
+
$ pulumi import wavefront:index/event:Event event 1479868728473
|
255
257
|
```
|
256
258
|
|
257
259
|
:param str resource_name: The name of the resource.
|
@@ -284,6 +284,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
284
284
|
import pulumi_wavefront as wavefront
|
285
285
|
|
286
286
|
basic = wavefront.ExternalLink("basic",
|
287
|
+
name="External Link",
|
287
288
|
description="An external link description",
|
288
289
|
template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
|
289
290
|
```
|
@@ -293,7 +294,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
293
294
|
Maintenance windows can be imported by using the `id`, e.g.:
|
294
295
|
|
295
296
|
```sh
|
296
|
-
|
297
|
+
$ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
|
297
298
|
```
|
298
299
|
|
299
300
|
:param str resource_name: The name of the resource.
|
@@ -325,6 +326,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
325
326
|
import pulumi_wavefront as wavefront
|
326
327
|
|
327
328
|
basic = wavefront.ExternalLink("basic",
|
329
|
+
name="External Link",
|
328
330
|
description="An external link description",
|
329
331
|
template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
|
330
332
|
```
|
@@ -334,7 +336,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
334
336
|
Maintenance windows can be imported by using the `id`, e.g.:
|
335
337
|
|
336
338
|
```sh
|
337
|
-
|
339
|
+
$ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
|
338
340
|
```
|
339
341
|
|
340
342
|
:param str resource_name: The name of the resource.
|
pulumi_wavefront/get_alert.py
CHANGED
@@ -342,6 +342,7 @@ def get_alert(id: Optional[str] = None,
|
|
342
342
|
import pulumi
|
343
343
|
import pulumi_wavefront as wavefront
|
344
344
|
|
345
|
+
# Get the information about the alert.
|
345
346
|
example = wavefront.get_alert(id="alert-id")
|
346
347
|
```
|
347
348
|
|
@@ -396,6 +397,7 @@ def get_alert_output(id: Optional[pulumi.Input[str]] = None,
|
|
396
397
|
import pulumi
|
397
398
|
import pulumi_wavefront as wavefront
|
398
399
|
|
400
|
+
# Get the information about the alert.
|
399
401
|
example = wavefront.get_alert(id="alert-id")
|
400
402
|
```
|
401
403
|
|
pulumi_wavefront/get_alerts.py
CHANGED
@@ -87,6 +87,7 @@ def get_alerts(limit: Optional[int] = None,
|
|
87
87
|
import pulumi
|
88
88
|
import pulumi_wavefront as wavefront
|
89
89
|
|
90
|
+
# Get the information about all alerts.
|
90
91
|
example = wavefront.get_alerts(limit=10,
|
91
92
|
offset=0)
|
92
93
|
```
|
@@ -121,6 +122,7 @@ def get_alerts_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
|
121
122
|
import pulumi
|
122
123
|
import pulumi_wavefront as wavefront
|
123
124
|
|
125
|
+
# Get the information about all alerts.
|
124
126
|
example = wavefront.get_alerts(limit=10,
|
125
127
|
offset=0)
|
126
128
|
```
|
@@ -392,6 +392,7 @@ def get_dashboard(id: Optional[str] = None,
|
|
392
392
|
import pulumi
|
393
393
|
import pulumi_wavefront as wavefront
|
394
394
|
|
395
|
+
# Get the information about a dashboard.
|
395
396
|
example = wavefront.get_dashboard(id="dashboard-id")
|
396
397
|
```
|
397
398
|
|
@@ -453,6 +454,7 @@ def get_dashboard_output(id: Optional[pulumi.Input[str]] = None,
|
|
453
454
|
import pulumi
|
454
455
|
import pulumi_wavefront as wavefront
|
455
456
|
|
457
|
+
# Get the information about a dashboard.
|
456
458
|
example = wavefront.get_dashboard(id="dashboard-id")
|
457
459
|
```
|
458
460
|
|