pulumi-wavefront 3.2.0a1713340678__py3-none-any.whl → 3.2.0a1713905403__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. pulumi_wavefront/_inputs.py +0 -10
  2. pulumi_wavefront/alert.py +6 -8
  3. pulumi_wavefront/alert_target.py +10 -12
  4. pulumi_wavefront/cloud_integration_app_dynamics.py +8 -10
  5. pulumi_wavefront/cloud_integration_aws_external_id.py +2 -6
  6. pulumi_wavefront/cloud_integration_azure.py +4 -6
  7. pulumi_wavefront/cloud_integration_azure_activity_log.py +4 -6
  8. pulumi_wavefront/cloud_integration_cloud_trail.py +4 -6
  9. pulumi_wavefront/cloud_integration_cloud_watch.py +4 -6
  10. pulumi_wavefront/cloud_integration_ec2.py +4 -6
  11. pulumi_wavefront/cloud_integration_gcp.py +6 -12
  12. pulumi_wavefront/cloud_integration_gcp_billing.py +8 -14
  13. pulumi_wavefront/cloud_integration_new_relic.py +6 -6
  14. pulumi_wavefront/dashboard_json.py +228 -234
  15. pulumi_wavefront/derived_metric.py +2 -4
  16. pulumi_wavefront/event.py +4 -6
  17. pulumi_wavefront/external_link.py +2 -4
  18. pulumi_wavefront/get_alert.py +2 -4
  19. pulumi_wavefront/get_alerts.py +2 -4
  20. pulumi_wavefront/get_dashboard.py +2 -4
  21. pulumi_wavefront/get_dashboards.py +2 -4
  22. pulumi_wavefront/get_default_user_group.py +2 -4
  23. pulumi_wavefront/get_derived_metric.py +2 -4
  24. pulumi_wavefront/get_derived_metrics.py +2 -4
  25. pulumi_wavefront/get_event.py +2 -4
  26. pulumi_wavefront/get_events.py +8 -10
  27. pulumi_wavefront/get_external_link.py +2 -4
  28. pulumi_wavefront/get_external_links.py +2 -4
  29. pulumi_wavefront/get_maintenance_window.py +2 -4
  30. pulumi_wavefront/get_role.py +2 -4
  31. pulumi_wavefront/get_roles.py +2 -4
  32. pulumi_wavefront/get_user.py +2 -4
  33. pulumi_wavefront/get_user_group.py +2 -4
  34. pulumi_wavefront/get_user_groups.py +2 -4
  35. pulumi_wavefront/get_users.py +2 -4
  36. pulumi_wavefront/ingestion_policy.py +6 -6
  37. pulumi_wavefront/maintenance_window.py +8 -12
  38. pulumi_wavefront/metrics_policy.py +4 -12
  39. pulumi_wavefront/outputs.py +0 -10
  40. pulumi_wavefront/role.py +2 -6
  41. pulumi_wavefront/service_account.py +4 -8
  42. pulumi_wavefront/user.py +0 -4
  43. pulumi_wavefront/user_group.py +6 -6
  44. {pulumi_wavefront-3.2.0a1713340678.dist-info → pulumi_wavefront-3.2.0a1713905403.dist-info}/METADATA +1 -1
  45. pulumi_wavefront-3.2.0a1713905403.dist-info/RECORD +58 -0
  46. pulumi_wavefront-3.2.0a1713340678.dist-info/RECORD +0 -58
  47. {pulumi_wavefront-3.2.0a1713340678.dist-info → pulumi_wavefront-3.2.0a1713905403.dist-info}/WHEEL +0 -0
  48. {pulumi_wavefront-3.2.0a1713340678.dist-info → pulumi_wavefront-3.2.0a1713905403.dist-info}/top_level.txt +0 -0
@@ -74,134 +74,131 @@ class DashboardJson(pulumi.CustomResource):
74
74
 
75
75
  ## Example Usage
76
76
 
