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.
Files changed (50) hide show
  1. pulumi_wavefront/_inputs.py +10 -10
  2. pulumi_wavefront/_utilities.py +2 -2
  3. pulumi_wavefront/alert.py +8 -6
  4. pulumi_wavefront/alert_target.py +12 -10
  5. pulumi_wavefront/cloud_integration_app_dynamics.py +10 -8
  6. pulumi_wavefront/cloud_integration_aws_external_id.py +4 -4
  7. pulumi_wavefront/cloud_integration_azure.py +6 -4
  8. pulumi_wavefront/cloud_integration_azure_activity_log.py +6 -4
  9. pulumi_wavefront/cloud_integration_cloud_trail.py +6 -4
  10. pulumi_wavefront/cloud_integration_cloud_watch.py +6 -4
  11. pulumi_wavefront/cloud_integration_ec2.py +6 -4
  12. pulumi_wavefront/cloud_integration_gcp.py +8 -10
  13. pulumi_wavefront/cloud_integration_gcp_billing.py +10 -12
  14. pulumi_wavefront/cloud_integration_new_relic.py +8 -4
  15. pulumi_wavefront/dashboard.py +2 -2
  16. pulumi_wavefront/dashboard_json.py +230 -232
  17. pulumi_wavefront/derived_metric.py +4 -2
  18. pulumi_wavefront/event.py +6 -4
  19. pulumi_wavefront/external_link.py +4 -2
  20. pulumi_wavefront/get_alert.py +2 -0
  21. pulumi_wavefront/get_alerts.py +2 -0
  22. pulumi_wavefront/get_dashboard.py +2 -0
  23. pulumi_wavefront/get_dashboards.py +2 -0
  24. pulumi_wavefront/get_default_user_group.py +2 -0
  25. pulumi_wavefront/get_derived_metric.py +2 -0
  26. pulumi_wavefront/get_derived_metrics.py +2 -0
  27. pulumi_wavefront/get_event.py +2 -0
  28. pulumi_wavefront/get_events.py +8 -6
  29. pulumi_wavefront/get_external_link.py +2 -0
  30. pulumi_wavefront/get_external_links.py +2 -0
  31. pulumi_wavefront/get_maintenance_window.py +2 -0
  32. pulumi_wavefront/get_role.py +2 -0
  33. pulumi_wavefront/get_roles.py +2 -0
  34. pulumi_wavefront/get_user.py +2 -0
  35. pulumi_wavefront/get_user_group.py +2 -0
  36. pulumi_wavefront/get_user_groups.py +2 -0
  37. pulumi_wavefront/get_users.py +2 -0
  38. pulumi_wavefront/ingestion_policy.py +8 -4
  39. pulumi_wavefront/maintenance_window.py +10 -10
  40. pulumi_wavefront/metrics_policy.py +8 -6
  41. pulumi_wavefront/outputs.py +30 -10
  42. pulumi_wavefront/role.py +4 -4
  43. pulumi_wavefront/service_account.py +6 -6
  44. pulumi_wavefront/user.py +2 -2
  45. pulumi_wavefront/user_group.py +8 -4
  46. {pulumi_wavefront-3.1.0a1704219685.dist-info → pulumi_wavefront-3.1.2.dist-info}/METADATA +2 -2
  47. pulumi_wavefront-3.1.2.dist-info/RECORD +58 -0
  48. {pulumi_wavefront-3.1.0a1704219685.dist-info → pulumi_wavefront-3.1.2.dist-info}/WHEEL +1 -1
  49. pulumi_wavefront-3.1.0a1704219685.dist-info/RECORD +0 -58
  50. {pulumi_wavefront-3.1.0a1704219685.dist-info → pulumi_wavefront-3.1.2.dist-info}/top_level.txt +0 -0
@@ -31,6 +31,10 @@ class AlertAlertTriageDashboardArgs:
31
31
  dashboard_id: pulumi.Input[str],
32
32
  description: pulumi.Input[str],
33
33
  parameters: Optional[pulumi.Input['AlertAlertTriageDashboardParametersArgs']] = None):
34
+ """
35
+ :param pulumi.Input[str] dashboard_id: Dashboard ID
36
+ :param pulumi.Input[str] description: Dashboard Description
37
+ """
34
38
  pulumi.set(__self__, "dashboard_id", dashboard_id)
35
39
  pulumi.set(__self__, "description", description)
36
40
  if parameters is not None:
@@ -39,6 +43,9 @@ class AlertAlertTriageDashboardArgs:
39
43
  @property
