pulumi-wavefront 3.2.0a1710161007__py3-none-any.whl → 3.2.0a1736849819__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 (56) hide show
  1. pulumi_wavefront/_inputs.py +528 -3
  2. pulumi_wavefront/_utilities.py +41 -5
  3. pulumi_wavefront/alert.py +16 -13
  4. pulumi_wavefront/alert_target.py +20 -17
  5. pulumi_wavefront/cloud_integration_app_dynamics.py +13 -10
  6. pulumi_wavefront/cloud_integration_aws_external_id.py +7 -6
  7. pulumi_wavefront/cloud_integration_azure.py +9 -6
  8. pulumi_wavefront/cloud_integration_azure_activity_log.py +9 -6
  9. pulumi_wavefront/cloud_integration_cloud_trail.py +9 -6
  10. pulumi_wavefront/cloud_integration_cloud_watch.py +9 -6
  11. pulumi_wavefront/cloud_integration_ec2.py +9 -6
  12. pulumi_wavefront/cloud_integration_gcp.py +11 -12
  13. pulumi_wavefront/cloud_integration_gcp_billing.py +13 -14
  14. pulumi_wavefront/cloud_integration_new_relic.py +16 -11
  15. pulumi_wavefront/config/__init__.pyi +5 -0
  16. pulumi_wavefront/config/vars.py +5 -0
  17. pulumi_wavefront/dashboard.py +15 -10
  18. pulumi_wavefront/dashboard_json.py +233 -234
  19. pulumi_wavefront/derived_metric.py +7 -4
  20. pulumi_wavefront/event.py +9 -6
  21. pulumi_wavefront/external_link.py +7 -4
  22. pulumi_wavefront/get_alert.py +39 -9
  23. pulumi_wavefront/get_alerts.py +18 -9
  24. pulumi_wavefront/get_dashboard.py +49 -10
  25. pulumi_wavefront/get_dashboards.py +18 -9
  26. pulumi_wavefront/get_default_user_group.py +14 -9
  27. pulumi_wavefront/get_derived_metric.py +37 -9
  28. pulumi_wavefront/get_derived_metrics.py +18 -9
  29. pulumi_wavefront/get_event.py +23 -9
  30. pulumi_wavefront/get_events.py +28 -15
  31. pulumi_wavefront/get_external_link.py +25 -9
  32. pulumi_wavefront/get_external_links.py +18 -9
  33. pulumi_wavefront/get_maintenance_window.py +31 -9
  34. pulumi_wavefront/get_maintenance_window_all.py +16 -5
  35. pulumi_wavefront/get_metrics_policy.py +15 -5
  36. pulumi_wavefront/get_role.py +17 -9
  37. pulumi_wavefront/get_roles.py +18 -9
  38. pulumi_wavefront/get_user.py +19 -9
  39. pulumi_wavefront/get_user_group.py +18 -9
  40. pulumi_wavefront/get_user_groups.py +18 -9
  41. pulumi_wavefront/get_users.py +14 -9
  42. pulumi_wavefront/ingestion_policy.py +14 -9
  43. pulumi_wavefront/maintenance_window.py +13 -12
  44. pulumi_wavefront/metrics_policy.py +30 -33
  45. pulumi_wavefront/outputs.py +13 -8
  46. pulumi_wavefront/provider.py +5 -0
  47. pulumi_wavefront/pulumi-plugin.json +2 -1
  48. pulumi_wavefront/role.py +7 -6
  49. pulumi_wavefront/service_account.py +9 -8
  50. pulumi_wavefront/user.py +5 -4
  51. pulumi_wavefront/user_group.py +11 -6
  52. {pulumi_wavefront-3.2.0a1710161007.dist-info → pulumi_wavefront-3.2.0a1736849819.dist-info}/METADATA +7 -6
  53. pulumi_wavefront-3.2.0a1736849819.dist-info/RECORD +58 -0
  54. {pulumi_wavefront-3.2.0a1710161007.dist-info → pulumi_wavefront-3.2.0a1736849819.dist-info}/WHEEL +1 -1
  55. pulumi_wavefront-3.2.0a1710161007.dist-info/RECORD +0 -58
  56. {pulumi_wavefront-3.2.0a1710161007.dist-info → pulumi_wavefront-3.2.0a1736849819.dist-info}/top_level.txt +0 -0
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  import asyncio
7
+ import functools
7
8
  import importlib.metadata