77
- <!--Start PulumiCodeChooser -->
78
77
  ```python
79
78
  import pulumi
80
79
  import pulumi_wavefront as wavefront
81
80
 
82
- test_dashboard_json = wavefront.DashboardJson("testDashboardJson", dashboard_json=\"\"\" {
83
- "acl": {
84
- "canModify": [
85
- "group-uuid",
86
- "role-uuid"
87
- ],
88
- "canView": [
89
- "group-uuid",
90
- "role-uuid"
91
- ]
92
- },
93
- "name": "Terraform Test Dashboard Json",
94
- "description": "a",
95
- "eventFilterType": "BYCHART",
96
- "eventQuery": "",
97
- "defaultTimeWindow": "",
98
- "url": "tftestimport",
99
- "displayDescription": false,
100
- "displaySectionTableOfContents": true,
101
- "displayQueryParameters": false,
102
- "sections": [
103
- {
104
- "name": "section 1",
105
- "rows": [
106
- {
107
- "charts": [
108
- {
109
- "name": "chart 1",
110
- "sources": [
111
- {
112
- "name": "source 1",
113
- "query": "ts()",
114
- "scatterPlotSource": "Y",
115
- "querybuilderEnabled": false,
116
- "sourceDescription": ""
117
- }
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"
118
151
  ],
119
- "units": "someunit",
120
- "base": 0,
121
- "noDefaultEvents": false,
122
- "interpolatePoints": false,
123
- "includeObsoleteMetrics": false,
124
- "description": "This is chart 1, showing something",
125
- "chartSettings": {
126
- "type": "markdown-widget",
127
- "max": 100,
128
- "expectedDataSpacing": 120,
129
- "windowing": "full",
130
- "windowSize": 10,
131
- "autoColumnTags": false,
132
- "columnTags": "deprecated",
133
- "tagMode": "all",
134
- "numTags": 2,
135
- "customTags": [
136
- "tag1",
137
- "tag2"
138
- ],
139
- "groupBySource": true,
140
- "y1Max": 100,
141
- "y1Units": "units",
142
- "y0ScaleSIBy1024": true,
143
- "y1ScaleSIBy1024": true,
144
- "y0UnitAutoscaling": true,
145
- "y1UnitAutoscaling": true,
146
- "fixedLegendEnabled": true,
147
- "fixedLegendUseRawStats": true,
148
- "fixedLegendPosition": "RIGHT",
149
- "fixedLegendDisplayStats": [
150
- "stat1",
151
- "stat2"
152
- ],
153
- "fixedLegendFilterSort": "TOP",
154
- "fixedLegendFilterLimit": 1,
155
- "fixedLegendFilterField": "CURRENT",
156
- "plainMarkdownContent": "markdown content"
157
- },
158
- "chartAttributes": {
159
- "dashboardLinks": {
160
- "*": {
161
- "variables": {
162
- "xxx": "xxx"
163
- },
164
- "destination": "/dashboards/xxxx"
165
- }
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"
166
164
  }
167
- },
168
- "summarization": "MEAN"
169
- }
170
- ],
171
- "heightFactor": 50
172
- }
173
- ]
174
- }
175
- ],
176
- "parameterDetails": {
177
- "param": {
178
- "hideFromView": false,
179
- "description": null,
180
- "allowAll": null,
181
- "tagKey": null,
182
- "queryValue": null,
183
- "dynamicFieldType": null,
184
- "reverseDynSort": null,
185
- "parameterType": "SIMPLE",
186
- "label": "test",
187
- "defaultValue": "Label",
188
- "valuesToReadableStrings": {
189
- "Label": "test"
190
- },
191
- "selectedLabel": "Label",
192
- "value": "test"
193
- }
194
- },
195
- "tags": {
196
- "customerTags": [
197
- "terraform"
165
+ }
166
+ },
167
+ "summarization": "MEAN"
168
+ }
169
+ ],
170
+ "heightFactor": 50
171
+ }
198
172
  ]
199
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
+ ]
200
198
  }
201
-
199
+ }
202
200
  \"\"\")
203
201
  ```
204
- <!--End PulumiCodeChooser -->
205
202
 
206
203
  *
207
204
  *Note:
@@ -231,134 +228,131 @@ class DashboardJson(pulumi.CustomResource):
231
228
 
232
229
  ## Example Usage
233
230
 
