pulumi-wavefront 1.3.0a1677788947__tar.gz → 1.3.0a1679338020__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-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/PKG-INFO +1 -1
  2. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/_inputs.py +2 -2
  3. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/alert.py +7 -7
  4. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_alert.py +3 -1
  5. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_default_user_group.py +9 -0
  6. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_derived_metric.py +6 -2
  7. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_event.py +3 -1
  8. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_user.py +3 -1
  9. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_users.py +9 -0
  10. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/metrics_policy.py +60 -0
  11. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/outputs.py +22 -12
  12. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/user.py +13 -0
  13. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront.egg-info/PKG-INFO +1 -1
  14. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/setup.py +2 -2
  15. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/README.md +0 -0
  16. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/__init__.py +0 -0
  17. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/_utilities.py +0 -0
  18. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/alert_target.py +0 -0
  19. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_app_dynamics.py +0 -0
  20. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_aws_external_id.py +0 -0
  21. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_azure.py +0 -0
  22. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_azure_activity_log.py +0 -0
  23. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_cloud_trail.py +0 -0
  24. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_cloud_watch.py +0 -0
  25. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_ec2.py +0 -0
  26. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_gcp.py +0 -0
  27. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_gcp_billing.py +0 -0
  28. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/cloud_integration_new_relic.py +0 -0
  29. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/config/__init__.py +0 -0
  30. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/config/vars.py +0 -0
  31. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/dashboard.py +0 -0
  32. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/dashboard_json.py +0 -0
  33. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/derived_metric.py +0 -0
  34. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/event.py +0 -0
  35. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/external_link.py +0 -0
  36. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_alerts.py +0 -0
  37. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_dashboard.py +0 -0
  38. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_dashboards.py +0 -0
  39. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_derived_metrics.py +0 -0
  40. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_events.py +0 -0
  41. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_external_link.py +0 -0
  42. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_external_links.py +0 -0
  43. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_maintenance_window.py +0 -0
  44. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_maintenance_window_all.py +0 -0
  45. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_metrics_policy.py +0 -0
  46. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_role.py +0 -0
  47. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_roles.py +0 -0
  48. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_user_group.py +0 -0
  49. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/get_user_groups.py +0 -0
  50. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/ingestion_policy.py +0 -0
  51. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/maintenance_window.py +0 -0
  52. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/provider.py +0 -0
  53. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/pulumi-plugin.json +0 -0
  54. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/py.typed +0 -0
  55. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/role.py +0 -0
  56. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/service_account.py +0 -0
  57. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront/user_group.py +0 -0
  58. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront.egg-info/SOURCES.txt +0 -0
  59. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront.egg-info/dependency_links.txt +0 -0
  60. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront.egg-info/not-zip-safe +0 -0
  61. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront.egg-info/requires.txt +0 -0
  62. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/pulumi_wavefront.egg-info/top_level.txt +0 -0
  63. {pulumi_wavefront-1.3.0a1677788947 → pulumi_wavefront-1.3.0a1679338020}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_wavefront
3
- Version: 1.3.0a1677788947
3
+ Version: 1.3.0a1679338020
4
4
  Summary: A Pulumi package for creating and managing wavefront cloud resources.
5
5
  Home-page: https://pulumi.io
6
6
  License: Apache-2.0
@@ -1530,7 +1530,7 @@ class MetricsPolicyPolicyRuleArgs:
1530
1530
  :param pulumi.Input[Sequence[pulumi.Input[str]]] prefixes: List of prefixes to match metrics on. You can specify the full metric name or use a wildcard character in metric names, sources, or point tags. The wildcard character alone (*) means all metrics.
1531
1531
  :param pulumi.Input[bool] tags_anded: Bool where `true` require all tags are met by selected metrics, else `false` select metrics that match any give tag.
1532
1532
  :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: List of account ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1533
