pulumi-wavefront 3.2.0a1709368803__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 +18 -11
- pulumi_wavefront/alert_target.py +22 -15
- pulumi_wavefront/cloud_integration_app_dynamics.py +15 -8
- pulumi_wavefront/cloud_integration_aws_external_id.py +9 -4
- pulumi_wavefront/cloud_integration_azure.py +11 -4
- pulumi_wavefront/cloud_integration_azure_activity_log.py +11 -4
- pulumi_wavefront/cloud_integration_cloud_trail.py +11 -4
- pulumi_wavefront/cloud_integration_cloud_watch.py +11 -4
- pulumi_wavefront/cloud_integration_ec2.py +11 -4
- pulumi_wavefront/cloud_integration_gcp.py +13 -10
- pulumi_wavefront/cloud_integration_gcp_billing.py +15 -12
- pulumi_wavefront/cloud_integration_new_relic.py +18 -9
- pulumi_wavefront/config/__init__.pyi +5 -0
- pulumi_wavefront/config/vars.py +5 -0
- pulumi_wavefront/dashboard.py +17 -12
- pulumi_wavefront/dashboard_json.py +235 -232
- pulumi_wavefront/derived_metric.py +9 -2
- pulumi_wavefront/event.py +11 -4
- pulumi_wavefront/external_link.py +9 -2
- pulumi_wavefront/get_alert.py +39 -5
- pulumi_wavefront/get_alerts.py +18 -5
- pulumi_wavefront/get_dashboard.py +49 -6
- pulumi_wavefront/get_dashboards.py +18 -5
- pulumi_wavefront/get_default_user_group.py +14 -5
- pulumi_wavefront/get_derived_metric.py +37 -5
- pulumi_wavefront/get_derived_metrics.py +18 -5
- pulumi_wavefront/get_event.py +23 -5
- pulumi_wavefront/get_events.py +28 -11
- pulumi_wavefront/get_external_link.py +25 -5
- pulumi_wavefront/get_external_links.py +18 -5
- pulumi_wavefront/get_maintenance_window.py +31 -5
- pulumi_wavefront/get_maintenance_window_all.py +16 -5
- pulumi_wavefront/get_metrics_policy.py +15 -5
- pulumi_wavefront/get_role.py +17 -5
- pulumi_wavefront/get_roles.py +18 -5
- pulumi_wavefront/get_user.py +19 -5
- pulumi_wavefront/get_user_group.py +18 -5
- pulumi_wavefront/get_user_groups.py +18 -5
- pulumi_wavefront/get_users.py +14 -5
- pulumi_wavefront/ingestion_policy.py +16 -7
- pulumi_wavefront/maintenance_window.py +15 -10
- pulumi_wavefront/metrics_policy.py +34 -27
- pulumi_wavefront/outputs.py +13 -8
- pulumi_wavefront/provider.py +5 -0
- pulumi_wavefront/pulumi-plugin.json +2 -1
- pulumi_wavefront/role.py +9 -4
- pulumi_wavefront/service_account.py +11 -6
- pulumi_wavefront/user.py +7 -2
- pulumi_wavefront/user_group.py +13 -4
- {pulumi_wavefront-3.2.0a1709368803.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.0a1709368803.dist-info → pulumi_wavefront-3.2.0a1736836107.dist-info}/WHEEL +1 -1
- pulumi_wavefront-3.2.0a1709368803.dist-info/RECORD +0 -58
- {pulumi_wavefront-3.2.0a1709368803.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']
|
@@ -78,126 +83,125 @@ class DashboardJson(pulumi.CustomResource):
|
|
78
83
|
import pulumi
|
79
84
|
import pulumi_wavefront as wavefront
|
80
85
|
|
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
|
-
|
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"
|
117
156
|
],
|
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
|
-
}
|
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"
|
165
169
|
}
|
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"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"summarization": "MEAN"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"heightFactor": 50
|
176
|
+
}
|
197
177
|
]
|
198
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
|
+
]
|
199
203
|
}
|
200
|
-
|
204
|
+
}
|
201
205
|
\"\"\")
|
202
206
|
```
|
203
207
|
|
@@ -210,7 +214,7 @@ class DashboardJson(pulumi.CustomResource):
|
|
210
214
|
Dashboard JSON can be imported by using the `id`, e.g.:
|
211
215
|
|
212
216
|
```sh
|
213
|
-
|
217
|
+
$ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
|
214
218
|
```
|
215
219
|
|
216
220
|
:param str resource_name: The name of the resource.
|
@@ -233,126 +237,125 @@ class DashboardJson(pulumi.CustomResource):
|
|
233
237
|
import pulumi
|
234
238
|
import pulumi_wavefront as wavefront
|
235
239
|
|
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
|
-
|
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"
|
272
310
|
],
|
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
|
-
}
|
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"
|
320
323
|
}
|
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"
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"summarization": "MEAN"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"heightFactor": 50
|
330
|
+
}
|
352
331
|
]
|
353
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
|
+
]
|
354
357
|
}
|
355
|
-
|
358
|
+
}
|
356
359
|
\"\"\")
|
357
360
|
```
|
358
361
|
|
@@ -365,7 +368,7 @@ class DashboardJson(pulumi.CustomResource):
|
|
365
368
|
Dashboard JSON can be imported by using the `id`, e.g.:
|
366
369
|
|
367
370
|
```sh
|
368
|
-
|
371
|
+
$ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
|
369
372
|
```
|
370
373
|
|
371
374
|
:param str resource_name: The name of the resource.
|
@@ -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']
|
@@ -207,6 +212,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
207
212
|
import pulumi_wavefront as wavefront
|
208
213
|
|
209
214
|
derived = wavefront.DerivedMetric("derived",
|
215
|
+
name="dummy derived metric",
|
210
216
|
minutes=5,
|
211
217
|
query="aliasMetric(5, \\"some.metric\\")")
|
212
218
|
```
|
@@ -216,7 +222,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
216
222
|
Derived Metrics can be imported by using the `id`, e.g.:
|
217
223
|
|
218
224
|
```sh
|
219
|
-
|
225
|
+
$ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
|
220
226
|
```
|
221
227
|
|
222
228
|
:param str resource_name: The name of the resource.
|
@@ -244,6 +250,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
244
250
|
import pulumi_wavefront as wavefront
|
245
251
|
|
246
252
|
derived = wavefront.DerivedMetric("derived",
|
253
|
+
name="dummy derived metric",
|
247
254
|
minutes=5,
|
248
255
|
query="aliasMetric(5, \\"some.metric\\")")
|
249
256
|
```
|
@@ -253,7 +260,7 @@ class DerivedMetric(pulumi.CustomResource):
|
|
253
260
|
Derived Metrics can be imported by using the `id`, e.g.:
|
254
261
|
|
255
262
|
```sh
|
256
|
-
|
263
|
+
$ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
|
257
264
|
```
|
258
265
|
|
259
266
|
:param str resource_name: The name of the resource.
|
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']
|
@@ -199,10 +204,11 @@ class Event(pulumi.CustomResource):
|
|
199
204
|
import pulumi_wavefront as wavefront
|
200
205
|
|
201
206
|
event = wavefront.Event("event",
|
207
|
+
name="terraform-test",
|
202
208
|
annotations={
|
203
|
-
"details": "description",
|
204
209
|
"severity": "info",
|
205
210
|
"type": "event type",
|
211
|
+
"details": "description",
|
206
212
|
},
|
207
213
|
tags=["eventTag1"])
|
208
214
|
```
|
@@ -212,7 +218,7 @@ class Event(pulumi.CustomResource):
|
|
212
218
|
You can import events by using the id, for example:
|
213
219
|
|
214
220
|
```sh
|
215
|
-
|
221
|
+
$ pulumi import wavefront:index/event:Event event 1479868728473
|
216
222
|
```
|
217
223
|
|
218
224
|
:param str resource_name: The name of the resource.
|
@@ -238,10 +244,11 @@ class Event(pulumi.CustomResource):
|
|
238
244
|
import pulumi_wavefront as wavefront
|
239
245
|
|
240
246
|
event = wavefront.Event("event",
|
247
|
+
name="terraform-test",
|
241
248
|
annotations={
|
242
|
-
"details": "description",
|
243
249
|
"severity": "info",
|
244
250
|
"type": "event type",
|
251
|
+
"details": "description",
|
245
252
|
},
|
246
253
|
tags=["eventTag1"])
|
247
254
|
```
|
@@ -251,7 +258,7 @@ class Event(pulumi.CustomResource):
|
|
251
258
|
You can import events by using the id, for example:
|
252
259
|
|
253
260
|
```sh
|
254
|
-
|
261
|
+
$ pulumi import wavefront:index/event:Event event 1479868728473
|
255
262
|
```
|
256
263
|
|
257
264
|
:param str resource_name: The name of the resource.
|
@@ -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']
|
@@ -284,6 +289,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
284
289
|
import pulumi_wavefront as wavefront
|
285
290
|
|
286
291
|
basic = wavefront.ExternalLink("basic",
|
292
|
+
name="External Link",
|
287
293
|
description="An external link description",
|
288
294
|
template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
|
289
295
|
```
|
@@ -293,7 +299,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
293
299
|
Maintenance windows can be imported by using the `id`, e.g.:
|
294
300
|
|
295
301
|
```sh
|
296
|
-
|
302
|
+
$ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
|
297
303
|
```
|
298
304
|
|
299
305
|
:param str resource_name: The name of the resource.
|
@@ -325,6 +331,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
325
331
|
import pulumi_wavefront as wavefront
|
326
332
|
|
327
333
|
basic = wavefront.ExternalLink("basic",
|
334
|
+
name="External Link",
|
328
335
|
description="An external link description",
|
329
336
|
template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
|
330
337
|
```
|
@@ -334,7 +341,7 @@ class ExternalLink(pulumi.CustomResource):
|
|
334
341
|
Maintenance windows can be imported by using the `id`, e.g.:
|
335
342
|
|
336
343
|
```sh
|
337
|
-
|
344
|
+
$ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
|
338
345
|
```
|
339
346
|
|
340
347
|
:param str resource_name: The name of the resource.
|