pulumi-wavefront 3.1.0a1704217862__tar.gz → 3.1.1__tar.gz

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 (63) hide show
  1. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/PKG-INFO +2 -2
  2. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/_inputs.py +68 -0
  3. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/_utilities.py +2 -2
  4. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/alert.py +102 -2
  5. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/alert_target.py +6 -2
  6. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_app_dynamics.py +6 -2
  7. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_aws_external_id.py +6 -2
  8. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_azure.py +6 -2
  9. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_azure_activity_log.py +6 -2
  10. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_cloud_trail.py +6 -2
  11. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_cloud_watch.py +6 -2
  12. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_ec2.py +6 -2
  13. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_gcp.py +6 -2
  14. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_gcp_billing.py +6 -2
  15. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/cloud_integration_new_relic.py +6 -2
  16. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/dashboard.py +2 -2
  17. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/dashboard_json.py +6 -2
  18. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/derived_metric.py +6 -2
  19. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/event.py +6 -2
  20. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/external_link.py +6 -2
  21. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_alert.py +31 -1
  22. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_alerts.py +4 -0
  23. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_dashboard.py +4 -0
  24. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_dashboards.py +4 -0
  25. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_default_user_group.py +4 -0
  26. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_derived_metric.py +4 -0
  27. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_derived_metrics.py +4 -0
  28. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_event.py +4 -0
  29. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_events.py +4 -0
  30. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_external_link.py +4 -0
  31. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_external_links.py +4 -0
  32. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_maintenance_window.py +4 -0
  33. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_role.py +4 -0
  34. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_roles.py +4 -0
  35. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_user.py +4 -0
  36. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_user_group.py +4 -0
  37. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_user_groups.py +4 -0
  38. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_users.py +4 -0
  39. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/ingestion_policy.py +6 -2
  40. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/maintenance_window.py +6 -2
  41. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/metrics_policy.py +12 -2
  42. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/outputs.py +195 -0
  43. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/role.py +6 -2
  44. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/service_account.py +6 -2
  45. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/user.py +6 -2
  46. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/user_group.py +6 -2
  47. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront.egg-info/PKG-INFO +2 -2
  48. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pyproject.toml +2 -2
  49. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/README.md +0 -0
  50. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/__init__.py +0 -0
  51. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/config/__init__.py +0 -0
  52. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/config/__init__.pyi +0 -0
  53. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/config/vars.py +0 -0
  54. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_maintenance_window_all.py +0 -0
  55. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/get_metrics_policy.py +0 -0
  56. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/provider.py +0 -0
  57. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/pulumi-plugin.json +0 -0
  58. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront/py.typed +0 -0
  59. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront.egg-info/SOURCES.txt +0 -0
  60. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront.egg-info/dependency_links.txt +0 -0
  61. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront.egg-info/requires.txt +0 -0
  62. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/pulumi_wavefront.egg-info/top_level.txt +0 -0
  63. {pulumi_wavefront-3.1.0a1704217862 → pulumi_wavefront-3.1.1}/setup.cfg +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_wavefront
3
- Version: 3.1.0a1704217862
3
+ Version: 3.1.1
4
4
  Summary: A Pulumi package for creating and managing wavefront cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-wavefront
8
8
  Keywords: pulumi,wavefront
9
- Requires-Python: >=3.7
9
+ Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: parver>=0.2.1
12
12
  Requires-Dist: pulumi<4.0.0,>=3.0.0
