pulumi-wavefront 3.2.0a1710161007__py3-none-any.whl → 3.2.0a1736836107__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 +528 -3
- pulumi_wavefront/_utilities.py +41 -5
- pulumi_wavefront/alert.py +16 -13
- pulumi_wavefront/alert_target.py +20 -17
- pulumi_wavefront/cloud_integration_app_dynamics.py +13 -10
- pulumi_wavefront/cloud_integration_aws_external_id.py +7 -6
- pulumi_wavefront/cloud_integration_azure.py +9 -6
- pulumi_wavefront/cloud_integration_azure_activity_log.py +9 -6
- pulumi_wavefront/cloud_integration_cloud_trail.py +9 -6
- pulumi_wavefront/cloud_integration_cloud_watch.py +9 -6
- pulumi_wavefront/cloud_integration_ec2.py +9 -6
- pulumi_wavefront/cloud_integration_gcp.py +11 -12
- pulumi_wavefront/cloud_integration_gcp_billing.py +13 -14
- pulumi_wavefront/cloud_integration_new_relic.py +16 -11
- pulumi_wavefront/config/__init__.pyi +5 -0
- pulumi_wavefront/config/vars.py +5 -0
- pulumi_wavefront/dashboard.py +15 -10
- pulumi_wavefront/dashboard_json.py +233 -234
- pulumi_wavefront/derived_metric.py +7 -4
- pulumi_wavefront/event.py +9 -6
- pulumi_wavefront/external_link.py +7 -4
- pulumi_wavefront/get_alert.py +39 -9
- pulumi_wavefront/get_alerts.py +18 -9
- pulumi_wavefront/get_dashboard.py +49 -10
- pulumi_wavefront/get_dashboards.py +18 -9
- pulumi_wavefront/get_default_user_group.py +14 -9
- pulumi_wavefront/get_derived_metric.py +37 -9
- pulumi_wavefront/get_derived_metrics.py +18 -9
- pulumi_wavefront/get_event.py +23 -9
- pulumi_wavefront/get_events.py +28 -15
- pulumi_wavefront/get_external_link.py +25 -9
- pulumi_wavefront/get_external_links.py +18 -9
- pulumi_wavefront/get_maintenance_window.py +31 -9
- pulumi_wavefront/get_maintenance_window_all.py +16 -5
- pulumi_wavefront/get_metrics_policy.py +15 -5
- pulumi_wavefront/get_role.py +17 -9
- pulumi_wavefront/get_roles.py +18 -9
- pulumi_wavefront/get_user.py +19 -9
- pulumi_wavefront/get_user_group.py +18 -9
- pulumi_wavefront/get_user_groups.py +18 -9
- pulumi_wavefront/get_users.py +14 -9
- pulumi_wavefront/ingestion_policy.py +14 -9
- pulumi_wavefront/maintenance_window.py +13 -12
- pulumi_wavefront/metrics_policy.py +30 -33
- pulumi_wavefront/outputs.py +13 -8
- pulumi_wavefront/provider.py +5 -0
- pulumi_wavefront/pulumi-plugin.json +2 -1
- pulumi_wavefront/role.py +7 -6
- pulumi_wavefront/service_account.py +9 -8
- pulumi_wavefront/user.py +5 -4
- pulumi_wavefront/user_group.py +11 -6
- {pulumi_wavefront-3.2.0a1710161007.dist-info → pulumi_wavefront-3.2.0a1736836107.dist-info}/METADATA +7 -6
- pulumi_wavefront-3.2.0a1736836107.dist-info/RECORD +58 -0
- {pulumi_wavefront-3.2.0a1710161007.dist-info → pulumi_wavefront-3.2.0a1736836107.dist-info}/WHEEL +1 -1
- pulumi_wavefront-3.2.0a1710161007.dist-info/RECORD +0 -58
- {pulumi_wavefront-3.2.0a1710161007.dist-info → pulumi_wavefront-3.2.0a1736836107.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['DashboardJsonArgs', 'DashboardJson']
|
@@ -74,134 +79,131 @@ class DashboardJson(pulumi.CustomResource):
|
|
74
79
|
|
75
80
|
## Example Usage
|
76
81
|
|
77
|
-
<!--Start PulumiCodeChooser -->
|
78
82
|
```python
|
79
83
|
import pulumi
|
80
84
|
import pulumi_wavefront as wavefront
|
81
85
|
|
82
|
-
test_dashboard_json = wavefront.DashboardJson("
|
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
|
-
|
117
|
-
|
86
|
+
test_dashboard_json = wavefront.DashboardJson("test_dashboard_json", dashboard_json=\"\"\"{
|
87
|
+
"acl": {
|
88
|
+
"canModify": [
|
89
|
+
"group-uuid",
|
90
|
+
"role-uuid"
|
91
|
+
],
|
92
|
+
"canView": [
|
93
|
+
"group-uuid",
|
94
|
+
"role-uuid"
|
95
|
+
]
|
96
|
+
},
|
97
|
+
"name": "Terraform Test Dashboard Json",
|
98
|
+
"description": "a",
|
99
|
+
"eventFilterType": "BYCHART",
|
100
|
+
"eventQuery": "",
|
101
|
+
"defaultTimeWindow": "",
|
102
|
+
"url": "tftestimport",
|
103
|
+
"displayDescription": false,
|
104
|
+
"displaySectionTableOfContents": true,
|
105
|
+
"displayQueryParameters": false,
|
106
|
+
"sections": [
|
107
|
+
{
|
108
|
+
"name": "section 1",
|
109
|
+
"rows": [
|
110
|
+
{
|
111
|
+
"charts": [
|
112
|
+
{
|
113
|
+
"name": "chart 1",
|
114
|
+
"sources": [
|
115
|
+
{
|
116
|
+
"name": "source 1",
|
117
|
+
"query": "ts()",
|
118
|
+
"scatterPlotSource": "Y",
|
119
|
+
"querybuilderEnabled": false,
|
120
|
+
"sourceDescription": ""
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"units": "someunit",
|
124
|
+
"base": 0,
|
125
|
+
"noDefaultEvents": false,
|
126
|
+
"interpolatePoints": false,
|
127
|
+
"includeObsoleteMetrics": false,
|
128
|
+
"description": "This is chart 1, showing something",
|
129
|
+
"chartSettings": {
|
130
|
+
"type": "markdown-widget",
|
131
|
+
"max": 100,
|
132
|
+
"expectedDataSpacing": 120,
|
133
|
+
"windowing": "full",
|
134
|
+
"windowSize": 10,
|
135
|
+
"autoColumnTags": false,
|
136
|
+
"columnTags": "deprecated",
|
137
|
+
"tagMode": "all",
|
138
|
+
"numTags": 2,
|
139
|
+
"customTags": [
|
140
|
+
"tag1",
|
141
|
+
"tag2"
|
142
|
+
],
|
143
|
+
"groupBySource": true,
|
144
|
+
"y1Max": 100,
|
145
|
+
"y1Units": "units",
|
146
|
+
"y0ScaleSIBy1024": true,
|
147
|
+
"y1ScaleSIBy1024": true,
|
148
|
+
"y0UnitAutoscaling": true,
|
149
|
+
"y1UnitAutoscaling": true,
|
150
|
+
"fixedLegendEnabled": true,
|
151
|
+
"fixedLegendUseRawStats": true,
|
152
|
+
"fixedLegendPosition": "RIGHT",
|
153
|
+
"fixedLegendDisplayStats": [
|
154
|
+
"stat1",
|
155
|
+
"stat2"
|
118
156
|
],
|
119
|
-
"
|
120
|
-
"
|
121
|
-
"
|
122
|
-
"
|
123
|
-
|
124
|
-
|
125
|
-
"
|
126
|
-
"
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
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
|
-
}
|
157
|
+
"fixedLegendFilterSort": "TOP",
|
158
|
+
"fixedLegendFilterLimit": 1,
|
159
|
+
"fixedLegendFilterField": "CURRENT",
|
160
|
+
"plainMarkdownContent": "markdown content"
|
161
|
+
},
|
162
|
+
"chartAttributes": {
|
163
|
+
"dashboardLinks": {
|
164
|
+
"*": {
|
165
|
+
"variables": {
|
166
|
+
"xxx": "xxx"
|
167
|
+
},
|
168
|
+
"destination": "/dashboards/xxxx"
|
166
169
|
}
|
167
|
-
}
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
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"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"summarization": "MEAN"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"heightFactor": 50
|
176
|
+
}
|
198
177
|
]
|
199
178
|
}
|
179
|
+
],
|
180
|
+
"parameterDetails": {
|
181
|
+
"param": {
|
182
|
+
"hideFromView": false,
|
183
|
+
"description": null,
|
184
|
+
"allowAll": null,
|
185
|
+
"tagKey": null,
|
186
|
+
"queryValue": null,
|
187
|
+
"dynamicFieldType": null,
|
188
|
+
"reverseDynSort": null,
|
189
|
+
"parameterType": "SIMPLE",
|
190
|
+
"label": "test",
|
191
|
+
"defaultValue": "Label",
|
192
|
+
"valuesToReadableStrings": {
|
193
|
+
"Label": "test"
|
194
|
+
},
|
195
|
+
"selectedLabel": "Label",
|
196
|
+
"value": "test"
|
197
|
+
}
|
198
|
+
},
|
199
|
+
"tags": {
|
200
|
+
"customerTags": [
|
201
|
+
"terraform"
|
202
|
+
]
|
200
203
|
}
|
201
|
-
|
204
|
+
}
|
202
205
|
\"\"\")
|
203
206
|
```
|
204
|
-
<!--End PulumiCodeChooser -->
|
205
207
|
|
206
208
|
*
|
207
209
|
*Note:
|
@@ -231,134 +233,131 @@ class DashboardJson(pulumi.CustomResource):
|
|
231
233
|
|
232
234
|
## Example Usage
|
233
235
|
|
234
|
-
<!--Start PulumiCodeChooser -->
|
235
236
|
```python
|
236
237
|
import pulumi
|
237
238
|
import pulumi_wavefront as wavefront
|
238
239
|
|
239
|
-
test_dashboard_json = wavefront.DashboardJson("
|
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
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
240
|
+
test_dashboard_json = wavefront.DashboardJson("test_dashboard_json", dashboard_json=\"\"\"{
|
241
|
+
"acl": {
|
242
|
+
"canModify": [
|
243
|
+
"group-uuid",
|
244
|
+
"role-uuid"
|
245
|
+
],
|
246
|
+
"canView": [
|
247
|
+
"group-uuid",
|
248
|
+
"role-uuid"
|
249
|
+
]
|
250
|
+
},
|
251
|
+
"name": "Terraform Test Dashboard Json",
|
252
|
+
"description": "a",
|
253
|
+
"eventFilterType": "BYCHART",
|
254
|
+
"eventQuery": "",
|
255
|
+
"defaultTimeWindow": "",
|
256
|
+
"url": "tftestimport",
|
257
|
+
"displayDescription": false,
|
258
|
+
"displaySectionTableOfContents": true,
|
259
|
+
"displayQueryParameters": false,
|
260
|
+
"sections": [
|
261
|
+
{
|
262
|
+
"name": "section 1",
|
263
|
+
"rows": [
|
264
|
+
{
|
265
|
+
"charts": [
|
266
|
+
{
|
267
|
+
"name": "chart 1",
|
268
|
+
"sources": [
|
269
|
+
{
|
270
|
+
"name": "source 1",
|
271
|
+
"query": "ts()",
|
272
|
+
"scatterPlotSource": "Y",
|
273
|
+
"querybuilderEnabled": false,
|
274
|
+
"sourceDescription": ""
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"units": "someunit",
|
278
|
+
"base": 0,
|
279
|
+
"noDefaultEvents": false,
|
280
|
+
"interpolatePoints": false,
|
281
|
+
"includeObsoleteMetrics": false,
|
282
|
+
"description": "This is chart 1, showing something",
|
283
|
+
"chartSettings": {
|
284
|
+
"type": "markdown-widget",
|
285
|
+
"max": 100,
|
286
|
+
"expectedDataSpacing": 120,
|
287
|
+
"windowing": "full",
|
288
|
+
"windowSize": 10,
|
289
|
+
"autoColumnTags": false,
|
290
|
+
"columnTags": "deprecated",
|
291
|
+
"tagMode": "all",
|
292
|
+
"numTags": 2,
|
293
|
+
"customTags": [
|
294
|
+
"tag1",
|
295
|
+
"tag2"
|
296
|
+
],
|
297
|
+
"groupBySource": true,
|
298
|
+
"y1Max": 100,
|
299
|
+
"y1Units": "units",
|
300
|
+
"y0ScaleSIBy1024": true,
|
301
|
+
"y1ScaleSIBy1024": true,
|
302
|
+
"y0UnitAutoscaling": true,
|
303
|
+
"y1UnitAutoscaling": true,
|
304
|
+
"fixedLegendEnabled": true,
|
305
|
+
"fixedLegendUseRawStats": true,
|
306
|
+
"fixedLegendPosition": "RIGHT",
|
307
|
+
"fixedLegendDisplayStats": [
|
308
|
+
"stat1",
|
309
|
+
"stat2"
|
275
310
|
],
|
276
|
-
"
|
277
|
-
"
|
278
|
-
"
|
279
|
-
"
|
280
|
-
|
281
|
-
|
282
|
-
"
|
283
|
-
"
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
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
|
-
}
|
311
|
+
"fixedLegendFilterSort": "TOP",
|
312
|
+
"fixedLegendFilterLimit": 1,
|
313
|
+
"fixedLegendFilterField": "CURRENT",
|
314
|
+
"plainMarkdownContent": "markdown content"
|
315
|
+
},
|
316
|
+
"chartAttributes": {
|
317
|
+
"dashboardLinks": {
|
318
|
+
"*": {
|
319
|
+
"variables": {
|
320
|
+
"xxx": "xxx"
|
321
|
+
},
|
322
|
+
"destination": "/dashboards/xxxx"
|
323
323
|
}
|
324
|
-
}
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
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"
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"summarization": "MEAN"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"heightFactor": 50
|
330
|
+
}
|
355
331
|
]
|
356
332
|
}
|
333
|
+
],
|
334
|
+
"parameterDetails": {
|
335
|
+
"param": {
|
336
|
+
"hideFromView": false,
|
337
|
+
"description": null,
|
338
|
+
"allowAll": null,
|
339
|
+
"tagKey": null,
|
340
|
+
"queryValue": null,
|
341
|
+
"dynamicFieldType": null,
|
342
|
+
"reverseDynSort": null,
|
343
|
+
"parameterType": "SIMPLE",
|
344
|
+
"label": "test",
|
345
|
+
"defaultValue": "Label",
|
346
|
+
"valuesToReadableStrings": {
|
347
|
+
"Label": "test"
|
348
|
+
},
|
349
|
+
"selectedLabel": "Label",
|
350
|
+
"value": "test"
|
351
|
+
}
|
352
|
+
},
|
353
|
+
"tags": {
|
354
|
+
"customerTags": [
|
355
|
+
"terraform"
|
356
|
+
]
|
357
357
|
}
|
358
|
-
|
358
|
+
}
|
359
359
|
\"\"\")
|
360
360
|
```
|
361
|
-
<!--End PulumiCodeChooser -->
|
362
361
|
|
363
362
|
*
|
364
363
|
*Note:
|
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['DerivedMetricArgs', 'DerivedMetric']
|
@@ -202,16 +207,15 @@ class DerivedMetric(pulumi.CustomResource):
|
|
202
207
|
|
203
208
|
## Example Usage
|
204
209
|
|
205
|
-
<!--Start PulumiCodeChooser -->
|
206
210
|
```python
|
207
211
|
import pulumi
|
208
212
|
import pulumi_wavefront as wavefront
|
209
213
|
|
210
214
|
derived = wavefront.DerivedMetric("derived",
|
215
|
+
name="dummy derived metric",
|
211
216
|
minutes=5,
|
212
217
|
query="aliasMetric(5, \\"some.metric\\")")
|
213
218
|
```
|
214
|
-
<!--End PulumiCodeChooser -->
|
215
219
|
|
216
220
|
## Import
|
217
221
|
|
@@ -241,16 +245,15 @@ class DerivedMetric(pulumi.CustomResource):
|
|
241
245
|
|
242
246
|
## Example Usage
|
243
247
|
|
244
|
-
<!--Start PulumiCodeChooser -->
|
245
248
|
```python
|
246
249
|
import pulumi
|
247
250
|
import pulumi_wavefront as wavefront
|
248
251
|
|
249
252
|
derived = wavefront.DerivedMetric("derived",
|
253
|
+
name="dummy derived metric",
|
250
254
|
minutes=5,
|
251
255
|
query="aliasMetric(5, \\"some.metric\\")")
|
252
256
|
```
|
253
|
-
<!--End PulumiCodeChooser -->
|
254
257
|
|
255
258
|
## Import
|
256
259
|
|
pulumi_wavefront/event.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['EventArgs', 'Event']
|
@@ -194,20 +199,19 @@ class Event(pulumi.CustomResource):
|
|
194
199
|
|
195
200
|
## Example Usage
|
196
201
|
|
197
|
-
<!--Start PulumiCodeChooser -->
|
198
202
|
```python
|
199
203
|
import pulumi
|
200
204
|
import pulumi_wavefront as wavefront
|
201
205
|
|
202
206
|
event = wavefront.Event("event",
|
207
|
+
name="terraform-test",
|
203
208
|
annotations={
|
204
|
-
"details": "description",
|
205
209
|
"severity": "info",
|
206
210
|
"type": "event type",
|
211
|
+
"details": "description",
|
207
212
|
},
|
208
213
|
tags=["eventTag1"])
|
209
214
|
```
|
210
|
-
<!--End PulumiCodeChooser -->
|
211
215
|
|
212
216
|
## Import
|
213
217
|
|
@@ -235,20 +239,19 @@ class Event(pulumi.CustomResource):
|
|
235
239
|
|
236
240
|
## Example Usage
|
237
241
|
|
238
|
-
<!--Start PulumiCodeChooser -->
|
239
242
|
```python
|
240
243
|
import pulumi
|
241
244
|
import pulumi_wavefront as wavefront
|
242
245
|
|
243
246
|
event = wavefront.Event("event",
|
247
|
+
name="terraform-test",
|
244
248
|
annotations={
|
245
|
-
"details": "description",
|
246
249
|
"severity": "info",
|
247
250
|
"type": "event type",
|
251
|
+
"details": "description",
|
248
252
|
},
|
249
253
|
tags=["eventTag1"])
|
250
254
|
```
|
251
|
-
<!--End PulumiCodeChooser -->
|
252
255
|
|
253
256
|
## Import
|
254
257
|
|
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from . import _utilities
|
11
16
|
|
12
17
|
__all__ = ['ExternalLinkArgs', 'ExternalLink']
|
@@ -279,16 +284,15 @@ class ExternalLink(pulumi.CustomResource):
|
|
279
284
|
|
280
285
|
## Example Usage
|
281
286
|
|
282
|
-
<!--Start PulumiCodeChooser -->
|
283
287
|
```python
|
284
288
|
import pulumi
|
285
289
|
import pulumi_wavefront as wavefront
|
286
290
|
|
287
291
|
basic = wavefront.ExternalLink("basic",
|
292
|
+
name="External Link",
|
288
293
|
description="An external link description",
|
289
294
|
template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
|
290
295
|
```
|
291
|
-
<!--End PulumiCodeChooser -->
|
292
296
|
|
293
297
|
## Import
|
294
298
|
|
@@ -322,16 +326,15 @@ class ExternalLink(pulumi.CustomResource):
|
|
322
326
|
|
323
327
|
## Example Usage
|
324
328
|
|
325
|
-
<!--Start PulumiCodeChooser -->
|
326
329
|
```python
|
327
330
|
import pulumi
|
328
331
|
import pulumi_wavefront as wavefront
|
329
332
|
|
330
333
|
basic = wavefront.ExternalLink("basic",
|
334
|
+
name="External Link",
|
331
335
|
description="An external link description",
|
332
336
|
template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
|
333
337
|
```
|
334
|
-
<!--End PulumiCodeChooser -->
|
335
338
|
|
336
339
|
## Import
|
337
340
|
|