- :param pulumi.Input[Sequence[pulumi.Input[str]]] role_ids: -(Optional) List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1533
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] role_ids: List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1534
1534
  :param pulumi.Input[Sequence[pulumi.Input['MetricsPolicyPolicyRuleTagArgs']]] tags: List of Key/Value tags to select target metrics for policy.
1535
1535
  :param pulumi.Input[Sequence[pulumi.Input[str]]] user_group_ids: List of user group ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1536
1536
  """
@@ -1624,7 +1624,7 @@ class MetricsPolicyPolicyRuleArgs:
1624
1624
  @pulumi.getter(name="roleIds")
1625
1625
  def role_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1626
1626
  """
1627
- -(Optional) List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1627
+ List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1628
1628
  """
1629
1629
  return pulumi.get(self, "role_ids")
1630
1630
 
@@ -56,7 +56,7 @@ class AlertArgs:
56
56
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
57
57
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
58
58
  the same value as `minutes`.
59
- :param pulumi.Input[str] severity: - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
59
+ :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
60
60
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
61
61
  (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
62
62
  Alert target format: ({email}|pd:{pd_key}|target:{alert-target-id}).
@@ -264,7 +264,7 @@ class AlertArgs:
264
264
  @pulumi.getter
265
265
  def severity(self) -> Optional[pulumi.Input[str]]:
266
266
  """
267
- - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
267
+ Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
268
268
  """
269
269
  return pulumi.get(self, "severity")
270
270
 
@@ -343,7 +343,7 @@ class _AlertState:
343
343
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
344
344
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
345
345
  the same value as `minutes`.
346
- :param pulumi.Input[str] severity: - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
346
+ :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
347
347
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
348
348
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
349
349
  (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
@@ -542,7 +542,7 @@ class _AlertState:
542
542
  @pulumi.getter
543
543
  def severity(self) -> Optional[pulumi.Input[str]]:
544
544
  """
545
- - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
545
+ Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
546
546
  """
547
547
  return pulumi.get(self, "severity")
548
548
 
@@ -666,7 +666,7 @@ class Alert(pulumi.CustomResource):
666
666
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
667
667
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
668
668
  the same value as `minutes`.
669
- :param pulumi.Input[str] severity: - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
669
+ :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
670
670
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
671
671
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
672
672
  (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
@@ -825,7 +825,7 @@ class Alert(pulumi.CustomResource):
825
825
  :param pulumi.Input[int] resolve_after_minutes: The number of consecutive minutes that a firing series matching the condition
826
826
  query must evaluate to "false" (zero value) before the alert resolves. When unset, this defaults to
827
827
  the same value as `minutes`.
828
- :param pulumi.Input[str] severity: - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
828
+ :param pulumi.Input[str] severity: Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
829
829
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A set of tags to assign to this resource.
830
830
  :param pulumi.Input[str] target: A comma-separated list of the email address or integration endpoint
831
831
  (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
@@ -965,7 +965,7 @@ class Alert(pulumi.CustomResource):
965
965
  @pulumi.getter
966
966
  def severity(self) -> pulumi.Output[str]:
967
967
  """
968
- - Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
968
+ Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
969
969
  """
970
970
  return pulumi.get(self, "severity")
971
971
 
@@ -104,6 +104,9 @@ class GetAlertResult:
104
104
  @property
105
105
  @pulumi.getter(name="alertType")
106
106
  def alert_type(self) -> str:
107
+ """
108
+ The type of alert in Wavefront.
109
+ """
107
110
  return pulumi.get(self, "alert_type")
108
111
 
109
112
  @property
@@ -167,7 +170,6 @@ class GetAlertResult:
167
170
  def id(self) -> str:
168
171
  """
169
172
  The ID of the alert in Wavefront.
170
- * `alert_type`- The type of alert in Wavefront.
171
173
  """
172
174
  return pulumi.get(self, "id")
173
175
 
@@ -59,6 +59,15 @@ class AwaitableGetDefaultUserGroupResult(GetDefaultUserGroupResult):
59
59
  def get_default_user_group(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDefaultUserGroupResult:
60
60
  """