@@ -10,6 +10,8 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = [
13
+ 'AlertAlertTriageDashboardArgs',
14
+ 'AlertAlertTriageDashboardParametersArgs',
13
15
  'AlertTargetRouteArgs',
14
16
  'CloudIntegrationNewRelicMetricFilterArgs',
15
17
  'DashboardParameterDetailArgs',
@@ -23,6 +25,72 @@ __all__ = [
23
25
  'MetricsPolicyPolicyRuleTagArgs',
24
26
  ]
25
27
 
28
+ @pulumi.input_type
29
+ class AlertAlertTriageDashboardArgs:
30
+ def __init__(__self__, *,
31
+ dashboard_id: pulumi.Input[str],
32
+ description: pulumi.Input[str],
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
+ """
38
+ pulumi.set(__self__, "dashboard_id", dashboard_id)
39
+ pulumi.set(__self__, "description", description)
40
+ if parameters is not None:
41
+ pulumi.set(__self__, "parameters", parameters)
42
+
43
+ @property
44
+ @pulumi.getter(name="dashboardId")
45
+ def dashboard_id(self) -> pulumi.Input[str]:
46
+ """
47
+ Dashboard ID
48
+ """
49
+ return pulumi.get(self, "dashboard_id")
50
+
51
+ @dashboard_id.setter
52
+ def dashboard_id(self, value: pulumi.Input[str]):
53
+ pulumi.set(self, "dashboard_id", value)
54
+
55
+ @property
56
+ @pulumi.getter
57
+ def description(self) -> pulumi.Input[str]:
58
+ """
59
+ Dashboard Description
60
+ """
61
+ return pulumi.get(self, "description")
62
+
63
+ @description.setter
64
+ def description(self, value: pulumi.Input[str]):
65
+ pulumi.set(self, "description", value)
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def parameters(self) -> Optional[pulumi.Input['AlertAlertTriageDashboardParametersArgs']]:
70
+ return pulumi.get(self, "parameters")
71
+
72
+ @parameters.setter
73
+ def parameters(self, value: Optional[pulumi.Input['AlertAlertTriageDashboardParametersArgs']]):
74
+ pulumi.set(self, "parameters", value)
75
+
76
+
77
+ @pulumi.input_type
78
+ class AlertAlertTriageDashboardParametersArgs:
79
+ def __init__(__self__, *,
80
+ constants: Optional[pulumi.Input[Mapping[str, Any]]] = None):
81
+ if constants is not None:
82
+ pulumi.set(__self__, "constants", constants)
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def constants(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
87
+ return pulumi.get(self, "constants")
88
+
89
+ @constants.setter
90
+ def constants(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
91
+ pulumi.set(self, "constants", value)
92
+
93
+
26
94
  @pulumi.input_type
27
95
  class AlertTargetRouteArgs:
28
96
  def __init__(__self__, *,
@@ -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
@@ -8,6 +8,8 @@ import pulumi
8
8
  import pulumi.runtime
9
9
  from typing import Any, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
11
13
 
12
14
  __all__ = ['AlertArgs', 'Alert']
13
15
 
@@ -17,6 +19,7 @@ class AlertArgs:
17
19
  minutes: pulumi.Input[int],
18
20
  tags: pulumi.Input[Sequence[pulumi.Input[str]]],
19
21
  additional_information: Optional[pulumi.Input[str]] = None,
22
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]]] = None,
20
23
  alert_type: Optional[pulumi.Input[str]] = None,
21
24
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
22
25
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -27,6 +30,7 @@ class AlertArgs:
27
30
  notification_resend_frequency_minutes: Optional[pulumi.Input[int]] = None,
28
31
  process_rate_minutes: Optional[pulumi.Input[int]] = None,
29
32
  resolve_after_minutes: Optional[pulumi.Input[int]] = None,
33
+ runbook_links: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
30
34
  severity: Optional[pulumi.Input[str]] = None,
31
35
  target: Optional[pulumi.Input[str]] = None,
32
36
  threshold_targets: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
@@ -37,6 +41,7 @@ class AlertArgs:
37
41
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
38
42
  :param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
39
43
  Useful for linking runbooks, migrations, etc.
44
+ :param pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]] alert_triage_dashboards: A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
40
45
  :param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
41
46
  or `THRESHOLD`.
42
47
  :param pulumi.Input[Sequence[pulumi.Input[str]]] can_modifies: A list of valid users or groups that can modify this resource on a tenant.
@@ -56,6 +61,7 @@ class AlertArgs:
56
61
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
57
62
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
58
63
  the same value as `minutes`.
64
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] runbook_links: A list of user-supplied runbook links for this alert.
59
65
  :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
60
66
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
61
67
  (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
@@ -66,6 +72,8 @@ class AlertArgs:
66
72
  pulumi.set(__self__, "tags", tags)
67
73
  if additional_information is not None:
68
74
  pulumi.set(__self__, "additional_information", additional_information)
75
+ if alert_triage_dashboards is not None:
76
+ pulumi.set(__self__, "alert_triage_dashboards", alert_triage_dashboards)
69
77
  if alert_type is not None:
70
78
  pulumi.set(__self__, "alert_type", alert_type)
71
79
  if can_modifies is not None:
@@ -86,6 +94,8 @@ class AlertArgs:
86
94
  pulumi.set(__self__, "process_rate_minutes", process_rate_minutes)
87
95
  if resolve_after_minutes is not None:
88
96
  pulumi.set(__self__, "resolve_after_minutes", resolve_after_minutes)
97
+ if runbook_links is not None:
98
+ pulumi.set(__self__, "runbook_links", runbook_links)
89
99
  if severity is not None:
90
100
  pulumi.set(__self__, "severity", severity)
91
101
  if target is not None:
@@ -131,6 +141,18 @@ class AlertArgs:
131
141
  def additional_information(self, value: Optional[pulumi.Input[str]]):
132
142
  pulumi.set(self, "additional_information", value)
133
143
 
144
+ @property
145
+ @pulumi.getter(name="alertTriageDashboards")
146
+ def alert_triage_dashboards(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]]]:
147
+ """
148
+ A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
149
+ """
150
+ return pulumi.get(self, "alert_triage_dashboards")
151
+
152
+ @alert_triage_dashboards.setter
153
+ def alert_triage_dashboards(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]]]):
154
+ pulumi.set(self, "alert_triage_dashboards", value)
155
+
134
156
  @property
135
157
  @pulumi.getter(name="alertType")
136
158
  def alert_type(self) -> Optional[pulumi.Input[str]]:
@@ -260,6 +282,18 @@ class AlertArgs:
260
282
  def resolve_after_minutes(self, value: Optional[pulumi.Input[int]]):
261
283
  pulumi.set(self, "resolve_after_minutes", value)
262
284
 
285
+ @property
286
+ @pulumi.getter(name="runbookLinks")
287
+ def runbook_links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
288
+ """
289
+ A list of user-supplied runbook links for this alert.
290
+ """
291
+ return pulumi.get(self, "runbook_links")
292
+
293
+ @runbook_links.setter
294
+ def runbook_links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
295
+ pulumi.set(self, "runbook_links", value)
296
+
263
297
  @property
264
298
  @pulumi.getter
265
299
  def severity(self) -> Optional[pulumi.Input[str]]:
@@ -303,6 +337,7 @@ class AlertArgs:
303
337
  class _AlertState:
304
338
  def __init__(__self__, *,
305
339
  additional_information: Optional[pulumi.Input[str]] = None,
340
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]]] = None,
306
341
  alert_type: Optional[pulumi.Input[str]] = None,
307
342
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
308
343
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -314,6 +349,7 @@ class _AlertState:
314
349
  notification_resend_frequency_minutes: Optional[pulumi.Input[int]] = None,
315
350
  process_rate_minutes: Optional[pulumi.Input[int]] = None,
316
351
  resolve_after_minutes: Optional[pulumi.Input[int]] = None,
352
+ runbook_links: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
317
353
  severity: Optional[pulumi.Input[str]] = None,
318
354
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
319
355
  target: Optional[pulumi.Input[str]] = None,
@@ -322,6 +358,7 @@ class _AlertState:
322
358
  Input properties used for looking up and filtering Alert resources.
323
359
  :param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
324
360
  Useful for linking runbooks, migrations, etc.
361
+ :param pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]] alert_triage_dashboards: A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
325
362
  :param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
326
363
  or `THRESHOLD`.
327
364
  :param pulumi.Input[Sequence[pulumi.Input[str]]] can_modifies: A list of valid users or groups that can modify this resource on a tenant.
@@ -343,6 +380,7 @@ class _AlertState:
343
380
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
344
381
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
345
382
  the same value as `minutes`.
383
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] runbook_links: A list of user-supplied runbook links for this alert.
346
384
  :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
347
385
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
348
386
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
@@ -352,6 +390,8 @@ class _AlertState:
352
390
  """
353
391
  if additional_information is not None:
354
392
  pulumi.set(__self__, "additional_information", additional_information)
393
+ if alert_triage_dashboards is not None:
394
+ pulumi.set(__self__, "alert_triage_dashboards", alert_triage_dashboards)
355
395
  if alert_type is not None:
356
396
  pulumi.set(__self__, "alert_type", alert_type)
357
397
  if can_modifies is not None:
@@ -374,6 +414,8 @@ class _AlertState:
374
414
  pulumi.set(__self__, "process_rate_minutes", process_rate_minutes)
375
415
  if resolve_after_minutes is not None:
376
416
  pulumi.set(__self__, "resolve_after_minutes", resolve_after_minutes)
417
+ if runbook_links is not None:
418
+ pulumi.set(__self__, "runbook_links", runbook_links)
377
419
  if severity is not None:
378
420
  pulumi.set(__self__, "severity", severity)
379
421
  if tags is not None:
@@ -396,6 +438,18 @@ class _AlertState:
396
438
  def additional_information(self, value: Optional[pulumi.Input[str]]):
397
439
  pulumi.set(self, "additional_information", value)
398
440
 
441
+ @property
442
+ @pulumi.getter(name="alertTriageDashboards")
443
+ def alert_triage_dashboards(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]]]:
444
+ """
445
+ A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
446
+ """
447
+ return pulumi.get(self, "alert_triage_dashboards")
448
+
449
+ @alert_triage_dashboards.setter
450
+ def alert_triage_dashboards(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertAlertTriageDashboardArgs']]]]):
451
+ pulumi.set(self, "alert_triage_dashboards", value)
452
+
399
453
  @property
400
454
  @pulumi.getter(name="alertType")
401
455
  def alert_type(self) -> Optional[pulumi.Input[str]]:
@@ -538,6 +592,18 @@ class _AlertState:
538
592
  def resolve_after_minutes(self, value: Optional[pulumi.Input[int]]):
539
593
  pulumi.set(self, "resolve_after_minutes", value)
540
594
 
595
+ @property
596
+ @pulumi.getter(name="runbookLinks")
597
+ def runbook_links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
598
+ """
599
+ A list of user-supplied runbook links for this alert.
600
+ """
601
+ return pulumi.get(self, "runbook_links")
602
+
603
+ @runbook_links.setter
604
+ def runbook_links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
605
+ pulumi.set(self, "runbook_links", value)
606
+
541
607
  @property
542
608
  @pulumi.getter
543
609
  def severity(self) -> Optional[pulumi.Input[str]]:
@@ -595,6 +661,7 @@ class Alert(pulumi.CustomResource):
595
661
  resource_name: str,
596
662
  opts: Optional[pulumi.ResourceOptions] = None,
597
663
  additional_information: Optional[pulumi.Input[str]] = None,
664
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]]] = None,
598
665
  alert_type: Optional[pulumi.Input[str]] = None,
