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
pulumi_wavefront/_utilities.py
CHANGED
@@ -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.
|
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[
|
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,
|
@@ -689,6 +694,8 @@ class Alert(pulumi.CustomResource):
|
|
689
694
|
import pulumi_wavefront as wavefront
|
690
695
|
|
691
696
|
foobar = wavefront.Alert("foobar",
|
697
|
+
name="Test Alert",
|
698
|
+
target="test@example.com,target:alert-target-id",
|
692
699
|
condition="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total ) > 80",
|
693
700
|
display_expression="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total )",
|
694
701
|
minutes=5,
|
@@ -697,8 +704,7 @@ class Alert(pulumi.CustomResource):
|
|
697
704
|
tags=[
|
698
705
|
"terraform",
|
699
706
|
"test",
|
700
|
-
]
|
701
|
-
target="test@example.com,target:alert-target-id")
|
707
|
+
])
|
702
708
|
```
|
703
709
|
|
704
710
|
## Import
|
@@ -706,14 +712,14 @@ class Alert(pulumi.CustomResource):
|
|
706
712
|
Alerts can be imported using the `id`, e.g.
|
707
713
|
|
708
714
|
```sh
|
709
|
-
|
715
|
+
$ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
|
710
716
|
```
|
711
717
|
|
712
718
|
:param str resource_name: The name of the resource.
|
713
719
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
714
720
|
:param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
|
715
721
|
Useful for linking runbooks, migrations, etc.
|
716
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
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.
|
717
723
|
:param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
|
718
724
|
or `THRESHOLD`.
|
719
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.
|
@@ -759,6 +765,8 @@ class Alert(pulumi.CustomResource):
|
|
759
765
|
import pulumi_wavefront as wavefront
|
760
766
|
|
761
767
|
foobar = wavefront.Alert("foobar",
|
768
|
+
name="Test Alert",
|
769
|
+
target="test@example.com,target:alert-target-id",
|
762
770
|
condition="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total ) > 80",
|
763
771
|
display_expression="100-ts(\\"cpu.usage_idle\\", environment=preprod and cpu=cpu-total )",
|
764
772
|
minutes=5,
|
@@ -767,8 +775,7 @@ class Alert(pulumi.CustomResource):
|
|
767
775
|
tags=[
|
768
776
|
"terraform",
|
769
777
|
"test",
|
770
|
-
]
|
771
|
-
target="test@example.com,target:alert-target-id")
|
778
|
+
])
|
772
779
|
```
|
773
780
|
|
774
781
|
## Import
|
@@ -776,7 +783,7 @@ class Alert(pulumi.CustomResource):
|
|
776
783
|
Alerts can be imported using the `id`, e.g.
|
777
784
|
|
778
785
|
```sh
|
779
|
-
|
786
|
+
$ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
|
780
787
|
```
|
781
788
|
|
782
789
|
:param str resource_name: The name of the resource.
|
@@ -795,7 +802,7 @@ class Alert(pulumi.CustomResource):
|
|
795
802
|
resource_name: str,
|
796
803
|
opts: Optional[pulumi.ResourceOptions] = None,
|
797
804
|
additional_information: Optional[pulumi.Input[str]] = None,
|
798
|
-
alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[
|
805
|
+
alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]]] = None,
|
799
806
|
alert_type: Optional[pulumi.Input[str]] = None,
|
800
807
|
can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
801
808
|
can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -854,7 +861,7 @@ class Alert(pulumi.CustomResource):
|
|
854
861
|
id: pulumi.Input[str],
|
855
862
|
opts: Optional[pulumi.ResourceOptions] = None,
|
856
863
|
additional_information: Optional[pulumi.Input[str]] = None,
|
857
|
-
alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[
|
864
|
+
alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertAlertTriageDashboardArgs', 'AlertAlertTriageDashboardArgsDict']]]]] = None,
|
858
865
|
alert_type: Optional[pulumi.Input[str]] = None,
|
859
866
|
can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
860
867
|
can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -880,7 +887,7 @@ class Alert(pulumi.CustomResource):
|
|
880
887
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
881
888
|
:param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
|
882
889
|
Useful for linking runbooks, migrations, etc.
|
883
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
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.
|
884
891
|
:param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
|
885
892
|
or `THRESHOLD`.
|
886
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.
|
pulumi_wavefront/alert_target.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 *
|
@@ -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[
|
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):
|
@@ -431,14 +436,15 @@ class AlertTarget(pulumi.CustomResource):
|
|
431
436
|
import pulumi
|
432
437
|
import pulumi_wavefront as wavefront
|
433
438
|
|
434
|
-
test_target = wavefront.AlertTarget("
|
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",
|
435
444
|
content_type="application/json",
|
436
445
|
custom_headers={
|
437
446
|
"Testing": "true",
|
438
447
|
},
|
439
|
-
description="Test target",
|
440
|
-
method="WEBHOOK",
|
441
|
-
recipient="https://hooks.slack.com/services/test/me",
|
442
448
|
template="{}",
|
443
449
|
triggers=[
|
444
450
|
"ALERT_OPENED",
|
@@ -451,7 +457,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
451
457
|
Alert Targets can be imported using the `id`, e.g.:
|
452
458
|
|
453
459
|
```sh
|
454
|
-
|
460
|
+
$ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
|
455
461
|
```
|
456
462
|
|
457
463
|
:param str resource_name: The name of the resource.
|
@@ -466,7 +472,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
466
472
|
:param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
|
467
473
|
:param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
468
474
|
routing key. `WEBHOOK`: URL endpoint.
|
469
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
475
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]] routes: List of routing targets that this alert target will notify. See Route
|
470
476
|
:param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
471
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`,
|
472
478
|
`ALERT_UPDATED`, `ALERT_RESOLVED`, `ALERT_MAINTENANCE`, `ALERT_SNOOZED`, `ALERT_NO_DATA`, `ALERT_NO_DATA_RESOLVED`, `ALERT_NO_DATA_MAINTENANCE`.
|
@@ -486,14 +492,15 @@ class AlertTarget(pulumi.CustomResource):
|
|
486
492
|
import pulumi
|
487
493
|
import pulumi_wavefront as wavefront
|
488
494
|
|
489
|
-
test_target = wavefront.AlertTarget("
|
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",
|
490
500
|
content_type="application/json",
|
491
501
|
custom_headers={
|
492
502
|
"Testing": "true",
|
493
503
|
},
|
494
|
-
description="Test target",
|
495
|
-
method="WEBHOOK",
|
496
|
-
recipient="https://hooks.slack.com/services/test/me",
|
497
504
|
template="{}",
|
498
505
|
triggers=[
|
499
506
|
"ALERT_OPENED",
|
@@ -506,7 +513,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
506
513
|
Alert Targets can be imported using the `id`, e.g.:
|
507
514
|
|
508
515
|
```sh
|
509
|
-
|
516
|
+
$ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
|
510
517
|
```
|
511
518
|
|
512
519
|
:param str resource_name: The name of the resource.
|
@@ -532,7 +539,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
532
539
|
method: Optional[pulumi.Input[str]] = None,
|
533
540
|
name: Optional[pulumi.Input[str]] = None,
|
534
541
|
recipient: Optional[pulumi.Input[str]] = None,
|
535
|
-
routes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
542
|
+
routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
|
536
543
|
template: Optional[pulumi.Input[str]] = None,
|
537
544
|
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
538
545
|
__props__=None):
|
@@ -582,7 +589,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
582
589
|
method: Optional[pulumi.Input[str]] = None,
|
583
590
|
name: Optional[pulumi.Input[str]] = None,
|
584
591
|
recipient: Optional[pulumi.Input[str]] = None,
|
585
|
-
routes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
592
|
+
routes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]]] = None,
|
586
593
|
target_id: Optional[pulumi.Input[str]] = None,
|
587
594
|
template: Optional[pulumi.Input[str]] = None,
|
588
595
|
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'AlertTarget':
|
@@ -603,7 +610,7 @@ class AlertTarget(pulumi.CustomResource):
|
|
603
610
|
:param pulumi.Input[str] name: The name of the alert target as it is displayed in Wavefront.
|
604
611
|
:param pulumi.Input[str] recipient: The end point for the notification Target. `EMAIL`: email address. `PAGERDUTY`: PagerDuty
|
605
612
|
routing key. `WEBHOOK`: URL endpoint.
|
606
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
613
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AlertTargetRouteArgs', 'AlertTargetRouteArgsDict']]]] routes: List of routing targets that this alert target will notify. See Route
|
607
614
|
:param pulumi.Input[str] target_id: The target ID prefixed with `target:` for interpolating into a Wavefront Alert.
|
608
615
|
:param pulumi.Input[str] template: A mustache template that will form the body of the POST request, email, and summary of the PagerDuty.
|
609
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']
|
@@ -608,10 +613,11 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
|
|
608
613
|
import pulumi
|
609
614
|
import pulumi_wavefront as wavefront
|
610
615
|
|
611
|
-
app_dynamics = wavefront.CloudIntegrationAppDynamics("
|
616
|
+
app_dynamics = wavefront.CloudIntegrationAppDynamics("app_dynamics",
|
617
|
+
name="Test Integration",
|
618
|
+
user_name="example",
|
612
619
|
controller_name="exampleController",
|
613
|
-
encrypted_password="encryptedPassword"
|
614
|
-
user_name="example")
|
620
|
+
encrypted_password="encryptedPassword")
|
615
621
|
```
|
616
622
|
|
617
623
|
## Import
|
@@ -619,7 +625,7 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
|
|
619
625
|
AppDynamic Cloud Integrations can be imported by using the `id`, e.g.:
|
620
626
|
|
621
627
|
```sh
|
622
|
-
|
628
|
+
$ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
623
629
|
```
|
624
630
|
|
625
631
|
:param str resource_name: The name of the resource.
|
@@ -660,10 +666,11 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
|
|
660
666
|
import pulumi
|
661
667
|
import pulumi_wavefront as wavefront
|
662
668
|
|
663
|
-
app_dynamics = wavefront.CloudIntegrationAppDynamics("
|
669
|
+
app_dynamics = wavefront.CloudIntegrationAppDynamics("app_dynamics",
|
670
|
+
name="Test Integration",
|
671
|
+
user_name="example",
|
664
672
|
controller_name="exampleController",
|
665
|
-
encrypted_password="encryptedPassword"
|
666
|
-
user_name="example")
|
673
|
+
encrypted_password="encryptedPassword")
|
667
674
|
```
|
668
675
|
|
669
676
|
## Import
|
@@ -671,7 +678,7 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
|
|
671
678
|
AppDynamic Cloud Integrations can be imported by using the `id`, e.g.:
|
672
679
|
|
673
680
|
```sh
|
674
|
-
|
681
|
+
$ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
675
682
|
```
|
676
683
|
|
677
684
|
: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__ = ['CloudIntegrationAwsExternalIdArgs', 'CloudIntegrationAwsExternalId']
|
@@ -35,7 +40,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
|
|
35
40
|
import pulumi
|
36
41
|
import pulumi_wavefront as wavefront
|
37
42
|
|
38
|
-
external_id = wavefront.CloudIntegrationAwsExternalId("
|
43
|
+
external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
|
39
44
|
```
|
40
45
|
|
41
46
|
## Import
|
@@ -43,7 +48,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
|
|
43
48
|
External IDs can be imported by using the `id`, e.g.:
|
44
49
|
|
45
50
|
```sh
|
46
|
-
|
51
|
+
$ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
|
47
52
|
```
|
48
53
|
|
49
54
|
:param str resource_name: The name of the resource.
|
@@ -64,7 +69,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
|
|
64
69
|
import pulumi
|
65
70
|
import pulumi_wavefront as wavefront
|
66
71
|
|
67
|
-
external_id = wavefront.CloudIntegrationAwsExternalId("
|
72
|
+
external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
|
68
73
|
```
|
69
74
|
|
70
75
|
## Import
|
@@ -72,7 +77,7 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
|
|
72
77
|
External IDs can be imported by using the `id`, e.g.:
|
73
78
|
|
74
79
|
```sh
|
75
|
-
|
80
|
+
$ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
|
76
81
|
```
|
77
82
|
|
78
83
|
: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__ = ['CloudIntegrationAzureArgs', 'CloudIntegrationAzure']
|
@@ -402,7 +407,8 @@ class CloudIntegrationAzure(pulumi.CustomResource):
|
|
402
407
|
import pulumi
|
403
408
|
import pulumi_wavefront as wavefront
|
404
409
|
|
405
|
-
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("
|
410
|
+
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
|
411
|
+
name="Test Integration",
|
406
412
|
client_id="client-id2",
|
407
413
|
client_secret="client-secret2",
|
408
414
|
tenant="my-tenant2")
|
@@ -413,7 +419,7 @@ class CloudIntegrationAzure(pulumi.CustomResource):
|
|
413
419
|
Azure Cloud Integrations can be imported by using the `id`, e.g.:
|
414
420
|
|
415
421
|
```sh
|
416
|
-
|
422
|
+
$ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
417
423
|
```
|
418
424
|
|
419
425
|
:param str resource_name: The name of the resource.
|
@@ -446,7 +452,8 @@ class CloudIntegrationAzure(pulumi.CustomResource):
|
|
446
452
|
import pulumi
|
447
453
|
import pulumi_wavefront as wavefront
|
448
454
|
|
449
|
-
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("
|
455
|
+
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
|
456
|
+
name="Test Integration",
|
450
457
|
client_id="client-id2",
|
451
458
|
client_secret="client-secret2",
|
452
459
|
tenant="my-tenant2")
|
@@ -457,7 +464,7 @@ class CloudIntegrationAzure(pulumi.CustomResource):
|
|
457
464
|
Azure Cloud Integrations can be imported by using the `id`, e.g.:
|
458
465
|
|
459
466
|
```sh
|
460
|
-
|
467
|
+
$ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
461
468
|
```
|
462
469
|
|
463
470
|
: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__ = ['CloudIntegrationAzureActivityLogArgs', 'CloudIntegrationAzureActivityLog']
|
@@ -336,7 +341,8 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
|
|
336
341
|
import pulumi
|
337
342
|
import pulumi_wavefront as wavefront
|
338
343
|
|
339
|
-
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("
|
344
|
+
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
|
345
|
+
name="Test Integration",
|
340
346
|
category_filters=["ADMINISTRATIVE"],
|
341
347
|
client_id="client-id2",
|
342
348
|
client_secret="client-secret2",
|
@@ -348,7 +354,7 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
|
|
348
354
|
Azure Activity Log Cloud Integrations can be imported by using the `id`, e.g.:
|
349
355
|
|
350
356
|
```sh
|
351
|
-
|
357
|
+
$ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
352
358
|
```
|
353
359
|
|
354
360
|
:param str resource_name: The name of the resource.
|
@@ -379,7 +385,8 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
|
|
379
385
|
import pulumi
|
380
386
|
import pulumi_wavefront as wavefront
|
381
387
|
|
382
|
-
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("
|
388
|
+
azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
|
389
|
+
name="Test Integration",
|
383
390
|
category_filters=["ADMINISTRATIVE"],
|
384
391
|
client_id="client-id2",
|
385
392
|
client_secret="client-secret2",
|
@@ -391,7 +398,7 @@ class CloudIntegrationAzureActivityLog(pulumi.CustomResource):
|
|
391
398
|
Azure Activity Log Cloud Integrations can be imported by using the `id`, e.g.:
|
392
399
|
|
393
400
|
```sh
|
394
|
-
|
401
|
+
$ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
395
402
|
```
|
396
403
|
|
397
404
|
: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__ = ['CloudIntegrationCloudTrailArgs', 'CloudIntegrationCloudTrail']
|
@@ -401,8 +406,9 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
|
|
401
406
|
import pulumi
|
402
407
|
import pulumi_wavefront as wavefront
|
403
408
|
|
404
|
-
ext_id = wavefront.CloudIntegrationAwsExternalId("
|
409
|
+
ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
|
405
410
|
cloudtrail = wavefront.CloudIntegrationCloudTrail("cloudtrail",
|
411
|
+
name="Test Integration",
|
406
412
|
role_arn="arn:aws::1234567:role/example-arn",
|
407
413
|
external_id=ext_id.id,
|
408
414
|
region="us-west-2",
|
@@ -414,7 +420,7 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
|
|
414
420
|
CloudTrail Cloud Integrations can be imported by using the `id`, e.g.:
|
415
421
|
|
416
422
|
```sh
|
417
|
-
|
423
|
+
$ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
418
424
|
```
|
419
425
|
|
420
426
|
:param str resource_name: The name of the resource.
|
@@ -447,8 +453,9 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
|
|
447
453
|
import pulumi
|
448
454
|
import pulumi_wavefront as wavefront
|
449
455
|
|
450
|
-
ext_id = wavefront.CloudIntegrationAwsExternalId("
|
456
|
+
ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
|
451
457
|
cloudtrail = wavefront.CloudIntegrationCloudTrail("cloudtrail",
|
458
|
+
name="Test Integration",
|
452
459
|
role_arn="arn:aws::1234567:role/example-arn",
|
453
460
|
external_id=ext_id.id,
|
454
461
|
region="us-west-2",
|
@@ -460,7 +467,7 @@ class CloudIntegrationCloudTrail(pulumi.CustomResource):
|
|
460
467
|
CloudTrail Cloud Integrations can be imported by using the `id`, e.g.:
|
461
468
|
|
462
469
|
```sh
|
463
|
-
|
470
|
+
$ pulumi import wavefront:index/cloudIntegrationCloudTrail:CloudIntegrationCloudTrail cloudtrail a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
464
471
|
```
|
465
472
|
|
466
473
|
: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__ = ['CloudIntegrationCloudWatchArgs', 'CloudIntegrationCloudWatch']
|
@@ -456,8 +461,9 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
|
|
456
461
|
import pulumi
|
457
462
|
import pulumi_wavefront as wavefront
|
458
463
|
|
459
|
-
ext_id = wavefront.CloudIntegrationAwsExternalId("
|
464
|
+
ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
|
460
465
|
cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
|
466
|
+
name="Test Integration",
|
461
467
|
force_save=True,
|
462
468
|
role_arn="arn:aws::1234567:role/example-arn",
|
463
469
|
external_id=ext_id.id)
|
@@ -468,7 +474,7 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
|
|
468
474
|
CloudWatch Cloud Integrations can be imported by using the `id`, e.g.:
|
469
475
|
|
470
476
|
```sh
|
471
|
-
|
477
|
+
$ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
472
478
|
```
|
473
479
|
|
474
480
|
:param str resource_name: The name of the resource.
|
@@ -507,8 +513,9 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
|
|
507
513
|
import pulumi
|
508
514
|
import pulumi_wavefront as wavefront
|
509
515
|
|
510
|
-
ext_id = wavefront.CloudIntegrationAwsExternalId("
|
516
|
+
ext_id = wavefront.CloudIntegrationAwsExternalId("ext_id")
|
511
517
|
cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
|
518
|
+
name="Test Integration",
|
512
519
|
force_save=True,
|
513
520
|
role_arn="arn:aws::1234567:role/example-arn",
|
514
521
|
external_id=ext_id.id)
|
@@ -519,7 +526,7 @@ class CloudIntegrationCloudWatch(pulumi.CustomResource):
|
|
519
526
|
CloudWatch Cloud Integrations can be imported by using the `id`, e.g.:
|
520
527
|
|
521
528
|
```sh
|
522
|
-
|
529
|
+
$ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
523
530
|
```
|
524
531
|
|
525
532
|
:param str resource_name: The name of the resource.
|