61
61
  Use this data source to get the Group ID of the `Everyone` group in Wavefront.
62
+
63
+ ## Example Usage
64
+
65
+ ```python
66
+ import pulumi
67
+ import pulumi_wavefront as wavefront
68
+
69
+ everyone_group = wavefront.get_default_user_group()
70
+ ```
62
71
  """
63
72
  __args__ = dict()
64
73
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -140,7 +140,6 @@ class GetDerivedMetricResult:
140
140
  def id(self) -> str:
141
141
  """
142
142
  The ID of the derived metric in Wavefront.
143
- * `query`- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
144
143
  """
145
144
  return pulumi.get(self, "id")
146
145
 
@@ -155,6 +154,9 @@ class GetDerivedMetricResult:
155
154
  @property
156
155
  @pulumi.getter(name="includeObsoleteMetrics")
157
156
  def include_obsolete_metrics(self) -> bool:
157
+ """
158
+ A Boolean flag indicating whether to include obsolete metrics or not.
159
+ """
158
160
  return pulumi.get(self, "include_obsolete_metrics")
159
161
 
160
162
  @property
@@ -218,7 +220,6 @@ class GetDerivedMetricResult:
218
220
  def points_scanned_at_last_query(self) -> int:
219
221
  """
220
222
  The number of points scanned when last query was executed.
221
- * `include_obsolete_metrics` -A Boolean flag indicating whether to include obsolete metrics or not.
222
223
  """
223
224
  return pulumi.get(self, "points_scanned_at_last_query")
224
225
 
@@ -233,6 +234,9 @@ class GetDerivedMetricResult:
233
234
  @property
234
235
  @pulumi.getter
235
236
  def query(self) -> str:
237
+ """
238
+ A Wavefront query that is evaluated at regular intervals (default is 1 minute).
239
+ """
236
240
  return pulumi.get(self, "query")
237
241
 
238
242
  @property
@@ -79,7 +79,6 @@ class GetEventResult:
79
79
  def id(self) -> str:
80
80
  """
81
81
  The ID of the event in Wavefront.
82
- * `start_time`- The start time of the event in epoch milliseconds.
83
82
  """
84
83
  return pulumi.get(self, "id")
85
84
 
@@ -110,6 +109,9 @@ class GetEventResult:
110
109
  @property
111
110
  @pulumi.getter(name="startTime")
112
111
  def start_time(self) -> int:
112
+ """
113
+ The start time of the event in epoch milliseconds.
114
+ """
113
115
  return pulumi.get(self, "start_time")
114
116
 
115
117
  @property
@@ -44,6 +44,9 @@ class GetUserResult:
44
44
  @property
45
45
  @pulumi.getter
46
46
  def customer(self) -> str:
47
+ """
48
+ The customer the user is associated with.
49
+ """
47
50
  return pulumi.get(self, "customer")
48
51
 
49
52
  @property
@@ -80,7 +83,6 @@ class GetUserResult:
80
83
  def user_group_ids(self) -> Sequence[str]:
81
84
  """
82
85
  List of User Group Ids the user is a member of.
83
- * `customer`- The customer the user is associated with.
84
86
  """
85
87
  return pulumi.get(self, "user_group_ids")
86
88
 
@@ -59,6 +59,15 @@ class AwaitableGetUsersResult(GetUsersResult):
59
59
  def get_users(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsersResult:
60
60
  """
61
61
  Use this data source to get all users in Wavefront.
62
+
63
+ ## Example Usage
64
+
65
+ ```python
66
+ import pulumi
67
+ import pulumi_wavefront as wavefront
68
+
69
+ users = wavefront.get_users()
70
+ ```
62
71
  """
63
72
  __args__ = dict()
64
73
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -45,6 +45,7 @@ class _MetricsPolicyState:
45
45
  updater_id: Optional[pulumi.Input[str]] = None):
46
46
  """
