pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.1__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 +179 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +326 -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 +263 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +193 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
- pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.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,34 +22,34 @@ __all__ = ['StepMonitorArgs', 'StepMonitor']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class StepMonitorArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
period: pulumi.Input[str],
|
25
|
-
status: pulumi.Input[str],
|
25
|
+
period: pulumi.Input[builtins.str],
|
26
|
+
status: pulumi.Input[builtins.str],
|
26
27
|
steps: pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]],
|
27
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
28
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
29
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
28
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
30
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
31
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
31
32
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
|
32
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
33
|
-
name: Optional[pulumi.Input[str]] = None,
|
34
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
35
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
33
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
34
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
35
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
36
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
36
37
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None,
|
37
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
38
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
38
39
|
"""
|
39
40
|
The set of arguments for constructing a StepMonitor resource.
|
40
|
-
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
41
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
41
|
+
:param pulumi.Input[builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
42
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
42
43
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
43
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
44
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
46
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
44
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
47
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
47
48
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
49
|
-
:param pulumi.Input[str] name: The name for the monitor.
|
50
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
51
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
49
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
50
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
51
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
52
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
52
53
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
53
54
|
"""
|
54
55
|
pulumi.set(__self__, "period", period)
|
@@ -79,26 +80,26 @@ class StepMonitorArgs:
|
|
79
80
|
|
80
81
|
@property
|
81
82
|
@pulumi.getter
|
82
|
-
def period(self) -> pulumi.Input[str]:
|
83
|
+
def period(self) -> pulumi.Input[builtins.str]:
|
83
84
|
"""
|
84
85
|
The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
85
86
|
"""
|
86
87
|
return pulumi.get(self, "period")
|
87
88
|
|
88
89
|
@period.setter
|
89
|
-
def period(self, value: pulumi.Input[str]):
|
90
|
+
def period(self, value: pulumi.Input[builtins.str]):
|
90
91
|
pulumi.set(self, "period", value)
|
91
92
|
|
92
93
|
@property
|
93
94
|
@pulumi.getter
|
94
|
-
def status(self) -> pulumi.Input[str]:
|
95
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
95
96
|
"""
|
96
97
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
97
98
|
"""
|
98
99
|
return pulumi.get(self, "status")
|
99
100
|
|
100
101
|
@status.setter
|
101
|
-
def status(self, value: pulumi.Input[str]):
|
102
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
102
103
|
pulumi.set(self, "status", value)
|
103
104
|
|
104
105
|
@property
|
@@ -115,50 +116,50 @@ class StepMonitorArgs:
|
|
115
116
|
|
116
117
|
@property
|
117
118
|
@pulumi.getter(name="accountId")
|
118
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
119
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
119
120
|
"""
|
120
121
|
The account in which the Synthetics monitor will be created.
|
121
122
|
"""
|
122
123
|
return pulumi.get(self, "account_id")
|
123
124
|
|
124
125
|
@account_id.setter
|
125
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
126
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
126
127
|
pulumi.set(self, "account_id", value)
|
127
128
|
|
128
129
|
@property
|
129
130
|
@pulumi.getter
|
130
|
-
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
131
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
131
132
|
"""
|
132
133
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
133
134
|
"""
|
134
135
|
return pulumi.get(self, "browsers")
|
135
136
|
|
136
137
|
@browsers.setter
|
137
|
-
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
138
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
138
139
|
pulumi.set(self, "browsers", value)
|
139
140
|
|
140
141
|
@property
|
141
142
|
@pulumi.getter
|
142
|
-
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
143
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
143
144
|
"""
|
144
145
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
145
146
|
"""
|
146
147
|
return pulumi.get(self, "devices")
|
147
148
|
|
148
149
|
@devices.setter
|
149
|
-
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
150
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
150
151
|
pulumi.set(self, "devices", value)
|
151
152
|
|
152
153
|
@property
|
153
154
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
154
|
-
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
155
|
+
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[builtins.bool]]:
|
155
156
|
"""
|
156
157
|
Capture a screenshot during job execution.
|
157
158
|
"""
|
158
159
|
return pulumi.get(self, "enable_screenshot_on_failure_and_script")
|
159
160
|
|
160
161
|
@enable_screenshot_on_failure_and_script.setter
|
161
|
-
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[bool]]):
|
162
|
+
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[builtins.bool]]):
|
162
163
|
pulumi.set(self, "enable_screenshot_on_failure_and_script", value)
|
163
164
|
|
164
165
|
@property
|
@@ -175,50 +176,50 @@ class StepMonitorArgs:
|
|
175
176
|
|
176
177
|
@property
|
177
178
|
@pulumi.getter(name="locationsPublics")
|
178
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
179
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
179
180
|
"""
|
180
181
|
The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
181
182
|
"""
|
182
183
|
return pulumi.get(self, "locations_publics")
|
183
184
|
|
184
185
|
@locations_publics.setter
|
185
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
186
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
186
187
|
pulumi.set(self, "locations_publics", value)
|
187
188
|
|
188
189
|
@property
|
189
190
|
@pulumi.getter
|
190
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
191
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
191
192
|
"""
|
192
193
|
The name for the monitor.
|
193
194
|
"""
|
194
195
|
return pulumi.get(self, "name")
|
195
196
|
|
196
197
|
@name.setter
|
197
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
198
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
198
199
|
pulumi.set(self, "name", value)
|
199
200
|
|
200
201
|
@property
|
201
202
|
@pulumi.getter(name="runtimeType")
|
202
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
203
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
203
204
|
"""
|
204
205
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
205
206
|
"""
|
206
207
|
return pulumi.get(self, "runtime_type")
|
207
208
|
|
208
209
|
@runtime_type.setter
|
209
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
210
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
210
211
|
pulumi.set(self, "runtime_type", value)
|
211
212
|
|
212
213
|
@property
|
213
214
|
@pulumi.getter(name="runtimeTypeVersion")
|
214
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
215
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
215
216
|
"""
|
216
217
|
The specific semver version of the runtime type.
|
217
218
|
"""
|
218
219
|
return pulumi.get(self, "runtime_type_version")
|
219
220
|
|
220
221
|
@runtime_type_version.setter
|
221
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
222
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
222
223
|
pulumi.set(self, "runtime_type_version", value)
|
223
224
|
|
224
225
|
@property
|
@@ -235,48 +236,50 @@ class StepMonitorArgs:
|
|
235
236
|
|
236
237
|
@property
|
237
238
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
238
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
239
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
239
240
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
240
241
|
|
241
242
|
@use_unsupported_legacy_runtime.setter
|
242
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
243
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
243
244
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
244
245
|
|
245
246
|
|
246
247
|
@pulumi.input_type
|
247
248
|
class _StepMonitorState:
|
248
249
|
def __init__(__self__, *,
|
249
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
250
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
251
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
252
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
253
|
-
guid: Optional[pulumi.Input[str]] = None,
|
250
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
251
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
252
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
253
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
254
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
254
255
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
|
255
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
256
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
257
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
258
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
259
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
260
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
261
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
262
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
263
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
262
264
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]]] = None,
|
263
265
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None,
|
264
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
266
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
265
267
|
"""
|
266
268
|
Input properties used for looking up and filtering StepMonitor resources.
|
267
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
268
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
269
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
270
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
271
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
269
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
270
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
271
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
272
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
273
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
272
274
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
273
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
274
|
-
:param pulumi.Input[str]
|
275
|
-
:param pulumi.Input[str]
|
276
|
-
:param pulumi.Input[
|
277
|
-
:param pulumi.Input[
|
278
|
-
:param pulumi.Input[str]
|
279
|
-
:param pulumi.Input[str]
|
275
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
276
|
+
:param pulumi.Input[builtins.str] monitor_id: The monitor id of the synthetics step monitor (not to be confused with the GUID of the monitor).
|
277
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
278
|
+
:param pulumi.Input[builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
279
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
280
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
281
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
282
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
280
283
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
281
284
|
:param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
282
285
|
"""
|
@@ -294,6 +297,8 @@ class _StepMonitorState:
|
|
294
297
|
pulumi.set(__self__, "location_privates", location_privates)
|
295
298
|
if locations_publics is not None:
|
296
299
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
300
|
+
if monitor_id is not None:
|
301
|
+
pulumi.set(__self__, "monitor_id", monitor_id)
|
297
302
|
if name is not None:
|
298
303
|
pulumi.set(__self__, "name", name)
|
299
304
|
if period is not None:
|
@@ -315,62 +320,62 @@ class _StepMonitorState:
|
|
315
320
|
|
316
321
|
@property
|
317
322
|
@pulumi.getter(name="accountId")
|
318
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
323
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
319
324
|
"""
|
320
325
|
The account in which the Synthetics monitor will be created.
|
321
326
|
"""
|
322
327
|
return pulumi.get(self, "account_id")
|
323
328
|
|
324
329
|
@account_id.setter
|
325
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
330
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
326
331
|
pulumi.set(self, "account_id", value)
|
327
332
|
|
328
333
|
@property
|
329
334
|
@pulumi.getter
|
330
|
-
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
335
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
331
336
|
"""
|
332
337
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
333
338
|
"""
|
334
339
|
return pulumi.get(self, "browsers")
|
335
340
|
|
336
341
|
@browsers.setter
|
337
|
-
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
342
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
338
343
|
pulumi.set(self, "browsers", value)
|
339
344
|
|
340
345
|
@property
|
341
346
|
@pulumi.getter
|
342
|
-
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
347
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
343
348
|
"""
|
344
349
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
345
350
|
"""
|
346
351
|
return pulumi.get(self, "devices")
|
347
352
|
|
348
353
|
@devices.setter
|
349
|
-
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
354
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
350
355
|
pulumi.set(self, "devices", value)
|
351
356
|
|
352
357
|
@property
|
353
358
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
354
|
-
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
359
|
+
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[builtins.bool]]:
|
355
360
|
"""
|
356
361
|
Capture a screenshot during job execution.
|
357
362
|
"""
|
358
363
|
return pulumi.get(self, "enable_screenshot_on_failure_and_script")
|
359
364
|
|
360
365
|
@enable_screenshot_on_failure_and_script.setter
|
361
|
-
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[bool]]):
|
366
|
+
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[builtins.bool]]):
|
362
367
|
pulumi.set(self, "enable_screenshot_on_failure_and_script", value)
|
363
368
|
|
364
369
|
@property
|
365
370
|
@pulumi.getter
|
366
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
371
|
+
def guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
367
372
|
"""
|
368
373
|
The unique entity identifier of the monitor in New Relic.
|
369
374
|
"""
|
370
375
|
return pulumi.get(self, "guid")
|
371
376
|
|
372
377
|
@guid.setter
|
373
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
378
|
+
def guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
374
379
|
pulumi.set(self, "guid", value)
|
375
380
|
|
376
381
|
@property
|
@@ -387,86 +392,98 @@ class _StepMonitorState:
|
|
387
392
|
|
388
393
|
@property
|
389
394
|
@pulumi.getter(name="locationsPublics")
|
390
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
395
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
391
396
|
"""
|
392
397
|
The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
393
398
|
"""
|
394
399
|
return pulumi.get(self, "locations_publics")
|
395
400
|
|
396
401
|
@locations_publics.setter
|
397
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
402
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
398
403
|
pulumi.set(self, "locations_publics", value)
|
399
404
|
|
405
|
+
@property
|
406
|
+
@pulumi.getter(name="monitorId")
|
407
|
+
def monitor_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
408
|
+
"""
|
409
|
+
The monitor id of the synthetics step monitor (not to be confused with the GUID of the monitor).
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "monitor_id")
|
412
|
+
|
413
|
+
@monitor_id.setter
|
414
|
+
def monitor_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
415
|
+
pulumi.set(self, "monitor_id", value)
|
416
|
+
|
400
417
|
@property
|
401
418
|
@pulumi.getter
|
402
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
419
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
403
420
|
"""
|
404
421
|
The name for the monitor.
|
405
422
|
"""
|
406
423
|
return pulumi.get(self, "name")
|
407
424
|
|
408
425
|
@name.setter
|
409
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
426
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
410
427
|
pulumi.set(self, "name", value)
|
411
428
|
|
412
429
|
@property
|
413
430
|
@pulumi.getter
|
414
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
431
|
+
def period(self) -> Optional[pulumi.Input[builtins.str]]:
|
415
432
|
"""
|
416
433
|
The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
417
434
|
"""
|
418
435
|
return pulumi.get(self, "period")
|
419
436
|
|
420
437
|
@period.setter
|
421
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
438
|
+
def period(self, value: Optional[pulumi.Input[builtins.str]]):
|
422
439
|
pulumi.set(self, "period", value)
|
423
440
|
|
424
441
|
@property
|
425
442
|
@pulumi.getter(name="periodInMinutes")
|
426
|
-
def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
443
|
+
def period_in_minutes(self) -> Optional[pulumi.Input[builtins.int]]:
|
427
444
|
"""
|
428
445
|
The interval in minutes at which Synthetic monitor should run.
|
429
446
|
"""
|
430
447
|
return pulumi.get(self, "period_in_minutes")
|
431
448
|
|
432
449
|
@period_in_minutes.setter
|
433
|
-
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
450
|
+
def period_in_minutes(self, value: Optional[pulumi.Input[builtins.int]]):
|
434
451
|
pulumi.set(self, "period_in_minutes", value)
|
435
452
|
|
436
453
|
@property
|
437
454
|
@pulumi.getter(name="runtimeType")
|
438
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
455
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
439
456
|
"""
|
440
457
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
441
458
|
"""
|
442
459
|
return pulumi.get(self, "runtime_type")
|
443
460
|
|
444
461
|
@runtime_type.setter
|
445
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
462
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
446
463
|
pulumi.set(self, "runtime_type", value)
|
447
464
|
|
448
465
|
@property
|
449
466
|
@pulumi.getter(name="runtimeTypeVersion")
|
450
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
467
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
451
468
|
"""
|
452
469
|
The specific semver version of the runtime type.
|
453
470
|
"""
|
454
471
|
return pulumi.get(self, "runtime_type_version")
|
455
472
|
|
456
473
|
@runtime_type_version.setter
|
457
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
474
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
458
475
|
pulumi.set(self, "runtime_type_version", value)
|
459
476
|
|
460
477
|
@property
|
461
478
|
@pulumi.getter
|
462
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
479
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
463
480
|
"""
|
464
481
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
465
482
|
"""
|
466
483
|
return pulumi.get(self, "status")
|
467
484
|
|
468
485
|
@status.setter
|
469
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
486
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
470
487
|
pulumi.set(self, "status", value)
|
471
488
|
|
472
489
|
@property
|
@@ -495,11 +512,11 @@ class _StepMonitorState:
|
|
495
512
|
|
496
513
|
@property
|
497
514
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
498
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
515
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
499
516
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
500
517
|
|
501
518
|
@use_unsupported_legacy_runtime.setter
|
502
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
519
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
503
520
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
504
521
|
|
505
522
|
|
@@ -508,20 +525,20 @@ class StepMonitor(pulumi.CustomResource):
|
|
508
525
|
def __init__(__self__,
|
509
526
|
resource_name: str,
|
510
527
|
opts: Optional[pulumi.ResourceOptions] = None,
|
511
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
512
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
513
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
514
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
528
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
529
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
530
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
531
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
515
532
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
516
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
517
|
-
name: Optional[pulumi.Input[str]] = None,
|
518
|
-
period: Optional[pulumi.Input[str]] = None,
|
519
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
520
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
521
|
-
status: Optional[pulumi.Input[str]] = None,
|
533
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
534
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
535
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
536
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
537
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
538
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
522
539
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
523
540
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
524
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
541
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
525
542
|
__props__=None):
|
526
543
|
"""
|
527
544
|
## Example Usage
|
@@ -614,17 +631,17 @@ class StepMonitor(pulumi.CustomResource):
|
|
614
631
|
|
615
632
|
:param str resource_name: The name of the resource.
|
616
633
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
617
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
618
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
619
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
620
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
634
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
635
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
636
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
637
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
621
638
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
622
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
623
|
-
:param pulumi.Input[str] name: The name for the monitor.
|
624
|
-
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
625
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
626
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
627
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
639
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
640
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
641
|
+
:param pulumi.Input[builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
642
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
643
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
644
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
628
645
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
629
646
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
630
647
|
"""
|
@@ -738,20 +755,20 @@ class StepMonitor(pulumi.CustomResource):
|
|
738
755
|
def _internal_init(__self__,
|
739
756
|
resource_name: str,
|
740
757
|
opts: Optional[pulumi.ResourceOptions] = None,
|
741
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
742
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
743
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
744
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
758
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
759
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
760
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
761
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
745
762
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
746
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
747
|
-
name: Optional[pulumi.Input[str]] = None,
|
748
|
-
period: Optional[pulumi.Input[str]] = None,
|
749
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
750
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
751
|
-
status: Optional[pulumi.Input[str]] = None,
|
763
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
764
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
765
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
766
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
767
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
768
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
752
769
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
753
770
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
754
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
771
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
755
772
|
__props__=None):
|
756
773
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
757
774
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -782,6 +799,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
782
799
|
__props__.__dict__["tags"] = tags
|
783
800
|
__props__.__dict__["use_unsupported_legacy_runtime"] = use_unsupported_legacy_runtime
|
784
801
|
__props__.__dict__["guid"] = None
|
802
|
+
__props__.__dict__["monitor_id"] = None
|
785
803
|
__props__.__dict__["period_in_minutes"] = None
|
786
804
|
super(StepMonitor, __self__).__init__(
|
787
805
|
'newrelic:synthetics/stepMonitor:StepMonitor',
|
@@ -793,22 +811,23 @@ class StepMonitor(pulumi.CustomResource):
|
|
793
811
|
def get(resource_name: str,
|
794
812
|
id: pulumi.Input[str],
|
795
813
|
opts: Optional[pulumi.ResourceOptions] = None,
|
796
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
797
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
798
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
799
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
800
|
-
guid: Optional[pulumi.Input[str]] = None,
|
814
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
815
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
816
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
817
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
818
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
801
819
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
802
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
820
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
821
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
822
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
823
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
824
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
825
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
826
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
827
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
809
828
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
810
829
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
811
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None) -> 'StepMonitor':
|
830
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None) -> 'StepMonitor':
|
812
831
|
"""
|
813
832
|
Get an existing StepMonitor resource's state with the given name, id, and optional extra
|
814
833
|
properties used to qualify the lookup.
|
@@ -816,19 +835,20 @@ class StepMonitor(pulumi.CustomResource):
|
|
816
835
|
:param str resource_name: The unique name of the resulting resource.
|
817
836
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
818
837
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
819
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
820
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
821
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
822
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
823
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
838
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
839
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
840
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] devices: The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
841
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
842
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
824
843
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]] location_privates: The location the monitor will run from. At least one of `locations_public` or `location_private` is required. See Nested locations_private blocks below for details.
|
825
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
826
|
-
:param pulumi.Input[str]
|
827
|
-
:param pulumi.Input[str]
|
828
|
-
:param pulumi.Input[
|
829
|
-
:param pulumi.Input[
|
830
|
-
:param pulumi.Input[str]
|
831
|
-
:param pulumi.Input[str]
|
844
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
845
|
+
:param pulumi.Input[builtins.str] monitor_id: The monitor id of the synthetics step monitor (not to be confused with the GUID of the monitor).
|
846
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
847
|
+
:param pulumi.Input[builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
848
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
849
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
850
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
851
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
832
852
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
|
833
853
|
:param pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
834
854
|
"""
|
@@ -843,6 +863,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
843
863
|
__props__.__dict__["guid"] = guid
|
844
864
|
__props__.__dict__["location_privates"] = location_privates
|
845
865
|
__props__.__dict__["locations_publics"] = locations_publics
|
866
|
+
__props__.__dict__["monitor_id"] = monitor_id
|
846
867
|
__props__.__dict__["name"] = name
|
847
868
|
__props__.__dict__["period"] = period
|
848
869
|
__props__.__dict__["period_in_minutes"] = period_in_minutes
|
@@ -856,7 +877,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
856
877
|
|
857
878
|
@property
|
858
879
|
@pulumi.getter(name="accountId")
|
859
|
-
def account_id(self) -> pulumi.Output[str]:
|
880
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
860
881
|
"""
|
861
882
|
The account in which the Synthetics monitor will be created.
|
862
883
|
"""
|
@@ -864,7 +885,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
864
885
|
|
865
886
|
@property
|
866
887
|
@pulumi.getter
|
867
|
-
def browsers(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
888
|
+
def browsers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
868
889
|
"""
|
869
890
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
870
891
|
"""
|
@@ -872,7 +893,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
872
893
|
|
873
894
|
@property
|
874
895
|
@pulumi.getter
|
875
|
-
def devices(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
896
|
+
def devices(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
876
897
|
"""
|
877
898
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
878
899
|
"""
|
@@ -880,7 +901,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
880
901
|
|
881
902
|
@property
|
882
903
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
883
|
-
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[bool]]:
|
904
|
+
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[builtins.bool]]:
|
884
905
|
"""
|
885
906
|
Capture a screenshot during job execution.
|
886
907
|
"""
|
@@ -888,7 +909,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
888
909
|
|
889
910
|
@property
|
890
911
|
@pulumi.getter
|
891
|
-
def guid(self) -> pulumi.Output[str]:
|
912
|
+
def guid(self) -> pulumi.Output[builtins.str]:
|
892
913
|
"""
|
893
914
|
The unique entity identifier of the monitor in New Relic.
|
894
915
|
"""
|
@@ -904,15 +925,23 @@ class StepMonitor(pulumi.CustomResource):
|
|
904
925
|
|
905
926
|
@property
|
906
927
|
@pulumi.getter(name="locationsPublics")
|
907
|
-
def locations_publics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
928
|
+
def locations_publics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
908
929
|
"""
|
909
930
|
The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
910
931
|
"""
|
911
932
|
return pulumi.get(self, "locations_publics")
|
912
933
|
|
934
|
+
@property
|
935
|
+
@pulumi.getter(name="monitorId")
|
936
|
+
def monitor_id(self) -> pulumi.Output[builtins.str]:
|
937
|
+
"""
|
938
|
+
The monitor id of the synthetics step monitor (not to be confused with the GUID of the monitor).
|
939
|
+
"""
|
940
|
+
return pulumi.get(self, "monitor_id")
|
941
|
+
|
913
942
|
@property
|
914
943
|
@pulumi.getter
|
915
|
-
def name(self) -> pulumi.Output[str]:
|
944
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
916
945
|
"""
|
917
946
|
The name for the monitor.
|
918
947
|
"""
|
@@ -920,7 +949,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
920
949
|
|
921
950
|
@property
|
922
951
|
@pulumi.getter
|
923
|
-
def period(self) -> pulumi.Output[str]:
|
952
|
+
def period(self) -> pulumi.Output[builtins.str]:
|
924
953
|
"""
|
925
954
|
The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
926
955
|
"""
|
@@ -928,7 +957,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
928
957
|
|
929
958
|
@property
|
930
959
|
@pulumi.getter(name="periodInMinutes")
|
931
|
-
def period_in_minutes(self) -> pulumi.Output[int]:
|
960
|
+
def period_in_minutes(self) -> pulumi.Output[builtins.int]:
|
932
961
|
"""
|
933
962
|
The interval in minutes at which Synthetic monitor should run.
|
934
963
|
"""
|
@@ -936,7 +965,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
936
965
|
|
937
966
|
@property
|
938
967
|
@pulumi.getter(name="runtimeType")
|
939
|
-
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
968
|
+
def runtime_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
940
969
|
"""
|
941
970
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
942
971
|
"""
|
@@ -944,7 +973,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
944
973
|
|
945
974
|
@property
|
946
975
|
@pulumi.getter(name="runtimeTypeVersion")
|
947
|
-
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
976
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[builtins.str]]:
|
948
977
|
"""
|
949
978
|
The specific semver version of the runtime type.
|
950
979
|
"""
|
@@ -952,7 +981,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
952
981
|
|
953
982
|
@property
|
954
983
|
@pulumi.getter
|
955
|
-
def status(self) -> pulumi.Output[str]:
|
984
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
956
985
|
"""
|
957
986
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
958
987
|
"""
|
@@ -976,6 +1005,6 @@ class StepMonitor(pulumi.CustomResource):
|
|
976
1005
|
|
977
1006
|
@property
|
978
1007
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
979
|
-
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[bool]]:
|
1008
|
+
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[builtins.bool]]:
|
980
1009
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
981
1010
|
|