8
9
  import importlib.util
9
10
  import inspect
@@ -11,14 +12,19 @@ import json
11
12
  import os
12
13
  import sys
13
14
  import typing
15
+ import warnings
16
+ import base64
14
17
 
15
18
  import pulumi
16
19
  import pulumi.runtime
17
20
  from pulumi.runtime.sync_await import _sync_await
21
+ from pulumi.runtime.proto import resource_pb2
18
22
 
19
23
  from semver import VersionInfo as SemverVersion
20
24
  from parver import Version as PEP440Version
21
25
 
26
+ C = typing.TypeVar("C", bound=typing.Callable)
27
+
22
28
 
23
29
  def get_env(*args):
24
30
  for v in args:
@@ -96,10 +102,6 @@ def _get_semver_version():
96
102
  _version = _get_semver_version()
97
103
  _version_str = str(_version)
98
104
 
99
-
100
- def get_version():
101
- return _version_str
102
-
103
105
  def get_resource_opts_defaults() -> pulumi.ResourceOptions:
104
106
  return pulumi.ResourceOptions(
105
107
  version=get_version(),
@@ -262,7 +264,7 @@ def call_plain(
262
264
  output = pulumi.runtime.call(tok, props, res, typ)
263
265
 
264
266
  # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
265
- result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output)))
267
+ result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
266
268
 
267
269
  problem = None
268
270
  if not known:
@@ -287,5 +289,39 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
287
289
  await o._resources,
288
290
  )
289
291
 
292
+
293
+ # This is included to provide an upgrade path for users who are using a version
294
+ # of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
295
+ def deprecated(message: str) -> typing.Callable[[C], C]:
296
+ """
297
+ Decorator to indicate a function is deprecated.
298
+
299
+ As well as inserting appropriate statements to indicate that the function is
300
+ deprecated, this decorator also tags the function with a special attribute
301
+ so that Pulumi code can detect that it is deprecated and react appropriately
302
+ in certain situations.
303
+
304
+ message is the deprecation message that should be printed if the function is called.
305
+ """
306
+
307
+ def decorator(fn: C) -> C:
308
+ if not callable(fn):
309
+ raise TypeError("Expected fn to be callable")
310
+
311
+ @functools.wraps(fn)
312
+ def deprecated_fn(*args, **kwargs):
313
+ warnings.warn(message)
314
+ pulumi.warn(f"{fn.__name__} is deprecated: {message}")
315
+
316
+ return fn(*args, **kwargs)
317
+
318
+ deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
319
+ return typing.cast(C, deprecated_fn)
320
+
321
+ return decorator
322
+
290
323
  def get_plugin_download_url():
291
324
  return None
325
+
326
+ def get_version():
327
+ return _version_str
pulumi_wavefront/alert.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
  from . import outputs
12
17
  from ._inputs import *
@@ -661,7 +666,7 @@ class Alert(pulumi.CustomResource):
661
666
  resource_name: str,
662
667
  opts: Optional[pulumi.ResourceOptions] = None,
663
668
  additional_information: Optional[pulumi.Input[str]] = None,
664
- alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]]] = None,
669
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]]] = None,
665
670
  alert_type: Optional[pulumi.Input[str]] = None,
666
671
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
667
672
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -684,12 +689,13 @@ class Alert(pulumi.CustomResource):
684
689
 
685
690
  ## Example Usage
686
691
 
687
- <!--Start PulumiCodeChooser -->
688
692
  ```python
689
693
  import pulumi
690
694
  import pulumi_wavefront as wavefront
691
695
 
692
696
  foobar = wavefront.Alert("foobar",
697
+ name="Test Alert",
698
+ target="test@example.com,target:alert-target-id",
693
699
  condition="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total ) > 80",
694
700
  display_expression="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total )",
695
701
  minutes=5,
@@ -698,10 +704,8 @@ class Alert(pulumi.CustomResource):
698
704
  tags=[
699
705
  "terraform",
700
706
  "test",
701
- ],
702
- target="test@example.com,target:alert-target-id")
707
+ ])
703
708
  ```
