pulumi-wavefront 3.1.0a1704217862__py3-none-any.whl → 3.1.1__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 (50) hide show
  1. pulumi_wavefront/_inputs.py +68 -0
  2. pulumi_wavefront/_utilities.py +2 -2
  3. pulumi_wavefront/alert.py +102 -2
  4. pulumi_wavefront/alert_target.py +6 -2
  5. pulumi_wavefront/cloud_integration_app_dynamics.py +6 -2
  6. pulumi_wavefront/cloud_integration_aws_external_id.py +6 -2
  7. pulumi_wavefront/cloud_integration_azure.py +6 -2
  8. pulumi_wavefront/cloud_integration_azure_activity_log.py +6 -2
  9. pulumi_wavefront/cloud_integration_cloud_trail.py +6 -2
  10. pulumi_wavefront/cloud_integration_cloud_watch.py +6 -2
  11. pulumi_wavefront/cloud_integration_ec2.py +6 -2
  12. pulumi_wavefront/cloud_integration_gcp.py +6 -2
  13. pulumi_wavefront/cloud_integration_gcp_billing.py +6 -2
  14. pulumi_wavefront/cloud_integration_new_relic.py +6 -2
  15. pulumi_wavefront/dashboard.py +2 -2
  16. pulumi_wavefront/dashboard_json.py +6 -2
  17. pulumi_wavefront/derived_metric.py +6 -2
  18. pulumi_wavefront/event.py +6 -2
  19. pulumi_wavefront/external_link.py +6 -2
  20. pulumi_wavefront/get_alert.py +31 -1
  21. pulumi_wavefront/get_alerts.py +4 -0
  22. pulumi_wavefront/get_dashboard.py +4 -0
  23. pulumi_wavefront/get_dashboards.py +4 -0
  24. pulumi_wavefront/get_default_user_group.py +4 -0
  25. pulumi_wavefront/get_derived_metric.py +4 -0
  26. pulumi_wavefront/get_derived_metrics.py +4 -0
  27. pulumi_wavefront/get_event.py +4 -0
  28. pulumi_wavefront/get_events.py +4 -0
  29. pulumi_wavefront/get_external_link.py +4 -0
  30. pulumi_wavefront/get_external_links.py +4 -0
  31. pulumi_wavefront/get_maintenance_window.py +4 -0
  32. pulumi_wavefront/get_role.py +4 -0
  33. pulumi_wavefront/get_roles.py +4 -0
  34. pulumi_wavefront/get_user.py +4 -0
  35. pulumi_wavefront/get_user_group.py +4 -0
  36. pulumi_wavefront/get_user_groups.py +4 -0
  37. pulumi_wavefront/get_users.py +4 -0
  38. pulumi_wavefront/ingestion_policy.py +6 -2
  39. pulumi_wavefront/maintenance_window.py +6 -2
  40. pulumi_wavefront/metrics_policy.py +12 -2
  41. pulumi_wavefront/outputs.py +195 -0
  42. pulumi_wavefront/role.py +6 -2
  43. pulumi_wavefront/service_account.py +6 -2
  44. pulumi_wavefront/user.py +6 -2
  45. pulumi_wavefront/user_group.py +6 -2
  46. {pulumi_wavefront-3.1.0a1704217862.dist-info → pulumi_wavefront-3.1.1.dist-info}/METADATA +2 -2
  47. pulumi_wavefront-3.1.1.dist-info/RECORD +58 -0
  48. pulumi_wavefront-3.1.0a1704217862.dist-info/RECORD +0 -58
  49. {pulumi_wavefront-3.1.0a1704217862.dist-info → pulumi_wavefront-3.1.1.dist-info}/WHEEL +0 -0
  50. {pulumi_wavefront-3.1.0a1704217862.dist-info → pulumi_wavefront-3.1.1.dist-info}/top_level.txt +0 -0
@@ -332,6 +332,7 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
332
332
 
333
333
  ## Example Usage