599
666
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
600
667
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -606,6 +673,7 @@ class Alert(pulumi.CustomResource):
606
673
  notification_resend_frequency_minutes: Optional[pulumi.Input[int]] = None,
607
674
  process_rate_minutes: Optional[pulumi.Input[int]] = None,
608
675
  resolve_after_minutes: Optional[pulumi.Input[int]] = None,
676
+ runbook_links: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
609
677
  severity: Optional[pulumi.Input[str]] = None,
610
678
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
611
679
  target: Optional[pulumi.Input[str]] = None,
@@ -616,6 +684,7 @@ class Alert(pulumi.CustomResource):
616
684
 
617
685
  ## Example Usage
618
686
 
687
+ <!--Start PulumiCodeChooser -->
619
688
  ```python
620
689
  import pulumi
621
690
  import pulumi_wavefront as wavefront
@@ -632,19 +701,21 @@ class Alert(pulumi.CustomResource):
632
701
  ],
633
702
  target="test@example.com,target:alert-target-id")
634
703
  ```
704
+ <!--End PulumiCodeChooser -->
635
705
 
636
706
  ## Import
637
707
 
638
708
  Alerts can be imported using the `id`, e.g.
639
709
 
640
710
  ```sh
641
- $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
711
+ $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
642
712
  ```