40
44
  @pulumi.getter(name="dashboardId")
41
45
  def dashboard_id(self) -> pulumi.Input[str]:
46
+ """
47
+ Dashboard ID
48
+ """
42
49
  return pulumi.get(self, "dashboard_id")
43
50
 
44
51
  @dashboard_id.setter
@@ -48,6 +55,9 @@ class AlertAlertTriageDashboardArgs:
48
55
  @property
49
56
  @pulumi.getter
50
57
  def description(self) -> pulumi.Input[str]:
58
+ """
59
+ Dashboard Description
60
+ """
51
61
  return pulumi.get(self, "description")
52
62
 
53
63
  @description.setter
@@ -1776,19 +1786,12 @@ class MetricsPolicyPolicyRuleTagArgs:
1776
1786
  def __init__(__self__, *,
1777
1787
  key: pulumi.Input[str],
1778
1788
  value: pulumi.Input[str]):
1779
- """
1780
- :param pulumi.Input[str] key: The tag's key.
1781
- :param pulumi.Input[str] value: The tag's value.
1782
- """
1783
1789
  pulumi.set(__self__, "key", key)
1784
1790
  pulumi.set(__self__, "value", value)
1785
1791
 
1786
1792
  @property
1787
1793
  @pulumi.getter
1788
1794
  def key(self) -> pulumi.Input[str]:
1789
- """
1790
- The tag's key.
1791
- """
1792
1795
  return pulumi.get(self, "key")
1793
1796
 
1794
1797
  @key.setter
@@ -1798,9 +1801,6 @@ class MetricsPolicyPolicyRuleTagArgs:
1798
1801
  @property
1799
1802
  @pulumi.getter
1800
1803
  def value(self) -> pulumi.Input[str]:
1801
- """
1802
- The tag's value.
1803
- """
1804
1804
  return pulumi.get(self, "value")
1805
1805
 
1806
1806
  @value.setter
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
  import asyncio
7
+ import importlib.metadata
7
8
  import importlib.util
8
9
  import inspect
9
10
  import json
10
11
  import os
11
- import pkg_resources
12
12
  import sys
13
13
  import typing
14
14
 
@@ -72,7 +72,7 @@ def _get_semver_version():
72
72
  # to receive a valid semver string when receiving requests from the language host, so it's our
73
73
  # responsibility as the library to convert our own PEP440 version into a valid semver string.
74
74
 
75
- pep440_version_string = pkg_resources.require(root_package)[0].version
75
+ pep440_version_string = importlib.metadata.version(root_package)
76
76
  pep440_version = PEP440Version.parse(pep440_version_string)
77
77
  (major, minor, patch) = pep440_version.release
78
78
  prerelease = None
pulumi_wavefront/alert.py CHANGED
@@ -689,6 +689,8 @@ class Alert(pulumi.CustomResource):
689
689
  import pulumi_wavefront as wavefront
690
690
 
691
691
  foobar = wavefront.Alert("foobar",
692
+ name="Test Alert",
693
+ target="test@example.com,target:alert-target-id",
692
694
  condition="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total ) > 80",
693
695
  display_expression="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total )",
694
696
  minutes=5,
@@ -697,8 +699,7 @@ class Alert(pulumi.CustomResource):
697
699
  tags=[
698
700
  "terraform",
699
701
  "test",
700
- ],
701
- target="test@example.com,target:alert-target-id")
702
+ ])
702
703
  ```
703
704
 
704
705
  ## Import
@@ -706,7 +707,7 @@ class Alert(pulumi.CustomResource):
706
707
  Alerts can be imported using the `id`, e.g.
707
708
 
708
709
  ```sh
709
- $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
710
+ $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
710
711
  ```
711
712
 
712
713
  :param str resource_name: The name of the resource.
@@ -759,6 +760,8 @@ class Alert(pulumi.CustomResource):
759
760
  import pulumi_wavefront as wavefront
760
761
 
761
762
  foobar = wavefront.Alert("foobar",
763
+ name="Test Alert",
764
+ target="test@example.com,target:alert-target-id",
762
765
  condition="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total ) > 80",
763
766
  display_expression="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total )",
764
767
  minutes=5,
@@ -767,8 +770,7 @@ class Alert(pulumi.CustomResource):
767
770
  tags=[
768
771
  "terraform",
769
772
  "test",
770
- ],
771
- target="test@example.com,target:alert-target-id")
773
+ ])
772
774
  ```
773
775
 