334
334
 
335
+ <!--Start PulumiCodeChooser -->
335
336
  ```python
336
337
  import pulumi
337
338
  import pulumi_wavefront as wavefront
@@ -342,13 +343,14 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
342
343
  client_secret="client-secret2",
343
344
  tenant="my-tenant2")
344
345
  ```
346
+ <!--End PulumiCodeChooser -->
345
347
 
346
348
  ## Import
347
349
 
348
350
  Azure Activity Log Cloud Integrations can be imported by using the `id`, e.g.:
349
351
 
350
352
  ```sh
351
- $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
353
+ $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
352
354
  ```
353
355
 
354
356
  :param str resource_name: The name of the resource.
@@ -375,6 +377,7 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
375
377
 
376
378
  ## Example Usage
377
379
 
380
+ <!--Start PulumiCodeChooser -->
378
381
  ```python
379
382
  import pulumi
380
383
  import pulumi_wavefront as wavefront
@@ -385,13 +388,14 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
385
388
  client_secret="client-secret2",
386
389
  tenant="my-tenant2")
387
390
  ```
391
+ <!--End PulumiCodeChooser -->
388
392
 
389
393
  ## Import
390
394
 
391
395
  Azure Activity Log Cloud Integrations can be imported by using the `id`, e.g.:
392
396
 
393
397
  ```sh
394
- $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
398
+ $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
395
399
  ```
396
400
 
397
401
  :param str resource_name: The name of the resource.
@@ -397,6 +397,7 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
397
397
 
398
398
  ## Example Usage
399
399
 
400
+ <!--Start PulumiCodeChooser -->
400
401
  ```python
401
402
  import pulumi
402
403
  import pulumi_wavefront as wavefront
@@ -408,13 +409,14 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
408
409
  region="us-west-2",
409
410
  bucket_name="example-s3-bucket")
410
411
  ```
412
+ <!--End PulumiCodeChooser -->
411
413
 
412
414
  ## Import
413
415
 
414
416
  CloudTrail Cloud Integrations can be imported by using the `id`, e.g.:
415
417
 
416
418
  ```sh
417
- $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
419
+ $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
418
420
  ```
419
421
 
420
422
  :param str resource_name: The name of the resource.
@@ -443,6 +445,7 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
443
445
 
444
446
  ## Example Usage
445
447
 
448
+ <!--Start PulumiCodeChooser -->
446
449
  ```python
447
450
  import pulumi
448
451
  import pulumi_wavefront as wavefront
@@ -454,13 +457,14 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
454
457
  region="us-west-2",
455
458
  bucket_name="example-s3-bucket")
456
459
  ```
460
+ <!--End PulumiCodeChooser -->
457
461
 
458
462
  ## Import
459
463
 
460
464
  CloudTrail Cloud Integrations can be imported by using the `id`, e.g.:
461
465
 
462
466
  ```sh
463
- $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
467
+ $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
464
468
  ```
465
469
 
466
470
  :param str resource_name: The name of the resource.
@@ -452,6 +452,7 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
452
452
 
453
453
  ## Example Usage
454
454
 
455
+ <!--Start PulumiCodeChooser -->
455
456
  ```python
456
457
  import pulumi
457
458
  import pulumi_wavefront as wavefront
@@ -462,13 +463,14 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
462
463
  role_arn="arn:aws::1234567:role/example-arn",
463
464
  external_id=ext_id.id)
464
465
  ```
466
+ <!--End PulumiCodeChooser -->
465
467
 
466
468
  ## Import
467
469
 
468
470
  CloudWatch Cloud Integrations can be imported by using the `id`, e.g.:
469
471
 
470
472
  ```sh
471
- $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
473
+ $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
472
474
  ```
473
475
 
474
476
  :param str resource_name: The name of the resource.
@@ -503,6 +505,7 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
503
505
 
504
506
  ## Example Usage
505
507
 