643
713
 
644
714
  :param str resource_name: The name of the resource.
645
715
  :param pulumi.ResourceOptions opts: Options for the resource.
646
716
  :param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
647
717
  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.
648
719
  :param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
649
720
  or `THRESHOLD`.
650
721
  :param pulumi.Input[Sequence[pulumi.Input[str]]] can_modifies: A list of valid users or groups that can modify this resource on a tenant.
@@ -666,6 +737,7 @@ class Alert(pulumi.CustomResource):
666
737
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
667
738
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
668
739
  the same value as `minutes`.
740
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] runbook_links: A list of user-supplied runbook links for this alert.
669
741
  :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
670
742
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
671
743
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
@@ -684,6 +756,7 @@ class Alert(pulumi.CustomResource):
684
756
 
685
757
  ## Example Usage
686
758
 
759
+ <!--Start PulumiCodeChooser -->
687
760
  ```python
688
761
  import pulumi
689
762
  import pulumi_wavefront as wavefront
@@ -700,13 +773,14 @@ class Alert(pulumi.CustomResource):
700
773
  ],
701
774
  target="test@example.com,target:alert-target-id")
702
775
  ```
776
+ <!--End PulumiCodeChooser -->
703
777
 
704
778
  ## Import
705
779
 
706
780
  Alerts can be imported using the `id`, e.g.