47
47
  Input properties used for looking up and filtering MetricsPolicy resources.
48
+ :param pulumi.Input[str] customer: The customer the user is associated with.
48
49
  :param pulumi.Input[Sequence[pulumi.Input['MetricsPolicyPolicyRuleArgs']]] policy_rules: List of Metrics Policies, must have at least one entry.
49
50
  :param pulumi.Input[int] updated_epoch_millis: When the policy was applied in epoch_millis.
50
51
  :param pulumi.Input[str] updater_id: The account_id who applied the current policy.
@@ -61,6 +62,9 @@ class _MetricsPolicyState:
61
62
  @property
62
63
  @pulumi.getter
63
64
  def customer(self) -> Optional[pulumi.Input[str]]:
65
+ """
66
+ The customer the user is associated with.
67
+ """
64
68
  return pulumi.get(self, "customer")
65
69
 
66
70
  @customer.setter
@@ -114,10 +118,36 @@ class MetricsPolicy(pulumi.CustomResource):
114
118
  """
115
119
  Provides a Wavefront Metrics Policy Resource. This allows management of Metrics Policy to control access to time series, histograms, and delta counters
116
120
 
121
+ ## Example Usage
122
+
123
+ ```python
124
+ import pulumi
125
+ import pulumi_wavefront as wavefront
126
+
127
+ everyone = wavefront.get_default_user_group()
128
+ main = wavefront.MetricsPolicy("main", policy_rules=[wavefront.MetricsPolicyPolicyRuleArgs(
129
+ name="Allow All Metrics",
130
+ description="Predefined policy rule. Allows access to all metrics (timeseries, histograms, and counters) for all accounts. If this rule is removed, all accounts can access all metrics if there are no matching blocking rules.",
131
+ prefixes=["*"],
132
+ tags_anded=False,
133
+ access_type="ALLOW",
134
+ user_group_ids=[everyone.group_id],
135
+ )])
136
+ ```
117
137
  ## Data Source
118
138
 
119
139
  Provides a Wavefront Metrics Policy Data Source. This allows looking up the current policy and associated rules.
120
140
 
141
+ ### Example
142
+
143
+ ```python
144
+ import pulumi
145
+ import pulumi_wavefront as wavefront
146
+
147
+ policy_metrics_policy = wavefront.get_metrics_policy()
148
+ pulumi.export("policy", policy_metrics_policy)
149
+ ```
150
+
121
151
  ## Import
122
152
 
123
153
  Users can be imported by using the `updated_epoch_millis`, e.g.
@@ -139,10 +169,36 @@ class MetricsPolicy(pulumi.CustomResource):
139
169
  """
140
170
  Provides a Wavefront Metrics Policy Resource. This allows management of Metrics Policy to control access to time series, histograms, and delta counters
141
171
 
172
+ ## Example Usage
173
+
174
+ ```python
175
+ import pulumi
176
+ import pulumi_wavefront as wavefront
177
+
178
+ everyone = wavefront.get_default_user_group()
179
+ main = wavefront.MetricsPolicy("main", policy_rules=[wavefront.MetricsPolicyPolicyRuleArgs(
180
+ name="Allow All Metrics",
181
+ description="Predefined policy rule. Allows access to all metrics (timeseries, histograms, and counters) for all accounts. If this rule is removed, all accounts can access all metrics if there are no matching blocking rules.",
182
+ prefixes=["*"],
183
+ tags_anded=False,
184
+ access_type="ALLOW",
185
+ user_group_ids=[everyone.group_id],
186
+ )])
187
+ ```
142
188
  ## Data Source
143
189
 
144
190
  Provides a Wavefront Metrics Policy Data Source. This allows looking up the current policy and associated rules.
145
191
 