774
776
  ## Import
@@ -776,7 +778,7 @@ class Alert(pulumi.CustomResource):
776
778
  Alerts can be imported using the `id`, e.g.
777
779
 
778
780
  ```sh
779
- $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
781
+ $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
780
782
  ```
781
783
 
782
784
  :param str resource_name: The name of the resource.
@@ -431,14 +431,15 @@ class AlertTarget(pulumi.CustomResource):
431
431
  import pulumi
432
432
  import pulumi_wavefront as wavefront
433
433
 
434
- test_target = wavefront.AlertTarget("testTarget",
434
+ test_target = wavefront.AlertTarget("test_target",
435
+ name="Terraform Test Target",
436
+ description="Test target",
437
+ method="WEBHOOK",
438
+ recipient="https://hooks.slack.com/services/test/me",
435
439
  content_type="application/json",
436
440
  custom_headers={
437
441
  "Testing": "true",
438
442
  },
439
- description="Test target",
440
- method="WEBHOOK",
441
- recipient="https://hooks.slack.com/services/test/me",
442
443
  template="{}",
443
444
  triggers=[
444
445
  "ALERT_OPENED",
@@ -451,7 +452,7 @@ class AlertTarget(pulumi.CustomResource):
451
452
  Alert Targets can be imported using the `id`, e.g.:
452
453
 
453
454
  ```sh
454
- $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
455
+ $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
455
456
  ```
456
457
 
457
458
  :param str resource_name: The name of the resource.
@@ -486,14 +487,15 @@ class AlertTarget(pulumi.CustomResource):
486
487
  import pulumi
487
488
  import pulumi_wavefront as wavefront
488
489
 
489
- test_target = wavefront.AlertTarget("testTarget",
490
+ test_target = wavefront.AlertTarget("test_target",
491
+ name="Terraform Test Target",
492
+ description="Test target",
493
+ method="WEBHOOK",
494
+ recipient="https://hooks.slack.com/services/test/me",
490
495
  content_type="application/json",
491
496
  custom_headers={
492
497
  "Testing": "true",
493
498
  },
494
- description="Test target",
495
- method="WEBHOOK",
496
- recipient="https://hooks.slack.com/services/test/me",
497
499
  template="{}",
498
500
  triggers=[
499
501
  "ALERT_OPENED",
@@ -506,7 +508,7 @@ class AlertTarget(pulumi.CustomResource):
506
508
  Alert Targets can be imported using the `id`, e.g.:
507
509
 
508
510
  ```sh
509
- $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
511
+ $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
510
512
  ```
511
513
 
512
514
  :param str resource_name: The name of the resource.
@@ -608,10 +608,11 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
608
608
  import pulumi
609
609
  import pulumi_wavefront as wavefront
610
610
 
611
- app_dynamics = wavefront.CloudIntegrationAppDynamics("appDynamics",
611
+ app_dynamics = wavefront.CloudIntegrationAppDynamics("app_dynamics",
612
+ name="Test Integration",
613
+ user_name="example",
612
614
  controller_name="exampleController",
613
- encrypted_password="encryptedPassword",
614
- user_name="example")
615
+ encrypted_password="encryptedPassword")
615
616
  ```
616
617
 
617
618
  ## Import
@@ -619,7 +620,7 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
619
620
  AppDynamic Cloud Integrations can be imported by using the `id`, e.g.:
620
621
 
621
622
  ```sh
622
- $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
623
+ $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
623
624
  ```
624
625
 
625
626
  :param str resource_name: The name of the resource.
@@ -660,10 +661,11 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
660
661
  import pulumi
661
662
  import pulumi_wavefront as wavefront
662
663
 
663
- app_dynamics = wavefront.CloudIntegrationAppDynamics("appDynamics",
664
+ app_dynamics = wavefront.CloudIntegrationAppDynamics("app_dynamics",
665
+ name="Test Integration",
666
+ user_name="example",
664
667
  controller_name="exampleController",
665
- encrypted_password="encryptedPassword",
666
- user_name="example")
668
+ encrypted_password="encryptedPassword")
667
669
  ```
668
670
 
669
671
  ## Import
@@ -671,7 +673,7 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
671
673
  AppDynamic Cloud Integrations can be imported by using the `id`, e.g.:
672
674
 
673
675
  ```sh
674
- $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
676
+ $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
675
677
  ```
676
678
 
677
679
  :param str resource_name: The name of the resource.
@@ -35,7 +35,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
35
35
  import pulumi
36
36
  import pulumi_wavefront as wavefront
37
37
 
38
- external_id = wavefront.CloudIntegrationAwsExternalId("externalId")
38
+ external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
39
39
  ```
40
40
 
41
41
  ## Import
@@ -43,7 +43,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
43
43
  External IDs can be imported by using the `id`, e.g.:
44
44
 
45
45
  ```sh
46
- $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
46
+ $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
47
47
  ```
48
48
 
49
49
  :param str resource_name: The name of the resource.
@@ -64,7 +64,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
64
64
  import pulumi
65
65
  import pulumi_wavefront as wavefront
66
66
 
67
- external_id = wavefront.CloudIntegrationAwsExternalId("externalId")
67
+ external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
68
68
  ```
69
69
 
70
70
  ## Import
@@ -72,7 +72,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
72
72
  External IDs can be imported by using the `id`, e.g.:
73
73
 
74
74
  ```sh
75
- $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
75
+ $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
76
76
  ```
77
77
 
78
78
  :param str resource_name: The name of the resource.
@@ -402,7 +402,8 @@ class CloudIntegrationAzure(pulumi.CustomResource):
402
402
  import pulumi
403
403
  import pulumi_wavefront as wavefront
404
404
 
405
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
405
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
406
+ name="Test Integration",
406
407
  client_id="client-id2",
407
408
  client_secret="client-secret2",
408
409
  tenant="my-tenant2")
@@ -413,7 +414,7 @@ class CloudIntegrationAzure(pulumi.CustomResource):
413
414
  Azure Cloud Integrations can be imported by using the `id`, e.g.:
414
415
 
415
416
  ```sh
416
- $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
417
+ $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
417
418
  ```
418
419
 
419
420
  :param str resource_name: The name of the resource.
@@ -446,7 +447,8 @@ class CloudIntegrationAzure(pulumi.CustomResource):
446
447
  import pulumi
447
448
  import pulumi_wavefront as wavefront
448
449
 
449
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
450
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
451
+ name="Test Integration",
450
452
  client_id="client-id2",
451
453
  client_secret="client-secret2",
452
454
  tenant="my-tenant2")
@@ -457,7 +459,7 @@ class CloudIntegrationAzure(pulumi.CustomResource):
457
459
  Azure Cloud Integrations can be imported by using the `id`, e.g.:
458
460
 
459
461
  ```sh
460
- $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
462
+ $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
461
463
  ```
462
464
 
463
465
  :param str resource_name: The name of the resource.
@@ -336,7 +336,8 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
336
336
  import pulumi
337
337
  import pulumi_wavefront as wavefront
338
338
 
339
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
339
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
340
+ name="Test Integration",
340
341
  category_filters=["ADMINISTRATIVE"],
341
342
  client_id="client-id2",
342
343
  client_secret="client-secret2",
@@ -348,7 +349,7 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
348
349
  Azure Activity Log Cloud Integrations can be imported by using the `id`, e.g.:
349
350
 
350
351
  ```sh
351
- $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
352
+ $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
352
353
  ```
353
354
 
354
355
  :param str resource_name: The name of the resource.
@@ -379,7 +380,8 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
379
380
  import pulumi
380
381
  import pulumi_wavefront as wavefront
381
382
 
382
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
383
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
384
+ name="Test Integration",
383
385
  category_filters=["ADMINISTRATIVE"],
384
386
  client_id="client-id2",
385
387
  client_secret="client-secret2",
@@ -391,7 +393,7 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
391
393
  Azure Activity Log Cloud Integrations can be imported by using the `id`, e.g.:
392
394
 
393
395
  ```sh
394
- $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
396
+ $ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
395
397
  ```
396
398
 
397
399
  :param str resource_name: The name of the resource.
@@ -401,8 +401,9 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
401
401
  import pulumi
402
402
  import pulumi_wavefront as wavefront
403
403
 
404
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
404
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
405
405
  cloudtrail = wavefront.CloudIntegrationCloudTrail("cloudtrail",
406
+ name="Test Integration",
406
407
  role_arn="arn:aws::1234567:role/example-arn",
407
408
  external_id=ext_id.id,
408
409
  region="us-west-2",
@@ -414,7 +415,7 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
414
415
  CloudTrail Cloud Integrations can be imported by using the `id`, e.g.:
415
416
 
416
417
  ```sh
417
- $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
418
+ $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
418
419
  ```
419
420
 
420
421
  :param str resource_name: The name of the resource.
@@ -447,8 +448,9 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
447
448
  import pulumi
448
449
  import pulumi_wavefront as wavefront
449
450
 
450
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
451
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
451
452
  cloudtrail = wavefront.CloudIntegrationCloudTrail("cloudtrail",
453
+ name="Test Integration",
452
454
  role_arn="arn:aws::1234567:role/example-arn",
453
455
  external_id=ext_id.id,
454
456
  region="us-west-2",
@@ -460,7 +462,7 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
460
462
  CloudTrail Cloud Integrations can be imported by using the `id`, e.g.:
461
463
 
462
464
  ```sh
463
- $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
465
+ $ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
464
466
  ```
465
467
 
466
468
  :param str resource_name: The name of the resource.
@@ -456,8 +456,9 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
456
456
  import pulumi
457
457
  import pulumi_wavefront as wavefront
458
458
 
459
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
459
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
460
460
  cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
461
+ name="Test Integration",
461
462
  force_save=True,
462
463
  role_arn="arn:aws::1234567:role/example-arn",
463
464
  external_id=ext_id.id)
@@ -468,7 +469,7 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
468
469
  CloudWatch Cloud Integrations can be imported by using the `id`, e.g.:
469
470
 
470
471
  ```sh
471
- $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
472
+ $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
472
473
  ```
473
474
 
474
475
  :param str resource_name: The name of the resource.
@@ -507,8 +508,9 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
507
508
  import pulumi
508
509
  import pulumi_wavefront as wavefront
509
510
 
510
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
511
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
511
512
  cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
513
+ name="Test Integration",
512
514
  force_save=True,
513
515
  role_arn="arn:aws::1234567:role/example-arn",
514
516
  external_id=ext_id.id)
@@ -519,7 +521,7 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
519
521
  CloudWatch Cloud Integrations can be imported by using the `id`, e.g.:
520
522
 
521
523
  ```sh
522
- $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
524
+ $ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
523
525
  ```
524
526
 
525
527
  :param str resource_name: The name of the resource.
@@ -312,8 +312,9 @@ class CloudIntegrationEc2(pulumi.CustomResource):
312
312
  import pulumi
313
313
  import pulumi_wavefront as wavefront
314
314
 
315
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
315
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
316
316
  ec2 = wavefront.CloudIntegrationEc2("ec2",
317
+ name="Test Integration",
317
318
  role_arn="arn:aws::1234567:role/example-arn",
318
319
  external_id=ext_id.id)
319
320
  ```
@@ -323,7 +324,7 @@ class CloudIntegrationEc2(pulumi.CustomResource):
323
324
  EC2 Cloud Integrations can be imported by using the `id`, e.g.:
324
325
 
325
326
  ```sh
326
- $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
327
+ $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
327
328
  ```
328
329
 
329
330
  :param str resource_name: The name of the resource.
@@ -355,8 +356,9 @@ class CloudIntegrationEc2(pulumi.CustomResource):
355
356
  import pulumi
356
357
  import pulumi_wavefront as wavefront
357
358
 
358
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
359
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
359
360
  ec2 = wavefront.CloudIntegrationEc2("ec2",
361
+ name="Test Integration",
360
362
  role_arn="arn:aws::1234567:role/example-arn",
361
363
  external_id=ext_id.id)
362
364
  ```
@@ -366,7 +368,7 @@ class CloudIntegrationEc2(pulumi.CustomResource):
366
368
  EC2 Cloud Integrations can be imported by using the `id`, e.g.:
367
369
 
368
370
  ```sh
369
- $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
371
+ $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
370
372
  ```
371
373
 
372
374
  :param str resource_name: The name of the resource.
@@ -358,10 +358,9 @@ class CloudIntegrationGcp(pulumi.CustomResource):
358
358
  import pulumi_wavefront as wavefront
359
359
 
360
360
  gcp = wavefront.CloudIntegrationGcp("gcp",
361
- json_key=\"\"\"{...your gcp key ...}
362
-
363
- \"\"\",
364
- project_id="example-gcp-project")
361
+ name="Test Integration",
362
+ project_id="example-gcp-project",
363
+ json_key="{...your gcp key ...}\\n")
365
364
  ```
366
365
 
367
366
  ## Import
@@ -369,7 +368,7 @@ class CloudIntegrationGcp(pulumi.CustomResource):
369
368
  GCP Cloud Integrations can be imported by using the `id`, e.g.:
370
369
 
371
370
  ```sh
372
- $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
371
+ $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
373
372
  ```
374
373
 
375
374
  :param str resource_name: The name of the resource.
@@ -406,10 +405,9 @@ class CloudIntegrationGcp(pulumi.CustomResource):
406
405
  import pulumi_wavefront as wavefront
407
406
 
408
407
  gcp = wavefront.CloudIntegrationGcp("gcp",
409
- json_key=\"\"\"{...your gcp key ...}
410
-
411
- \"\"\",
412
- project_id="example-gcp-project")
408
+ name="Test Integration",
409
+ project_id="example-gcp-project",
410
+ json_key="{...your gcp key ...}\\n")
413
411
  ```
414
412
 
415
413
  ## Import
@@ -417,7 +415,7 @@ class CloudIntegrationGcp(pulumi.CustomResource):
417
415
  GCP Cloud Integrations can be imported by using the `id`, e.g.:
418
416
 
419
417
  ```sh
420
- $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
418
+ $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
421
419
  ```
422
420
 
423
421
  :param str resource_name: The name of the resource.
@@ -307,12 +307,11 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
307
307
  import pulumi
308
308
  import pulumi_wavefront as wavefront
309
309
 
310
- gcp_billing = wavefront.CloudIntegrationGcpBilling("gcpBilling",
310
+ gcp_billing = wavefront.CloudIntegrationGcpBilling("gcp_billing",
311
+ name="Test Integration",
312
+ project_id="example-gcp-project",
311
313
  api_key="example-api-key",
312
- json_key=\"\"\"{...your gcp key ...}
313
-
314
- \"\"\",
315
- project_id="example-gcp-project")
314
+ json_key="{...your gcp key ...}\\n")
316
315
  ```
317
316
 
318
317
  ## Import
@@ -320,7 +319,7 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
320
319
  GCP Billing Cloud Integrations can be imported by using the `id`, e.g.:
321
320
 
322
321
  ```sh
323
- $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
322
+ $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
324
323
  ```
325
324
 
326
325
  :param str resource_name: The name of the resource.
@@ -351,12 +350,11 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
351
350
  import pulumi
352
351
  import pulumi_wavefront as wavefront
353
352
 
354
- gcp_billing = wavefront.CloudIntegrationGcpBilling("gcpBilling",
353
+ gcp_billing = wavefront.CloudIntegrationGcpBilling("gcp_billing",
354
+ name="Test Integration",
355
+ project_id="example-gcp-project",
355
356
  api_key="example-api-key",
356
- json_key=\"\"\"{...your gcp key ...}
357
-
358
- \"\"\",
359
- project_id="example-gcp-project")
357
+ json_key="{...your gcp key ...}\\n")
360
358
  ```
361
359
 
362
360
  ## Import
@@ -364,7 +362,7 @@ class CloudIntegrationGcpBilling(pulumi.CustomResource):
364
362
  GCP Billing Cloud Integrations can be imported by using the `id`, e.g.:
365
363
 
366
364
  ```sh
367
- $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
365
+ $ pulumi import wavefront:index/cloudIntegrationGcpBilling:CloudIntegrationGcpBilling gcp_billing a411c16b-3cf7-4f03-bf11-8ca05aab898d
368
366
  ```
369
367
 
370
368
  :param str resource_name: The name of the resource.
@@ -340,7 +340,9 @@ class CloudIntegrationNewRelic(pulumi.CustomResource):
340
340
  import pulumi
341
341
  import pulumi_wavefront as wavefront
342
342
 
343
- newrelic = wavefront.CloudIntegrationNewRelic("newrelic", api_key="example-api-key")
343
+ newrelic = wavefront.CloudIntegrationNewRelic("newrelic",
344
+ name="Test Integration",
345
+ api_key="example-api-key")
344
346
  ```
345
347
 
346
348
  ## Import
@@ -348,7 +350,7 @@ class CloudIntegrationNewRelic(pulumi.CustomResource):
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.
@@ -379,7 +381,9 @@ class CloudIntegrationNewRelic(pulumi.CustomResource):
379
381
  import pulumi
380
382
  import pulumi_wavefront as wavefront
381
383
 
382
- newrelic = wavefront.CloudIntegrationNewRelic("newrelic", api_key="example-api-key")
384
+ newrelic = wavefront.CloudIntegrationNewRelic("newrelic",
385
+ name="Test Integration",
386
+ api_key="example-api-key")
383
387
  ```
384
388
 
385
389
  ## Import
@@ -387,7 +391,7 @@ class CloudIntegrationNewRelic(pulumi.CustomResource):
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.