704
- <!--End PulumiCodeChooser -->
705
709
 
706
710
  ## Import
707
711
 
@@ -715,7 +719,7 @@ class Alert(pulumi.CustomResource):
715
719
  :param pulumi.ResourceOptions opts: Options for the resource.
716
720
  :param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
717
721
  Useful for linking runbooks, migrations, etc.
718
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]] alert_triage_dashboards: A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
722
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]] alert_triage_dashboards: A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
719
723
  :param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
720
724
  or `THRESHOLD`.
721
725
  :param pulumi.Input[Sequence[pulumi.Input[str]]] can_modifies: A list of valid users or groups that can modify this resource on a tenant.
@@ -756,12 +760,13 @@ class Alert(pulumi.CustomResource):
756
760
 
757
761
  ## Example Usage
758
762
 
759
- <!--Start PulumiCodeChooser -->
760
763
  ```python
761
764
  import pulumi
762
765
  import pulumi_wavefront as wavefront
763
766
 
764
767
  foobar = wavefront.Alert("foobar",
768
+ name="Test Alert",
769
+ target="test@example.com,target:alert-target-id",
765
770
  condition="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total ) > 80",
766
771
  display_expression="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total )",
767
772
  minutes=5,
@@ -770,10 +775,8 @@ class Alert(pulumi.CustomResource):
770
775
  tags=[
771
776
  "terraform",
772
777
  "test",
773
- ],
774
- target="test@example.com,target:alert-target-id")
778
+ ])
775
779
  ```
776
- <!--End PulumiCodeChooser -->
777
780
 
778
781
  ## Import
779
782
 
@@ -799,7 +802,7 @@ class Alert(pulumi.CustomResource):
799
802
  resource_name: str,
800
803
  opts: Optional[pulumi.ResourceOptions] = None,
801
804
  additional_information: Optional[pulumi.Input[str]] = None,
802
- alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]]] = None,
805
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]]] = None,
803
806
  alert_type: Optional[pulumi.Input[str]] = None,
804
807
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
805
808
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -858,7 +861,7 @@ class Alert(pulumi.CustomResource):
858
861
  id: pulumi.Input[str],
859
862
  opts: Optional[pulumi.ResourceOptions] = None,
860
863
  additional_information: Optional[pulumi.Input[str]] = None,
861
- alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]]] = None,
864
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]]] = None,
862
865
  alert_type: Optional[pulumi.Input[str]] = None,
863
866
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
864
867
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -884,7 +887,7 @@ class Alert(pulumi.CustomResource):
884
887
  :param pulumi.ResourceOptions opts: Options for the resource.
885
888
  :param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
886
889
  Useful for linking runbooks, migrations, etc.
887
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]] alert_triage_dashboards: A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
890
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]] alert_triage_dashboards: A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
888
891
  :param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
889
892
  or `THRESHOLD`.
890
893
  :param pulumi.Input[Sequence[pulumi.Input[str]]] can_modifies: A list of valid users or groups that can modify this resource on a tenant.
@@ -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
  from . import outputs
12
17
  from ._inputs import *
@@ -418,7 +423,7 @@ class AlertTarget(pulumi.CustomResource):
418
423
  method: Optional[pulumi.Input[str]] = None,
419
424
  name: Optional[pulumi.Input[str]] = None,
420
425
  recipient: Optional[pulumi.Input[str]] = None,
421
- routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertTargetRouteArgs']]]]] = None,
426
+ routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
422
427
  template: Optional[pulumi.Input[str]] = None,
423
428
  triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
424
429
  __props__=None):
@@ -427,26 +432,25 @@ class AlertTarget(pulumi.CustomResource):
427
432
 
428
433
  ## Example Usage
429
434
 
