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/get_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
|
|
@@ -342,6 +347,7 @@ def get_alert(id: Optional[str] = None,
|
|
342
347
|
import pulumi
|
343
348
|
import pulumi_wavefront as wavefront
|
344
349
|
|
350
|
+
# Get the information about the alert.
|
345
351
|
example = wavefront.get_alert(id="alert-id")
|
346
352
|
```
|
347
353
|
|
@@ -381,12 +387,9 @@ def get_alert(id: Optional[str] = None,
|
|
381
387
|
tags=pulumi.get(__ret__, 'tags'),
|
382
388
|
target=pulumi.get(__ret__, 'target'),
|
383
389
|
targets=pulumi.get(__ret__, 'targets'))
|
384
|
-
|
385
|
-
|
386
|
-
@_utilities.lift_output_func(get_alert)
|
387
390
|
def get_alert_output(id: Optional[pulumi.Input[str]] = None,
|
388
391
|
targets: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
389
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlertResult]:
|
392
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertResult]:
|
390
393
|
"""
|
391
394
|
Use this data source to get information about a Wavefront alert by its ID.
|
392
395
|
|
@@ -396,6 +399,7 @@ def get_alert_output(id: Optional[pulumi.Input[str]] = None,
|
|
396
399
|
import pulumi
|
397
400
|
import pulumi_wavefront as wavefront
|
398
401
|
|
402
|
+
# Get the information about the alert.
|
399
403
|
example = wavefront.get_alert(id="alert-id")
|
400
404
|
```
|
401
405
|
|
@@ -403,4 +407,34 @@ def get_alert_output(id: Optional[pulumi.Input[str]] = None,
|
|
403
407
|
:param str id: The ID associated with the alert data to be fetched.
|
404
408
|
:param Mapping[str, str] targets: A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
|
405
409
|
"""
|
406
|
-
|
410
|
+
__args__ = dict()
|
411
|
+
__args__['id'] = id
|
412
|
+
__args__['targets'] = targets
|
413
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
414
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getAlert:getAlert', __args__, opts=opts, typ=GetAlertResult)
|
415
|
+
return __ret__.apply(lambda __response__: GetAlertResult(
|
416
|
+
additional_information=pulumi.get(__response__, 'additional_information'),
|
417
|
+
alert_triage_dashboards=pulumi.get(__response__, 'alert_triage_dashboards'),
|
418
|
+
alert_type=pulumi.get(__response__, 'alert_type'),
|
419
|
+
can_modifies=pulumi.get(__response__, 'can_modifies'),
|
420
|
+
can_views=pulumi.get(__response__, 'can_views'),
|
421
|
+
condition=pulumi.get(__response__, 'condition'),
|
422
|
+
conditions=pulumi.get(__response__, 'conditions'),
|
423
|
+
display_expression=pulumi.get(__response__, 'display_expression'),
|
424
|
+
evaluate_realtime_data=pulumi.get(__response__, 'evaluate_realtime_data'),
|
425
|
+
failing_host_label_pairs=pulumi.get(__response__, 'failing_host_label_pairs'),
|
426
|
+
id=pulumi.get(__response__, 'id'),
|
427
|
+
in_maintenance_host_label_pairs=pulumi.get(__response__, 'in_maintenance_host_label_pairs'),
|
428
|
+
include_obsolete_metrics=pulumi.get(__response__, 'include_obsolete_metrics'),
|
429
|
+
minutes=pulumi.get(__response__, 'minutes'),
|
430
|
+
name=pulumi.get(__response__, 'name'),
|
431
|
+
notification_resend_frequency_minutes=pulumi.get(__response__, 'notification_resend_frequency_minutes'),
|
432
|
+
process_rate_minutes=pulumi.get(__response__, 'process_rate_minutes'),
|
433
|
+
resolve_after_minutes=pulumi.get(__response__, 'resolve_after_minutes'),
|
434
|
+
runbook_links=pulumi.get(__response__, 'runbook_links'),
|
435
|
+
severity=pulumi.get(__response__, 'severity'),
|
436
|
+
severity_lists=pulumi.get(__response__, 'severity_lists'),
|
437
|
+
statuses=pulumi.get(__response__, 'statuses'),
|
438
|
+
tags=pulumi.get(__response__, 'tags'),
|
439
|
+
target=pulumi.get(__response__, 'target'),
|
440
|
+
targets=pulumi.get(__response__, 'targets')))
|
pulumi_wavefront/get_alerts.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
|
|
@@ -87,6 +92,7 @@ def get_alerts(limit: Optional[int] = None,
|
|
87
92
|
import pulumi
|
88
93
|
import pulumi_wavefront as wavefront
|
89
94
|
|
95
|
+
# Get the information about all alerts.
|
90
96
|
example = wavefront.get_alerts(limit=10,
|
91
97
|
offset=0)
|
92
98
|
```
|
@@ -106,12 +112,9 @@ def get_alerts(limit: Optional[int] = None,
|
|
106
112
|
id=pulumi.get(__ret__, 'id'),
|
107
113
|
limit=pulumi.get(__ret__, 'limit'),
|
108
114
|
offset=pulumi.get(__ret__, 'offset'))
|
109
|
-
|
110
|
-
|
111
|
-
@_utilities.lift_output_func(get_alerts)
|
112
115
|
def get_alerts_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
113
116
|
offset: Optional[pulumi.Input[Optional[int]]] = None,
|
114
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlertsResult]:
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertsResult]:
|
115
118
|
"""
|
116
119
|
Use this data source to get information about all Wavefront alerts.
|
117
120
|
|
@@ -121,6 +124,7 @@ def get_alerts_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
|
121
124
|
import pulumi
|
122
125
|
import pulumi_wavefront as wavefront
|
123
126
|
|
127
|
+
# Get the information about all alerts.
|
124
128
|
example = wavefront.get_alerts(limit=10,
|
125
129
|
offset=0)
|
126
130
|
```
|
@@ -129,4 +133,13 @@ def get_alerts_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
|
129
133
|
:param int limit: Limit is the maximum number of results to be returned. Defaults to 100.
|
130
134
|
:param int offset: Offset is the offset from the first result to be returned. Defaults to 0.
|
131
135
|
"""
|
132
|
-
|
136
|
+
__args__ = dict()
|
137
|
+
__args__['limit'] = limit
|
138
|
+
__args__['offset'] = offset
|
139
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getAlerts:getAlerts', __args__, opts=opts, typ=GetAlertsResult)
|
141
|
+
return __ret__.apply(lambda __response__: GetAlertsResult(
|
142
|
+
alerts=pulumi.get(__response__, 'alerts'),
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
144
|
+
limit=pulumi.get(__response__, 'limit'),
|
145
|
+
offset=pulumi.get(__response__, 'offset')))
|
@@ -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
|
|
@@ -283,7 +288,7 @@ class GetDashboardResult:
|
|
283
288
|
|
284
289
|
@property
|
285
290
|
@pulumi.getter
|
286
|
-
def parameters(self) -> Mapping[str,
|
291
|
+
def parameters(self) -> Mapping[str, str]:
|
287
292
|
return pulumi.get(self, "parameters")
|
288
293
|
|
289
294
|
@property
|
@@ -392,6 +397,7 @@ def get_dashboard(id: Optional[str] = None,
|
|
392
397
|
import pulumi
|
393
398
|
import pulumi_wavefront as wavefront
|
394
399
|
|
400
|
+
# Get the information about a dashboard.
|
395
401
|
example = wavefront.get_dashboard(id="dashboard-id")
|
396
402
|
```
|
397
403
|
|
@@ -439,11 +445,8 @@ def get_dashboard(id: Optional[str] = None,
|
|
439
445
|
views_last_day=pulumi.get(__ret__, 'views_last_day'),
|
440
446
|
views_last_month=pulumi.get(__ret__, 'views_last_month'),
|
441
447
|
views_last_week=pulumi.get(__ret__, 'views_last_week'))
|
442
|
-
|
443
|
-
|
444
|
-
@_utilities.lift_output_func(get_dashboard)
|
445
448
|
def get_dashboard_output(id: Optional[pulumi.Input[str]] = None,
|
446
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardResult]:
|
449
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDashboardResult]:
|
447
450
|
"""
|
448
451
|
Use this data source to get information about a certain Wavefront dashboard by its ID.
|
449
452
|
|
@@ -453,10 +456,50 @@ def get_dashboard_output(id: Optional[pulumi.Input[str]] = None,
|
|
453
456
|
import pulumi
|
454
457
|
import pulumi_wavefront as wavefront
|
455
458
|
|
459
|
+
# Get the information about a dashboard.
|
456
460
|
example = wavefront.get_dashboard(id="dashboard-id")
|
457
461
|
```
|
458
462
|
|
459
463
|
|
460
464
|
:param str id: The ID associated with the dashboard data to be fetched.
|
461
465
|
"""
|
462
|
-
|
466
|
+
__args__ = dict()
|
467
|
+
__args__['id'] = id
|
468
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
469
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getDashboard:getDashboard', __args__, opts=opts, typ=GetDashboardResult)
|
470
|
+
return __ret__.apply(lambda __response__: GetDashboardResult(
|
471
|
+
can_modifies=pulumi.get(__response__, 'can_modifies'),
|
472
|
+
can_views=pulumi.get(__response__, 'can_views'),
|
473
|
+
chart_title_bg_color=pulumi.get(__response__, 'chart_title_bg_color'),
|
474
|
+
chart_title_color=pulumi.get(__response__, 'chart_title_color'),
|
475
|
+
chart_title_scalar=pulumi.get(__response__, 'chart_title_scalar'),
|
476
|
+
created_epoch_millis=pulumi.get(__response__, 'created_epoch_millis'),
|
477
|
+
creator_id=pulumi.get(__response__, 'creator_id'),
|
478
|
+
customer=pulumi.get(__response__, 'customer'),
|
479
|
+
default_end_time=pulumi.get(__response__, 'default_end_time'),
|
480
|
+
default_start_time=pulumi.get(__response__, 'default_start_time'),
|
481
|
+
default_time_window=pulumi.get(__response__, 'default_time_window'),
|
482
|
+
deleted=pulumi.get(__response__, 'deleted'),
|
483
|
+
description=pulumi.get(__response__, 'description'),
|
484
|
+
display_description=pulumi.get(__response__, 'display_description'),
|
485
|
+
display_query_parameters=pulumi.get(__response__, 'display_query_parameters'),
|
486
|
+
display_section_table_of_contents=pulumi.get(__response__, 'display_section_table_of_contents'),
|
487
|
+
event_filter_type=pulumi.get(__response__, 'event_filter_type'),
|
488
|
+
event_query=pulumi.get(__response__, 'event_query'),
|
489
|
+
favorite=pulumi.get(__response__, 'favorite'),
|
490
|
+
hidden=pulumi.get(__response__, 'hidden'),
|
491
|
+
id=pulumi.get(__response__, 'id'),
|
492
|
+
name=pulumi.get(__response__, 'name'),
|
493
|
+
num_charts=pulumi.get(__response__, 'num_charts'),
|
494
|
+
num_favorites=pulumi.get(__response__, 'num_favorites'),
|
495
|
+
parameter_details=pulumi.get(__response__, 'parameter_details'),
|
496
|
+
parameters=pulumi.get(__response__, 'parameters'),
|
497
|
+
sections=pulumi.get(__response__, 'sections'),
|
498
|
+
system_owned=pulumi.get(__response__, 'system_owned'),
|
499
|
+
tags=pulumi.get(__response__, 'tags'),
|
500
|
+
updated_epoch_millis=pulumi.get(__response__, 'updated_epoch_millis'),
|
501
|
+
updater_id=pulumi.get(__response__, 'updater_id'),
|
502
|
+
url=pulumi.get(__response__, 'url'),
|
503
|
+
views_last_day=pulumi.get(__response__, 'views_last_day'),
|
504
|
+
views_last_month=pulumi.get(__response__, 'views_last_month'),
|
505
|
+
views_last_week=pulumi.get(__response__, 'views_last_week')))
|
@@ -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
|
|
@@ -87,6 +92,7 @@ def get_dashboards(limit: Optional[int] = None,
|
|
87
92
|
import pulumi
|
88
93
|
import pulumi_wavefront as wavefront
|
89
94
|
|
95
|
+
# Get the information about all dashboards.
|
90
96
|
example = wavefront.get_dashboards(limit=10,
|
91
97
|
offset=0)
|
92
98
|
```
|
@@ -106,12 +112,9 @@ def get_dashboards(limit: Optional[int] = None,
|
|
106
112
|
id=pulumi.get(__ret__, 'id'),
|
107
113
|
limit=pulumi.get(__ret__, 'limit'),
|
108
114
|
offset=pulumi.get(__ret__, 'offset'))
|
109
|
-
|
110
|
-
|
111
|
-
@_utilities.lift_output_func(get_dashboards)
|
112
115
|
def get_dashboards_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
113
116
|
offset: Optional[pulumi.Input[Optional[int]]] = None,
|
114
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardsResult]:
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDashboardsResult]:
|
115
118
|
"""
|
116
119
|
Use this data source to get information about all Wavefront dashboards.
|
117
120
|
|
@@ -121,6 +124,7 @@ def get_dashboards_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
|
121
124
|
import pulumi
|
122
125
|
import pulumi_wavefront as wavefront
|
123
126
|
|
127
|
+
# Get the information about all dashboards.
|
124
128
|
example = wavefront.get_dashboards(limit=10,
|
125
129
|
offset=0)
|
126
130
|
```
|
@@ -129,4 +133,13 @@ def get_dashboards_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
|
129
133
|
:param int limit: Limit is the maximum number of results to be returned. Defaults to 100.
|
130
134
|
:param int offset: Offset is the offset from the first result to be returned. Defaults to 0.
|
131
135
|
"""
|
132
|
-
|
136
|
+
__args__ = dict()
|
137
|
+
__args__['limit'] = limit
|
138
|
+
__args__['offset'] = offset
|
139
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getDashboards:getDashboards', __args__, opts=opts, typ=GetDashboardsResult)
|
141
|
+
return __ret__.apply(lambda __response__: GetDashboardsResult(
|
142
|
+
dashboards=pulumi.get(__response__, 'dashboards'),
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
144
|
+
limit=pulumi.get(__response__, 'limit'),
|
145
|
+
offset=pulumi.get(__response__, 'offset')))
|
@@ -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__ = [
|
@@ -67,6 +72,7 @@ def get_default_user_group(opts: Optional[pulumi.InvokeOptions] = None) -> Await
|
|
67
72
|
import pulumi
|
68
73
|
import pulumi_wavefront as wavefront
|
69
74
|
|
75
|
+
# Get the default user group "Everyone"
|
70
76
|
everyone_group = wavefront.get_default_user_group()
|
71
77
|
```
|
72
78
|
"""
|
@@ -77,10 +83,7 @@ def get_default_user_group(opts: Optional[pulumi.InvokeOptions] = None) -> Await
|
|
77
83
|
return AwaitableGetDefaultUserGroupResult(
|
78
84
|
group_id=pulumi.get(__ret__, 'group_id'),
|
79
85
|
id=pulumi.get(__ret__, 'id'))
|
80
|
-
|
81
|
-
|
82
|
-
@_utilities.lift_output_func(get_default_user_group)
|
83
|
-
def get_default_user_group_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefaultUserGroupResult]:
|
86
|
+
def get_default_user_group_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDefaultUserGroupResult]:
|
84
87
|
"""
|
85
88
|
Use this data source to get the Group ID of the `Everyone` group in Wavefront.
|
86
89
|
|
@@ -90,7 +93,13 @@ def get_default_user_group_output(opts: Optional[pulumi.InvokeOptions] = None) -
|
|
90
93
|
import pulumi
|
91
94
|
import pulumi_wavefront as wavefront
|
92
95
|
|
96
|
+
# Get the default user group "Everyone"
|
93
97
|
everyone_group = wavefront.get_default_user_group()
|
94
98
|
```
|
95
99
|
"""
|
96
|
-
|
100
|
+
__args__ = dict()
|
101
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
102
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getDefaultUserGroup:getDefaultUserGroup', __args__, opts=opts, typ=GetDefaultUserGroupResult)
|
103
|
+
return __ret__.apply(lambda __response__: GetDefaultUserGroupResult(
|
104
|
+
group_id=pulumi.get(__response__, 'group_id'),
|
105
|
+
id=pulumi.get(__response__, 'id')))
|
@@ -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__ = [
|
@@ -331,6 +336,7 @@ def get_derived_metric(id: Optional[str] = None,
|
|
331
336
|
import pulumi
|
332
337
|
import pulumi_wavefront as wavefront
|
333
338
|
|
339
|
+
#Get the information about a derived metric.
|
334
340
|
example = wavefront.get_derived_metric(id="derived_metric_id")
|
335
341
|
```
|
336
342
|
|
@@ -367,11 +373,8 @@ def get_derived_metric(id: Optional[str] = None,
|
|
367
373
|
tags=pulumi.get(__ret__, 'tags'),
|
368
374
|
update_user_id=pulumi.get(__ret__, 'update_user_id'),
|
369
375
|
updated_epoch_millis=pulumi.get(__ret__, 'updated_epoch_millis'))
|
370
|
-
|
371
|
-
|
372
|
-
@_utilities.lift_output_func(get_derived_metric)
|
373
376
|
def get_derived_metric_output(id: Optional[pulumi.Input[str]] = None,
|
374
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDerivedMetricResult]:
|
377
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDerivedMetricResult]:
|
375
378
|
"""
|
376
379
|
Use this data source to get information about a certain Wavefront derived metric by its ID.
|
377
380
|
|
@@ -381,10 +384,39 @@ def get_derived_metric_output(id: Optional[pulumi.Input[str]] = None,
|
|
381
384
|
import pulumi
|
382
385
|
import pulumi_wavefront as wavefront
|
383
386
|
|
387
|
+
#Get the information about a derived metric.
|
384
388
|
example = wavefront.get_derived_metric(id="derived_metric_id")
|
385
389
|
```
|
386
390
|
|
387
391
|
|
388
392
|
:param str id: The ID associated with the derived metric data to be fetched.
|
389
393
|
"""
|
390
|
-
|
394
|
+
__args__ = dict()
|
395
|
+
__args__['id'] = id
|
396
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
397
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getDerivedMetric:getDerivedMetric', __args__, opts=opts, typ=GetDerivedMetricResult)
|
398
|
+
return __ret__.apply(lambda __response__: GetDerivedMetricResult(
|
399
|
+
additional_information=pulumi.get(__response__, 'additional_information'),
|
400
|
+
create_user_id=pulumi.get(__response__, 'create_user_id'),
|
401
|
+
created_epoch_millis=pulumi.get(__response__, 'created_epoch_millis'),
|
402
|
+
deleted=pulumi.get(__response__, 'deleted'),
|
403
|
+
hosts_useds=pulumi.get(__response__, 'hosts_useds'),
|
404
|
+
id=pulumi.get(__response__, 'id'),
|
405
|
+
in_trash=pulumi.get(__response__, 'in_trash'),
|
406
|
+
include_obsolete_metrics=pulumi.get(__response__, 'include_obsolete_metrics'),
|
407
|
+
last_error_message=pulumi.get(__response__, 'last_error_message'),
|
408
|
+
last_failed_time=pulumi.get(__response__, 'last_failed_time'),
|
409
|
+
last_processed_millis=pulumi.get(__response__, 'last_processed_millis'),
|
410
|
+
last_query_time=pulumi.get(__response__, 'last_query_time'),
|
411
|
+
metrics_useds=pulumi.get(__response__, 'metrics_useds'),
|
412
|
+
minutes=pulumi.get(__response__, 'minutes'),
|
413
|
+
name=pulumi.get(__response__, 'name'),
|
414
|
+
points_scanned_at_last_query=pulumi.get(__response__, 'points_scanned_at_last_query'),
|
415
|
+
process_rate_minutes=pulumi.get(__response__, 'process_rate_minutes'),
|
416
|
+
query=pulumi.get(__response__, 'query'),
|
417
|
+
query_failing=pulumi.get(__response__, 'query_failing'),
|
418
|
+
query_qb_enabled=pulumi.get(__response__, 'query_qb_enabled'),
|
419
|
+
statuses=pulumi.get(__response__, 'statuses'),
|
420
|
+
tags=pulumi.get(__response__, 'tags'),
|
421
|
+
update_user_id=pulumi.get(__response__, 'update_user_id'),
|
422
|
+
updated_epoch_millis=pulumi.get(__response__, 'updated_epoch_millis')))
|
@@ -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
|
|
@@ -87,6 +92,7 @@ def get_derived_metrics(limit: Optional[int] = None,
|
|
87
92
|
import pulumi
|
88
93
|
import pulumi_wavefront as wavefront
|
89
94
|
|
95
|
+
# Get the information about all derived metrics.
|
90
96
|
example = wavefront.get_derived_metrics(limit=10,
|
91
97
|
offset=0)
|
92
98
|
```
|
@@ -106,12 +112,9 @@ def get_derived_metrics(limit: Optional[int] = None,
|
|
106
112
|
id=pulumi.get(__ret__, 'id'),
|
107
113
|
limit=pulumi.get(__ret__, 'limit'),
|
108
114
|
offset=pulumi.get(__ret__, 'offset'))
|
109
|
-
|
110
|
-
|
111
|
-
@_utilities.lift_output_func(get_derived_metrics)
|
112
115
|
def get_derived_metrics_output(limit: Optional[pulumi.Input[Optional[int]]] = None,
|
113
116
|
offset: Optional[pulumi.Input[Optional[int]]] = None,
|
114
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDerivedMetricsResult]:
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDerivedMetricsResult]:
|
115
118
|
"""
|
116
119
|
Use this data source to get information about all Wavefront derived metrics.
|
117
120
|
|
@@ -121,6 +124,7 @@ def get_derived_metrics_output(limit: Optional[pulumi.Input[Optional[int]]] = No
|
|
121
124
|
import pulumi
|
122
125
|
import pulumi_wavefront as wavefront
|
123
126
|
|
127
|
+
# Get the information about all derived metrics.
|
124
128
|
example = wavefront.get_derived_metrics(limit=10,
|
125
129
|
offset=0)
|
126
130
|
```
|
@@ -129,4 +133,13 @@ def get_derived_metrics_output(limit: Optional[pulumi.Input[Optional[int]]] = No
|
|
129
133
|
:param int limit: Limit is the maximum number of results to be returned. Defaults to 100.
|
130
134
|
:param int offset: Offset is the offset from the first result to be returned. Defaults to 0.
|
131
135
|
"""
|
132
|
-
|
136
|
+
__args__ = dict()
|
137
|
+
__args__['limit'] = limit
|
138
|
+
__args__['offset'] = offset
|
139
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getDerivedMetrics:getDerivedMetrics', __args__, opts=opts, typ=GetDerivedMetricsResult)
|
141
|
+
return __ret__.apply(lambda __response__: GetDerivedMetricsResult(
|
142
|
+
derived_metrics=pulumi.get(__response__, 'derived_metrics'),
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
144
|
+
limit=pulumi.get(__response__, 'limit'),
|
145
|
+
offset=pulumi.get(__response__, 'offset')))
|
pulumi_wavefront/get_event.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
|
|
12
17
|
__all__ = [
|
@@ -160,6 +165,7 @@ def get_event(id: Optional[str] = None,
|
|
160
165
|
import pulumi
|
161
166
|
import pulumi_wavefront as wavefront
|
162
167
|
|
168
|
+
# Get the information about a Wavefront event by its ID.
|
163
169
|
example = wavefront.get_event(id="sample-event-id")
|
164
170
|
```
|
165
171
|
|
@@ -182,11 +188,8 @@ def get_event(id: Optional[str] = None,
|
|
182
188
|
start_time=pulumi.get(__ret__, 'start_time'),
|
183
189
|
tags=pulumi.get(__ret__, 'tags'),
|
184
190
|
type=pulumi.get(__ret__, 'type'))
|
185
|
-
|
186
|
-
|
187
|
-
@_utilities.lift_output_func(get_event)
|
188
191
|
def get_event_output(id: Optional[pulumi.Input[str]] = None,
|
189
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventResult]:
|
192
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEventResult]:
|
190
193
|
"""
|
191
194
|
Use this data source to get information about a certain Wavefront event.
|
192
195
|
|
@@ -196,10 +199,25 @@ def get_event_output(id: Optional[pulumi.Input[str]] = None,
|
|
196
199
|
import pulumi
|
197
200
|
import pulumi_wavefront as wavefront
|
198
201
|
|
202
|
+
# Get the information about a Wavefront event by its ID.
|
199
203
|
example = wavefront.get_event(id="sample-event-id")
|
200
204
|
```
|
201
205
|
|
202
206
|
|
203
207
|
:param str id: The ID associated with the event data to be fetched.
|
204
208
|
"""
|
205
|
-
|
209
|
+
__args__ = dict()
|
210
|
+
__args__['id'] = id
|
211
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
212
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getEvent:getEvent', __args__, opts=opts, typ=GetEventResult)
|
213
|
+
return __ret__.apply(lambda __response__: GetEventResult(
|
214
|
+
annotations=pulumi.get(__response__, 'annotations'),
|
215
|
+
details=pulumi.get(__response__, 'details'),
|
216
|
+
endtime_key=pulumi.get(__response__, 'endtime_key'),
|
217
|
+
id=pulumi.get(__response__, 'id'),
|
218
|
+
is_ephemeral=pulumi.get(__response__, 'is_ephemeral'),
|
219
|
+
name=pulumi.get(__response__, 'name'),
|
220
|
+
severity=pulumi.get(__response__, 'severity'),
|
221
|
+
start_time=pulumi.get(__response__, 'start_time'),
|
222
|
+
tags=pulumi.get(__response__, 'tags'),
|
223
|
+
type=pulumi.get(__response__, 'type')))
|
pulumi_wavefront/get_events.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
|
|
@@ -113,10 +118,11 @@ def get_events(earliest_start_time_epoch_millis: Optional[int] = None,
|
|
113
118
|
import pulumi
|
114
119
|
import pulumi_wavefront as wavefront
|
115
120
|
|
116
|
-
|
121
|
+
# Get the information about all events
|
122
|
+
example = wavefront.get_events(limit=10,
|
123
|
+
offset=0,
|
117
124
|
latest_start_time_epoch_millis=1665427195,
|
118
|
-
|
119
|
-
offset=0)
|
125
|
+
earliest_start_time_epoch_millis=1665427195)
|
120
126
|
```
|
121
127
|
|
122
128
|
|
@@ -140,14 +146,11 @@ def get_events(earliest_start_time_epoch_millis: Optional[int] = None,
|
|
140
146
|
latest_start_time_epoch_millis=pulumi.get(__ret__, 'latest_start_time_epoch_millis'),
|
141
147
|
limit=pulumi.get(__ret__, 'limit'),
|
142
148
|
offset=pulumi.get(__ret__, 'offset'))
|
143
|
-
|
144
|
-
|
145
|
-
@_utilities.lift_output_func(get_events)
|
146
149
|
def get_events_output(earliest_start_time_epoch_millis: Optional[pulumi.Input[int]] = None,
|
147
150
|
latest_start_time_epoch_millis: Optional[pulumi.Input[int]] = None,
|
148
151
|
limit: Optional[pulumi.Input[Optional[int]]] = None,
|
149
152
|
offset: Optional[pulumi.Input[Optional[int]]] = None,
|
150
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventsResult]:
|
153
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEventsResult]:
|
151
154
|
"""
|
152
155
|
Use this data source to get information about all Wavefront events.
|
153
156
|
|
@@ -157,10 +160,11 @@ def get_events_output(earliest_start_time_epoch_millis: Optional[pulumi.Input[in
|
|
157
160
|
import pulumi
|
158
161
|
import pulumi_wavefront as wavefront
|
159
162
|
|
160
|
-
|
163
|
+
# Get the information about all events
|
164
|
+
example = wavefront.get_events(limit=10,
|
165
|
+
offset=0,
|
161
166
|
latest_start_time_epoch_millis=1665427195,
|
162
|
-
|
163
|
-
offset=0)
|
167
|
+
earliest_start_time_epoch_millis=1665427195)
|
164
168
|
```
|
165
169
|
|
166
170
|
|
@@ -169,4 +173,17 @@ def get_events_output(earliest_start_time_epoch_millis: Optional[pulumi.Input[in
|
|
169
173
|
:param int limit: Limit is the maximum number of results to be returned. Defaults to 100.
|
170
174
|
:param int offset: Offset is the offset from the first result to be returned. Defaults to 0.
|
171
175
|
"""
|
172
|
-
|
176
|
+
__args__ = dict()
|
177
|
+
__args__['earliestStartTimeEpochMillis'] = earliest_start_time_epoch_millis
|
178
|
+
__args__['latestStartTimeEpochMillis'] = latest_start_time_epoch_millis
|
179
|
+
__args__['limit'] = limit
|
180
|
+
__args__['offset'] = offset
|
181
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
182
|
+
__ret__ = pulumi.runtime.invoke_output('wavefront:index/getEvents:getEvents', __args__, opts=opts, typ=GetEventsResult)
|
183
|
+
return __ret__.apply(lambda __response__: GetEventsResult(
|
184
|
+
earliest_start_time_epoch_millis=pulumi.get(__response__, 'earliest_start_time_epoch_millis'),
|
185
|
+
events=pulumi.get(__response__, 'events'),
|
186
|
+
id=pulumi.get(__response__, 'id'),
|
187
|
+
latest_start_time_epoch_millis=pulumi.get(__response__, 'latest_start_time_epoch_millis'),
|
188
|
+
limit=pulumi.get(__response__, 'limit'),
|
189
|
+
offset=pulumi.get(__response__, 'offset')))
|