707
781
 
708
782
  ```sh
709
- $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
783
+ $ pulumi import wavefront:index/alert:Alert alert_target 1479868728473
710
784
  ```
711
785
 
712
786
  :param str resource_name: The name of the resource.
@@ -725,6 +799,7 @@ class Alert(pulumi.CustomResource):
725
799
  resource_name: str,
726
800
  opts: Optional[pulumi.ResourceOptions] = None,
727
801
  additional_information: Optional[pulumi.Input[str]] = None,
802
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]]] = None,
728
803
  alert_type: Optional[pulumi.Input[str]] = None,
729
804
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
730
805
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -736,6 +811,7 @@ class Alert(pulumi.CustomResource):
736
811
  notification_resend_frequency_minutes: Optional[pulumi.Input[int]] = None,
737
812
  process_rate_minutes: Optional[pulumi.Input[int]] = None,
738
813
  resolve_after_minutes: Optional[pulumi.Input[int]] = None,
814
+ runbook_links: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
739
815
  severity: Optional[pulumi.Input[str]] = None,
740
816
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
741
817
  target: Optional[pulumi.Input[str]] = None,
@@ -750,6 +826,7 @@ class Alert(pulumi.CustomResource):
750
826
  __props__ = AlertArgs.__new__(AlertArgs)
751
827
 
752
828
  __props__.__dict__["additional_information"] = additional_information
829
+ __props__.__dict__["alert_triage_dashboards"] = alert_triage_dashboards
753
830
  __props__.__dict__["alert_type"] = alert_type
754
831
  __props__.__dict__["can_modifies"] = can_modifies
755
832
  __props__.__dict__["can_views"] = can_views