508
+ <!--Start PulumiCodeChooser -->
506
509
  ```python
507
510
  import pulumi
508
511
  import pulumi_wavefront as wavefront
@@ -513,13 +516,14 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
513
516
  role_arn="arn:aws::1234567:role/example-arn",
514
517
  external_id=ext_id.id)
515
518
  ```
519
+ <!--End PulumiCodeChooser -->
516
520
 
517
521
  ## Import
518
522
 
519
523
  CloudWatch Cloud Integrations can be imported by using the `id`, e.g.:
520
524
 
521
525
  ```sh
522
- $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
526
+ $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
523
527
  ```
524
528
 
525
529
  :param str resource_name: The name of the resource.
@@ -308,6 +308,7 @@ class CloudIntegrationEc2(pulumi.CustomResource):
308
308
 
309
309
  ## Example Usage
310
310
 
311
+ <!--Start PulumiCodeChooser -->
311
312
  ```python
312
313
  import pulumi
313
314
  import pulumi_wavefront as wavefront
@@ -317,13 +318,14 @@ class CloudIntegrationEc2(pulumi.CustomResource):
317
318
  role_arn="arn:aws::1234567:role/example-arn",
318
319
  external_id=ext_id.id)
319
320
  ```
321
+ <!--End PulumiCodeChooser -->
320
322
 
321
323
  ## Import
322
324
 
323
325
  EC2 Cloud Integrations can be imported by using the `id`, e.g.:
324
326
 
325
327
  ```sh
326
- $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
328
+ $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
327
329
  ```
328
330
 
329
331
  :param str resource_name: The name of the resource.
@@ -351,6 +353,7 @@ class CloudIntegrationEc2(pulumi.CustomResource):
351
353
 
352
354
  ## Example Usage
353
355
 
356
+ <!--Start PulumiCodeChooser -->
354
357
  ```python
355
358
  import pulumi
356
359
  import pulumi_wavefront as wavefront
@@ -360,13 +363,14 @@ class CloudIntegrationEc2(pulumi.CustomResource):
360
363
  role_arn="arn:aws::1234567:role/example-arn",
361
364
  external_id=ext_id.id)
362
365
  ```
366
+ <!--End PulumiCodeChooser -->
363
367
 
364
368
  ## Import
365
369
 
366
370
  EC2 Cloud Integrations can be imported by using the `id`, e.g.:
367
371
 
368
372
  ```sh
369
- $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
373
+ $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
370
374
  ```
371
375
 
372
376
  :param str resource_name: The name of the resource.
@@ -353,6 +353,7 @@ class CloudIntegrationGcp(pulumi.CustomResource):
353
353
 
354
354
  ## Example Usage
355
355
 
356
+ <!--Start PulumiCodeChooser -->
356
357
  ```python
357
358
  import pulumi
358
359
  import pulumi_wavefront as wavefront
@@ -363,13 +364,14 @@ class CloudIntegrationGcp(pulumi.CustomResource):
363
364
  \"\"\",
364
365
  project_id="example-gcp-project")
365
366
  ```
367
+ <!--End PulumiCodeChooser -->
366
368
 
367
369
  ## Import
368
370
 
369
371
  GCP Cloud Integrations can be imported by using the `id`, e.g.:
370
372
 
371
373
  ```sh
372
- $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
374
+ $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
373
375
  ```
374
376
 
375
377
  :param str resource_name: The name of the resource.
@@ -401,6 +403,7 @@ class CloudIntegrationGcp(pulumi.CustomResource):
401
403
 
402
404
  ## Example Usage
403
405
 
406
+ <!--Start PulumiCodeChooser -->
404
407
  ```python
405
408
  import pulumi
406
409
  import pulumi_wavefront as wavefront
@@ -411,13 +414,14 @@ class CloudIntegrationGcp(pulumi.CustomResource):
411
414
  \"\"\",
412
415
  project_id="example-gcp-project")
413
416
  ```