430
- <!--Start PulumiCodeChooser -->
431
435
  ```python
432
436
  import pulumi
433
437
  import pulumi_wavefront as wavefront
434
438
 
435
- test_target = wavefront.AlertTarget("testTarget",
439
+ test_target = wavefront.AlertTarget("test_target",
440
+ name="Terraform Test Target",
441
+ description="Test target",
442
+ method="WEBHOOK",
443
+ recipient="https://hooks.slack.com/services/test/me",
436
444
  content_type="application/json",
437
445
  custom_headers={
438
446
  "Testing": "true",
439
447
  },
440
- description="Test target",
441
- method="WEBHOOK",
442
- recipient="https://hooks.slack.com/services/test/me",
443
448
  template="{}",
444
449
  triggers=[
445
450
  "ALERT_OPENED",
446
451
  "ALERT_RESOLVED",
447
452
  ])
448
453
  ```
449
- <!--End PulumiCodeChooser -->
450
454
 
451
455
  ## Import
452
456
 
@@ -468,7 +472,7 @@ class AlertTarget(pulumi.CustomResource):
468
472
  :param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
469
473
  :param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
470
474
  routing key. `WEBHOOK`: URL endpoint.
471
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertTargetRouteArgs']]]] routes: List of routing targets that this alert target will notify. See Route
475
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]] routes: List of routing targets that this alert target will notify. See Route
472
476
  :param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