@@ -763,6 +840,7 @@ class Alert(pulumi.CustomResource):
763
840
  __props__.__dict__["notification_resend_frequency_minutes"] = notification_resend_frequency_minutes
764
841
  __props__.__dict__["process_rate_minutes"] = process_rate_minutes
765
842
  __props__.__dict__["resolve_after_minutes"] = resolve_after_minutes
843
+ __props__.__dict__["runbook_links"] = runbook_links
766
844
  __props__.__dict__["severity"] = severity
767
845
  if tags is None and not opts.urn:
768
846
  raise TypeError("Missing required property 'tags'")
@@ -780,6 +858,7 @@ class Alert(pulumi.CustomResource):
780
858
  id: pulumi.Input[str],
781
859
  opts: Optional[pulumi.ResourceOptions] = None,
782
860
  additional_information: Optional[pulumi.Input[str]] = None,
861
+ alert_triage_dashboards: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertAlertTriageDashboardArgs']]]]] = None,
783
862
  alert_type: Optional[pulumi.Input[str]] = None,
784
863
  can_modifies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
785
864
  can_views: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -791,6 +870,7 @@ class Alert(pulumi.CustomResource):
791
870
  notification_resend_frequency_minutes: Optional[pulumi.Input[int]] = None,
792
871
  process_rate_minutes: Optional[pulumi.Input[int]] = None,
793
872
  resolve_after_minutes: Optional[pulumi.Input[int]] = None,
873
+ runbook_links: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
794
874
  severity: Optional[pulumi.Input[str]] = None,
795
875
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
796
876
  target: Optional[pulumi.Input[str]] = None,
@@ -804,6 +884,7 @@ class Alert(pulumi.CustomResource):
804
884
  :param pulumi.ResourceOptions opts: Options for the resource.
805
885
  :param pulumi.Input[str] additional_information: User-supplied additional explanatory information for this alert.
806
886
  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.
807
888
  :param pulumi.Input[str] alert_type: The type of alert in Wavefront. Either `CLASSIC` (default)
808
889
  or `THRESHOLD`.
809
890
  :param pulumi.Input[Sequence[pulumi.Input[str]]] can_modifies: A list of valid users or groups that can modify this resource on a tenant.
@@ -825,6 +906,7 @@ class Alert(pulumi.CustomResource):
825
906
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
826
907
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
827
908
  the same value as `minutes`.
909
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] runbook_links: A list of user-supplied runbook links for this alert.
828
910
  :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
829
911
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
830
912
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
@@ -837,6 +919,7 @@ class Alert(pulumi.CustomResource):
837
919
  __props__ = _AlertState.__new__(_AlertState)
838
920
 
839
921
  __props__.__dict__["additional_information"] = additional_information
922
+ __props__.__dict__["alert_triage_dashboards"] = alert_triage_dashboards
840
923
  __props__.__dict__["alert_type"] = alert_type
841
924
  __props__.__dict__["can_modifies"] = can_modifies
842
925
  __props__.__dict__["can_views"] = can_views
@@ -848,6 +931,7 @@ class Alert(pulumi.CustomResource):
848
931
  __props__.__dict__["notification_resend_frequency_minutes"] = notification_resend_frequency_minutes
849
932
  __props__.__dict__["process_rate_minutes"] = process_rate_minutes
850
933
  __props__.__dict__["resolve_after_minutes"] = resolve_after_minutes
934
+ __props__.__dict__["runbook_links"] = runbook_links
851
935
  __props__.__dict__["severity"] = severity
852
936
  __props__.__dict__["tags"] = tags
853
937
  __props__.__dict__["target"] = target