192
+ ### Example
193
+
194
+ ```python
195
+ import pulumi
196
+ import pulumi_wavefront as wavefront
197
+
198
+ policy_metrics_policy = wavefront.get_metrics_policy()
199
+ pulumi.export("policy", policy_metrics_policy)
200
+ ```
201
+
146
202
  ## Import
147
203
 
148
204
  Users can be imported by using the `updated_epoch_millis`, e.g.
@@ -203,6 +259,7 @@ class MetricsPolicy(pulumi.CustomResource):
203
259
  :param str resource_name: The unique name of the resulting resource.
204
260
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
205
261
  :param pulumi.ResourceOptions opts: Options for the resource.
262
+ :param pulumi.Input[str] customer: The customer the user is associated with.
206
263
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MetricsPolicyPolicyRuleArgs']]]] policy_rules: List of Metrics Policies, must have at least one entry.
207
264
  :param pulumi.Input[int] updated_epoch_millis: When the policy was applied in epoch_millis.
208
265
  :param pulumi.Input[str] updater_id: The account_id who applied the current policy.
@@ -220,6 +277,9 @@ class MetricsPolicy(pulumi.CustomResource):
220
277
  @property
221
278
  @pulumi.getter
222
279
  def customer(self) -> pulumi.Output[str]:
280
+ """
281
+ The customer the user is associated with.
282
+ """
223
283
  return pulumi.get(self, "customer")
224
284
 
225
285
  @property
@@ -1428,7 +1428,7 @@ class MetricsPolicyPolicyRule(dict):
1428
1428
  :param Sequence[str] prefixes: List of prefixes to match metrics on. You can specify the full metric name or use a wildcard character in metric names, sources, or point tags. The wildcard character alone (*) means all metrics.
1429
1429
  :param bool tags_anded: Bool where `true` require all tags are met by selected metrics, else `false` select metrics that match any give tag.
1430
1430
  :param Sequence[str] account_ids: List of account ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1431
- :param Sequence[str] role_ids: -(Optional) List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1431
+ :param Sequence[str] role_ids: List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1432
1432
  :param Sequence['MetricsPolicyPolicyRuleTagArgs'] tags: List of Key/Value tags to select target metrics for policy.
1433
1433
  :param Sequence[str] user_group_ids: List of user group ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1434
1434
  """
@@ -1498,7 +1498,7 @@ class MetricsPolicyPolicyRule(dict):
1498
1498
  @pulumi.getter(name="roleIds")
1499
1499
  def role_ids(self) -> Optional[Sequence[str]]:
1500
1500
  """
1501
- -(Optional) List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1501
+ List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1502
1502
  """
1503
1503
  return pulumi.get(self, "role_ids")
1504
1504
 
@@ -1614,6 +1614,7 @@ class GetAlertsAlertResult(dict):
1614
1614
  targets: Optional[Mapping[str, str]] = None):
1615
1615
  """
1616
1616
  :param str additional_information: User-supplied additional explanatory information about this alert.
1617
+ :param str alert_type: The type of alert in Wavefront.
1617
1618
  :param Sequence[str] can_modifies: A list of users or groups that can modify the alert.
1618
1619
  :param Sequence[str] can_views: A list of users or groups that can view the alert.
1619
1620
  :param str condition: A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
@@ -1622,7 +1623,6 @@ class GetAlertsAlertResult(dict):
1622
1623
  :param bool evaluate_realtime_data: A Boolean flag to enable real-time evaluation.
1623
1624
  :param Sequence['GetAlertsAlertFailingHostLabelPairArgs'] failing_host_label_pairs: A list of failing host label pairs.
1624
1625
  :param str id: The ID of the alert in Wavefront.
1625
- * `alert_type`- The type of alert in Wavefront.
1626
1626
  :param Sequence['GetAlertsAlertInMaintenanceHostLabelPairArgs'] in_maintenance_host_label_pairs: A list of in maintenance host label pairs.