473
477
  :param pulumi.Input[Sequence[pulumi.Input[str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
474
478
  `ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
@@ -484,26 +488,25 @@ class AlertTarget(pulumi.CustomResource):
484
488
 
485
489
  ## Example Usage
486
490
 
487
- <!--Start PulumiCodeChooser -->
488
491
  ```python
489
492
  import pulumi
490
493
  import pulumi_wavefront as wavefront
491
494
 
492
- test_target = wavefront.AlertTarget("testTarget",
495
+ test_target = wavefront.AlertTarget("test_target",
496
+ name="Terraform Test Target",
497
+ description="Test target",
498
+ method="WEBHOOK",
499
+ recipient="https://hooks.slack.com/services/test/me",
493
500
  content_type="application/json",
494
501
  custom_headers={
495
502
  "Testing": "true",
496
503
  },
497
- description="Test target",
498
- method="WEBHOOK",
499
- recipient="https://hooks.slack.com/services/test/me",
500
504
  template="{}",
501
505
  triggers=[
502
506
  "ALERT_OPENED",
503
507
  "ALERT_RESOLVED",
504
508
  ])
505
509
  ```
506
- <!--End PulumiCodeChooser -->
507
510
 
508
511
  ## Import
509
512
 
@@ -536,7 +539,7 @@ class AlertTarget(pulumi.CustomResource):
536
539
  method: Optional[pulumi.Input[str]] = None,
537
540
  name: Optional[pulumi.Input[str]] = None,
538
541
  recipient: Optional[pulumi.Input[str]] = None,
539
- routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertTargetRouteArgs']]]]] = None,
542
+ routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
540
543
  template: Optional[pulumi.Input[str]] = None,
541
544
  triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
542
545
  __props__=None):
@@ -586,7 +589,7 @@ class AlertTarget(pulumi.CustomResource):
586
589
  method: Optional[pulumi.Input[str]] = None,
587
590
  name: Optional[pulumi.Input[str]] = None,
588
591
  recipient: Optional[pulumi.Input[str]] = None,
589
- routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertTargetRouteArgs']]]]] = None,
592
+ routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
590
593
  target_id: Optional[pulumi.Input[str]] = None,
591
594
  template: Optional[pulumi.Input[str]] = None,
592
595
  triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'AlertTarget':
@@ -607,7 +610,7 @@ class AlertTarget(pulumi.CustomResource):
607
610
  :param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
608
611
  :param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
609
612
  routing key. `WEBHOOK`: URL endpoint.
610
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertTargetRouteArgs']]]] routes: List of routing targets that this alert target will notify. See Route
613
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]] routes: List of routing targets that this alert target will notify. See Route
611
614
  :param pulumi.Input[str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
612
615
  :param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
613
616
  :param pulumi.Input[Sequence[pulumi.Input[str]]] triggers: A list of occurrences on which this webhook will be fired. Valid values are `ALERT_OPENED`,
@@ -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__ = ['CloudIntegrationAppDynamicsArgs', 'CloudIntegrationAppDynamics']
@@ -604,17 +609,16 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
604
609
 
605
610
  ## Example Usage
606
611
 
607
- <!--Start PulumiCodeChooser -->
608
612
  ```python
609
613
  import pulumi
610
614
  import pulumi_wavefront as wavefront
611
615
 
612
- app_dynamics = wavefront.CloudIntegrationAppDynamics("appDynamics",
616
+ app_dynamics = wavefront.CloudIntegrationAppDynamics("app_dynamics",
617
+ name="Test Integration",
618
+ user_name="example",
613
619
  controller_name="exampleController",
614
- encrypted_password="encryptedPassword",
615
- user_name="example")
620
+ encrypted_password="encryptedPassword")
616
621
  ```
617
- <!--End PulumiCodeChooser -->
618
622
 
619
623
  ## Import
620
624
 
@@ -658,17 +662,16 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
658
662
 
659
663
  ## Example Usage
660
664
 
661
- <!--Start PulumiCodeChooser -->
662
665
  ```python
663
666
  import pulumi
664
667
  import pulumi_wavefront as wavefront
665
668
 
666
- app_dynamics = wavefront.CloudIntegrationAppDynamics("appDynamics",
669
+ app_dynamics = wavefront.CloudIntegrationAppDynamics("app_dynamics",
670
+ name="Test Integration",
671
+ user_name="example",
667
672
  controller_name="exampleController",
668
- encrypted_password="encryptedPassword",
669
- user_name="example")
673
+ encrypted_password="encryptedPassword")
670
674
  ```
671
- <!--End PulumiCodeChooser -->
672
675
 
673
676
  ## Import
674
677
 
@@ -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__ = ['CloudIntegrationAwsExternalIdArgs', 'CloudIntegrationAwsExternalId']
@@ -31,14 +36,12 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
31
36
 
32
37
  ## Example Usage
33
38
 
34
- <!--Start PulumiCodeChooser -->
35
39
  ```python
36
40
  import pulumi
37
41
  import pulumi_wavefront as wavefront
38
42
 
39
- external_id = wavefront.CloudIntegrationAwsExternalId("externalId")
43
+ external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
40
44
  ```
41
- <!--End PulumiCodeChooser -->
42
45
 
43
46
  ## Import
44
47
 
@@ -62,14 +65,12 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
62
65
 
63
66
  ## Example Usage
64
67
 
65
- <!--Start PulumiCodeChooser -->
66
68
  ```python
67
69
  import pulumi
68
70
  import pulumi_wavefront as wavefront
69
71
 
70
- external_id = wavefront.CloudIntegrationAwsExternalId("externalId")
72
+ external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
71
73
  ```
72
- <!--End PulumiCodeChooser -->
73
74
 
74
75
  ## Import
75
76
 
@@ -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__ = ['CloudIntegrationAzureArgs', 'CloudIntegrationAzure']
@@ -398,17 +403,16 @@ class CloudIntegrationAzure(pulumi.CustomResource):
398
403
 
399
404
  ## Example Usage
400
405
 
401
- <!--Start PulumiCodeChooser -->
402
406
  ```python
403
407
  import pulumi
404
408
  import pulumi_wavefront as wavefront
405
409
 
406
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
410
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
411
+ name="Test Integration",
407
412
  client_id="client-id2",
408
413
  client_secret="client-secret2",
409
414
  tenant="my-tenant2")
410
415
  ```
411
- <!--End PulumiCodeChooser -->
412
416
 
413
417
  ## Import
414
418
 
@@ -444,17 +448,16 @@ class CloudIntegrationAzure(pulumi.CustomResource):
444
448
 
445
449
  ## Example Usage
446
450
 
447
- <!--Start PulumiCodeChooser -->
448
451
  ```python
449
452
  import pulumi
450
453
  import pulumi_wavefront as wavefront
451
454
 
452
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
455
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
456
+ name="Test Integration",
453
457
  client_id="client-id2",
454
458
  client_secret="client-secret2",
455
459
  tenant="my-tenant2")
456
460
  ```
457
- <!--End PulumiCodeChooser -->
458
461
 
459
462
  ## Import
460
463
 
@@ -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__ = ['CloudIntegrationAzureActivityLogArgs', 'CloudIntegrationAzureActivityLog']
@@ -332,18 +337,17 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
332
337
 
333
338
  ## Example Usage
334
339
 
335
- <!--Start PulumiCodeChooser -->
336
340
  ```python
337
341
  import pulumi
338
342
  import pulumi_wavefront as wavefront
339
343
 
340
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
344
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
345
+ name="Test Integration",
341
346
  category_filters=["ADMINISTRATIVE"],
342
347
  client_id="client-id2",
343
348
  client_secret="client-secret2",
344
349
  tenant="my-tenant2")
345
350
  ```
346
- <!--End PulumiCodeChooser -->
347
351
 
348
352
  ## Import
349
353
 
@@ -377,18 +381,17 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
377
381
 
378
382
  ## Example Usage
379
383
 
380
- <!--Start PulumiCodeChooser -->
381
384
  ```python
382
385
  import pulumi
383
386
  import pulumi_wavefront as wavefront
384
387
 
385
- azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
388
+ azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
389
+ name="Test Integration",
386
390
  category_filters=["ADMINISTRATIVE"],
387
391
  client_id="client-id2",
388
392
  client_secret="client-secret2",
389
393
  tenant="my-tenant2")