@@ -863,6 +947,14 @@ class Alert(pulumi.CustomResource):
863
947
  """
864
948
  return pulumi.get(self, "additional_information")
865
949
 
950
+ @property
951
+ @pulumi.getter(name="alertTriageDashboards")
952
+ def alert_triage_dashboards(self) -> pulumi.Output[Optional[Sequence['outputs.AlertAlertTriageDashboard']]]:
953
+ """
954
+ A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
955
+ """
956
+ return pulumi.get(self, "alert_triage_dashboards")
957
+
866
958
  @property
867
959
  @pulumi.getter(name="alertType")
868
960
  def alert_type(self) -> pulumi.Output[Optional[str]]:
@@ -961,6 +1053,14 @@ class Alert(pulumi.CustomResource):
961
1053
  """
962
1054
  return pulumi.get(self, "resolve_after_minutes")
963
1055
 
1056
+ @property
1057
+ @pulumi.getter(name="runbookLinks")
1058
+ def runbook_links(self) -> pulumi.Output[Optional[Sequence[str]]]:
1059
+ """
1060
+ A list of user-supplied runbook links for this alert.
1061
+ """
1062
+ return pulumi.get(self, "runbook_links")
1063
+
964
1064
  @property
965
1065
  @pulumi.getter
966
1066
  def severity(self) -> pulumi.Output[str]:
@@ -427,6 +427,7 @@ class AlertTarget(pulumi.CustomResource):
427
427
 
428
428
  ## Example Usage
429
429
 
430
+ <!--Start PulumiCodeChooser -->
430
431
  ```python
431
432
  import pulumi
432
433
  import pulumi_wavefront as wavefront
@@ -445,13 +446,14 @@ class AlertTarget(pulumi.CustomResource):
445
446
  "ALERT_RESOLVED",
446
447
  ])
447
448
  ```
449
+ <!--End PulumiCodeChooser -->
448
450
 
449
451
  ## Import
450
452
 
451
453
  Alert Targets can be imported using the `id`, e.g.:
452
454
 
453
455
  ```sh
454
- $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
456
+ $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
455
457
  ```
456
458
 
457
459
  :param str resource_name: The name of the resource.
@@ -482,6 +484,7 @@ class AlertTarget(pulumi.CustomResource):
482
484
 
483
485
  ## Example Usage
484
486
 
487
+ <!--Start PulumiCodeChooser -->
485
488
  ```python
486
489
  import pulumi
487
490
  import pulumi_wavefront as wavefront
@@ -500,13 +503,14 @@ class AlertTarget(pulumi.CustomResource):
500
503
  "ALERT_RESOLVED",
501
504
  ])
502
505
  ```
506
+ <!--End PulumiCodeChooser -->
503
507
 
504
508
  ## Import
505
509
 
506
510
  Alert Targets can be imported using the `id`, e.g.:
507
511
 
508
512
  ```sh
509
- $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
513
+ $ pulumi import wavefront:index/alertTarget:AlertTarget alert_target abcdEFGhijKLMNO
510
514
  ```
511
515
 
512
516
  :param str resource_name: The name of the resource.
@@ -604,6 +604,7 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
604
604
 
605
605
  ## Example Usage
606
606
 
607
+ <!--Start PulumiCodeChooser -->
607
608
  ```python
608
609
  import pulumi
609
610
  import pulumi_wavefront as wavefront
@@ -613,13 +614,14 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
613
614
  encrypted_password="encryptedPassword",
614
615
  user_name="example")
615
616
  ```
617
+ <!--End PulumiCodeChooser -->
616
618
 
617
619
  ## Import
618
620
 
619
621
  AppDynamic Cloud Integrations can be imported by using the `id`, e.g.:
620
622
 
621
623
  ```sh
622
- $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
624
+ $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
623
625
  ```
624
626
 
625
627
  :param str resource_name: The name of the resource.
@@ -656,6 +658,7 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
656
658
 
657
659
  ## Example Usage
658
660
 
661
+ <!--Start PulumiCodeChooser -->
659
662
  ```python
660
663
  import pulumi
661
664
  import pulumi_wavefront as wavefront
@@ -665,13 +668,14 @@ class CloudIntegrationAppDynamics(pulumi.CustomResource):
665
668
  encrypted_password="encryptedPassword",
666
669
  user_name="example")
667
670
  ```
