pulumi-newrelic 5.45.0a1743574084__py3-none-any.whl → 5.45.0a1744265343__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_newrelic/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +151 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +158 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +298 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +235 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +165 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744265343.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744265343.dist-info/RECORD +90 -0
- pulumi_newrelic-5.45.0a1743574084.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744265343.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744265343.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,29 +22,29 @@ __all__ = ['MonitorDowntimeArgs', 'MonitorDowntime']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class MonitorDowntimeArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
end_time: pulumi.Input[str],
|
25
|
-
mode: pulumi.Input[str],
|
26
|
-
start_time: pulumi.Input[str],
|
27
|
-
time_zone: pulumi.Input[str],
|
28
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
25
|
+
end_time: pulumi.Input[builtins.str],
|
26
|
+
mode: pulumi.Input[builtins.str],
|
27
|
+
start_time: pulumi.Input[builtins.str],
|
28
|
+
time_zone: pulumi.Input[builtins.str],
|
29
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
29
30
|
end_repeat: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']] = None,
|
30
31
|
frequency: Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']] = None,
|
31
|
-
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
32
|
-
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
33
|
-
name: Optional[pulumi.Input[str]] = None):
|
32
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
33
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
34
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
34
35
|
"""
|
35
36
|
The set of arguments for constructing a MonitorDowntime resource.
|
36
|
-
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
37
|
-
:param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
|
38
|
-
:param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
39
|
-
:param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
40
|
-
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
37
|
+
:param pulumi.Input[builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
38
|
+
:param pulumi.Input[builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
39
|
+
:param pulumi.Input[builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
40
|
+
:param pulumi.Input[builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
41
|
+
:param pulumi.Input[builtins.str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
41
42
|
provider{} configuration if not specified.
|
42
43
|
:param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
43
44
|
:param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Configuration options for which days of the month a monitor downtime will occur
|
44
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
46
|
-
:param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
47
|
+
:param pulumi.Input[builtins.str] name: A name to identify the Monitor Downtime to be created.
|
47
48
|
"""
|
48
49
|
pulumi.set(__self__, "end_time", end_time)
|
49
50
|
pulumi.set(__self__, "mode", mode)
|
@@ -64,55 +65,55 @@ class MonitorDowntimeArgs:
|
|
64
65
|
|
65
66
|
@property
|
66
67
|
@pulumi.getter(name="endTime")
|
67
|
-
def end_time(self) -> pulumi.Input[str]:
|
68
|
+
def end_time(self) -> pulumi.Input[builtins.str]:
|
68
69
|
"""
|
69
70
|
A datetime stamp signifying the end of the Monitor Downtime.
|
70
71
|
"""
|
71
72
|
return pulumi.get(self, "end_time")
|
72
73
|
|
73
74
|
@end_time.setter
|
74
|
-
def end_time(self, value: pulumi.Input[str]):
|
75
|
+
def end_time(self, value: pulumi.Input[builtins.str]):
|
75
76
|
pulumi.set(self, "end_time", value)
|
76
77
|
|
77
78
|
@property
|
78
79
|
@pulumi.getter
|
79
|
-
def mode(self) -> pulumi.Input[str]:
|
80
|
+
def mode(self) -> pulumi.Input[builtins.str]:
|
80
81
|
"""
|
81
82
|
An identifier of the type of Monitor Downtime to be created.
|
82
83
|
"""
|
83
84
|
return pulumi.get(self, "mode")
|
84
85
|
|
85
86
|
@mode.setter
|
86
|
-
def mode(self, value: pulumi.Input[str]):
|
87
|
+
def mode(self, value: pulumi.Input[builtins.str]):
|
87
88
|
pulumi.set(self, "mode", value)
|
88
89
|
|
89
90
|
@property
|
90
91
|
@pulumi.getter(name="startTime")
|
91
|
-
def start_time(self) -> pulumi.Input[str]:
|
92
|
+
def start_time(self) -> pulumi.Input[builtins.str]:
|
92
93
|
"""
|
93
94
|
A datetime stamp signifying the start of the Monitor Downtime.
|
94
95
|
"""
|
95
96
|
return pulumi.get(self, "start_time")
|
96
97
|
|
97
98
|
@start_time.setter
|
98
|
-
def start_time(self, value: pulumi.Input[str]):
|
99
|
+
def start_time(self, value: pulumi.Input[builtins.str]):
|
99
100
|
pulumi.set(self, "start_time", value)
|
100
101
|
|
101
102
|
@property
|
102
103
|
@pulumi.getter(name="timeZone")
|
103
|
-
def time_zone(self) -> pulumi.Input[str]:
|
104
|
+
def time_zone(self) -> pulumi.Input[builtins.str]:
|
104
105
|
"""
|
105
106
|
The timezone that applies to the Monitor Downtime schedule.
|
106
107
|
"""
|
107
108
|
return pulumi.get(self, "time_zone")
|
108
109
|
|
109
110
|
@time_zone.setter
|
110
|
-
def time_zone(self, value: pulumi.Input[str]):
|
111
|
+
def time_zone(self, value: pulumi.Input[builtins.str]):
|
111
112
|
pulumi.set(self, "time_zone", value)
|
112
113
|
|
113
114
|
@property
|
114
115
|
@pulumi.getter(name="accountId")
|
115
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
116
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
116
117
|
"""
|
117
118
|
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
118
119
|
provider{} configuration if not specified.
|
@@ -120,7 +121,7 @@ class MonitorDowntimeArgs:
|
|
120
121
|
return pulumi.get(self, "account_id")
|
121
122
|
|
122
123
|
@account_id.setter
|
123
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
124
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
124
125
|
pulumi.set(self, "account_id", value)
|
125
126
|
|
126
127
|
@property
|
@@ -149,67 +150,67 @@ class MonitorDowntimeArgs:
|
|
149
150
|
|
150
151
|
@property
|
151
152
|
@pulumi.getter(name="maintenanceDays")
|
152
|
-
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
153
|
+
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
153
154
|
"""
|
154
155
|
A list of maintenance days to be included with the created weekly Monitor Downtime.
|
155
156
|
"""
|
156
157
|
return pulumi.get(self, "maintenance_days")
|
157
158
|
|
158
159
|
@maintenance_days.setter
|
159
|
-
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
160
|
+
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
160
161
|
pulumi.set(self, "maintenance_days", value)
|
161
162
|
|
162
163
|
@property
|
163
164
|
@pulumi.getter(name="monitorGuids")
|
164
|
-
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
165
|
+
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
165
166
|
"""
|
166
167
|
A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
167
168
|
"""
|
168
169
|
return pulumi.get(self, "monitor_guids")
|
169
170
|
|
170
171
|
@monitor_guids.setter
|
171
|
-
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
172
|
+
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
172
173
|
pulumi.set(self, "monitor_guids", value)
|
173
174
|
|
174
175
|
@property
|
175
176
|
@pulumi.getter
|
176
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
177
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
177
178
|
"""
|
178
179
|
A name to identify the Monitor Downtime to be created.
|
179
180
|
"""
|
180
181
|
return pulumi.get(self, "name")
|
181
182
|
|
182
183
|
@name.setter
|
183
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
184
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
184
185
|
pulumi.set(self, "name", value)
|
185
186
|
|
186
187
|
|
187
188
|
@pulumi.input_type
|
188
189
|
class _MonitorDowntimeState:
|
189
190
|
def __init__(__self__, *,
|
190
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
191
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
191
192
|
end_repeat: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']] = None,
|
192
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
193
|
+
end_time: Optional[pulumi.Input[builtins.str]] = None,
|
193
194
|
frequency: Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']] = None,
|
194
|
-
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
195
|
-
mode: Optional[pulumi.Input[str]] = None,
|
196
|
-
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
197
|
-
name: Optional[pulumi.Input[str]] = None,
|
198
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
199
|
-
time_zone: Optional[pulumi.Input[str]] = None):
|
195
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
196
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
197
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
198
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
199
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
200
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None):
|
200
201
|
"""
|
201
202
|
Input properties used for looking up and filtering MonitorDowntime resources.
|
202
|
-
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
203
|
+
:param pulumi.Input[builtins.str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
203
204
|
provider{} configuration if not specified.
|
204
205
|
:param pulumi.Input['MonitorDowntimeEndRepeatArgs'] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
205
|
-
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
206
|
+
:param pulumi.Input[builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
206
207
|
:param pulumi.Input['MonitorDowntimeFrequencyArgs'] frequency: Configuration options for which days of the month a monitor downtime will occur
|
207
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
208
|
-
:param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
|
209
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
210
|
-
:param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
|
211
|
-
:param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
212
|
-
:param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
208
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
209
|
+
:param pulumi.Input[builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
210
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
211
|
+
:param pulumi.Input[builtins.str] name: A name to identify the Monitor Downtime to be created.
|
212
|
+
:param pulumi.Input[builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
213
|
+
:param pulumi.Input[builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
213
214
|
"""
|
214
215
|
if account_id is not None:
|
215
216
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -234,7 +235,7 @@ class _MonitorDowntimeState:
|
|
234
235
|
|
235
236
|
@property
|
236
237
|
@pulumi.getter(name="accountId")
|
237
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
238
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
238
239
|
"""
|
239
240
|
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
240
241
|
provider{} configuration if not specified.
|
@@ -242,7 +243,7 @@ class _MonitorDowntimeState:
|
|
242
243
|
return pulumi.get(self, "account_id")
|
243
244
|
|
244
245
|
@account_id.setter
|
245
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
246
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
246
247
|
pulumi.set(self, "account_id", value)
|
247
248
|
|
248
249
|
@property
|
@@ -259,14 +260,14 @@ class _MonitorDowntimeState:
|
|
259
260
|
|
260
261
|
@property
|
261
262
|
@pulumi.getter(name="endTime")
|
262
|
-
def end_time(self) -> Optional[pulumi.Input[str]]:
|
263
|
+
def end_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
263
264
|
"""
|
264
265
|
A datetime stamp signifying the end of the Monitor Downtime.
|
265
266
|
"""
|
266
267
|
return pulumi.get(self, "end_time")
|
267
268
|
|
268
269
|
@end_time.setter
|
269
|
-
def end_time(self, value: Optional[pulumi.Input[str]]):
|
270
|
+
def end_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
270
271
|
pulumi.set(self, "end_time", value)
|
271
272
|
|
272
273
|
@property
|
@@ -283,74 +284,74 @@ class _MonitorDowntimeState:
|
|
283
284
|
|
284
285
|
@property
|
285
286
|
@pulumi.getter(name="maintenanceDays")
|
286
|
-
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
287
|
+
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
287
288
|
"""
|
288
289
|
A list of maintenance days to be included with the created weekly Monitor Downtime.
|
289
290
|
"""
|
290
291
|
return pulumi.get(self, "maintenance_days")
|
291
292
|
|
292
293
|
@maintenance_days.setter
|
293
|
-
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
294
|
+
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
294
295
|
pulumi.set(self, "maintenance_days", value)
|
295
296
|
|
296
297
|
@property
|
297
298
|
@pulumi.getter
|
298
|
-
def mode(self) -> Optional[pulumi.Input[str]]:
|
299
|
+
def mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
299
300
|
"""
|
300
301
|
An identifier of the type of Monitor Downtime to be created.
|
301
302
|
"""
|
302
303
|
return pulumi.get(self, "mode")
|
303
304
|
|
304
305
|
@mode.setter
|
305
|
-
def mode(self, value: Optional[pulumi.Input[str]]):
|
306
|
+
def mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
306
307
|
pulumi.set(self, "mode", value)
|
307
308
|
|
308
309
|
@property
|
309
310
|
@pulumi.getter(name="monitorGuids")
|
310
|
-
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
311
|
+
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
311
312
|
"""
|
312
313
|
A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
313
314
|
"""
|
314
315
|
return pulumi.get(self, "monitor_guids")
|
315
316
|
|
316
317
|
@monitor_guids.setter
|
317
|
-
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
318
|
+
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
318
319
|
pulumi.set(self, "monitor_guids", value)
|
319
320
|
|
320
321
|
@property
|
321
322
|
@pulumi.getter
|
322
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
323
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
323
324
|
"""
|
324
325
|
A name to identify the Monitor Downtime to be created.
|
325
326
|
"""
|
326
327
|
return pulumi.get(self, "name")
|
327
328
|
|
328
329
|
@name.setter
|
329
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
330
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
330
331
|
pulumi.set(self, "name", value)
|
331
332
|
|
332
333
|
@property
|
333
334
|
@pulumi.getter(name="startTime")
|
334
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
335
|
+
def start_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
335
336
|
"""
|
336
337
|
A datetime stamp signifying the start of the Monitor Downtime.
|
337
338
|
"""
|
338
339
|
return pulumi.get(self, "start_time")
|
339
340
|
|
340
341
|
@start_time.setter
|
341
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
342
|
+
def start_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
342
343
|
pulumi.set(self, "start_time", value)
|
343
344
|
|
344
345
|
@property
|
345
346
|
@pulumi.getter(name="timeZone")
|
346
|
-
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
347
|
+
def time_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
347
348
|
"""
|
348
349
|
The timezone that applies to the Monitor Downtime schedule.
|
349
350
|
"""
|
350
351
|
return pulumi.get(self, "time_zone")
|
351
352
|
|
352
353
|
@time_zone.setter
|
353
|
-
def time_zone(self, value: Optional[pulumi.Input[str]]):
|
354
|
+
def time_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
354
355
|
pulumi.set(self, "time_zone", value)
|
355
356
|
|
356
357
|
|
@@ -359,16 +360,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
359
360
|
def __init__(__self__,
|
360
361
|
resource_name: str,
|
361
362
|
opts: Optional[pulumi.ResourceOptions] = None,
|
362
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
363
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
363
364
|
end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
|
364
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
365
|
+
end_time: Optional[pulumi.Input[builtins.str]] = None,
|
365
366
|
frequency: Optional[pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']]] = None,
|
366
|
-
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
367
|
-
mode: Optional[pulumi.Input[str]] = None,
|
368
|
-
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
369
|
-
name: Optional[pulumi.Input[str]] = None,
|
370
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
371
|
-
time_zone: Optional[pulumi.Input[str]] = None,
|
367
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
368
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
369
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
370
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
371
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
372
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None,
|
372
373
|
__props__=None):
|
373
374
|
"""
|
374
375
|
Use this resource to create, update, and delete [Monitor Downtimes](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/using-monitors/monitor-downtimes-disable-monitoring-during-scheduled-maintenance-times/) in New Relic.
|
@@ -542,17 +543,17 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
542
543
|
|
543
544
|
:param str resource_name: The name of the resource.
|
544
545
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
545
|
-
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
546
|
+
:param pulumi.Input[builtins.str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
546
547
|
provider{} configuration if not specified.
|
547
548
|
:param pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
548
|
-
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
549
|
+
:param pulumi.Input[builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
549
550
|
:param pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']] frequency: Configuration options for which days of the month a monitor downtime will occur
|
550
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
551
|
-
:param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
|
552
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
553
|
-
:param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
|
554
|
-
:param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
555
|
-
:param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
551
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
552
|
+
:param pulumi.Input[builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
553
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
554
|
+
:param pulumi.Input[builtins.str] name: A name to identify the Monitor Downtime to be created.
|
555
|
+
:param pulumi.Input[builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
556
|
+
:param pulumi.Input[builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
556
557
|
"""
|
557
558
|
...
|
558
559
|
@overload
|
@@ -745,16 +746,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
745
746
|
def _internal_init(__self__,
|
746
747
|
resource_name: str,
|
747
748
|
opts: Optional[pulumi.ResourceOptions] = None,
|
748
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
749
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
749
750
|
end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
|
750
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
751
|
+
end_time: Optional[pulumi.Input[builtins.str]] = None,
|
751
752
|
frequency: Optional[pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']]] = None,
|
752
|
-
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
753
|
-
mode: Optional[pulumi.Input[str]] = None,
|
754
|
-
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
755
|
-
name: Optional[pulumi.Input[str]] = None,
|
756
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
757
|
-
time_zone: Optional[pulumi.Input[str]] = None,
|
753
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
754
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
755
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
756
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
757
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
758
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None,
|
758
759
|
__props__=None):
|
759
760
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
760
761
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -792,16 +793,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
792
793
|
def get(resource_name: str,
|
793
794
|
id: pulumi.Input[str],
|
794
795
|
opts: Optional[pulumi.ResourceOptions] = None,
|
795
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
796
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
796
797
|
end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
|
797
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
798
|
+
end_time: Optional[pulumi.Input[builtins.str]] = None,
|
798
799
|
frequency: Optional[pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']]] = None,
|
799
|
-
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
800
|
-
mode: Optional[pulumi.Input[str]] = None,
|
801
|
-
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
802
|
-
name: Optional[pulumi.Input[str]] = None,
|
803
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
804
|
-
time_zone: Optional[pulumi.Input[str]] = None) -> 'MonitorDowntime':
|
800
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
801
|
+
mode: Optional[pulumi.Input[builtins.str]] = None,
|
802
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
803
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
804
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
805
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None) -> 'MonitorDowntime':
|
805
806
|
"""
|
806
807
|
Get an existing MonitorDowntime resource's state with the given name, id, and optional extra
|
807
808
|
properties used to qualify the lookup.
|
@@ -809,17 +810,17 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
809
810
|
:param str resource_name: The unique name of the resulting resource.
|
810
811
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
811
812
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
812
|
-
:param pulumi.Input[str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
813
|
+
:param pulumi.Input[builtins.str] account_id: The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
813
814
|
provider{} configuration if not specified.
|
814
815
|
:param pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']] end_repeat: A specification of when the Monitor Downtime should end its repeat cycle, by number of occurrences or date.
|
815
|
-
:param pulumi.Input[str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
816
|
+
:param pulumi.Input[builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
816
817
|
:param pulumi.Input[Union['MonitorDowntimeFrequencyArgs', 'MonitorDowntimeFrequencyArgsDict']] frequency: Configuration options for which days of the month a monitor downtime will occur
|
817
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
818
|
-
:param pulumi.Input[str] mode: An identifier of the type of Monitor Downtime to be created.
|
819
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
820
|
-
:param pulumi.Input[str] name: A name to identify the Monitor Downtime to be created.
|
821
|
-
:param pulumi.Input[str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
822
|
-
:param pulumi.Input[str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
818
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
819
|
+
:param pulumi.Input[builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
820
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] monitor_guids: A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
821
|
+
:param pulumi.Input[builtins.str] name: A name to identify the Monitor Downtime to be created.
|
822
|
+
:param pulumi.Input[builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
823
|
+
:param pulumi.Input[builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
823
824
|
"""
|
824
825
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
825
826
|
|
@@ -839,7 +840,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
839
840
|
|
840
841
|
@property
|
841
842
|
@pulumi.getter(name="accountId")
|
842
|
-
def account_id(self) -> pulumi.Output[str]:
|
843
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
843
844
|
"""
|
844
845
|
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
845
846
|
provider{} configuration if not specified.
|
@@ -856,7 +857,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
856
857
|
|
857
858
|
@property
|
858
859
|
@pulumi.getter(name="endTime")
|
859
|
-
def end_time(self) -> pulumi.Output[str]:
|
860
|
+
def end_time(self) -> pulumi.Output[builtins.str]:
|
860
861
|
"""
|
861
862
|
A datetime stamp signifying the end of the Monitor Downtime.
|
862
863
|
"""
|
@@ -872,7 +873,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
872
873
|
|
873
874
|
@property
|
874
875
|
@pulumi.getter(name="maintenanceDays")
|
875
|
-
def maintenance_days(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
876
|
+
def maintenance_days(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
876
877
|
"""
|
877
878
|
A list of maintenance days to be included with the created weekly Monitor Downtime.
|
878
879
|
"""
|
@@ -880,7 +881,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
880
881
|
|
881
882
|
@property
|
882
883
|
@pulumi.getter
|
883
|
-
def mode(self) -> pulumi.Output[str]:
|
884
|
+
def mode(self) -> pulumi.Output[builtins.str]:
|
884
885
|
"""
|
885
886
|
An identifier of the type of Monitor Downtime to be created.
|
886
887
|
"""
|
@@ -888,7 +889,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
888
889
|
|
889
890
|
@property
|
890
891
|
@pulumi.getter(name="monitorGuids")
|
891
|
-
def monitor_guids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
892
|
+
def monitor_guids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
892
893
|
"""
|
893
894
|
A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
894
895
|
"""
|
@@ -896,7 +897,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
896
897
|
|
897
898
|
@property
|
898
899
|
@pulumi.getter
|
899
|
-
def name(self) -> pulumi.Output[str]:
|
900
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
900
901
|
"""
|
901
902
|
A name to identify the Monitor Downtime to be created.
|
902
903
|
"""
|
@@ -904,7 +905,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
904
905
|
|
905
906
|
@property
|
906
907
|
@pulumi.getter(name="startTime")
|
907
|
-
def start_time(self) -> pulumi.Output[str]:
|
908
|
+
def start_time(self) -> pulumi.Output[builtins.str]:
|
908
909
|
"""
|
909
910
|
A datetime stamp signifying the start of the Monitor Downtime.
|
910
911
|
"""
|
@@ -912,7 +913,7 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
912
913
|
|
913
914
|
@property
|
914
915
|
@pulumi.getter(name="timeZone")
|
915
|
-
def time_zone(self) -> pulumi.Output[str]:
|
916
|
+
def time_zone(self) -> pulumi.Output[builtins.str]:
|
916
917
|
"""
|
917
918
|
The timezone that applies to the Monitor Downtime schedule.
|
918
919
|
"""
|