417
+ <!--End PulumiCodeChooser -->
414
418
 
415
419
  ## Import
416
420
 
417
421
  GCP Cloud Integrations can be imported by using the `id`, e.g.:
418
422
 
419
423
  ```sh
420
- $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
424
+ $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
421
425
  ```
422
426
 
423
427
  :param str resource_name: The name of the resource.
@@ -303,6 +303,7 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
303
303
 
304
304
  ## Example Usage
305
305
 
306
+ <!--Start PulumiCodeChooser -->
306
307
  ```python
307
308
  import pulumi
308
309
  import pulumi_wavefront as wavefront
@@ -314,13 +315,14 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
314
315
  \"\"\",
315
316
  project_id="example-gcp-project")
316
317
  ```
318
+ <!--End PulumiCodeChooser -->
317
319
 
318
320
  ## Import
319
321
 
320
322
  GCP Billing Cloud Integrations can be imported by using the `id`, e.g.:
321
323
 
322
324
  ```sh
323
- $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
325
+ $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
324
326
  ```
325
327
 
326
328
  :param str resource_name: The name of the resource.
@@ -347,6 +349,7 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
347
349
 
348
350
  ## Example Usage
349
351
 
352
+ <!--Start PulumiCodeChooser -->
350
353
  ```python
351
354
  import pulumi
352
355
  import pulumi_wavefront as wavefront
@@ -358,13 +361,14 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
358
361
  \"\"\",
359
362
  project_id="example-gcp-project")
360
363
  ```
364
+ <!--End PulumiCodeChooser -->
361
365
 
362
366
  ## Import
363
367
 
364
368
  GCP Billing Cloud Integrations can be imported by using the `id`, e.g.:
365
369
 
366
370
  ```sh
367
- $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
371
+ $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
368
372
  ```
369
373
 
370
374
  :param str resource_name: The name of the resource.
@@ -336,19 +336,21 @@ class CloudIntegrationNewRelic(pulumi.CustomResource):
336
336
 
337
337
  ## Example Usage
338
338
 
339
+ <!--Start PulumiCodeChooser -->
339
340
  ```python
340
341
  import pulumi
341
342
  import pulumi_wavefront as wavefront
342
343
 
343
344
  newrelic = wavefront.CloudIntegrationNewRelic("newrelic", api_key="example-api-key")
344
345
  ```
346
+ <!--End PulumiCodeChooser -->
345
347
 
346
348
  ## Import
347
349
 
348
350
  NewRelic Integrations can be imported by using the `id`, e.g.:
349
351
 
350
352
  ```sh
351
- $ pulumi import wavefront:index/cloudIntegrationNewRelic:CloudIntegrationNewRelic newrelic a411c16b-3cf7-4f03-bf11-8ca05aab898d
353
+ $ pulumi import wavefront:index/cloudIntegrationNewRelic:CloudIntegrationNewRelic newrelic a411c16b-3cf7-4f03-bf11-8ca05aab898d
352
354
  ```
353
355
 
354
356
  :param str resource_name: The name of the resource.
@@ -375,19 +377,21 @@ class CloudIntegrationNewRelic(pulumi.CustomResource):
375
377
 
376
378
  ## Example Usage
377
379
 
380
+ <!--Start PulumiCodeChooser -->
378
381
  ```python
379
382
  import pulumi
380
383
  import pulumi_wavefront as wavefront
381
384
 
382
385
  newrelic = wavefront.CloudIntegrationNewRelic("newrelic", api_key="example-api-key")
383
386
  ```
387
+ <!--End PulumiCodeChooser -->
384
388
 
385
389
  ## Import
386
390
 
387
391
  NewRelic Integrations can be imported by using the `id`, e.g.:
388
392
 
389
393
  ```sh
390
- $ pulumi import wavefront:index/cloudIntegrationNewRelic:CloudIntegrationNewRelic newrelic a411c16b-3cf7-4f03-bf11-8ca05aab898d
394
+ $ pulumi import wavefront:index/cloudIntegrationNewRelic:CloudIntegrationNewRelic newrelic a411c16b-3cf7-4f03-bf11-8ca05aab898d
391
395
  ```