1627
1627
  :param bool include_obsolete_metrics: A Boolean flag indicating whether to include obsolete metrics or not.
1628
1628
  :param int minutes: The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
@@ -1672,6 +1672,9 @@ class GetAlertsAlertResult(dict):
1672
1672
  @property
1673
1673
  @pulumi.getter(name="alertType")
1674
1674
  def alert_type(self) -> str:
1675
+ """
1676
+ The type of alert in Wavefront.
1677
+ """
1675
1678
  return pulumi.get(self, "alert_type")
1676
1679
 
1677
1680
  @property
@@ -1735,7 +1738,6 @@ class GetAlertsAlertResult(dict):
1735
1738
  def id(self) -> str:
1736
1739
  """
1737
1740
  The ID of the alert in Wavefront.
1738
- * `alert_type`- The type of alert in Wavefront.
1739
1741
  """
1740
1742
  return pulumi.get(self, "id")
1741
1743
 
@@ -4131,18 +4133,18 @@ class GetDerivedMetricsDerivedMetricResult(dict):
4131
4133
  :param bool deleted: A Boolean flag indicating whether the derived metric is deleted or not.
4132
4134
  :param Sequence[str] hosts_useds: A list of hosts used in the derived metric.
4133
4135
  :param str id: The ID of the derived metric in Wavefront.
4134
- * `query`- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
4135
4136
  :param bool in_trash: A Boolean variable indicating trash status.
4136
4137
  :param bool include_obsolete_metrics: A Boolean flag indicating whether to include obsolete metrics or not.
4137
4138
  :param str last_error_message: Last error message occurred.
4138
4139
  :param int last_failed_time: Timestamp of the last failed derived metric.
4139
4140
  :param int last_processed_millis: The last processed timestamp.
4140
4141
  :param int last_query_time: The timestamp indicating the last time the query was executed.
4141
- * `metrics_used` -A list of metrics used in the derived metric.
4142
+ :param Sequence[str] metrics_useds: A list of metrics used in the derived metric.
4142
4143
  :param int minutes: How frequently the query generating the derived metric is run.
4143
4144
  :param str name: The name of the derived metric in Wavefront.
4144
4145
  :param int points_scanned_at_last_query: The number of points scanned when the last query was executed.
4145
4146
  :param int process_rate_minutes: The specified query is executed every `process_rate_minutes` minutes.
4147
+ :param str query: A Wavefront query that is evaluated at regular intervals (default is 1 minute).
4146
4148
  :param bool query_failing: A Boolean variable indicating whether query is failing for the derived metric.
4147
4149
  :param bool query_qb_enabled: A Boolean flag for enabling `query_qb`
4148
4150
  :param Sequence[str] statuses: The status of the derived metric.
@@ -4220,7 +4222,6 @@ class GetDerivedMetricsDerivedMetricResult(dict):
4220
4222
  def id(self) -> str:
4221
4223
  """
4222
4224
  The ID of the derived metric in Wavefront.
4223
- * `query`- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
4224
4225
  """
4225
4226
  return pulumi.get(self, "id")
4226
4227
 
@@ -4269,13 +4270,15 @@ class GetDerivedMetricsDerivedMetricResult(dict):
4269
4270
  def last_query_time(self) -> int:
4270
4271
  """
4271
4272
  The timestamp indicating the last time the query was executed.
4272
- * `metrics_used` -A list of metrics used in the derived metric.
4273
4273
  """
4274
4274
  return pulumi.get(self, "last_query_time")
4275
4275
 
4276
4276
  @property
4277
4277
  @pulumi.getter(name="metricsUseds")
4278
4278
  def metrics_useds(self) -> Sequence[str]:
4279
+ """
4280
+ A list of metrics used in the derived metric.
4281
+ """
4279
4282
  return pulumi.get(self, "metrics_useds")
4280
4283
 