671
+ <!--End PulumiCodeChooser -->
668
672
 
669
673
  ## Import
670
674
 
671
675
  AppDynamic Cloud Integrations can be imported by using the `id`, e.g.:
672
676
 
673
677
  ```sh
674
- $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
678
+ $ pulumi import wavefront:index/cloudIntegrationAppDynamics:CloudIntegrationAppDynamics app_dynamics a411c16b-3cf7-4f03-bf11-8ca05aab898d
675
679
  ```
676
680
 
677
681
  :param str resource_name: The name of the resource.
@@ -31,19 +31,21 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
31
31
 
32
32
  ## Example Usage
33
33
 
34
+ <!--Start PulumiCodeChooser -->
34
35
  ```python
35
36
  import pulumi
36
37
  import pulumi_wavefront as wavefront
37
38
 
38
39
  external_id = wavefront.CloudIntegrationAwsExternalId("externalId")
39
40
  ```
41
+ <!--End PulumiCodeChooser -->
40
42
 
41
43
  ## Import
42
44
 
43
45
  External IDs can be imported by using the `id`, e.g.:
44
46
 
45
47
  ```sh
46
- $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
48
+ $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
47
49
  ```
48
50
 
49
51
  :param str resource_name: The name of the resource.
@@ -60,19 +62,21 @@ class CloudIntegrationAwsExternalId(pulumi.CustomResource):
60
62
 
61
63
  ## Example Usage
62
64
 
65
+ <!--Start PulumiCodeChooser -->
63
66
  ```python
64
67
  import pulumi
65
68
  import pulumi_wavefront as wavefront
66
69
 
67
70
  external_id = wavefront.CloudIntegrationAwsExternalId("externalId")
68
71
  ```
72
+ <!--End PulumiCodeChooser -->
69
73
 
70
74
  ## Import
71
75
 
72
76
  External IDs can be imported by using the `id`, e.g.:
73
77
 
74
78
  ```sh
75
- $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
79
+ $ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
76
80
  ```
77
81
 
78
82
  :param str resource_name: The name of the resource.
@@ -398,6 +398,7 @@ class CloudIntegrationAzure(pulumi.CustomResource):
398
398
 
399
399
  ## Example Usage
400
400
 
401
+ <!--Start PulumiCodeChooser -->
401
402
  ```python
402
403
  import pulumi
403
404
  import pulumi_wavefront as wavefront
@@ -407,13 +408,14 @@ class CloudIntegrationAzure(pulumi.CustomResource):
407
408
  client_secret="client-secret2",
408
409
  tenant="my-tenant2")
409
410
  ```
411
+ <!--End PulumiCodeChooser -->
410
412
 
411
413
  ## Import
412
414
 
413
415
  Azure Cloud Integrations can be imported by using the `id`, e.g.:
414
416
 
415
417
  ```sh
416
- $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
418
+ $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
417
419
  ```
418
420
 
419
421
  :param str resource_name: The name of the resource.
@@ -442,6 +444,7 @@ class CloudIntegrationAzure(pulumi.CustomResource):
442
444
 
443
445
  ## Example Usage
444
446
 
447
+ <!--Start PulumiCodeChooser -->
445
448
  ```python
446
449
  import pulumi
447
450
  import pulumi_wavefront as wavefront
@@ -451,13 +454,14 @@ class CloudIntegrationAzure(pulumi.CustomResource):
451
454
  client_secret="client-secret2",
452
455
  tenant="my-tenant2")
453
456
  ```
457
+ <!--End PulumiCodeChooser -->
454
458
 
455
459
  ## Import
456
460
 
457
461
  Azure Cloud Integrations can be imported by using the `id`, e.g.:
458
462
 
459
463
  ```sh
460
- $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
464
+ $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d
461
465
  ```
462
466
 
463
467
  :param str resource_name: The name of the resource.