392
396
 
393
397
  :param str resource_name: The name of the resource.
@@ -414,7 +414,7 @@ class Dashboard(pulumi.CustomResource):
414
414
  Dashboards can be imported by using the `id`, e.g.:
415
415
 
416
416
  ```sh
417
- $ pulumi import wavefront:index/dashboard:Dashboard dashboard tftestimport
417
+ $ pulumi import wavefront:index/dashboard:Dashboard dashboard tftestimport
418
418
  ```
419
419
 
420
420
  :param str resource_name: The name of the resource.
@@ -448,7 +448,7 @@ class Dashboard(pulumi.CustomResource):
448
448
  Dashboards can be imported by using the `id`, e.g.:
449
449
 
450
450
  ```sh
451
- $ pulumi import wavefront:index/dashboard:Dashboard dashboard tftestimport
451
+ $ pulumi import wavefront:index/dashboard:Dashboard dashboard tftestimport
452
452
  ```
453
453
 
454
454
  :param str resource_name: The name of the resource.
@@ -74,6 +74,7 @@ class DashboardJson(pulumi.CustomResource):
74
74
 
75
75
  ## Example Usage
76
76
 
77
+ <!--Start PulumiCodeChooser -->
77
78
  ```python
78
79
  import pulumi
79
80
  import pulumi_wavefront as wavefront
@@ -200,6 +201,7 @@ class DashboardJson(pulumi.CustomResource):
200
201
 
201
202
  \"\"\")
202
203
  ```
204
+ <!--End PulumiCodeChooser -->
203
205
 
204
206
  *
205
207
  *Note:
@@ -210,7 +212,7 @@ class DashboardJson(pulumi.CustomResource):
210
212
  Dashboard JSON can be imported by using the `id`, e.g.:
211
213
 
212
214
  ```sh
213
- $ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
215
+ $ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
214
216
  ```
215
217
 
216
218
  :param str resource_name: The name of the resource.
@@ -229,6 +231,7 @@ class DashboardJson(pulumi.CustomResource):
229
231
 
230
232
  ## Example Usage
231
233
 
234
+ <!--Start PulumiCodeChooser -->
232
235
  ```python
233
236
  import pulumi
234
237
  import pulumi_wavefront as wavefront
@@ -355,6 +358,7 @@ class DashboardJson(pulumi.CustomResource):
355
358
 
356
359
  \"\"\")
357
360
  ```
361
+ <!--End PulumiCodeChooser -->
358
362
 
359
363
  *
360
364
  *Note:
@@ -365,7 +369,7 @@ class DashboardJson(pulumi.CustomResource):
365
369
  Dashboard JSON can be imported by using the `id`, e.g.:
366
370
 
367
371
  ```sh
368
- $ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
372
+ $ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
369
373
  ```
370
374
 
371
375
  :param str resource_name: The name of the resource.
@@ -202,6 +202,7 @@ class DerivedMetric(pulumi.CustomResource):
202
202
 
203
203
  ## Example Usage
204
204
 
205
+ <!--Start PulumiCodeChooser -->
205
206
  ```python
206
207
  import pulumi
207
208
  import pulumi_wavefront as wavefront
@@ -210,13 +211,14 @@ class DerivedMetric(pulumi.CustomResource):
210
211
  minutes=5,
211
212
  query="aliasMetric(5, \\"some.metric\\")")
212
213
  ```
214
+ <!--End PulumiCodeChooser -->
213
215
 
214
216
  ## Import
215
217
 
216
218
  Derived Metrics can be imported by using the `id`, e.g.:
217
219
 
218
220
  ```sh
219
- $ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
221
+ $ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
220
222
  ```
221
223
 
222
224
  :param str resource_name: The name of the resource.