234
- <!--Start PulumiCodeChooser -->
235
231
  ```python
236
232
  import pulumi
237
233
  import pulumi_wavefront as wavefront
238
234
 
239
- test_dashboard_json = wavefront.DashboardJson("testDashboardJson", dashboard_json=\"\"\" {
240
- "acl": {
241
- "canModify": [
242
- "group-uuid",
243
- "role-uuid"
244
- ],
245
- "canView": [
246
- "group-uuid",
247
- "role-uuid"
248
- ]
249
- },
250
- "name": "Terraform Test Dashboard Json",
251
- "description": "a",
252
- "eventFilterType": "BYCHART",
253
- "eventQuery": "",
254
- "defaultTimeWindow": "",
255
- "url": "tftestimport",
256
- "displayDescription": false,
257
- "displaySectionTableOfContents": true,
258
- "displayQueryParameters": false,
259
- "sections": [
260
- {
261
- "name": "section 1",
262
- "rows": [
263
- {
264
- "charts": [
265
- {
266
- "name": "chart 1",
267
- "sources": [
268
- {
269
- "name": "source 1",
270
- "query": "ts()",
271
- "scatterPlotSource": "Y",
272
- "querybuilderEnabled": false,
273
- "sourceDescription": ""
274
- }
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"
275
305
  ],
276
- "units": "someunit",
277
- "base": 0,
278
- "noDefaultEvents": false,
279
- "interpolatePoints": false,
280
- "includeObsoleteMetrics": false,
281
- "description": "This is chart 1, showing something",
282
- "chartSettings": {
283
- "type": "markdown-widget",
284
- "max": 100,
285
- "expectedDataSpacing": 120,
286
- "windowing": "full",
287
- "windowSize": 10,
288
- "autoColumnTags": false,
289
- "columnTags": "deprecated",
290
- "tagMode": "all",
291
- "numTags": 2,
292
- "customTags": [
293
- "tag1",
294
- "tag2"
295
- ],
296
- "groupBySource": true,
297
- "y1Max": 100,
298
- "y1Units": "units",
299
- "y0ScaleSIBy1024": true,
300
- "y1ScaleSIBy1024": true,
301
- "y0UnitAutoscaling": true,
302
- "y1UnitAutoscaling": true,
303
- "fixedLegendEnabled": true,
304
- "fixedLegendUseRawStats": true,
305
- "fixedLegendPosition": "RIGHT",
306
- "fixedLegendDisplayStats": [
307
- "stat1",
308
- "stat2"
309
- ],
310
- "fixedLegendFilterSort": "TOP",
311
- "fixedLegendFilterLimit": 1,
312
- "fixedLegendFilterField": "CURRENT",
313
- "plainMarkdownContent": "markdown content"
314
- },
315
- "chartAttributes": {
316
- "dashboardLinks": {
317
- "*": {
318
- "variables": {
319
- "xxx": "xxx"
320
- },
321
- "destination": "/dashboards/xxxx"
322
- }
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"
323
318
  }
324
- },
325
- "summarization": "MEAN"
326
- }
327
- ],
328
- "heightFactor": 50
329
- }
330
- ]
331
- }
332
- ],
333
- "parameterDetails": {
334
- "param": {
335
- "hideFromView": false,
336
- "description": null,
337
- "allowAll": null,
338
- "tagKey": null,
339
- "queryValue": null,
340
- "dynamicFieldType": null,
341
- "reverseDynSort": null,
342
- "parameterType": "SIMPLE",
343
- "label": "test",
344
- "defaultValue": "Label",
345
- "valuesToReadableStrings": {
346
- "Label": "test"
347
- },
348
- "selectedLabel": "Label",
349
- "value": "test"
350
- }
351
- },
352
- "tags": {
353
- "customerTags": [
354
- "terraform"
319
+ }
320
+ },
321
+ "summarization": "MEAN"
322
+ }
323
+ ],
324
+ "heightFactor": 50
325
+ }
355
326
  ]
356
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
+ ]
357
352
  }
358
-
353
+ }
359
354
  \"\"\")
360
355
  ```
361
- <!--End PulumiCodeChooser -->
362
356
 
363
357
  *
364
358
  *Note:
@@ -202,16 +202,15 @@ class DerivedMetric(pulumi.CustomResource):
202
202
 
203
203
  ## Example Usage
204
204
 
205
- <!--Start PulumiCodeChooser -->
206
205
  ```python
207
206
  import pulumi
208
207
  import pulumi_wavefront as wavefront
209
208
 
210
209
  derived = wavefront.DerivedMetric("derived",
210
+ name="dummy derived metric",
211
211
  minutes=5,
212
212
  query="aliasMetric(5, \\"some.metric\\")")
213
213
  ```
214
- <!--End PulumiCodeChooser -->
215
214
 
216
215
  ## Import
217
216
 
@@ -241,16 +240,15 @@ class DerivedMetric(pulumi.CustomResource):
241
240
 
242
241
  ## Example Usage
