pulumi-signalfx 7.10.0a1747377586__py3-none-any.whl → 7.11.0__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_signalfx/__init__.py +1 -0
- pulumi_signalfx/_inputs.py +193 -9
- pulumi_signalfx/aws/integration.py +18 -32
- pulumi_signalfx/config/__init__.pyi +5 -0
- pulumi_signalfx/config/vars.py +7 -0
- pulumi_signalfx/dashboard.py +7 -7
- pulumi_signalfx/gcp/integration.py +2 -2
- pulumi_signalfx/get_dimension_values.py +17 -4
- pulumi_signalfx/heatmap_chart.py +7 -7
- pulumi_signalfx/organization_members.py +97 -0
- pulumi_signalfx/outputs.py +156 -6
- pulumi_signalfx/pagerduty/get_integration.py +6 -10
- pulumi_signalfx/pagerduty/integration.py +0 -73
- pulumi_signalfx/provider.py +20 -0
- pulumi_signalfx/pulumi-plugin.json +1 -1
- {pulumi_signalfx-7.10.0a1747377586.dist-info → pulumi_signalfx-7.11.0.dist-info}/METADATA +1 -1
- {pulumi_signalfx-7.10.0a1747377586.dist-info → pulumi_signalfx-7.11.0.dist-info}/RECORD +19 -18
- {pulumi_signalfx-7.10.0a1747377586.dist-info → pulumi_signalfx-7.11.0.dist-info}/WHEEL +1 -1
- {pulumi_signalfx-7.10.0a1747377586.dist-info → pulumi_signalfx-7.11.0.dist-info}/top_level.txt +0 -0
pulumi_signalfx/dashboard.py
CHANGED
|
@@ -48,7 +48,7 @@ class DashboardArgs:
|
|
|
48
48
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
50
50
|
:param pulumi.Input[Sequence[pulumi.Input['DashboardChartArgs']]] charts: Chart ID and layout information for the charts in the dashboard.
|
|
51
|
-
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
51
|
+
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
52
52
|
:param pulumi.Input[Sequence[pulumi.Input['DashboardColumnArgs']]] columns: Column layout. Charts listed will be placed in a single column with the same width and height.
|
|
53
53
|
:param pulumi.Input[builtins.str] description: Description of the dashboard.
|
|
54
54
|
:param pulumi.Input[builtins.int] end_time: Seconds since epoch. Used for visualization.
|
|
@@ -163,7 +163,7 @@ class DashboardArgs:
|
|
|
163
163
|
@pulumi.getter(name="chartsResolution")
|
|
164
164
|
def charts_resolution(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
165
165
|
"""
|
|
166
|
-
Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
166
|
+
Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
167
167
|
"""
|
|
168
168
|
return pulumi.get(self, "charts_resolution")
|
|
169
169
|
|
|
@@ -375,7 +375,7 @@ class _DashboardState:
|
|
|
375
375
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
376
376
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
377
377
|
:param pulumi.Input[Sequence[pulumi.Input['DashboardChartArgs']]] charts: Chart ID and layout information for the charts in the dashboard.
|
|
378
|
-
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
378
|
+
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
379
379
|
:param pulumi.Input[Sequence[pulumi.Input['DashboardColumnArgs']]] columns: Column layout. Charts listed will be placed in a single column with the same width and height.
|
|
380
380
|
:param pulumi.Input[builtins.str] dashboard_group: The ID of the dashboard group that contains the dashboard.
|
|
381
381
|
:param pulumi.Input[builtins.str] description: Description of the dashboard.
|
|
@@ -483,7 +483,7 @@ class _DashboardState:
|
|
|
483
483
|
@pulumi.getter(name="chartsResolution")
|
|
484
484
|
def charts_resolution(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
485
485
|
"""
|
|
486
|
-
Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
486
|
+
Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
487
487
|
"""
|
|
488
488
|
return pulumi.get(self, "charts_resolution")
|
|
489
489
|
|
|
@@ -724,7 +724,7 @@ class Dashboard(pulumi.CustomResource):
|
|
|
724
724
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
725
725
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
726
726
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DashboardChartArgs', 'DashboardChartArgsDict']]]] charts: Chart ID and layout information for the charts in the dashboard.
|
|
727
|
-
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
727
|
+
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
728
728
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DashboardColumnArgs', 'DashboardColumnArgsDict']]]] columns: Column layout. Charts listed will be placed in a single column with the same width and height.
|
|
729
729
|
:param pulumi.Input[builtins.str] dashboard_group: The ID of the dashboard group that contains the dashboard.
|
|
730
730
|
:param pulumi.Input[builtins.str] description: Description of the dashboard.
|
|
@@ -856,7 +856,7 @@ class Dashboard(pulumi.CustomResource):
|
|
|
856
856
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_teams: Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
857
857
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] authorized_writer_users: User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
|
|
858
858
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DashboardChartArgs', 'DashboardChartArgsDict']]]] charts: Chart ID and layout information for the charts in the dashboard.
|
|
859
|
-
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
859
|
+
:param pulumi.Input[builtins.str] charts_resolution: Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
860
860
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DashboardColumnArgs', 'DashboardColumnArgsDict']]]] columns: Column layout. Charts listed will be placed in a single column with the same width and height.
|
|
861
861
|
:param pulumi.Input[builtins.str] dashboard_group: The ID of the dashboard group that contains the dashboard.
|
|
862
862
|
:param pulumi.Input[builtins.str] description: Description of the dashboard.
|
|
@@ -930,7 +930,7 @@ class Dashboard(pulumi.CustomResource):
|
|
|
930
930
|
@pulumi.getter(name="chartsResolution")
|
|
931
931
|
def charts_resolution(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
932
932
|
"""
|
|
933
|
-
Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`,
|
|
933
|
+
Specifies the chart data display resolution for charts in this dashboard. Value can be one of `"default"`, `"low"`, `"high"`, or `"highest"`.
|
|
934
934
|
"""
|
|
935
935
|
return pulumi.get(self, "charts_resolution")
|
|
936
936
|
|
|
@@ -473,7 +473,7 @@ class Integration(pulumi.CustomResource):
|
|
|
473
473
|
"""
|
|
474
474
|
Splunk Observability Cloud GCP Integration.
|
|
475
475
|
|
|
476
|
-
> **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk
|
|
476
|
+
> **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
477
477
|
|
|
478
478
|
:param str resource_name: The name of the resource.
|
|
479
479
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -500,7 +500,7 @@ class Integration(pulumi.CustomResource):
|
|
|
500
500
|
"""
|
|
501
501
|
Splunk Observability Cloud GCP Integration.
|
|
502
502
|
|
|
503
|
-
> **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk
|
|
503
|
+
> **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
504
504
|
|
|
505
505
|
:param str resource_name: The name of the resource.
|
|
506
506
|
:param IntegrationArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -55,6 +55,9 @@ class GetDimensionValuesResult:
|
|
|
55
55
|
@property
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def limit(self) -> Optional[builtins.int]:
|
|
58
|
+
"""
|
|
59
|
+
This allows you to define how many dimensions are returned as the values output.
|
|
60
|
+
"""
|
|
58
61
|
return pulumi.get(self, "limit")
|
|
59
62
|
|
|
60
63
|
@property
|
|
@@ -65,11 +68,17 @@ class GetDimensionValuesResult:
|
|
|
65
68
|
@property
|
|
66
69
|
@pulumi.getter
|
|
67
70
|
def query(self) -> builtins.str:
|
|
71
|
+
"""
|
|
72
|
+
Acepts a query string that allows for defining a key value deintion, wild card matching on values, or where the dimension value exists. Refer to https://dev.splunk.com/observability/reference/api/metrics_metadata/latest#endpoint-retrieve-dimensions-query for more details
|
|
73
|
+
"""
|
|
68
74
|
return pulumi.get(self, "query")
|
|
69
75
|
|
|
70
76
|
@property
|
|
71
77
|
@pulumi.getter
|
|
72
78
|
def values(self) -> Sequence[builtins.str]:
|
|
79
|
+
"""
|
|
80
|
+
List of all the match dimension values that the provided query, ordered by order_by field
|
|
81
|
+
"""
|
|
73
82
|
return pulumi.get(self, "values")
|
|
74
83
|
|
|
75
84
|
|
|
@@ -91,9 +100,11 @@ def get_dimension_values(limit: Optional[builtins.int] = None,
|
|
|
91
100
|
query: Optional[builtins.str] = None,
|
|
92
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDimensionValuesResult:
|
|
93
102
|
"""
|
|
94
|
-
|
|
103
|
+
This data sources allows for obtaining a list of dimension values by on query provided.
|
|
95
104
|
|
|
96
|
-
|
|
105
|
+
|
|
106
|
+
:param builtins.int limit: This allows you to define how many dimensions are returned as the values output.
|
|
107
|
+
:param builtins.str query: Acepts a query string that allows for defining a key value deintion, wild card matching on values, or where the dimension value exists. Refer to https://dev.splunk.com/observability/reference/api/metrics_metadata/latest#endpoint-retrieve-dimensions-query for more details
|
|
97
108
|
"""
|
|
98
109
|
__args__ = dict()
|
|
99
110
|
__args__['limit'] = limit
|
|
@@ -113,9 +124,11 @@ def get_dimension_values_output(limit: Optional[pulumi.Input[Optional[builtins.i
|
|
|
113
124
|
query: Optional[pulumi.Input[builtins.str]] = None,
|
|
114
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDimensionValuesResult]:
|
|
115
126
|
"""
|
|
116
|
-
|
|
127
|
+
This data sources allows for obtaining a list of dimension values by on query provided.
|
|
128
|
+
|
|
117
129
|
|
|
118
|
-
|
|
130
|
+
:param builtins.int limit: This allows you to define how many dimensions are returned as the values output.
|
|
131
|
+
:param builtins.str query: Acepts a query string that allows for defining a key value deintion, wild card matching on values, or where the dimension value exists. Refer to https://dev.splunk.com/observability/reference/api/metrics_metadata/latest#endpoint-retrieve-dimensions-query for more details
|
|
119
132
|
"""
|
|
120
133
|
__args__ = dict()
|
|
121
134
|
__args__['limit'] = limit
|
pulumi_signalfx/heatmap_chart.py
CHANGED
|
@@ -39,7 +39,7 @@ class HeatmapChartArgs:
|
|
|
39
39
|
unit_prefix: Optional[pulumi.Input[builtins.str]] = None):
|
|
40
40
|
"""
|
|
41
41
|
The set of arguments for constructing a HeatmapChart resource.
|
|
42
|
-
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at
|
|
42
|
+
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
43
43
|
:param pulumi.Input['HeatmapChartColorRangeArgs'] color_range: Values and color for the color range. Example: `color_range : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
44
44
|
:param pulumi.Input[Sequence[pulumi.Input['HeatmapChartColorScaleArgs']]] color_scales: One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `color_scale { gt = 60, color = "blue" } color_scale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
45
45
|
:param pulumi.Input[builtins.str] description: Description of the chart.
|
|
@@ -89,7 +89,7 @@ class HeatmapChartArgs:
|
|
|
89
89
|
@pulumi.getter(name="programText")
|
|
90
90
|
def program_text(self) -> pulumi.Input[builtins.str]:
|
|
91
91
|
"""
|
|
92
|
-
Signalflow program text for the chart. More info at
|
|
92
|
+
Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "program_text")
|
|
95
95
|
|
|
@@ -296,7 +296,7 @@ class _HeatmapChartState:
|
|
|
296
296
|
:param pulumi.Input[builtins.int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
297
297
|
:param pulumi.Input[builtins.int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
298
298
|
:param pulumi.Input[builtins.str] name: Name of the chart.
|
|
299
|
-
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at
|
|
299
|
+
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
300
300
|
:param pulumi.Input[builtins.int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
301
301
|
:param pulumi.Input[builtins.str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
302
302
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the resource
|
|
@@ -449,7 +449,7 @@ class _HeatmapChartState:
|
|
|
449
449
|
@pulumi.getter(name="programText")
|
|
450
450
|
def program_text(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
451
451
|
"""
|
|
452
|
-
Signalflow program text for the chart. More info at
|
|
452
|
+
Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
453
453
|
"""
|
|
454
454
|
return pulumi.get(self, "program_text")
|
|
455
455
|
|
|
@@ -608,7 +608,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
608
608
|
:param pulumi.Input[builtins.int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
609
609
|
:param pulumi.Input[builtins.int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
610
610
|
:param pulumi.Input[builtins.str] name: Name of the chart.
|
|
611
|
-
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at
|
|
611
|
+
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
612
612
|
:param pulumi.Input[builtins.int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
613
613
|
:param pulumi.Input[builtins.str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
614
614
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the resource
|
|
@@ -765,7 +765,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
765
765
|
:param pulumi.Input[builtins.int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
766
766
|
:param pulumi.Input[builtins.int] minimum_resolution: The minimum resolution (in seconds) to use for computing the underlying program.
|
|
767
767
|
:param pulumi.Input[builtins.str] name: Name of the chart.
|
|
768
|
-
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at
|
|
768
|
+
:param pulumi.Input[builtins.str] program_text: Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
769
769
|
:param pulumi.Input[builtins.int] refresh_interval: How often (in seconds) to refresh the values of the heatmap.
|
|
770
770
|
:param pulumi.Input[builtins.str] sort_by: The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
771
771
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the resource
|
|
@@ -871,7 +871,7 @@ class HeatmapChart(pulumi.CustomResource):
|
|
|
871
871
|
@pulumi.getter(name="programText")
|
|
872
872
|
def program_text(self) -> pulumi.Output[builtins.str]:
|
|
873
873
|
"""
|
|
874
|
-
Signalflow program text for the chart. More info at
|
|
874
|
+
Signalflow program text for the chart. More info at https://dev.splunk.com/observability/docs/signalflow/.
|
|
875
875
|
"""
|
|
876
876
|
return pulumi.get(self, "program_text")
|
|
877
877
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from . import _utilities
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'OrganizationMembersResult',
|
|
20
|
+
'AwaitableOrganizationMembersResult',
|
|
21
|
+
'organization_members',
|
|
22
|
+
'organization_members_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class OrganizationMembersResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by OrganizationMembers.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, emails=None, id=None, users=None):
|
|
31
|
+
if emails and not isinstance(emails, list):
|
|
32
|
+
raise TypeError("Expected argument 'emails' to be a list")
|
|
33
|
+
pulumi.set(__self__, "emails", emails)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if users and not isinstance(users, list):
|
|
38
|
+
raise TypeError("Expected argument 'users' to be a list")
|
|
39
|
+
pulumi.set(__self__, "users", users)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def emails(self) -> Sequence[builtins.str]:
|
|
44
|
+
return pulumi.get(self, "emails")
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter
|
|
48
|
+
def id(self) -> builtins.str:
|
|
49
|
+
"""
|
|
50
|
+
The provider-assigned unique ID for this managed resource.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "id")
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter
|
|
56
|
+
def users(self) -> Sequence[builtins.str]:
|
|
57
|
+
return pulumi.get(self, "users")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableOrganizationMembersResult(OrganizationMembersResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return OrganizationMembersResult(
|
|
66
|
+
emails=self.emails,
|
|
67
|
+
id=self.id,
|
|
68
|
+
users=self.users)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def organization_members(emails: Optional[Sequence[builtins.str]] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableOrganizationMembersResult:
|
|
73
|
+
"""
|
|
74
|
+
Allows for members to be queried and used as part of other resources. Requires the supplied token to have Admin priviledges.
|
|
75
|
+
"""
|
|
76
|
+
__args__ = dict()
|
|
77
|
+
__args__['emails'] = emails
|
|
78
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
79
|
+
__ret__ = pulumi.runtime.invoke('signalfx:index/organizationMembers:OrganizationMembers', __args__, opts=opts, typ=OrganizationMembersResult).value
|
|
80
|
+
|
|
81
|
+
return AwaitableOrganizationMembersResult(
|
|
82
|
+
emails=pulumi.get(__ret__, 'emails'),
|
|
83
|
+
id=pulumi.get(__ret__, 'id'),
|
|
84
|
+
users=pulumi.get(__ret__, 'users'))
|
|
85
|
+
def organization_members_output(emails: Optional[pulumi.Input[Sequence[builtins.str]]] = None,
|
|
86
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[OrganizationMembersResult]:
|
|
87
|
+
"""
|
|
88
|
+
Allows for members to be queried and used as part of other resources. Requires the supplied token to have Admin priviledges.
|
|
89
|
+
"""
|
|
90
|
+
__args__ = dict()
|
|
91
|
+
__args__['emails'] = emails
|
|
92
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
93
|
+
__ret__ = pulumi.runtime.invoke_output('signalfx:index/organizationMembers:OrganizationMembers', __args__, opts=opts, typ=OrganizationMembersResult)
|
|
94
|
+
return __ret__.apply(lambda __response__: OrganizationMembersResult(
|
|
95
|
+
emails=pulumi.get(__response__, 'emails'),
|
|
96
|
+
id=pulumi.get(__response__, 'id'),
|
|
97
|
+
users=pulumi.get(__response__, 'users')))
|
pulumi_signalfx/outputs.py
CHANGED
|
@@ -41,6 +41,7 @@ __all__ = [
|
|
|
41
41
|
'DataLinkTargetSignalfxDashboard',
|
|
42
42
|
'DataLinkTargetSplunk',
|
|
43
43
|
'DetectorRule',
|
|
44
|
+
'DetectorRuleReminderNotification',
|
|
44
45
|
'DetectorVizOption',
|
|
45
46
|
'HeatmapChartColorRange',
|
|
46
47
|
'HeatmapChartColorScale',
|
|
@@ -65,6 +66,7 @@ __all__ = [
|
|
|
65
66
|
'SloTargetAlertRule',
|
|
66
67
|
'SloTargetAlertRuleRule',
|
|
67
68
|
'SloTargetAlertRuleRuleParameters',
|
|
69
|
+
'SloTargetAlertRuleRuleReminderNotification',
|
|
68
70
|
'TableChartVizOption',
|
|
69
71
|
'TimeChartAxisLeft',
|
|
70
72
|
'TimeChartAxisLeftWatermark',
|
|
@@ -405,7 +407,7 @@ class DashboardEventOverlaySource(dict):
|
|
|
405
407
|
"""
|
|
406
408
|
:param builtins.str property: The name of a dimension to filter against.
|
|
407
409
|
:param Sequence[builtins.str] values: A list of values to be used with the `property`, they will be combined via `OR`.
|
|
408
|
-
:param builtins.bool negated: If true,
|
|
410
|
+
:param builtins.bool negated: If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
409
411
|
"""
|
|
410
412
|
pulumi.set(__self__, "property", property)
|
|
411
413
|
pulumi.set(__self__, "values", values)
|
|
@@ -424,7 +426,7 @@ class DashboardEventOverlaySource(dict):
|
|
|
424
426
|
@pulumi.getter
|
|
425
427
|
def negated(self) -> Optional[builtins.bool]:
|
|
426
428
|
"""
|
|
427
|
-
If true,
|
|
429
|
+
If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
428
430
|
"""
|
|
429
431
|
return pulumi.get(self, "negated")
|
|
430
432
|
|
|
@@ -680,7 +682,7 @@ class DashboardGroupDashboardFilterOverride(dict):
|
|
|
680
682
|
"""
|
|
681
683
|
:param builtins.str property: A metric time series dimension or property name.
|
|
682
684
|
:param Sequence[builtins.str] values: (Optional) List of of strings (which will be treated as an OR filter on the property).
|
|
683
|
-
:param builtins.bool negated: If true,
|
|
685
|
+
:param builtins.bool negated: If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
684
686
|
"""
|
|
685
687
|
pulumi.set(__self__, "property", property)
|
|
686
688
|
pulumi.set(__self__, "values", values)
|
|
@@ -699,7 +701,7 @@ class DashboardGroupDashboardFilterOverride(dict):
|
|
|
699
701
|
@pulumi.getter
|
|
700
702
|
def negated(self) -> Optional[builtins.bool]:
|
|
701
703
|
"""
|
|
702
|
-
If true,
|
|
704
|
+
If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
703
705
|
"""
|
|
704
706
|
return pulumi.get(self, "negated")
|
|
705
707
|
|
|
@@ -1041,7 +1043,7 @@ class DashboardSelectedEventOverlaySource(dict):
|
|
|
1041
1043
|
"""
|
|
1042
1044
|
:param builtins.str property: The name of a dimension to filter against.
|
|
1043
1045
|
:param Sequence[builtins.str] values: A list of values to be used with the `property`, they will be combined via `OR`.
|
|
1044
|
-
:param builtins.bool negated: If true,
|
|
1046
|
+
:param builtins.bool negated: If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
1045
1047
|
"""
|
|
1046
1048
|
pulumi.set(__self__, "property", property)
|
|
1047
1049
|
pulumi.set(__self__, "values", values)
|
|
@@ -1060,7 +1062,7 @@ class DashboardSelectedEventOverlaySource(dict):
|
|
|
1060
1062
|
@pulumi.getter
|
|
1061
1063
|
def negated(self) -> Optional[builtins.bool]:
|
|
1062
1064
|
"""
|
|
1063
|
-
If true,
|
|
1065
|
+
If true, only data that does not match the specified value of the specified property appear in the event overlay. Defaults to `false`.
|
|
1064
1066
|
"""
|
|
1065
1067
|
return pulumi.get(self, "negated")
|
|
1066
1068
|
|
|
@@ -1457,6 +1459,8 @@ class DetectorRule(dict):
|
|
|
1457
1459
|
suggest = "parameterized_body"
|
|
1458
1460
|
elif key == "parameterizedSubject":
|
|
1459
1461
|
suggest = "parameterized_subject"
|
|
1462
|
+
elif key == "reminderNotification":
|
|
1463
|
+
suggest = "reminder_notification"
|
|
1460
1464
|
elif key == "runbookUrl":
|
|
1461
1465
|
suggest = "runbook_url"
|
|
1462
1466
|
|
|
@@ -1479,6 +1483,7 @@ class DetectorRule(dict):
|
|
|
1479
1483
|
notifications: Optional[Sequence[builtins.str]] = None,
|
|
1480
1484
|
parameterized_body: Optional[builtins.str] = None,
|
|
1481
1485
|
parameterized_subject: Optional[builtins.str] = None,
|
|
1486
|
+
reminder_notification: Optional['outputs.DetectorRuleReminderNotification'] = None,
|
|
1482
1487
|
runbook_url: Optional[builtins.str] = None,
|
|
1483
1488
|
tip: Optional[builtins.str] = None):
|
|
1484
1489
|
"""
|
|
@@ -1489,6 +1494,7 @@ class DetectorRule(dict):
|
|
|
1489
1494
|
:param Sequence[builtins.str] notifications: List of strings specifying where notifications will be sent when an incident occurs. See [Create A Single Detector](https://dev.splunk.com/observability/reference/api/detectors/latest) for more info.
|
|
1490
1495
|
:param builtins.str parameterized_body: Custom notification message body when an alert is triggered. See [Set Up Detectors to Trigger Alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html) for more info.
|
|
1491
1496
|
:param builtins.str parameterized_subject: Custom notification message subject when an alert is triggered. See [Set Up Detectors to Trigger Alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html) for more info.
|
|
1497
|
+
:param 'DetectorRuleReminderNotificationArgs' reminder_notification: Reminder notification in a detector rule lets you send multiple notifications for active alerts over a defined period of time. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
|
|
1492
1498
|
:param builtins.str runbook_url: URL of page to consult when an alert is triggered. This can be used with custom notification messages.
|
|
1493
1499
|
:param builtins.str tip: Plain text suggested first course of action, such as a command line to execute. This can be used with custom notification messages.
|
|
1494
1500
|
"""
|
|
@@ -1504,6 +1510,8 @@ class DetectorRule(dict):
|
|
|
1504
1510
|
pulumi.set(__self__, "parameterized_body", parameterized_body)
|
|
1505
1511
|
if parameterized_subject is not None:
|
|
1506
1512
|
pulumi.set(__self__, "parameterized_subject", parameterized_subject)
|
|
1513
|
+
if reminder_notification is not None:
|
|
1514
|
+
pulumi.set(__self__, "reminder_notification", reminder_notification)
|
|
1507
1515
|
if runbook_url is not None:
|
|
1508
1516
|
pulumi.set(__self__, "runbook_url", runbook_url)
|
|
1509
1517
|
if tip is not None:
|
|
@@ -1565,6 +1573,14 @@ class DetectorRule(dict):
|
|
|
1565
1573
|
"""
|
|
1566
1574
|
return pulumi.get(self, "parameterized_subject")
|
|
1567
1575
|
|
|
1576
|
+
@property
|
|
1577
|
+
@pulumi.getter(name="reminderNotification")
|
|
1578
|
+
def reminder_notification(self) -> Optional['outputs.DetectorRuleReminderNotification']:
|
|
1579
|
+
"""
|
|
1580
|
+
Reminder notification in a detector rule lets you send multiple notifications for active alerts over a defined period of time. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
|
|
1581
|
+
"""
|
|
1582
|
+
return pulumi.get(self, "reminder_notification")
|
|
1583
|
+
|
|
1568
1584
|
@property
|
|
1569
1585
|
@pulumi.getter(name="runbookUrl")
|
|
1570
1586
|
def runbook_url(self) -> Optional[builtins.str]:
|
|
@@ -1582,6 +1598,66 @@ class DetectorRule(dict):
|
|
|
1582
1598
|
return pulumi.get(self, "tip")
|
|
1583
1599
|
|
|
1584
1600
|
|
|
1601
|
+
@pulumi.output_type
|
|
1602
|
+
class DetectorRuleReminderNotification(dict):
|
|
1603
|
+
@staticmethod
|
|
1604
|
+
def __key_warning(key: str):
|
|
1605
|
+
suggest = None
|
|
1606
|
+
if key == "intervalMs":
|
|
1607
|
+
suggest = "interval_ms"
|
|
1608
|
+
elif key == "timeoutMs":
|
|
1609
|
+
suggest = "timeout_ms"
|
|
1610
|
+
|
|
1611
|
+
if suggest:
|
|
1612
|
+
pulumi.log.warn(f"Key '{key}' not found in DetectorRuleReminderNotification. Access the value via the '{suggest}' property getter instead.")
|
|
1613
|
+
|
|
1614
|
+
def __getitem__(self, key: str) -> Any:
|
|
1615
|
+
DetectorRuleReminderNotification.__key_warning(key)
|
|
1616
|
+
return super().__getitem__(key)
|
|
1617
|
+
|
|
1618
|
+
def get(self, key: str, default = None) -> Any:
|
|
1619
|
+
DetectorRuleReminderNotification.__key_warning(key)
|
|
1620
|
+
return super().get(key, default)
|
|
1621
|
+
|
|
1622
|
+
def __init__(__self__, *,
|
|
1623
|
+
interval_ms: builtins.int,
|
|
1624
|
+
type: builtins.str,
|
|
1625
|
+
timeout_ms: Optional[builtins.int] = None):
|
|
1626
|
+
"""
|
|
1627
|
+
:param builtins.int interval_ms: The interval at which you want to receive the notifications, in milliseconds.
|
|
1628
|
+
:param builtins.str type: Type of reminder notification. Currently, the only supported value is TIMEOUT.
|
|
1629
|
+
:param builtins.int timeout_ms: The duration during which repeat notifications are sent, in milliseconds.
|
|
1630
|
+
"""
|
|
1631
|
+
pulumi.set(__self__, "interval_ms", interval_ms)
|
|
1632
|
+
pulumi.set(__self__, "type", type)
|
|
1633
|
+
if timeout_ms is not None:
|
|
1634
|
+
pulumi.set(__self__, "timeout_ms", timeout_ms)
|
|
1635
|
+
|
|
1636
|
+
@property
|
|
1637
|
+
@pulumi.getter(name="intervalMs")
|
|
1638
|
+
def interval_ms(self) -> builtins.int:
|
|
1639
|
+
"""
|
|
1640
|
+
The interval at which you want to receive the notifications, in milliseconds.
|
|
1641
|
+
"""
|
|
1642
|
+
return pulumi.get(self, "interval_ms")
|
|
1643
|
+
|
|
1644
|
+
@property
|
|
1645
|
+
@pulumi.getter
|
|
1646
|
+
def type(self) -> builtins.str:
|
|
1647
|
+
"""
|
|
1648
|
+
Type of reminder notification. Currently, the only supported value is TIMEOUT.
|
|
1649
|
+
"""
|
|
1650
|
+
return pulumi.get(self, "type")
|
|
1651
|
+
|
|
1652
|
+
@property
|
|
1653
|
+
@pulumi.getter(name="timeoutMs")
|
|
1654
|
+
def timeout_ms(self) -> Optional[builtins.int]:
|
|
1655
|
+
"""
|
|
1656
|
+
The duration during which repeat notifications are sent, in milliseconds.
|
|
1657
|
+
"""
|
|
1658
|
+
return pulumi.get(self, "timeout_ms")
|
|
1659
|
+
|
|
1660
|
+
|
|
1585
1661
|
@pulumi.output_type
|
|
1586
1662
|
class DetectorVizOption(dict):
|
|
1587
1663
|
@staticmethod
|
|
@@ -3023,6 +3099,8 @@ class SloTargetAlertRuleRule(dict):
|
|
|
3023
3099
|
suggest = "parameterized_body"
|
|
3024
3100
|
elif key == "parameterizedSubject":
|
|
3025
3101
|
suggest = "parameterized_subject"
|
|
3102
|
+
elif key == "reminderNotification":
|
|
3103
|
+
suggest = "reminder_notification"
|
|
3026
3104
|
elif key == "runbookUrl":
|
|
3027
3105
|
suggest = "runbook_url"
|
|
3028
3106
|
|
|
@@ -3045,6 +3123,7 @@ class SloTargetAlertRuleRule(dict):
|
|
|
3045
3123
|
parameterized_body: Optional[builtins.str] = None,
|
|
3046
3124
|
parameterized_subject: Optional[builtins.str] = None,
|
|
3047
3125
|
parameters: Optional['outputs.SloTargetAlertRuleRuleParameters'] = None,
|
|
3126
|
+
reminder_notification: Optional['outputs.SloTargetAlertRuleRuleReminderNotification'] = None,
|
|
3048
3127
|
runbook_url: Optional[builtins.str] = None,
|
|
3049
3128
|
tip: Optional[builtins.str] = None):
|
|
3050
3129
|
"""
|
|
@@ -3055,6 +3134,7 @@ class SloTargetAlertRuleRule(dict):
|
|
|
3055
3134
|
:param builtins.str parameterized_body: Custom notification message body when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
3056
3135
|
:param builtins.str parameterized_subject: Custom notification message subject when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
3057
3136
|
:param 'SloTargetAlertRuleRuleParametersArgs' parameters: Parameters for the SLO alert rule. Each SLO alert rule type accepts different parameters. If not specified, default parameters are used.
|
|
3137
|
+
:param 'SloTargetAlertRuleRuleReminderNotificationArgs' reminder_notification: Reminder notification in a detector rule lets you send multiple notifications for active alerts over a defined period of time.
|
|
3058
3138
|
:param builtins.str runbook_url: URL of page to consult when an alert is triggered. This can be used with custom notification messages.
|
|
3059
3139
|
:param builtins.str tip: Plain text suggested first course of action, such as a command line to execute. This can be used with custom notification messages.
|
|
3060
3140
|
"""
|
|
@@ -3071,6 +3151,8 @@ class SloTargetAlertRuleRule(dict):
|
|
|
3071
3151
|
pulumi.set(__self__, "parameterized_subject", parameterized_subject)
|
|
3072
3152
|
if parameters is not None:
|
|
3073
3153
|
pulumi.set(__self__, "parameters", parameters)
|
|
3154
|
+
if reminder_notification is not None:
|
|
3155
|
+
pulumi.set(__self__, "reminder_notification", reminder_notification)
|
|
3074
3156
|
if runbook_url is not None:
|
|
3075
3157
|
pulumi.set(__self__, "runbook_url", runbook_url)
|
|
3076
3158
|
if tip is not None:
|
|
@@ -3132,6 +3214,14 @@ class SloTargetAlertRuleRule(dict):
|
|
|
3132
3214
|
"""
|
|
3133
3215
|
return pulumi.get(self, "parameters")
|
|
3134
3216
|
|
|
3217
|
+
@property
|
|
3218
|
+
@pulumi.getter(name="reminderNotification")
|
|
3219
|
+
def reminder_notification(self) -> Optional['outputs.SloTargetAlertRuleRuleReminderNotification']:
|
|
3220
|
+
"""
|
|
3221
|
+
Reminder notification in a detector rule lets you send multiple notifications for active alerts over a defined period of time.
|
|
3222
|
+
"""
|
|
3223
|
+
return pulumi.get(self, "reminder_notification")
|
|
3224
|
+
|
|
3135
3225
|
@property
|
|
3136
3226
|
@pulumi.getter(name="runbookUrl")
|
|
3137
3227
|
def runbook_url(self) -> Optional[builtins.str]:
|
|
@@ -3297,6 +3387,66 @@ class SloTargetAlertRuleRuleParameters(dict):
|
|
|
3297
3387
|
return pulumi.get(self, "short_window2")
|
|
3298
3388
|
|
|
3299
3389
|
|
|
3390
|
+
@pulumi.output_type
|
|
3391
|
+
class SloTargetAlertRuleRuleReminderNotification(dict):
|
|
3392
|
+
@staticmethod
|
|
3393
|
+
def __key_warning(key: str):
|
|
3394
|
+
suggest = None
|
|
3395
|
+
if key == "intervalMs":
|
|
3396
|
+
suggest = "interval_ms"
|
|
3397
|
+
elif key == "timeoutMs":
|
|
3398
|
+
suggest = "timeout_ms"
|
|
3399
|
+
|
|
3400
|
+
if suggest:
|
|
3401
|
+
pulumi.log.warn(f"Key '{key}' not found in SloTargetAlertRuleRuleReminderNotification. Access the value via the '{suggest}' property getter instead.")
|
|
3402
|
+
|
|
3403
|
+
def __getitem__(self, key: str) -> Any:
|
|
3404
|
+
SloTargetAlertRuleRuleReminderNotification.__key_warning(key)
|
|
3405
|
+
return super().__getitem__(key)
|
|
3406
|
+
|
|
3407
|
+
def get(self, key: str, default = None) -> Any:
|
|
3408
|
+
SloTargetAlertRuleRuleReminderNotification.__key_warning(key)
|
|
3409
|
+
return super().get(key, default)
|
|
3410
|
+
|
|
3411
|
+
def __init__(__self__, *,
|
|
3412
|
+
interval_ms: builtins.int,
|
|
3413
|
+
type: builtins.str,
|
|
3414
|
+
timeout_ms: Optional[builtins.int] = None):
|
|
3415
|
+
"""
|
|
3416
|
+
:param builtins.int interval_ms: The interval at which you want to receive the notifications, in milliseconds.
|
|
3417
|
+
:param builtins.str type: Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
3418
|
+
:param builtins.int timeout_ms: The duration during which repeat notifications are sent, in milliseconds.
|
|
3419
|
+
"""
|
|
3420
|
+
pulumi.set(__self__, "interval_ms", interval_ms)
|
|
3421
|
+
pulumi.set(__self__, "type", type)
|
|
3422
|
+
if timeout_ms is not None:
|
|
3423
|
+
pulumi.set(__self__, "timeout_ms", timeout_ms)
|
|
3424
|
+
|
|
3425
|
+
@property
|
|
3426
|
+
@pulumi.getter(name="intervalMs")
|
|
3427
|
+
def interval_ms(self) -> builtins.int:
|
|
3428
|
+
"""
|
|
3429
|
+
The interval at which you want to receive the notifications, in milliseconds.
|
|
3430
|
+
"""
|
|
3431
|
+
return pulumi.get(self, "interval_ms")
|
|
3432
|
+
|
|
3433
|
+
@property
|
|
3434
|
+
@pulumi.getter
|
|
3435
|
+
def type(self) -> builtins.str:
|
|
3436
|
+
"""
|
|
3437
|
+
Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
3438
|
+
"""
|
|
3439
|
+
return pulumi.get(self, "type")
|
|
3440
|
+
|
|
3441
|
+
@property
|
|
3442
|
+
@pulumi.getter(name="timeoutMs")
|
|
3443
|
+
def timeout_ms(self) -> Optional[builtins.int]:
|
|
3444
|
+
"""
|
|
3445
|
+
The duration during which repeat notifications are sent, in milliseconds.
|
|
3446
|
+
"""
|
|
3447
|
+
return pulumi.get(self, "timeout_ms")
|
|
3448
|
+
|
|
3449
|
+
|
|
3300
3450
|
@pulumi.output_type
|
|
3301
3451
|
class TableChartVizOption(dict):
|
|
3302
3452
|
@staticmethod
|