pulumi-signalfx 7.14.0a1752906964__py3-none-any.whl → 7.15.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 +20 -1
- pulumi_signalfx/_inputs.py +1510 -1511
- pulumi_signalfx/alert_muting_rule.py +82 -83
- pulumi_signalfx/automatedarchival/__init__.py +12 -0
- pulumi_signalfx/automatedarchival/_inputs.py +134 -0
- pulumi_signalfx/automatedarchival/exempt_metric.py +152 -0
- pulumi_signalfx/automatedarchival/outputs.py +105 -0
- pulumi_signalfx/automatedarchival/settings.py +433 -0
- pulumi_signalfx/aws/__init__.py +1 -1
- pulumi_signalfx/aws/_inputs.py +67 -68
- pulumi_signalfx/aws/external_integration.py +36 -37
- pulumi_signalfx/aws/integration.py +351 -352
- pulumi_signalfx/aws/outputs.py +45 -46
- pulumi_signalfx/aws/token_integration.py +36 -37
- pulumi_signalfx/azure/__init__.py +1 -1
- pulumi_signalfx/azure/_inputs.py +19 -20
- pulumi_signalfx/azure/integration.py +275 -229
- pulumi_signalfx/azure/outputs.py +13 -14
- pulumi_signalfx/config/__init__.py +1 -1
- pulumi_signalfx/config/__init__.pyi +2 -3
- pulumi_signalfx/config/vars.py +15 -16
- pulumi_signalfx/dashboard.py +230 -231
- pulumi_signalfx/dashboard_group.py +95 -96
- pulumi_signalfx/data_link.py +64 -65
- pulumi_signalfx/detector.py +331 -332
- pulumi_signalfx/event_feed_chart.py +129 -130
- pulumi_signalfx/gcp/__init__.py +1 -1
- pulumi_signalfx/gcp/_inputs.py +21 -22
- pulumi_signalfx/gcp/integration.py +194 -195
- pulumi_signalfx/gcp/outputs.py +13 -14
- pulumi_signalfx/get_dimension_values.py +21 -22
- pulumi_signalfx/heatmap_chart.py +237 -238
- pulumi_signalfx/jira/__init__.py +1 -1
- pulumi_signalfx/jira/integration.py +205 -206
- pulumi_signalfx/list_chart.py +325 -326
- pulumi_signalfx/log/__init__.py +1 -1
- pulumi_signalfx/log/_inputs.py +19 -20
- pulumi_signalfx/log/outputs.py +13 -14
- pulumi_signalfx/log/timeline.py +146 -147
- pulumi_signalfx/log/view.py +152 -153
- pulumi_signalfx/metric_ruleset.py +98 -99
- pulumi_signalfx/opsgenie/__init__.py +1 -1
- pulumi_signalfx/opsgenie/integration.py +69 -70
- pulumi_signalfx/org_token.py +101 -102
- pulumi_signalfx/organization_members.py +9 -10
- pulumi_signalfx/outputs.py +1015 -1016
- pulumi_signalfx/pagerduty/__init__.py +1 -1
- pulumi_signalfx/pagerduty/get_integration.py +11 -12
- pulumi_signalfx/pagerduty/integration.py +52 -53
- pulumi_signalfx/provider.py +124 -120
- pulumi_signalfx/pulumi-plugin.json +1 -1
- pulumi_signalfx/servicenow/__init__.py +1 -1
- pulumi_signalfx/servicenow/integration.py +137 -138
- pulumi_signalfx/single_value_chart.py +237 -238
- pulumi_signalfx/slack/__init__.py +1 -1
- pulumi_signalfx/slack/integration.py +52 -53
- pulumi_signalfx/slo.py +58 -59
- pulumi_signalfx/slo_chart.py +27 -28
- pulumi_signalfx/table_chart.py +217 -218
- pulumi_signalfx/team.py +163 -164
- pulumi_signalfx/text_chart.py +78 -79
- pulumi_signalfx/time_chart.py +385 -386
- pulumi_signalfx/victorops/__init__.py +1 -1
- pulumi_signalfx/victorops/integration.py +52 -53
- pulumi_signalfx/webhook_integration.py +102 -103
- {pulumi_signalfx-7.14.0a1752906964.dist-info → pulumi_signalfx-7.15.0.dist-info}/METADATA +1 -1
- pulumi_signalfx-7.15.0.dist-info/RECORD +71 -0
- pulumi_signalfx-7.14.0a1752906964.dist-info/RECORD +0 -66
- {pulumi_signalfx-7.14.0a1752906964.dist-info → pulumi_signalfx-7.15.0.dist-info}/WHEEL +0 -0
- {pulumi_signalfx-7.14.0a1752906964.dist-info → pulumi_signalfx-7.15.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,433 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
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
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['SettingsArgs', 'Settings']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class SettingsArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
enabled: pulumi.Input[_builtins.bool],
|
23
|
+
grace_period: pulumi.Input[_builtins.str],
|
24
|
+
lookback_period: pulumi.Input[_builtins.str],
|
25
|
+
ruleset_limit: Optional[pulumi.Input[_builtins.int]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a Settings resource.
|
28
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
|
29
|
+
:param pulumi.Input[_builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
30
|
+
:param pulumi.Input[_builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
31
|
+
:param pulumi.Input[_builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "enabled", enabled)
|
34
|
+
pulumi.set(__self__, "grace_period", grace_period)
|
35
|
+
pulumi.set(__self__, "lookback_period", lookback_period)
|
36
|
+
if ruleset_limit is not None:
|
37
|
+
pulumi.set(__self__, "ruleset_limit", ruleset_limit)
|
38
|
+
|
39
|
+
@_builtins.property
|
40
|
+
@pulumi.getter
|
41
|
+
def enabled(self) -> pulumi.Input[_builtins.bool]:
|
42
|
+
"""
|
43
|
+
Whether the automated archival is enabled for this organization or not
|
44
|
+
"""
|
45
|
+
return pulumi.get(self, "enabled")
|
46
|
+
|
47
|
+
@enabled.setter
|
48
|
+
def enabled(self, value: pulumi.Input[_builtins.bool]):
|
49
|
+
pulumi.set(self, "enabled", value)
|
50
|
+
|
51
|
+
@_builtins.property
|
52
|
+
@pulumi.getter(name="gracePeriod")
|
53
|
+
def grace_period(self) -> pulumi.Input[_builtins.str]:
|
54
|
+
"""
|
55
|
+
Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "grace_period")
|
58
|
+
|
59
|
+
@grace_period.setter
|
60
|
+
def grace_period(self, value: pulumi.Input[_builtins.str]):
|
61
|
+
pulumi.set(self, "grace_period", value)
|
62
|
+
|
63
|
+
@_builtins.property
|
64
|
+
@pulumi.getter(name="lookbackPeriod")
|
65
|
+
def lookback_period(self) -> pulumi.Input[_builtins.str]:
|
66
|
+
"""
|
67
|
+
This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "lookback_period")
|
70
|
+
|
71
|
+
@lookback_period.setter
|
72
|
+
def lookback_period(self, value: pulumi.Input[_builtins.str]):
|
73
|
+
pulumi.set(self, "lookback_period", value)
|
74
|
+
|
75
|
+
@_builtins.property
|
76
|
+
@pulumi.getter(name="rulesetLimit")
|
77
|
+
def ruleset_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
78
|
+
"""
|
79
|
+
Org limit for the number of rulesets that can be created
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "ruleset_limit")
|
82
|
+
|
83
|
+
@ruleset_limit.setter
|
84
|
+
def ruleset_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
85
|
+
pulumi.set(self, "ruleset_limit", value)
|
86
|
+
|
87
|
+
|
88
|
+
@pulumi.input_type
|
89
|
+
class _SettingsState:
|
90
|
+
def __init__(__self__, *,
|
91
|
+
created: Optional[pulumi.Input[_builtins.int]] = None,
|
92
|
+
creator: Optional[pulumi.Input[_builtins.str]] = None,
|
93
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
94
|
+
grace_period: Optional[pulumi.Input[_builtins.str]] = None,
|
95
|
+
last_updated: Optional[pulumi.Input[_builtins.int]] = None,
|
96
|
+
last_updated_by: Optional[pulumi.Input[_builtins.str]] = None,
|
97
|
+
lookback_period: Optional[pulumi.Input[_builtins.str]] = None,
|
98
|
+
ruleset_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
99
|
+
version: Optional[pulumi.Input[_builtins.str]] = None):
|
100
|
+
"""
|
101
|
+
Input properties used for looking up and filtering Settings resources.
|
102
|
+
:param pulumi.Input[_builtins.int] created: Timestamp of when the automated archival setting was created
|
103
|
+
:param pulumi.Input[_builtins.str] creator: ID of the creator of the automated archival setting
|
104
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
|
105
|
+
:param pulumi.Input[_builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
106
|
+
:param pulumi.Input[_builtins.int] last_updated: Timestamp of when the automated archival setting was last updated
|
107
|
+
:param pulumi.Input[_builtins.str] last_updated_by: ID of user who last updated the automated archival setting
|
108
|
+
:param pulumi.Input[_builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
109
|
+
:param pulumi.Input[_builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
|
110
|
+
:param pulumi.Input[_builtins.str] version: Version of the automated archival setting
|
111
|
+
"""
|
112
|
+
if created is not None:
|
113
|
+
pulumi.set(__self__, "created", created)
|
114
|
+
if creator is not None:
|
115
|
+
pulumi.set(__self__, "creator", creator)
|
116
|
+
if enabled is not None:
|
117
|
+
pulumi.set(__self__, "enabled", enabled)
|
118
|
+
if grace_period is not None:
|
119
|
+
pulumi.set(__self__, "grace_period", grace_period)
|
120
|
+
if last_updated is not None:
|
121
|
+
pulumi.set(__self__, "last_updated", last_updated)
|
122
|
+
if last_updated_by is not None:
|
123
|
+
pulumi.set(__self__, "last_updated_by", last_updated_by)
|
124
|
+
if lookback_period is not None:
|
125
|
+
pulumi.set(__self__, "lookback_period", lookback_period)
|
126
|
+
if ruleset_limit is not None:
|
127
|
+
pulumi.set(__self__, "ruleset_limit", ruleset_limit)
|
128
|
+
if version is not None:
|
129
|
+
pulumi.set(__self__, "version", version)
|
130
|
+
|
131
|
+
@_builtins.property
|
132
|
+
@pulumi.getter
|
133
|
+
def created(self) -> Optional[pulumi.Input[_builtins.int]]:
|
134
|
+
"""
|
135
|
+
Timestamp of when the automated archival setting was created
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "created")
|
138
|
+
|
139
|
+
@created.setter
|
140
|
+
def created(self, value: Optional[pulumi.Input[_builtins.int]]):
|
141
|
+
pulumi.set(self, "created", value)
|
142
|
+
|
143
|
+
@_builtins.property
|
144
|
+
@pulumi.getter
|
145
|
+
def creator(self) -> Optional[pulumi.Input[_builtins.str]]:
|
146
|
+
"""
|
147
|
+
ID of the creator of the automated archival setting
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "creator")
|
150
|
+
|
151
|
+
@creator.setter
|
152
|
+
def creator(self, value: Optional[pulumi.Input[_builtins.str]]):
|
153
|
+
pulumi.set(self, "creator", value)
|
154
|
+
|
155
|
+
@_builtins.property
|
156
|
+
@pulumi.getter
|
157
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
158
|
+
"""
|
159
|
+
Whether the automated archival is enabled for this organization or not
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "enabled")
|
162
|
+
|
163
|
+
@enabled.setter
|
164
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
165
|
+
pulumi.set(self, "enabled", value)
|
166
|
+
|
167
|
+
@_builtins.property
|
168
|
+
@pulumi.getter(name="gracePeriod")
|
169
|
+
def grace_period(self) -> Optional[pulumi.Input[_builtins.str]]:
|
170
|
+
"""
|
171
|
+
Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "grace_period")
|
174
|
+
|
175
|
+
@grace_period.setter
|
176
|
+
def grace_period(self, value: Optional[pulumi.Input[_builtins.str]]):
|
177
|
+
pulumi.set(self, "grace_period", value)
|
178
|
+
|
179
|
+
@_builtins.property
|
180
|
+
@pulumi.getter(name="lastUpdated")
|
181
|
+
def last_updated(self) -> Optional[pulumi.Input[_builtins.int]]:
|
182
|
+
"""
|
183
|
+
Timestamp of when the automated archival setting was last updated
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "last_updated")
|
186
|
+
|
187
|
+
@last_updated.setter
|
188
|
+
def last_updated(self, value: Optional[pulumi.Input[_builtins.int]]):
|
189
|
+
pulumi.set(self, "last_updated", value)
|
190
|
+
|
191
|
+
@_builtins.property
|
192
|
+
@pulumi.getter(name="lastUpdatedBy")
|
193
|
+
def last_updated_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
194
|
+
"""
|
195
|
+
ID of user who last updated the automated archival setting
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "last_updated_by")
|
198
|
+
|
199
|
+
@last_updated_by.setter
|
200
|
+
def last_updated_by(self, value: Optional[pulumi.Input[_builtins.str]]):
|
201
|
+
pulumi.set(self, "last_updated_by", value)
|
202
|
+
|
203
|
+
@_builtins.property
|
204
|
+
@pulumi.getter(name="lookbackPeriod")
|
205
|
+
def lookback_period(self) -> Optional[pulumi.Input[_builtins.str]]:
|
206
|
+
"""
|
207
|
+
This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "lookback_period")
|
210
|
+
|
211
|
+
@lookback_period.setter
|
212
|
+
def lookback_period(self, value: Optional[pulumi.Input[_builtins.str]]):
|
213
|
+
pulumi.set(self, "lookback_period", value)
|
214
|
+
|
215
|
+
@_builtins.property
|
216
|
+
@pulumi.getter(name="rulesetLimit")
|
217
|
+
def ruleset_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
218
|
+
"""
|
219
|
+
Org limit for the number of rulesets that can be created
|
220
|
+
"""
|
221
|
+
return pulumi.get(self, "ruleset_limit")
|
222
|
+
|
223
|
+
@ruleset_limit.setter
|
224
|
+
def ruleset_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
225
|
+
pulumi.set(self, "ruleset_limit", value)
|
226
|
+
|
227
|
+
@_builtins.property
|
228
|
+
@pulumi.getter
|
229
|
+
def version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
230
|
+
"""
|
231
|
+
Version of the automated archival setting
|
232
|
+
"""
|
233
|
+
return pulumi.get(self, "version")
|
234
|
+
|
235
|
+
@version.setter
|
236
|
+
def version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
237
|
+
pulumi.set(self, "version", value)
|
238
|
+
|
239
|
+
|
240
|
+
@pulumi.type_token("signalfx:automatedarchival/settings:Settings")
|
241
|
+
class Settings(pulumi.CustomResource):
|
242
|
+
@overload
|
243
|
+
def __init__(__self__,
|
244
|
+
resource_name: str,
|
245
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
246
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
247
|
+
grace_period: Optional[pulumi.Input[_builtins.str]] = None,
|
248
|
+
lookback_period: Optional[pulumi.Input[_builtins.str]] = None,
|
249
|
+
ruleset_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
250
|
+
__props__=None):
|
251
|
+
"""
|
252
|
+
Create a Settings resource with the given unique name, props, and options.
|
253
|
+
:param str resource_name: The name of the resource.
|
254
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
255
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
|
256
|
+
:param pulumi.Input[_builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
257
|
+
:param pulumi.Input[_builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
258
|
+
:param pulumi.Input[_builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
|
259
|
+
"""
|
260
|
+
...
|
261
|
+
@overload
|
262
|
+
def __init__(__self__,
|
263
|
+
resource_name: str,
|
264
|
+
args: SettingsArgs,
|
265
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
266
|
+
"""
|
267
|
+
Create a Settings resource with the given unique name, props, and options.
|
268
|
+
:param str resource_name: The name of the resource.
|
269
|
+
:param SettingsArgs args: The arguments to use to populate this resource's properties.
|
270
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
271
|
+
"""
|
272
|
+
...
|
273
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
274
|
+
resource_args, opts = _utilities.get_resource_args_opts(SettingsArgs, pulumi.ResourceOptions, *args, **kwargs)
|
275
|
+
if resource_args is not None:
|
276
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
277
|
+
else:
|
278
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
279
|
+
|
280
|
+
def _internal_init(__self__,
|
281
|
+
resource_name: str,
|
282
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
283
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
284
|
+
grace_period: Optional[pulumi.Input[_builtins.str]] = None,
|
285
|
+
lookback_period: Optional[pulumi.Input[_builtins.str]] = None,
|
286
|
+
ruleset_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
287
|
+
__props__=None):
|
288
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
289
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
290
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
291
|
+
if opts.id is None:
|
292
|
+
if __props__ is not None:
|
293
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
294
|
+
__props__ = SettingsArgs.__new__(SettingsArgs)
|
295
|
+
|
296
|
+
if enabled is None and not opts.urn:
|
297
|
+
raise TypeError("Missing required property 'enabled'")
|
298
|
+
__props__.__dict__["enabled"] = enabled
|
299
|
+
if grace_period is None and not opts.urn:
|
300
|
+
raise TypeError("Missing required property 'grace_period'")
|
301
|
+
__props__.__dict__["grace_period"] = grace_period
|
302
|
+
if lookback_period is None and not opts.urn:
|
303
|
+
raise TypeError("Missing required property 'lookback_period'")
|
304
|
+
__props__.__dict__["lookback_period"] = lookback_period
|
305
|
+
__props__.__dict__["ruleset_limit"] = ruleset_limit
|
306
|
+
__props__.__dict__["created"] = None
|
307
|
+
__props__.__dict__["creator"] = None
|
308
|
+
__props__.__dict__["last_updated"] = None
|
309
|
+
__props__.__dict__["last_updated_by"] = None
|
310
|
+
__props__.__dict__["version"] = None
|
311
|
+
super(Settings, __self__).__init__(
|
312
|
+
'signalfx:automatedarchival/settings:Settings',
|
313
|
+
resource_name,
|
314
|
+
__props__,
|
315
|
+
opts)
|
316
|
+
|
317
|
+
@staticmethod
|
318
|
+
def get(resource_name: str,
|
319
|
+
id: pulumi.Input[str],
|
320
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
321
|
+
created: Optional[pulumi.Input[_builtins.int]] = None,
|
322
|
+
creator: Optional[pulumi.Input[_builtins.str]] = None,
|
323
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
324
|
+
grace_period: Optional[pulumi.Input[_builtins.str]] = None,
|
325
|
+
last_updated: Optional[pulumi.Input[_builtins.int]] = None,
|
326
|
+
last_updated_by: Optional[pulumi.Input[_builtins.str]] = None,
|
327
|
+
lookback_period: Optional[pulumi.Input[_builtins.str]] = None,
|
328
|
+
ruleset_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
329
|
+
version: Optional[pulumi.Input[_builtins.str]] = None) -> 'Settings':
|
330
|
+
"""
|
331
|
+
Get an existing Settings resource's state with the given name, id, and optional extra
|
332
|
+
properties used to qualify the lookup.
|
333
|
+
|
334
|
+
:param str resource_name: The unique name of the resulting resource.
|
335
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
336
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
337
|
+
:param pulumi.Input[_builtins.int] created: Timestamp of when the automated archival setting was created
|
338
|
+
:param pulumi.Input[_builtins.str] creator: ID of the creator of the automated archival setting
|
339
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the automated archival is enabled for this organization or not
|
340
|
+
:param pulumi.Input[_builtins.str] grace_period: Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
341
|
+
:param pulumi.Input[_builtins.int] last_updated: Timestamp of when the automated archival setting was last updated
|
342
|
+
:param pulumi.Input[_builtins.str] last_updated_by: ID of user who last updated the automated archival setting
|
343
|
+
:param pulumi.Input[_builtins.str] lookback_period: This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
344
|
+
:param pulumi.Input[_builtins.int] ruleset_limit: Org limit for the number of rulesets that can be created
|
345
|
+
:param pulumi.Input[_builtins.str] version: Version of the automated archival setting
|
346
|
+
"""
|
347
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
348
|
+
|
349
|
+
__props__ = _SettingsState.__new__(_SettingsState)
|
350
|
+
|
351
|
+
__props__.__dict__["created"] = created
|
352
|
+
__props__.__dict__["creator"] = creator
|
353
|
+
__props__.__dict__["enabled"] = enabled
|
354
|
+
__props__.__dict__["grace_period"] = grace_period
|
355
|
+
__props__.__dict__["last_updated"] = last_updated
|
356
|
+
__props__.__dict__["last_updated_by"] = last_updated_by
|
357
|
+
__props__.__dict__["lookback_period"] = lookback_period
|
358
|
+
__props__.__dict__["ruleset_limit"] = ruleset_limit
|
359
|
+
__props__.__dict__["version"] = version
|
360
|
+
return Settings(resource_name, opts=opts, __props__=__props__)
|
361
|
+
|
362
|
+
@_builtins.property
|
363
|
+
@pulumi.getter
|
364
|
+
def created(self) -> pulumi.Output[_builtins.int]:
|
365
|
+
"""
|
366
|
+
Timestamp of when the automated archival setting was created
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "created")
|
369
|
+
|
370
|
+
@_builtins.property
|
371
|
+
@pulumi.getter
|
372
|
+
def creator(self) -> pulumi.Output[_builtins.str]:
|
373
|
+
"""
|
374
|
+
ID of the creator of the automated archival setting
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "creator")
|
377
|
+
|
378
|
+
@_builtins.property
|
379
|
+
@pulumi.getter
|
380
|
+
def enabled(self) -> pulumi.Output[_builtins.bool]:
|
381
|
+
"""
|
382
|
+
Whether the automated archival is enabled for this organization or not
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "enabled")
|
385
|
+
|
386
|
+
@_builtins.property
|
387
|
+
@pulumi.getter(name="gracePeriod")
|
388
|
+
def grace_period(self) -> pulumi.Output[_builtins.str]:
|
389
|
+
"""
|
390
|
+
Grace period is an org level setting that applies to the newly created metrics. This allows customers to protect newly added metrics that users haven’t had the time to use in charts and detectors from being automatically archived The value here uses ISO 8061 duration format. Examples - 'P0D', 'P15D', 'P30D', 'P45D', 'P60D'
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "grace_period")
|
393
|
+
|
394
|
+
@_builtins.property
|
395
|
+
@pulumi.getter(name="lastUpdated")
|
396
|
+
def last_updated(self) -> pulumi.Output[_builtins.int]:
|
397
|
+
"""
|
398
|
+
Timestamp of when the automated archival setting was last updated
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "last_updated")
|
401
|
+
|
402
|
+
@_builtins.property
|
403
|
+
@pulumi.getter(name="lastUpdatedBy")
|
404
|
+
def last_updated_by(self) -> pulumi.Output[_builtins.str]:
|
405
|
+
"""
|
406
|
+
ID of user who last updated the automated archival setting
|
407
|
+
"""
|
408
|
+
return pulumi.get(self, "last_updated_by")
|
409
|
+
|
410
|
+
@_builtins.property
|
411
|
+
@pulumi.getter(name="lookbackPeriod")
|
412
|
+
def lookback_period(self) -> pulumi.Output[_builtins.str]:
|
413
|
+
"""
|
414
|
+
This tracks if a metric was unused in the past N number of days (N one of 30, 45, or 60). We’ll archive a metric if it wasn’t used in the lookback period. The value here uses ISO 8061 duration format. Examples - 'P30D', 'P45D', 'P60D'
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "lookback_period")
|
417
|
+
|
418
|
+
@_builtins.property
|
419
|
+
@pulumi.getter(name="rulesetLimit")
|
420
|
+
def ruleset_limit(self) -> pulumi.Output[Optional[_builtins.int]]:
|
421
|
+
"""
|
422
|
+
Org limit for the number of rulesets that can be created
|
423
|
+
"""
|
424
|
+
return pulumi.get(self, "ruleset_limit")
|
425
|
+
|
426
|
+
@_builtins.property
|
427
|
+
@pulumi.getter
|
428
|
+
def version(self) -> pulumi.Output[_builtins.str]:
|
429
|
+
"""
|
430
|
+
Version of the automated archival setting
|
431
|
+
"""
|
432
|
+
return pulumi.get(self, "version")
|
433
|
+
|
pulumi_signalfx/aws/__init__.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
5
|
+
import builtins as _builtins
|
6
6
|
from .. import _utilities
|
7
7
|
import typing
|
8
8
|
# Export this package's modules as members:
|