pulumi-newrelic 5.45.0a1743488085__py3-none-any.whl → 5.45.0a1744183332__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +151 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +158 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +298 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +235 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +165 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.45.0a1744183332.dist-info/RECORD +90 -0
- pulumi_newrelic-5.45.0a1743488085.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.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,48 @@ 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
|
-
name: Optional[pulumi.Input[str]] = None,
|
257
|
-
period: Optional[pulumi.Input[str]] = None,
|
258
|
-
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
259
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
260
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
261
|
-
status: Optional[pulumi.Input[str]] = None,
|
256
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
257
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
258
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
259
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
260
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
261
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
262
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
262
263
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]]] = None,
|
263
264
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None,
|
264
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
265
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
265
266
|
"""
|
266
267
|
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.
|
268
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
269
|
+
: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`.
|
270
|
+
: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`.
|
271
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
272
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
272
273
|
: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] name: The name for the monitor.
|
275
|
-
: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`.
|
276
|
-
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
277
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
278
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
279
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
274
|
+
: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.
|
275
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
276
|
+
: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`.
|
277
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
278
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
279
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
280
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
280
281
|
: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
282
|
: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
283
|
"""
|
@@ -315,62 +316,62 @@ class _StepMonitorState:
|
|
315
316
|
|
316
317
|
@property
|
317
318
|
@pulumi.getter(name="accountId")
|
318
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
319
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
319
320
|
"""
|
320
321
|
The account in which the Synthetics monitor will be created.
|
321
322
|
"""
|
322
323
|
return pulumi.get(self, "account_id")
|
323
324
|
|
324
325
|
@account_id.setter
|
325
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
326
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
326
327
|
pulumi.set(self, "account_id", value)
|
327
328
|
|
328
329
|
@property
|
329
330
|
@pulumi.getter
|
330
|
-
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
331
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
331
332
|
"""
|
332
333
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
333
334
|
"""
|
334
335
|
return pulumi.get(self, "browsers")
|
335
336
|
|
336
337
|
@browsers.setter
|
337
|
-
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
338
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
338
339
|
pulumi.set(self, "browsers", value)
|
339
340
|
|
340
341
|
@property
|
341
342
|
@pulumi.getter
|
342
|
-
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
343
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
343
344
|
"""
|
344
345
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
345
346
|
"""
|
346
347
|
return pulumi.get(self, "devices")
|
347
348
|
|
348
349
|
@devices.setter
|
349
|
-
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
350
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
350
351
|
pulumi.set(self, "devices", value)
|
351
352
|
|
352
353
|
@property
|
353
354
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
354
|
-
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
355
|
+
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[builtins.bool]]:
|
355
356
|
"""
|
356
357
|
Capture a screenshot during job execution.
|
357
358
|
"""
|
358
359
|
return pulumi.get(self, "enable_screenshot_on_failure_and_script")
|
359
360
|
|
360
361
|
@enable_screenshot_on_failure_and_script.setter
|
361
|
-
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[bool]]):
|
362
|
+
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[builtins.bool]]):
|
362
363
|
pulumi.set(self, "enable_screenshot_on_failure_and_script", value)
|
363
364
|
|
364
365
|
@property
|
365
366
|
@pulumi.getter
|
366
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
367
|
+
def guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
367
368
|
"""
|
368
369
|
The unique entity identifier of the monitor in New Relic.
|
369
370
|
"""
|
370
371
|
return pulumi.get(self, "guid")
|
371
372
|
|
372
373
|
@guid.setter
|
373
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
374
|
+
def guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
374
375
|
pulumi.set(self, "guid", value)
|
375
376
|
|
376
377
|
@property
|
@@ -387,86 +388,86 @@ class _StepMonitorState:
|
|
387
388
|
|
388
389
|
@property
|
389
390
|
@pulumi.getter(name="locationsPublics")
|
390
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
391
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
391
392
|
"""
|
392
393
|
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
394
|
"""
|
394
395
|
return pulumi.get(self, "locations_publics")
|
395
396
|
|
396
397
|
@locations_publics.setter
|
397
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
398
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
398
399
|
pulumi.set(self, "locations_publics", value)
|
399
400
|
|
400
401
|
@property
|
401
402
|
@pulumi.getter
|
402
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
403
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
403
404
|
"""
|
404
405
|
The name for the monitor.
|
405
406
|
"""
|
406
407
|
return pulumi.get(self, "name")
|
407
408
|
|
408
409
|
@name.setter
|
409
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
410
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
410
411
|
pulumi.set(self, "name", value)
|
411
412
|
|
412
413
|
@property
|
413
414
|
@pulumi.getter
|
414
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
415
|
+
def period(self) -> Optional[pulumi.Input[builtins.str]]:
|
415
416
|
"""
|
416
417
|
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
418
|
"""
|
418
419
|
return pulumi.get(self, "period")
|
419
420
|
|
420
421
|
@period.setter
|
421
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
422
|
+
def period(self, value: Optional[pulumi.Input[builtins.str]]):
|
422
423
|
pulumi.set(self, "period", value)
|
423
424
|
|
424
425
|
@property
|
425
426
|
@pulumi.getter(name="periodInMinutes")
|
426
|
-
def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
427
|
+
def period_in_minutes(self) -> Optional[pulumi.Input[builtins.int]]:
|
427
428
|
"""
|
428
429
|
The interval in minutes at which Synthetic monitor should run.
|
429
430
|
"""
|
430
431
|
return pulumi.get(self, "period_in_minutes")
|
431
432
|
|
432
433
|
@period_in_minutes.setter
|
433
|
-
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
434
|
+
def period_in_minutes(self, value: Optional[pulumi.Input[builtins.int]]):
|
434
435
|
pulumi.set(self, "period_in_minutes", value)
|
435
436
|
|
436
437
|
@property
|
437
438
|
@pulumi.getter(name="runtimeType")
|
438
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
439
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
439
440
|
"""
|
440
441
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
441
442
|
"""
|
442
443
|
return pulumi.get(self, "runtime_type")
|
443
444
|
|
444
445
|
@runtime_type.setter
|
445
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
446
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
446
447
|
pulumi.set(self, "runtime_type", value)
|
447
448
|
|
448
449
|
@property
|
449
450
|
@pulumi.getter(name="runtimeTypeVersion")
|
450
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
451
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
451
452
|
"""
|
452
453
|
The specific semver version of the runtime type.
|
453
454
|
"""
|
454
455
|
return pulumi.get(self, "runtime_type_version")
|
455
456
|
|
456
457
|
@runtime_type_version.setter
|
457
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
458
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
458
459
|
pulumi.set(self, "runtime_type_version", value)
|
459
460
|
|
460
461
|
@property
|
461
462
|
@pulumi.getter
|
462
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
463
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
463
464
|
"""
|
464
465
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
465
466
|
"""
|
466
467
|
return pulumi.get(self, "status")
|
467
468
|
|
468
469
|
@status.setter
|
469
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
470
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
470
471
|
pulumi.set(self, "status", value)
|
471
472
|
|
472
473
|
@property
|
@@ -495,11 +496,11 @@ class _StepMonitorState:
|
|
495
496
|
|
496
497
|
@property
|
497
498
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
498
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
499
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
499
500
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
500
501
|
|
501
502
|
@use_unsupported_legacy_runtime.setter
|
502
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
503
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
503
504
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
504
505
|
|
505
506
|
|
@@ -508,20 +509,20 @@ class StepMonitor(pulumi.CustomResource):
|
|
508
509
|
def __init__(__self__,
|
509
510
|
resource_name: str,
|
510
511
|
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,
|
512
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
513
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
514
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
515
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
515
516
|
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,
|
517
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
518
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
519
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
520
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
521
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
522
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
522
523
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
523
524
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
524
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
525
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
525
526
|
__props__=None):
|
526
527
|
"""
|
527
528
|
## Example Usage
|
@@ -614,17 +615,17 @@ class StepMonitor(pulumi.CustomResource):
|
|
614
615
|
|
615
616
|
:param str resource_name: The name of the resource.
|
616
617
|
: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.
|
618
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
619
|
+
: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`.
|
620
|
+
: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`.
|
621
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
621
622
|
: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`).
|
623
|
+
: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.
|
624
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
625
|
+
: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`.
|
626
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
627
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
628
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
628
629
|
: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
630
|
: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
631
|
"""
|
@@ -738,20 +739,20 @@ class StepMonitor(pulumi.CustomResource):
|
|
738
739
|
def _internal_init(__self__,
|
739
740
|
resource_name: str,
|
740
741
|
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,
|
742
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
743
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
744
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
745
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
745
746
|
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,
|
747
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
748
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
749
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
750
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
751
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
752
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
752
753
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
753
754
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
754
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
755
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
755
756
|
__props__=None):
|
756
757
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
757
758
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -793,22 +794,22 @@ class StepMonitor(pulumi.CustomResource):
|
|
793
794
|
def get(resource_name: str,
|
794
795
|
id: pulumi.Input[str],
|
795
796
|
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,
|
797
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
798
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
799
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
800
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
801
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
801
802
|
location_privates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorLocationPrivateArgs', 'StepMonitorLocationPrivateArgsDict']]]]] = None,
|
802
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
803
|
-
name: Optional[pulumi.Input[str]] = None,
|
804
|
-
period: Optional[pulumi.Input[str]] = None,
|
805
|
-
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
806
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
807
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
808
|
-
status: Optional[pulumi.Input[str]] = None,
|
803
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
804
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
805
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
806
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
807
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
808
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
809
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
809
810
|
steps: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorStepArgs', 'StepMonitorStepArgsDict']]]]] = None,
|
810
811
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['StepMonitorTagArgs', 'StepMonitorTagArgsDict']]]]] = None,
|
811
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None) -> 'StepMonitor':
|
812
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None) -> 'StepMonitor':
|
812
813
|
"""
|
813
814
|
Get an existing StepMonitor resource's state with the given name, id, and optional extra
|
814
815
|
properties used to qualify the lookup.
|
@@ -816,19 +817,19 @@ class StepMonitor(pulumi.CustomResource):
|
|
816
817
|
:param str resource_name: The unique name of the resulting resource.
|
817
818
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
818
819
|
: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.
|
820
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
821
|
+
: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`.
|
822
|
+
: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`.
|
823
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
824
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
824
825
|
: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] name: The name for the monitor.
|
827
|
-
: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`.
|
828
|
-
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
829
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
830
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
831
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
826
|
+
: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.
|
827
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
828
|
+
: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`.
|
829
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
830
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
831
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
832
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
832
833
|
: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
834
|
: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
835
|
"""
|
@@ -856,7 +857,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
856
857
|
|
857
858
|
@property
|
858
859
|
@pulumi.getter(name="accountId")
|
859
|
-
def account_id(self) -> pulumi.Output[str]:
|
860
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
860
861
|
"""
|
861
862
|
The account in which the Synthetics monitor will be created.
|
862
863
|
"""
|
@@ -864,7 +865,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
864
865
|
|
865
866
|
@property
|
866
867
|
@pulumi.getter
|
867
|
-
def browsers(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
868
|
+
def browsers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
868
869
|
"""
|
869
870
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
870
871
|
"""
|
@@ -872,7 +873,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
872
873
|
|
873
874
|
@property
|
874
875
|
@pulumi.getter
|
875
|
-
def devices(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
876
|
+
def devices(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
876
877
|
"""
|
877
878
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
878
879
|
"""
|
@@ -880,7 +881,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
880
881
|
|
881
882
|
@property
|
882
883
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
883
|
-
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[bool]]:
|
884
|
+
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[builtins.bool]]:
|
884
885
|
"""
|
885
886
|
Capture a screenshot during job execution.
|
886
887
|
"""
|
@@ -888,7 +889,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
888
889
|
|
889
890
|
@property
|
890
891
|
@pulumi.getter
|
891
|
-
def guid(self) -> pulumi.Output[str]:
|
892
|
+
def guid(self) -> pulumi.Output[builtins.str]:
|
892
893
|
"""
|
893
894
|
The unique entity identifier of the monitor in New Relic.
|
894
895
|
"""
|
@@ -904,7 +905,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
904
905
|
|
905
906
|
@property
|
906
907
|
@pulumi.getter(name="locationsPublics")
|
907
|
-
def locations_publics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
908
|
+
def locations_publics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
908
909
|
"""
|
909
910
|
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
911
|
"""
|
@@ -912,7 +913,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
912
913
|
|
913
914
|
@property
|
914
915
|
@pulumi.getter
|
915
|
-
def name(self) -> pulumi.Output[str]:
|
916
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
916
917
|
"""
|
917
918
|
The name for the monitor.
|
918
919
|
"""
|
@@ -920,7 +921,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
920
921
|
|
921
922
|
@property
|
922
923
|
@pulumi.getter
|
923
|
-
def period(self) -> pulumi.Output[str]:
|
924
|
+
def period(self) -> pulumi.Output[builtins.str]:
|
924
925
|
"""
|
925
926
|
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
927
|
"""
|
@@ -928,7 +929,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
928
929
|
|
929
930
|
@property
|
930
931
|
@pulumi.getter(name="periodInMinutes")
|
931
|
-
def period_in_minutes(self) -> pulumi.Output[int]:
|
932
|
+
def period_in_minutes(self) -> pulumi.Output[builtins.int]:
|
932
933
|
"""
|
933
934
|
The interval in minutes at which Synthetic monitor should run.
|
934
935
|
"""
|
@@ -936,7 +937,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
936
937
|
|
937
938
|
@property
|
938
939
|
@pulumi.getter(name="runtimeType")
|
939
|
-
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
940
|
+
def runtime_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
940
941
|
"""
|
941
942
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
942
943
|
"""
|
@@ -944,7 +945,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
944
945
|
|
945
946
|
@property
|
946
947
|
@pulumi.getter(name="runtimeTypeVersion")
|
947
|
-
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
948
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[builtins.str]]:
|
948
949
|
"""
|
949
950
|
The specific semver version of the runtime type.
|
950
951
|
"""
|
@@ -952,7 +953,7 @@ class StepMonitor(pulumi.CustomResource):
|
|
952
953
|
|
953
954
|
@property
|
954
955
|
@pulumi.getter
|
955
|
-
def status(self) -> pulumi.Output[str]:
|
956
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
956
957
|
"""
|
957
958
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
958
959
|
"""
|
@@ -976,6 +977,6 @@ class StepMonitor(pulumi.CustomResource):
|
|
976
977
|
|
977
978
|
@property
|
978
979
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
979
|
-
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[bool]]:
|
980
|
+
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[builtins.bool]]:
|
980
981
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
981
982
|
|