243
242
 
244
- <!--Start PulumiCodeChooser -->
245
243
  ```python
246
244
  import pulumi
247
245
  import pulumi_wavefront as wavefront
248
246
 
249
247
  derived = wavefront.DerivedMetric("derived",
248
+ name="dummy derived metric",
250
249
  minutes=5,
251
250
  query="aliasMetric(5, \\"some.metric\\")")
252
251
  ```
253
- <!--End PulumiCodeChooser -->
254
252
 
255
253
  ## Import
256
254
 
pulumi_wavefront/event.py CHANGED
@@ -194,20 +194,19 @@ class Event(pulumi.CustomResource):
194
194
 
195
195
  ## Example Usage
196
196
 
197
- <!--Start PulumiCodeChooser -->
198
197
  ```python
199
198
  import pulumi
200
199
  import pulumi_wavefront as wavefront
201
200
 
202
201
  event = wavefront.Event("event",
202
+ name="terraform-test",
203
203
  annotations={
204
- "details": "description",
205
204
  "severity": "info",
206
205
  "type": "event type",
206
+ "details": "description",
207
207
  },
208
208
  tags=["eventTag1"])
209
209
  ```
210
- <!--End PulumiCodeChooser -->
211
210
 
212
211
  ## Import
213
212
 
@@ -235,20 +234,19 @@ class Event(pulumi.CustomResource):
235
234
 
236
235
  ## Example Usage
237
236
 
238
- <!--Start PulumiCodeChooser -->
239
237
  ```python
240
238
  import pulumi
241
239
  import pulumi_wavefront as wavefront
242
240
 
243
241
  event = wavefront.Event("event",
242
+ name="terraform-test",
244
243
  annotations={
245
- "details": "description",
246
244
  "severity": "info",
247
245
  "type": "event type",
246
+ "details": "description",
248
247
  },
249
248
  tags=["eventTag1"])
250
249
  ```
251
- <!--End PulumiCodeChooser -->
252
250
 
253
251
  ## Import
254
252
 
@@ -279,16 +279,15 @@ class ExternalLink(pulumi.CustomResource):
279
279
 
280
280
  ## Example Usage
281
281
 
282
- <!--Start PulumiCodeChooser -->
283
282
  ```python
284
283
  import pulumi
285
284
  import pulumi_wavefront as wavefront
286
285
 
287
286
  basic = wavefront.ExternalLink("basic",
287
+ name="External Link",
288
288
  description="An external link description",
289
289
  template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
290
290
  ```
291
- <!--End PulumiCodeChooser -->
292
291
 
293
292
  ## Import
294
293
 
@@ -322,16 +321,15 @@ class ExternalLink(pulumi.CustomResource):
322
321
 
323
322
  ## Example Usage
324
323
 
325
- <!--Start PulumiCodeChooser -->
326
324
  ```python
327
325
  import pulumi
328
326
  import pulumi_wavefront as wavefront
329
327
 
330
328
  basic = wavefront.ExternalLink("basic",
329
+ name="External Link",
331
330
  description="An external link description",
332
331
  template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
333
332
  ```
334
- <!--End PulumiCodeChooser -->
335
333
 
336
334
  ## Import
337
335
 
@@ -338,14 +338,13 @@ def get_alert(id: Optional[str] = None,
338
338
 
339
339
  ## Example Usage
340
340
 
341
- <!--Start PulumiCodeChooser -->
342
341
  ```python
343
342
  import pulumi
344
343
  import pulumi_wavefront as wavefront
345
344
 
345
+ # Get the information about the alert.
346
346
  example = wavefront.get_alert(id="alert-id")
347
347
  ```
348
- <!--End PulumiCodeChooser -->
349
348
 
350
349
 
351
350
  :param str id: The ID associated with the alert data to be fetched.
@@ -394,14 +393,13 @@ def get_alert_output(id: Optional[pulumi.Input[str]] = None,
394
393
 
395
394
  ## Example Usage
396
395
 
397
- <!--Start PulumiCodeChooser -->
398
396
  ```python
399
397
  import pulumi
400
398
  import pulumi_wavefront as wavefront
401
399
 
400
+ # Get the information about the alert.
402
401
  example = wavefront.get_alert(id="alert-id")
403
402
  ```
404
- <!--End PulumiCodeChooser -->
405
403
 
406
404
 
407
405
  :param str id: The ID associated with the alert data to be fetched.