390
394
  ```
391
- <!--End PulumiCodeChooser -->
392
395
 
393
396
  ## Import
394
397
 
@@ -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__ = ['CloudIntegrationCloudTrailArgs', 'CloudIntegrationCloudTrail']
@@ -397,19 +402,18 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
397
402
 
398
403
  ## Example Usage
399
404
 
400
- <!--Start PulumiCodeChooser -->
401
405
  ```python
402
406
  import pulumi
403
407
  import pulumi_wavefront as wavefront
404
408
 
405
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
409
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
406
410
  cloudtrail = wavefront.CloudIntegrationCloudTrail("cloudtrail",
411
+ name="Test Integration",
407
412
  role_arn="arn:aws::1234567:role/example-arn",
408
413
  external_id=ext_id.id,
409
414
  region="us-west-2",
410
415
  bucket_name="example-s3-bucket")
411
416
  ```
412
- <!--End PulumiCodeChooser -->
413
417
 
414
418
  ## Import
415
419
 
@@ -445,19 +449,18 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
445
449
 
446
450
  ## Example Usage
447
451
 
448
- <!--Start PulumiCodeChooser -->
449
452
  ```python
450
453
  import pulumi
451
454
  import pulumi_wavefront as wavefront
452
455
 
453
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
456
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
454
457
  cloudtrail = wavefront.CloudIntegrationCloudTrail("cloudtrail",
458
+ name="Test Integration",
455
459
  role_arn="arn:aws::1234567:role/example-arn",
456
460
  external_id=ext_id.id,
457
461
  region="us-west-2",
458
462
  bucket_name="example-s3-bucket")
459
463
  ```
460
- <!--End PulumiCodeChooser -->
461
464
 
462
465
  ## Import
463
466
 
@@ -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__ = ['CloudIntegrationCloudWatchArgs', 'CloudIntegrationCloudWatch']
@@ -452,18 +457,17 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
452
457
 
453
458
  ## Example Usage
454
459
 
455
- <!--Start PulumiCodeChooser -->
456
460
  ```python
457
461
  import pulumi
458
462
  import pulumi_wavefront as wavefront
459
463
 
460
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
464
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
461
465
  cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
466
+ name="Test Integration",
462
467
  force_save=True,
463
468
  role_arn="arn:aws::1234567:role/example-arn",
464
469
  external_id=ext_id.id)
465
470
  ```
466
- <!--End PulumiCodeChooser -->
467
471
 
468
472
  ## Import
469
473
 
@@ -505,18 +509,17 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
505
509
 
506
510
  ## Example Usage
507
511
 
508
- <!--Start PulumiCodeChooser -->
509
512
  ```python
510
513
  import pulumi
511
514
  import pulumi_wavefront as wavefront
512
515
 
513
- ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
516
+ ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
514
517
  cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
518
+ name="Test Integration",
515
519
  force_save=True,
516
520
  role_arn="arn:aws::1234567:role/example-arn",
517
521
  external_id=ext_id.id)
518
522
  ```
519
- <!--End PulumiCodeChooser -->
520
523
 
521
524
  ## Import
522
525