@@ -239,6 +241,7 @@ class DerivedMetric(pulumi.CustomResource):
239
241
 
240
242
  ## Example Usage
241
243
 
244
+ <!--Start PulumiCodeChooser -->
242
245
  ```python
243
246
  import pulumi
244
247
  import pulumi_wavefront as wavefront
@@ -247,13 +250,14 @@ class DerivedMetric(pulumi.CustomResource):
247
250
  minutes=5,
248
251
  query="aliasMetric(5, \\"some.metric\\")")
249
252
  ```
253
+ <!--End PulumiCodeChooser -->
250
254
 
251
255
  ## Import
252
256
 
253
257
  Derived Metrics can be imported by using the `id`, e.g.:
254
258
 
255
259
  ```sh
256
- $ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
260
+ $ pulumi import wavefront:index/derivedMetric:DerivedMetric derived_metric 1577102900578
257
261
  ```
258
262
 
259
263
  :param str resource_name: The name of the resource.
pulumi_wavefront/event.py CHANGED
@@ -194,6 +194,7 @@ class Event(pulumi.CustomResource):
194
194
 
195
195
  ## Example Usage
196
196
 
197
+ <!--Start PulumiCodeChooser -->
197
198
  ```python
198
199
  import pulumi
199
200
  import pulumi_wavefront as wavefront
@@ -206,13 +207,14 @@ class Event(pulumi.CustomResource):
206
207
  },
207
208
  tags=["eventTag1"])
208
209
  ```
210
+ <!--End PulumiCodeChooser -->
209
211
 
210
212
  ## Import
211
213
 
212
214
  You can import events by using the id, for example:
213
215
 
214
216
  ```sh
215
- $ pulumi import wavefront:index/event:Event event 1479868728473
217
+ $ pulumi import wavefront:index/event:Event event 1479868728473
216
218
  ```
217
219
 
218
220
  :param str resource_name: The name of the resource.
@@ -233,6 +235,7 @@ class Event(pulumi.CustomResource):
233
235
 
234
236
  ## Example Usage
235
237
 
238
+ <!--Start PulumiCodeChooser -->
236
239
  ```python
237
240
  import pulumi
238
241
  import pulumi_wavefront as wavefront
@@ -245,13 +248,14 @@ class Event(pulumi.CustomResource):
245
248
  },
246
249
  tags=["eventTag1"])
247
250
  ```
251
+ <!--End PulumiCodeChooser -->
248
252
 
249
253
  ## Import
250
254
 
251
255
  You can import events by using the id, for example:
252
256
 
253
257
  ```sh
254
- $ pulumi import wavefront:index/event:Event event 1479868728473
258
+ $ pulumi import wavefront:index/event:Event event 1479868728473
255
259
  ```
256
260
 
257
261
  :param str resource_name: The name of the resource.
@@ -279,6 +279,7 @@ class ExternalLink(pulumi.CustomResource):
279
279
 
280
280
  ## Example Usage
281
281
 
282
+ <!--Start PulumiCodeChooser -->
282
283
  ```python
283
284
  import pulumi
284
285
  import pulumi_wavefront as wavefront
@@ -287,13 +288,14 @@ class ExternalLink(pulumi.CustomResource):
287
288
  description="An external link description",
288
289
  template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
289
290
  ```
291
+ <!--End PulumiCodeChooser -->
290
292
 
291
293
  ## Import
292
294
 
293
295
  Maintenance windows can be imported by using the `id`, e.g.:
294
296
 
295
297
  ```sh
296
- $ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
298
+ $ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
297
299
  ```
298
300
 
299
301
  :param str resource_name: The name of the resource.
@@ -320,6 +322,7 @@ class ExternalLink(pulumi.CustomResource):
320
322
 
321
323
  ## Example Usage
322
324
 