4281
4284
  @property
@@ -4313,6 +4316,9 @@ class GetDerivedMetricsDerivedMetricResult(dict):
4313
4316
  @property
4314
4317
  @pulumi.getter
4315
4318
  def query(self) -> str:
4319
+ """
4320
+ A Wavefront query that is evaluated at regular intervals (default is 1 minute).
4321
+ """
4316
4322
  return pulumi.get(self, "query")
4317
4323
 
4318
4324
  @property
@@ -4381,10 +4387,10 @@ class GetEventsEventResult(dict):
4381
4387
  :param Mapping[str, str] annotations: Annotations associated with the event.
4382
4388
  :param str details: The description of the event.
4383
4389
  :param str id: The ID of the event in Wavefront.
4384
- * `start_time`- The start time of the event in epoch milliseconds.
4385
4390
  :param bool is_ephemeral: A Boolean flag. If set to `true`, creates a point-in-time event (i.e. with no duration).
4386
4391
  :param str name: The name of the event in Wavefront.
4387
4392
  :param str severity: The severity category of the event.
4393
+ :param int start_time: The start time of the event in epoch milliseconds.
4388
4394
  :param Sequence[str] tags: A set of tags assigned to the event.
4389
4395
  :param str type: The type of the event.
4390
4396
  """
@@ -4425,7 +4431,6 @@ class GetEventsEventResult(dict):
4425
4431
  def id(self) -> str:
4426
4432
  """
4427
4433
  The ID of the event in Wavefront.
4428
- * `start_time`- The start time of the event in epoch milliseconds.
4429
4434
  """
4430
4435
  return pulumi.get(self, "id")
4431
4436
 
@@ -4456,6 +4461,9 @@ class GetEventsEventResult(dict):
4456
4461
  @property
4457
4462
  @pulumi.getter(name="startTime")
4458
4463
  def start_time(self) -> int:
4464
+ """
4465
+ The start time of the event in epoch milliseconds.
4466
+ """
4459
4467
  return pulumi.get(self, "start_time")
4460
4468
 
4461
4469
  @property
@@ -4960,10 +4968,10 @@ class GetUsersUserResult(dict):
4960
4968
  permissions: Sequence[str],
4961
4969
  user_group_ids: Sequence[str]):
4962
4970
  """
4971
+ :param str customer: The customer the user is associated with.
4963
4972
  :param int last_successful_login: When the user last logged in to Wavefront.
4964
4973
  :param Sequence[str] permissions: List of permissions granted to a user.
4965
4974
  :param Sequence[str] user_group_ids: List of User Group Ids the user is a member of.
4966
- * `customer`- The customer the user is associated with.
4967
4975
  """
4968
4976
  pulumi.set(__self__, "customer", customer)
4969
4977
  pulumi.set(__self__, "email", email)
@@ -4974,6 +4982,9 @@ class GetUsersUserResult(dict):
4974
4982
  @property
4975
4983
  @pulumi.getter
4976
4984
  def customer(self) -> str:
4985
+ """
4986
+ The customer the user is associated with.
4987
+ """
4977
4988
  return pulumi.get(self, "customer")
4978
4989
 
4979
4990
  @property
@@ -5002,7 +5013,6 @@ class GetUsersUserResult(dict):
5002
5013
  def user_group_ids(self) -> Sequence[str]:
5003
5014
  """
5004
5015
  List of User Group Ids the user is a member of.
5005
- * `customer`- The customer the user is associated with.
5006
5016
  """
5007
5017
  return pulumi.get(self, "user_group_ids")
5008
5018
 
@@ -21,6 +21,7 @@ class UserArgs:
21
21
  """
22
22
  The set of arguments for constructing a User resource.
23
23
  :param pulumi.Input[str] email: The unique identifier of the user account to create. Must be a valid email address.
24
+ :param pulumi.Input[str] customer: The customer the user is associated with.
24
25
  :param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: List of permission to grant to this user. Valid options are
