pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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 +19 -1
- pulumi_newrelic/_inputs.py +4314 -3779
- pulumi_newrelic/_utilities.py +1 -1
- pulumi_newrelic/account_management.py +37 -36
- pulumi_newrelic/alert_channel.py +63 -62
- pulumi_newrelic/alert_condition.py +219 -218
- pulumi_newrelic/alert_muting_rule.py +96 -95
- pulumi_newrelic/alert_policy.py +71 -70
- pulumi_newrelic/alert_policy_channel.py +54 -53
- pulumi_newrelic/api_access_key.py +186 -201
- pulumi_newrelic/browser_application.py +115 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +2226 -2118
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
- pulumi_newrelic/cloud/aws_integrations.py +240 -192
- pulumi_newrelic/cloud/aws_link_account.py +71 -70
- pulumi_newrelic/cloud/azure_integrations.py +180 -132
- pulumi_newrelic/cloud/azure_link_account.py +105 -104
- pulumi_newrelic/cloud/gcp_integrations.py +115 -114
- pulumi_newrelic/cloud/gcp_link_account.py +56 -55
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1512 -1410
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +2 -2
- pulumi_newrelic/config/vars.py +15 -15
- pulumi_newrelic/data_partition_rule.py +114 -113
- pulumi_newrelic/entity_tags.py +79 -22
- pulumi_newrelic/events_to_metrics_rule.py +97 -96
- pulumi_newrelic/get_account.py +22 -22
- pulumi_newrelic/get_alert_channel.py +53 -21
- pulumi_newrelic/get_alert_policy.py +52 -26
- pulumi_newrelic/get_application.py +14 -14
- pulumi_newrelic/get_authentication_domain.py +10 -10
- pulumi_newrelic/get_cloud_account.py +22 -22
- pulumi_newrelic/get_entity.py +53 -53
- pulumi_newrelic/get_group.py +22 -22
- pulumi_newrelic/get_key_transaction.py +26 -26
- pulumi_newrelic/get_notification_destination.py +31 -31
- pulumi_newrelic/get_obfuscation_expression.py +16 -16
- pulumi_newrelic/get_service_level_alert_helper.py +54 -54
- pulumi_newrelic/get_test_grok_pattern.py +23 -23
- pulumi_newrelic/get_user.py +22 -22
- pulumi_newrelic/group.py +54 -53
- pulumi_newrelic/infra_alert_condition.py +257 -256
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +33 -33
- pulumi_newrelic/insights/event.py +6 -5
- pulumi_newrelic/insights/outputs.py +23 -23
- pulumi_newrelic/key_transaction.py +106 -105
- pulumi_newrelic/log_parsing_rule.py +148 -147
- pulumi_newrelic/monitor_downtime.py +148 -154
- pulumi_newrelic/notification_channel.py +218 -163
- pulumi_newrelic/notification_destination.py +123 -136
- pulumi_newrelic/nrql_alert_condition.py +513 -414
- pulumi_newrelic/nrql_drop_rule.py +108 -147
- pulumi_newrelic/obfuscation_expression.py +71 -70
- pulumi_newrelic/obfuscation_rule.py +91 -90
- pulumi_newrelic/one_dashboard.py +95 -94
- pulumi_newrelic/one_dashboard_json.py +64 -63
- pulumi_newrelic/one_dashboard_raw.py +116 -115
- pulumi_newrelic/outputs.py +3026 -2665
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +159 -159
- pulumi_newrelic/plugins/application_settings.py +186 -171
- pulumi_newrelic/plugins/outputs.py +109 -109
- pulumi_newrelic/plugins/workload.py +133 -132
- pulumi_newrelic/provider.py +136 -116
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +78 -77
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +128 -128
- pulumi_newrelic/synthetics/alert_condition.py +97 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
- pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
- pulumi_newrelic/synthetics/get_private_location.py +22 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
- pulumi_newrelic/synthetics/monitor.py +399 -370
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
- pulumi_newrelic/synthetics/outputs.py +86 -86
- pulumi_newrelic/synthetics/private_location.py +107 -106
- pulumi_newrelic/synthetics/script_monitor.py +385 -294
- pulumi_newrelic/synthetics/secure_credential.py +88 -87
- pulumi_newrelic/synthetics/step_monitor.py +241 -212
- pulumi_newrelic/user.py +71 -70
- pulumi_newrelic/workflow.py +141 -140
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
- pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -21,29 +21,28 @@ __all__ = ['MonitorDowntimeArgs', 'MonitorDowntime']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class MonitorDowntimeArgs:
|
|
23
23
|
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,
|
|
24
|
+
end_time: pulumi.Input[_builtins.str],
|
|
25
|
+
mode: pulumi.Input[_builtins.str],
|
|
26
|
+
start_time: pulumi.Input[_builtins.str],
|
|
27
|
+
time_zone: pulumi.Input[_builtins.str],
|
|
28
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
29
|
end_repeat: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']] = None,
|
|
30
30
|
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):
|
|
31
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
32
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
33
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
34
34
|
"""
|
|
35
35
|
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
|
|
41
|
-
provider{} configuration if not specified.
|
|
36
|
+
:param pulumi.Input[_builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
|
37
|
+
:param pulumi.Input[_builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
|
38
|
+
:param pulumi.Input[_builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
|
39
|
+
:param pulumi.Input[_builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
|
40
|
+
: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 provider{} configuration if not specified.
|
|
42
41
|
: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
42
|
: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.
|
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
44
|
+
: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.
|
|
45
|
+
:param pulumi.Input[_builtins.str] name: A name to identify the Monitor Downtime to be created.
|
|
47
46
|
"""
|
|
48
47
|
pulumi.set(__self__, "end_time", end_time)
|
|
49
48
|
pulumi.set(__self__, "mode", mode)
|
|
@@ -62,68 +61,67 @@ class MonitorDowntimeArgs:
|
|
|
62
61
|
if name is not None:
|
|
63
62
|
pulumi.set(__self__, "name", name)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter(name="endTime")
|
|
67
|
-
def end_time(self) -> pulumi.Input[str]:
|
|
66
|
+
def end_time(self) -> pulumi.Input[_builtins.str]:
|
|
68
67
|
"""
|
|
69
68
|
A datetime stamp signifying the end of the Monitor Downtime.
|
|
70
69
|
"""
|
|
71
70
|
return pulumi.get(self, "end_time")
|
|
72
71
|
|
|
73
72
|
@end_time.setter
|
|
74
|
-
def end_time(self, value: pulumi.Input[str]):
|
|
73
|
+
def end_time(self, value: pulumi.Input[_builtins.str]):
|
|
75
74
|
pulumi.set(self, "end_time", value)
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
|
-
def mode(self) -> pulumi.Input[str]:
|
|
78
|
+
def mode(self) -> pulumi.Input[_builtins.str]:
|
|
80
79
|
"""
|
|
81
80
|
An identifier of the type of Monitor Downtime to be created.
|
|
82
81
|
"""
|
|
83
82
|
return pulumi.get(self, "mode")
|
|
84
83
|
|
|
85
84
|
@mode.setter
|
|
86
|
-
def mode(self, value: pulumi.Input[str]):
|
|
85
|
+
def mode(self, value: pulumi.Input[_builtins.str]):
|
|
87
86
|
pulumi.set(self, "mode", value)
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter(name="startTime")
|
|
91
|
-
def start_time(self) -> pulumi.Input[str]:
|
|
90
|
+
def start_time(self) -> pulumi.Input[_builtins.str]:
|
|
92
91
|
"""
|
|
93
92
|
A datetime stamp signifying the start of the Monitor Downtime.
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "start_time")
|
|
96
95
|
|
|
97
96
|
@start_time.setter
|
|
98
|
-
def start_time(self, value: pulumi.Input[str]):
|
|
97
|
+
def start_time(self, value: pulumi.Input[_builtins.str]):
|
|
99
98
|
pulumi.set(self, "start_time", value)
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter(name="timeZone")
|
|
103
|
-
def time_zone(self) -> pulumi.Input[str]:
|
|
102
|
+
def time_zone(self) -> pulumi.Input[_builtins.str]:
|
|
104
103
|
"""
|
|
105
104
|
The timezone that applies to the Monitor Downtime schedule.
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "time_zone")
|
|
108
107
|
|
|
109
108
|
@time_zone.setter
|
|
110
|
-
def time_zone(self, value: pulumi.Input[str]):
|
|
109
|
+
def time_zone(self, value: pulumi.Input[_builtins.str]):
|
|
111
110
|
pulumi.set(self, "time_zone", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter(name="accountId")
|
|
115
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
114
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
116
115
|
"""
|
|
117
|
-
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
|
118
|
-
provider{} configuration if not specified.
|
|
116
|
+
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the provider{} configuration if not specified.
|
|
119
117
|
"""
|
|
120
118
|
return pulumi.get(self, "account_id")
|
|
121
119
|
|
|
122
120
|
@account_id.setter
|
|
123
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
121
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
124
122
|
pulumi.set(self, "account_id", value)
|
|
125
123
|
|
|
126
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
127
125
|
@pulumi.getter(name="endRepeat")
|
|
128
126
|
def end_repeat(self) -> Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']]:
|
|
129
127
|
"""
|
|
@@ -135,7 +133,7 @@ class MonitorDowntimeArgs:
|
|
|
135
133
|
def end_repeat(self, value: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']]):
|
|
136
134
|
pulumi.set(self, "end_repeat", value)
|
|
137
135
|
|
|
138
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
139
137
|
@pulumi.getter
|
|
140
138
|
def frequency(self) -> Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']]:
|
|
141
139
|
"""
|
|
@@ -147,69 +145,68 @@ class MonitorDowntimeArgs:
|
|
|
147
145
|
def frequency(self, value: Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']]):
|
|
148
146
|
pulumi.set(self, "frequency", value)
|
|
149
147
|
|
|
150
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
151
149
|
@pulumi.getter(name="maintenanceDays")
|
|
152
|
-
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
150
|
+
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
153
151
|
"""
|
|
154
152
|
A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
155
153
|
"""
|
|
156
154
|
return pulumi.get(self, "maintenance_days")
|
|
157
155
|
|
|
158
156
|
@maintenance_days.setter
|
|
159
|
-
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
157
|
+
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
160
158
|
pulumi.set(self, "maintenance_days", value)
|
|
161
159
|
|
|
162
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
163
161
|
@pulumi.getter(name="monitorGuids")
|
|
164
|
-
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
162
|
+
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
165
163
|
"""
|
|
166
164
|
A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
|
167
165
|
"""
|
|
168
166
|
return pulumi.get(self, "monitor_guids")
|
|
169
167
|
|
|
170
168
|
@monitor_guids.setter
|
|
171
|
-
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
169
|
+
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
172
170
|
pulumi.set(self, "monitor_guids", value)
|
|
173
171
|
|
|
174
|
-
@property
|
|
172
|
+
@_builtins.property
|
|
175
173
|
@pulumi.getter
|
|
176
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
174
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
175
|
"""
|
|
178
176
|
A name to identify the Monitor Downtime to be created.
|
|
179
177
|
"""
|
|
180
178
|
return pulumi.get(self, "name")
|
|
181
179
|
|
|
182
180
|
@name.setter
|
|
183
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
181
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
184
182
|
pulumi.set(self, "name", value)
|
|
185
183
|
|
|
186
184
|
|
|
187
185
|
@pulumi.input_type
|
|
188
186
|
class _MonitorDowntimeState:
|
|
189
187
|
def __init__(__self__, *,
|
|
190
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
188
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
191
189
|
end_repeat: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']] = None,
|
|
192
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
|
190
|
+
end_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
193
191
|
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):
|
|
192
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
193
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
194
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
195
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
196
|
+
start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
197
|
+
time_zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
200
198
|
"""
|
|
201
199
|
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
|
-
provider{} configuration if not specified.
|
|
200
|
+
: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 provider{} configuration if not specified.
|
|
204
201
|
: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.
|
|
202
|
+
:param pulumi.Input[_builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
|
206
203
|
: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.
|
|
204
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
205
|
+
:param pulumi.Input[_builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
|
206
|
+
: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.
|
|
207
|
+
:param pulumi.Input[_builtins.str] name: A name to identify the Monitor Downtime to be created.
|
|
208
|
+
:param pulumi.Input[_builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
|
209
|
+
:param pulumi.Input[_builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
|
213
210
|
"""
|
|
214
211
|
if account_id is not None:
|
|
215
212
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -232,20 +229,19 @@ class _MonitorDowntimeState:
|
|
|
232
229
|
if time_zone is not None:
|
|
233
230
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
234
231
|
|
|
235
|
-
@property
|
|
232
|
+
@_builtins.property
|
|
236
233
|
@pulumi.getter(name="accountId")
|
|
237
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
234
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
238
235
|
"""
|
|
239
|
-
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
|
240
|
-
provider{} configuration if not specified.
|
|
236
|
+
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the provider{} configuration if not specified.
|
|
241
237
|
"""
|
|
242
238
|
return pulumi.get(self, "account_id")
|
|
243
239
|
|
|
244
240
|
@account_id.setter
|
|
245
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
241
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
246
242
|
pulumi.set(self, "account_id", value)
|
|
247
243
|
|
|
248
|
-
@property
|
|
244
|
+
@_builtins.property
|
|
249
245
|
@pulumi.getter(name="endRepeat")
|
|
250
246
|
def end_repeat(self) -> Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']]:
|
|
251
247
|
"""
|
|
@@ -257,19 +253,19 @@ class _MonitorDowntimeState:
|
|
|
257
253
|
def end_repeat(self, value: Optional[pulumi.Input['MonitorDowntimeEndRepeatArgs']]):
|
|
258
254
|
pulumi.set(self, "end_repeat", value)
|
|
259
255
|
|
|
260
|
-
@property
|
|
256
|
+
@_builtins.property
|
|
261
257
|
@pulumi.getter(name="endTime")
|
|
262
|
-
def end_time(self) -> Optional[pulumi.Input[str]]:
|
|
258
|
+
def end_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
263
259
|
"""
|
|
264
260
|
A datetime stamp signifying the end of the Monitor Downtime.
|
|
265
261
|
"""
|
|
266
262
|
return pulumi.get(self, "end_time")
|
|
267
263
|
|
|
268
264
|
@end_time.setter
|
|
269
|
-
def end_time(self, value: Optional[pulumi.Input[str]]):
|
|
265
|
+
def end_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
270
266
|
pulumi.set(self, "end_time", value)
|
|
271
267
|
|
|
272
|
-
@property
|
|
268
|
+
@_builtins.property
|
|
273
269
|
@pulumi.getter
|
|
274
270
|
def frequency(self) -> Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']]:
|
|
275
271
|
"""
|
|
@@ -281,94 +277,95 @@ class _MonitorDowntimeState:
|
|
|
281
277
|
def frequency(self, value: Optional[pulumi.Input['MonitorDowntimeFrequencyArgs']]):
|
|
282
278
|
pulumi.set(self, "frequency", value)
|
|
283
279
|
|
|
284
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
285
281
|
@pulumi.getter(name="maintenanceDays")
|
|
286
|
-
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
282
|
+
def maintenance_days(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
287
283
|
"""
|
|
288
284
|
A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
289
285
|
"""
|
|
290
286
|
return pulumi.get(self, "maintenance_days")
|
|
291
287
|
|
|
292
288
|
@maintenance_days.setter
|
|
293
|
-
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
289
|
+
def maintenance_days(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
294
290
|
pulumi.set(self, "maintenance_days", value)
|
|
295
291
|
|
|
296
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
297
293
|
@pulumi.getter
|
|
298
|
-
def mode(self) -> Optional[pulumi.Input[str]]:
|
|
294
|
+
def mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
299
295
|
"""
|
|
300
296
|
An identifier of the type of Monitor Downtime to be created.
|
|
301
297
|
"""
|
|
302
298
|
return pulumi.get(self, "mode")
|
|
303
299
|
|
|
304
300
|
@mode.setter
|
|
305
|
-
def mode(self, value: Optional[pulumi.Input[str]]):
|
|
301
|
+
def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
306
302
|
pulumi.set(self, "mode", value)
|
|
307
303
|
|
|
308
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
309
305
|
@pulumi.getter(name="monitorGuids")
|
|
310
|
-
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
306
|
+
def monitor_guids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
311
307
|
"""
|
|
312
308
|
A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
|
313
309
|
"""
|
|
314
310
|
return pulumi.get(self, "monitor_guids")
|
|
315
311
|
|
|
316
312
|
@monitor_guids.setter
|
|
317
|
-
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
313
|
+
def monitor_guids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
318
314
|
pulumi.set(self, "monitor_guids", value)
|
|
319
315
|
|
|
320
|
-
@property
|
|
316
|
+
@_builtins.property
|
|
321
317
|
@pulumi.getter
|
|
322
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
318
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
323
319
|
"""
|
|
324
320
|
A name to identify the Monitor Downtime to be created.
|
|
325
321
|
"""
|
|
326
322
|
return pulumi.get(self, "name")
|
|
327
323
|
|
|
328
324
|
@name.setter
|
|
329
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
325
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
330
326
|
pulumi.set(self, "name", value)
|
|
331
327
|
|
|
332
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
333
329
|
@pulumi.getter(name="startTime")
|
|
334
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
|
330
|
+
def start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
335
331
|
"""
|
|
336
332
|
A datetime stamp signifying the start of the Monitor Downtime.
|
|
337
333
|
"""
|
|
338
334
|
return pulumi.get(self, "start_time")
|
|
339
335
|
|
|
340
336
|
@start_time.setter
|
|
341
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
|
337
|
+
def start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
342
338
|
pulumi.set(self, "start_time", value)
|
|
343
339
|
|
|
344
|
-
@property
|
|
340
|
+
@_builtins.property
|
|
345
341
|
@pulumi.getter(name="timeZone")
|
|
346
|
-
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
|
342
|
+
def time_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
347
343
|
"""
|
|
348
344
|
The timezone that applies to the Monitor Downtime schedule.
|
|
349
345
|
"""
|
|
350
346
|
return pulumi.get(self, "time_zone")
|
|
351
347
|
|
|
352
348
|
@time_zone.setter
|
|
353
|
-
def time_zone(self, value: Optional[pulumi.Input[str]]):
|
|
349
|
+
def time_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
354
350
|
pulumi.set(self, "time_zone", value)
|
|
355
351
|
|
|
356
352
|
|
|
353
|
+
@pulumi.type_token("newrelic:index/monitorDowntime:MonitorDowntime")
|
|
357
354
|
class MonitorDowntime(pulumi.CustomResource):
|
|
358
355
|
@overload
|
|
359
356
|
def __init__(__self__,
|
|
360
357
|
resource_name: str,
|
|
361
358
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
362
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
359
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
363
360
|
end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
|
|
364
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
|
361
|
+
end_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
365
362
|
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,
|
|
363
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
364
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
365
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
366
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
367
|
+
start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
368
|
+
time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
372
369
|
__props__=None):
|
|
373
370
|
"""
|
|
374
371
|
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 +539,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
542
539
|
|
|
543
540
|
:param str resource_name: The name of the resource.
|
|
544
541
|
: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
|
-
provider{} configuration if not specified.
|
|
542
|
+
: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 provider{} configuration if not specified.
|
|
547
543
|
: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.
|
|
544
|
+
:param pulumi.Input[_builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
|
549
545
|
: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.
|
|
546
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
547
|
+
:param pulumi.Input[_builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
|
548
|
+
: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.
|
|
549
|
+
:param pulumi.Input[_builtins.str] name: A name to identify the Monitor Downtime to be created.
|
|
550
|
+
:param pulumi.Input[_builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
|
551
|
+
:param pulumi.Input[_builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
|
556
552
|
"""
|
|
557
553
|
...
|
|
558
554
|
@overload
|
|
@@ -745,16 +741,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
745
741
|
def _internal_init(__self__,
|
|
746
742
|
resource_name: str,
|
|
747
743
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
748
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
744
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
749
745
|
end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
|
|
750
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
|
746
|
+
end_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
751
747
|
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,
|
|
748
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
749
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
750
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
751
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
752
|
+
start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
753
|
+
time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
754
|
__props__=None):
|
|
759
755
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
760
756
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -792,16 +788,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
792
788
|
def get(resource_name: str,
|
|
793
789
|
id: pulumi.Input[str],
|
|
794
790
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
795
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
791
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
796
792
|
end_repeat: Optional[pulumi.Input[Union['MonitorDowntimeEndRepeatArgs', 'MonitorDowntimeEndRepeatArgsDict']]] = None,
|
|
797
|
-
end_time: Optional[pulumi.Input[str]] = None,
|
|
793
|
+
end_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
798
794
|
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':
|
|
795
|
+
maintenance_days: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
796
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
797
|
+
monitor_guids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
798
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
799
|
+
start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
800
|
+
time_zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'MonitorDowntime':
|
|
805
801
|
"""
|
|
806
802
|
Get an existing MonitorDowntime resource's state with the given name, id, and optional extra
|
|
807
803
|
properties used to qualify the lookup.
|
|
@@ -809,17 +805,16 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
809
805
|
:param str resource_name: The unique name of the resulting resource.
|
|
810
806
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
811
807
|
: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
|
-
provider{} configuration if not specified.
|
|
808
|
+
: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 provider{} configuration if not specified.
|
|
814
809
|
: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.
|
|
810
|
+
:param pulumi.Input[_builtins.str] end_time: A datetime stamp signifying the end of the Monitor Downtime.
|
|
816
811
|
: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.
|
|
812
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] maintenance_days: A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
813
|
+
:param pulumi.Input[_builtins.str] mode: An identifier of the type of Monitor Downtime to be created.
|
|
814
|
+
: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.
|
|
815
|
+
:param pulumi.Input[_builtins.str] name: A name to identify the Monitor Downtime to be created.
|
|
816
|
+
:param pulumi.Input[_builtins.str] start_time: A datetime stamp signifying the start of the Monitor Downtime.
|
|
817
|
+
:param pulumi.Input[_builtins.str] time_zone: The timezone that applies to the Monitor Downtime schedule.
|
|
823
818
|
"""
|
|
824
819
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
825
820
|
|
|
@@ -837,16 +832,15 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
837
832
|
__props__.__dict__["time_zone"] = time_zone
|
|
838
833
|
return MonitorDowntime(resource_name, opts=opts, __props__=__props__)
|
|
839
834
|
|
|
840
|
-
@property
|
|
835
|
+
@_builtins.property
|
|
841
836
|
@pulumi.getter(name="accountId")
|
|
842
|
-
def account_id(self) -> pulumi.Output[str]:
|
|
837
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
843
838
|
"""
|
|
844
|
-
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the
|
|
845
|
-
provider{} configuration if not specified.
|
|
839
|
+
The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the provider{} configuration if not specified.
|
|
846
840
|
"""
|
|
847
841
|
return pulumi.get(self, "account_id")
|
|
848
842
|
|
|
849
|
-
@property
|
|
843
|
+
@_builtins.property
|
|
850
844
|
@pulumi.getter(name="endRepeat")
|
|
851
845
|
def end_repeat(self) -> pulumi.Output[Optional['outputs.MonitorDowntimeEndRepeat']]:
|
|
852
846
|
"""
|
|
@@ -854,15 +848,15 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
854
848
|
"""
|
|
855
849
|
return pulumi.get(self, "end_repeat")
|
|
856
850
|
|
|
857
|
-
@property
|
|
851
|
+
@_builtins.property
|
|
858
852
|
@pulumi.getter(name="endTime")
|
|
859
|
-
def end_time(self) -> pulumi.Output[str]:
|
|
853
|
+
def end_time(self) -> pulumi.Output[_builtins.str]:
|
|
860
854
|
"""
|
|
861
855
|
A datetime stamp signifying the end of the Monitor Downtime.
|
|
862
856
|
"""
|
|
863
857
|
return pulumi.get(self, "end_time")
|
|
864
858
|
|
|
865
|
-
@property
|
|
859
|
+
@_builtins.property
|
|
866
860
|
@pulumi.getter
|
|
867
861
|
def frequency(self) -> pulumi.Output[Optional['outputs.MonitorDowntimeFrequency']]:
|
|
868
862
|
"""
|
|
@@ -870,49 +864,49 @@ class MonitorDowntime(pulumi.CustomResource):
|
|
|
870
864
|
"""
|
|
871
865
|
return pulumi.get(self, "frequency")
|
|
872
866
|
|
|
873
|
-
@property
|
|
867
|
+
@_builtins.property
|
|
874
868
|
@pulumi.getter(name="maintenanceDays")
|
|
875
|
-
def maintenance_days(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
869
|
+
def maintenance_days(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
876
870
|
"""
|
|
877
871
|
A list of maintenance days to be included with the created weekly Monitor Downtime.
|
|
878
872
|
"""
|
|
879
873
|
return pulumi.get(self, "maintenance_days")
|
|
880
874
|
|
|
881
|
-
@property
|
|
875
|
+
@_builtins.property
|
|
882
876
|
@pulumi.getter
|
|
883
|
-
def mode(self) -> pulumi.Output[str]:
|
|
877
|
+
def mode(self) -> pulumi.Output[_builtins.str]:
|
|
884
878
|
"""
|
|
885
879
|
An identifier of the type of Monitor Downtime to be created.
|
|
886
880
|
"""
|
|
887
881
|
return pulumi.get(self, "mode")
|
|
888
882
|
|
|
889
|
-
@property
|
|
883
|
+
@_builtins.property
|
|
890
884
|
@pulumi.getter(name="monitorGuids")
|
|
891
|
-
def monitor_guids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
885
|
+
def monitor_guids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
892
886
|
"""
|
|
893
887
|
A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
|
|
894
888
|
"""
|
|
895
889
|
return pulumi.get(self, "monitor_guids")
|
|
896
890
|
|
|
897
|
-
@property
|
|
891
|
+
@_builtins.property
|
|
898
892
|
@pulumi.getter
|
|
899
|
-
def name(self) -> pulumi.Output[str]:
|
|
893
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
900
894
|
"""
|
|
901
895
|
A name to identify the Monitor Downtime to be created.
|
|
902
896
|
"""
|
|
903
897
|
return pulumi.get(self, "name")
|
|
904
898
|
|
|
905
|
-
@property
|
|
899
|
+
@_builtins.property
|
|
906
900
|
@pulumi.getter(name="startTime")
|
|
907
|
-
def start_time(self) -> pulumi.Output[str]:
|
|
901
|
+
def start_time(self) -> pulumi.Output[_builtins.str]:
|
|
908
902
|
"""
|
|
909
903
|
A datetime stamp signifying the start of the Monitor Downtime.
|
|
910
904
|
"""
|
|
911
905
|
return pulumi.get(self, "start_time")
|
|
912
906
|
|
|
913
|
-
@property
|
|
907
|
+
@_builtins.property
|
|
914
908
|
@pulumi.getter(name="timeZone")
|
|
915
|
-
def time_zone(self) -> pulumi.Output[str]:
|
|
909
|
+
def time_zone(self) -> pulumi.Output[_builtins.str]:
|
|
916
910
|
"""
|
|
917
911
|
The timezone that applies to the Monitor Downtime schedule.
|
|
918
912
|
"""
|