325
+ <!--Start PulumiCodeChooser -->
323
326
  ```python
324
327
  import pulumi
325
328
  import pulumi_wavefront as wavefront
@@ -328,13 +331,14 @@ class ExternalLink(pulumi.CustomResource):
328
331
  description="An external link description",
329
332
  template="https://example.com/source={{{source}}}&startTime={{startEpochMillis}}")
330
333
  ```
334
+ <!--End PulumiCodeChooser -->
331
335
 
332
336
  ## Import
333
337
 
334
338
  Maintenance windows can be imported by using the `id`, e.g.:
335
339
 
336
340
  ```sh
337
- $ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
341
+ $ pulumi import wavefront:index/externalLink:ExternalLink basic fVj6fz6zYC4aBkID
338
342
  ```
339
343
 
340
344
  :param str resource_name: The name of the resource.
@@ -22,10 +22,13 @@ class GetAlertResult:
22
22
  """
23
23
  A collection of values returned by getAlert.
24
24
  """
25
- def __init__(__self__, additional_information=None, alert_type=None, can_modifies=None, can_views=None, condition=None, conditions=None, display_expression=None, evaluate_realtime_data=None, failing_host_label_pairs=None, id=None, in_maintenance_host_label_pairs=None, include_obsolete_metrics=None, minutes=None, name=None, notification_resend_frequency_minutes=None, process_rate_minutes=None, resolve_after_minutes=None, severity=None, severity_lists=None, statuses=None, tags=None, target=None, targets=None):
25
+ def __init__(__self__, additional_information=None, alert_triage_dashboards=None, alert_type=None, can_modifies=None, can_views=None, condition=None, conditions=None, display_expression=None, evaluate_realtime_data=None, failing_host_label_pairs=None, id=None, in_maintenance_host_label_pairs=None, include_obsolete_metrics=None, minutes=None, name=None, notification_resend_frequency_minutes=None, process_rate_minutes=None, resolve_after_minutes=None, runbook_links=None, severity=None, severity_lists=None, statuses=None, tags=None, target=None, targets=None):
26
26
  if additional_information and not isinstance(additional_information, str):
27
27
  raise TypeError("Expected argument 'additional_information' to be a str")
28
28
  pulumi.set(__self__, "additional_information", additional_information)
29
+ if alert_triage_dashboards and not isinstance(alert_triage_dashboards, list):
30
+ raise TypeError("Expected argument 'alert_triage_dashboards' to be a list")
31
+ pulumi.set(__self__, "alert_triage_dashboards", alert_triage_dashboards)
29
32
  if alert_type and not isinstance(alert_type, str):
30
33
  raise TypeError("Expected argument 'alert_type' to be a str")
31
34
  pulumi.set(__self__, "alert_type", alert_type)
@@ -74,6 +77,9 @@ class GetAlertResult:
74
77
  if resolve_after_minutes and not isinstance(resolve_after_minutes, int):
75
78
  raise TypeError("Expected argument 'resolve_after_minutes' to be a int")
76
79
  pulumi.set(__self__, "resolve_after_minutes", resolve_after_minutes)
80
+ if runbook_links and not isinstance(runbook_links, list):
81
+ raise TypeError("Expected argument 'runbook_links' to be a list")
82
+ pulumi.set(__self__, "runbook_links", runbook_links)
77
83
  if severity and not isinstance(severity, str):
78
84
  raise TypeError("Expected argument 'severity' to be a str")
79
85
  pulumi.set(__self__, "severity", severity)
@@ -101,6 +107,14 @@ class GetAlertResult:
101
107
  """
102
108
  return pulumi.get(self, "additional_information")
103
109
 
110
+ @property
111
+ @pulumi.getter(name="alertTriageDashboards")
112
+ def alert_triage_dashboards(self) -> Sequence['outputs.GetAlertAlertTriageDashboardResult']:
113
+ """
114
+ A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
115
+ """
116
+ return pulumi.get(self, "alert_triage_dashboards")
117
+
104
118
  @property
105
119
  @pulumi.getter(name="alertType")
106
120
  def alert_type(self) -> str:
@@ -229,6 +243,14 @@ class GetAlertResult:
229
243
  """