25
26
  `agent_management`, `alerts_management`, `dashboard_management`, `embedded_charts`, `events_management`, `external_links_management`,
26
27
  `host_tag_management`, `metrics_management`, and `user_management`.
@@ -49,6 +50,9 @@ class UserArgs:
49
50
  @property
50
51
  @pulumi.getter
51
52
  def customer(self) -> Optional[pulumi.Input[str]]:
53
+ """
54
+ The customer the user is associated with.
55
+ """
52
56
  return pulumi.get(self, "customer")
53
57
 
54
58
  @customer.setter
@@ -91,6 +95,7 @@ class _UserState:
91
95
  user_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
92
96
  """
93
97
  Input properties used for looking up and filtering User resources.
98
+ :param pulumi.Input[str] customer: The customer the user is associated with.
94
99
  :param pulumi.Input[str] email: The unique identifier of the user account to create. Must be a valid email address.
95
100
  :param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: List of permission to grant to this user. Valid options are
96
101
  `agent_management`, `alerts_management`, `dashboard_management`, `embedded_charts`, `events_management`, `external_links_management`,
@@ -109,6 +114,9 @@ class _UserState:
109
114
  @property
110
115
  @pulumi.getter
111
116
  def customer(self) -> Optional[pulumi.Input[str]]:
117
+ """
118
+ The customer the user is associated with.
119
+ """
112
120
  return pulumi.get(self, "customer")
113
121
 
114
122
  @customer.setter
@@ -186,6 +194,7 @@ class User(pulumi.CustomResource):
186
194
 
187
195
  :param str resource_name: The name of the resource.
188
196
  :param pulumi.ResourceOptions opts: Options for the resource.
197
+ :param pulumi.Input[str] customer: The customer the user is associated with.
189
198
  :param pulumi.Input[str] email: The unique identifier of the user account to create. Must be a valid email address.
190
199
  :param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: List of permission to grant to this user. Valid options are
191
200
  `agent_management`, `alerts_management`, `dashboard_management`, `embedded_charts`, `events_management`, `external_links_management`,
@@ -273,6 +282,7 @@ class User(pulumi.CustomResource):
273
282
  :param str resource_name: The unique name of the resulting resource.
274
283
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
275
284
  :param pulumi.ResourceOptions opts: Options for the resource.
285
+ :param pulumi.Input[str] customer: The customer the user is associated with.
276
286
  :param pulumi.Input[str] email: The unique identifier of the user account to create. Must be a valid email address.
277
287
  :param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: List of permission to grant to this user. Valid options are
278
288
  `agent_management`, `alerts_management`, `dashboard_management`, `embedded_charts`, `events_management`, `external_links_management`,
@@ -292,6 +302,9 @@ class User(pulumi.CustomResource):
292
302
  @property
293
303
  @pulumi.getter
294
304
  def customer(self) -> pulumi.Output[str]:
305
+ """
306
+ The customer the user is associated with.
307
+ """
295
308
  return pulumi.get(self, "customer")
296
309
 
297
310
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-wavefront
3
- Version: 1.3.0a1677788947
3
+ Version: 1.3.0a1679338020
4
4
  Summary: A Pulumi package for creating and managing wavefront cloud resources.
5
5
  Home-page: https://pulumi.io
6
6
  License: Apache-2.0
@@ -8,8 +8,8 @@ from setuptools.command.install import install
8
8
  from subprocess import check_call
9
9
 
10
10
 
11
- VERSION = "1.3.0a1677788947"
12
- PLUGIN_VERSION = "1.3.0-alpha.1677788947+73910eb1"
11
+ VERSION = "1.3.0a1679338020"
12
+ PLUGIN_VERSION = "1.3.0-alpha.1679338020+382f6110"
13
13
 
14
14
  class InstallPluginCommand(install):
15
15
  def run(self):