230
244
  return pulumi.get(self, "resolve_after_minutes")
231
245
 
246
+ @property
247
+ @pulumi.getter(name="runbookLinks")
248
+ def runbook_links(self) -> Sequence[str]:
249
+ """
250
+ A list of user-supplied runbook links for this alert.
251
+ """
252
+ return pulumi.get(self, "runbook_links")
253
+
232
254
  @property
233
255
  @pulumi.getter
234
256
  def severity(self) -> str:
@@ -282,6 +304,7 @@ class AwaitableGetAlertResult(GetAlertResult):
282
304
  yield self
283
305
  return GetAlertResult(
284
306
  additional_information=self.additional_information,
307
+ alert_triage_dashboards=self.alert_triage_dashboards,
285
308
  alert_type=self.alert_type,
286
309
  can_modifies=self.can_modifies,
287
310
  can_views=self.can_views,
@@ -298,6 +321,7 @@ class AwaitableGetAlertResult(GetAlertResult):
298
321
  notification_resend_frequency_minutes=self.notification_resend_frequency_minutes,
299
322
  process_rate_minutes=self.process_rate_minutes,
300
323
  resolve_after_minutes=self.resolve_after_minutes,
324
+ runbook_links=self.runbook_links,
301
325
  severity=self.severity,
302
326
  severity_lists=self.severity_lists,
303
327
  statuses=self.statuses,
@@ -314,12 +338,14 @@ def get_alert(id: Optional[str] = None,
314
338
 
315
339
  ## Example Usage
316
340
 
341
+ <!--Start PulumiCodeChooser -->
317
342
  ```python
318
343
  import pulumi
319
344
  import pulumi_wavefront as wavefront
320
345
 
321
346
  example = wavefront.get_alert(id="alert-id")
322
347
  ```
348
+ <!--End PulumiCodeChooser -->
323
349
 
324
350
 
325
351
  :param str id: The ID associated with the alert data to be fetched.
@@ -333,6 +359,7 @@ def get_alert(id: Optional[str] = None,
333
359
 
334
360
  return AwaitableGetAlertResult(
335
361
  additional_information=pulumi.get(__ret__, 'additional_information'),
362
+ alert_triage_dashboards=pulumi.get(__ret__, 'alert_triage_dashboards'),
336
363
  alert_type=pulumi.get(__ret__, 'alert_type'),
337
364
  can_modifies=pulumi.get(__ret__, 'can_modifies'),
338
365
  can_views=pulumi.get(__ret__, 'can_views'),
@@ -349,6 +376,7 @@ def get_alert(id: Optional[str] = None,
349
376
  notification_resend_frequency_minutes=pulumi.get(__ret__, 'notification_resend_frequency_minutes'),
350
377
  process_rate_minutes=pulumi.get(__ret__, 'process_rate_minutes'),
351
378
  resolve_after_minutes=pulumi.get(__ret__, 'resolve_after_minutes'),
379
+ runbook_links=pulumi.get(__ret__, 'runbook_links'),
352
380
  severity=pulumi.get(__ret__, 'severity'),
353
381
  severity_lists=pulumi.get(__ret__, 'severity_lists'),
354
382
  statuses=pulumi.get(__ret__, 'statuses'),
@@ -366,12 +394,14 @@ def get_alert_output(id: Optional[pulumi.Input[str]] = None,
366
394
 
367
395
  ## Example Usage
368
396
 
397
+ <!--Start PulumiCodeChooser -->
369
398
  ```python
370
399
  import pulumi
371
400
  import pulumi_wavefront as wavefront
372
401
 
373
402
  example = wavefront.get_alert(id="alert-id")
374
403
  ```
404
+ <!--End PulumiCodeChooser -->
375
405
 
376
406
 
377
407
  :param str id: The ID associated with the alert data to be fetched.