pulumi-newrelic 5.45.0a1743574084__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.0a1743574084.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.0a1743574084.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.45.0a1743574084.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,59 +22,59 @@ __all__ = ['MonitorArgs', 'Monitor']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class MonitorArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
status: pulumi.Input[str],
|
25
|
-
type: pulumi.Input[str],
|
26
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
27
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
|
-
bypass_head_request: Optional[pulumi.Input[bool]] = None,
|
25
|
+
status: pulumi.Input[builtins.str],
|
26
|
+
type: pulumi.Input[builtins.str],
|
27
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
28
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
29
|
+
bypass_head_request: Optional[pulumi.Input[builtins.bool]] = None,
|
29
30
|
custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None,
|
30
|
-
device_orientation: Optional[pulumi.Input[str]] = None,
|
31
|
-
device_type: Optional[pulumi.Input[str]] = None,
|
32
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
33
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
34
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
35
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
36
|
-
name: Optional[pulumi.Input[str]] = None,
|
37
|
-
period: Optional[pulumi.Input[str]] = None,
|
38
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
39
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
40
|
-
script_language: Optional[pulumi.Input[str]] = None,
|
31
|
+
device_orientation: Optional[pulumi.Input[builtins.str]] = None,
|
32
|
+
device_type: Optional[pulumi.Input[builtins.str]] = None,
|
33
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
34
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
35
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
36
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
37
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
38
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
39
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
40
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
41
|
+
script_language: Optional[pulumi.Input[builtins.str]] = None,
|
41
42
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]]] = None,
|
42
|
-
treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None,
|
43
|
-
uri: Optional[pulumi.Input[str]] = None,
|
44
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
45
|
-
validation_string: Optional[pulumi.Input[str]] = None,
|
46
|
-
verify_ssl: Optional[pulumi.Input[bool]] = None):
|
43
|
+
treat_redirect_as_failure: Optional[pulumi.Input[builtins.bool]] = None,
|
44
|
+
uri: Optional[pulumi.Input[builtins.str]] = None,
|
45
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
46
|
+
validation_string: Optional[pulumi.Input[builtins.str]] = None,
|
47
|
+
verify_ssl: Optional[pulumi.Input[builtins.bool]] = None):
|
47
48
|
"""
|
48
49
|
The set of arguments for constructing a Monitor resource.
|
49
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
50
|
-
:param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
51
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
53
|
-
:param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
50
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
51
|
+
:param pulumi.Input[builtins.str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
52
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
53
|
+
: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`.
|
54
|
+
:param pulumi.Input[builtins.bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
54
55
|
|
55
56
|
The `BROWSER` monitor type supports the following additional arguments:
|
56
57
|
:param pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
|
57
|
-
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
58
|
+
:param pulumi.Input[builtins.str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
58
59
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
59
|
-
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
60
|
+
:param pulumi.Input[builtins.str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
60
61
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
61
|
-
: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`.
|
62
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
63
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
64
|
-
: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.
|
65
|
-
:param pulumi.Input[str] name: The human-readable identifier for the monitor.
|
66
|
-
: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`.
|
67
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
68
|
-
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
69
|
-
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
62
|
+
: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`.
|
63
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
64
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
65
|
+
: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.
|
66
|
+
:param pulumi.Input[builtins.str] name: The human-readable identifier for the monitor.
|
67
|
+
: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`.
|
68
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
69
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
70
|
+
:param pulumi.Input[builtins.str] script_language: The programing language that should execute the script.
|
70
71
|
:param pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
71
72
|
|
72
73
|
The `SIMPLE` monitor type supports the following additional arguments:
|
73
|
-
:param pulumi.Input[bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
74
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
75
|
-
:param pulumi.Input[str] validation_string: Validation text for monitor to search for at given URI.
|
76
|
-
:param pulumi.Input[bool] verify_ssl: Monitor should validate SSL certificate chain.
|
74
|
+
:param pulumi.Input[builtins.bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
75
|
+
:param pulumi.Input[builtins.str] uri: The URI the monitor runs against.
|
76
|
+
:param pulumi.Input[builtins.str] validation_string: Validation text for monitor to search for at given URI.
|
77
|
+
:param pulumi.Input[builtins.bool] verify_ssl: Monitor should validate SSL certificate chain.
|
77
78
|
"""
|
78
79
|
pulumi.set(__self__, "status", status)
|
79
80
|
pulumi.set(__self__, "type", type)
|
@@ -122,55 +123,55 @@ class MonitorArgs:
|
|
122
123
|
|
123
124
|
@property
|
124
125
|
@pulumi.getter
|
125
|
-
def status(self) -> pulumi.Input[str]:
|
126
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
126
127
|
"""
|
127
128
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
128
129
|
"""
|
129
130
|
return pulumi.get(self, "status")
|
130
131
|
|
131
132
|
@status.setter
|
132
|
-
def status(self, value: pulumi.Input[str]):
|
133
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
133
134
|
pulumi.set(self, "status", value)
|
134
135
|
|
135
136
|
@property
|
136
137
|
@pulumi.getter
|
137
|
-
def type(self) -> pulumi.Input[str]:
|
138
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
138
139
|
"""
|
139
140
|
The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
140
141
|
"""
|
141
142
|
return pulumi.get(self, "type")
|
142
143
|
|
143
144
|
@type.setter
|
144
|
-
def type(self, value: pulumi.Input[str]):
|
145
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
145
146
|
pulumi.set(self, "type", value)
|
146
147
|
|
147
148
|
@property
|
148
149
|
@pulumi.getter(name="accountId")
|
149
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
150
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
150
151
|
"""
|
151
152
|
The account in which the Synthetics monitor will be created.
|
152
153
|
"""
|
153
154
|
return pulumi.get(self, "account_id")
|
154
155
|
|
155
156
|
@account_id.setter
|
156
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
157
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
157
158
|
pulumi.set(self, "account_id", value)
|
158
159
|
|
159
160
|
@property
|
160
161
|
@pulumi.getter
|
161
|
-
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
162
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
162
163
|
"""
|
163
164
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
164
165
|
"""
|
165
166
|
return pulumi.get(self, "browsers")
|
166
167
|
|
167
168
|
@browsers.setter
|
168
|
-
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
169
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
169
170
|
pulumi.set(self, "browsers", value)
|
170
171
|
|
171
172
|
@property
|
172
173
|
@pulumi.getter(name="bypassHeadRequest")
|
173
|
-
def bypass_head_request(self) -> Optional[pulumi.Input[bool]]:
|
174
|
+
def bypass_head_request(self) -> Optional[pulumi.Input[builtins.bool]]:
|
174
175
|
"""
|
175
176
|
Monitor should skip default HEAD request and instead use GET verb in check.
|
176
177
|
|
@@ -179,7 +180,7 @@ class MonitorArgs:
|
|
179
180
|
return pulumi.get(self, "bypass_head_request")
|
180
181
|
|
181
182
|
@bypass_head_request.setter
|
182
|
-
def bypass_head_request(self, value: Optional[pulumi.Input[bool]]):
|
183
|
+
def bypass_head_request(self, value: Optional[pulumi.Input[builtins.bool]]):
|
183
184
|
pulumi.set(self, "bypass_head_request", value)
|
184
185
|
|
185
186
|
@property
|
@@ -196,7 +197,7 @@ class MonitorArgs:
|
|
196
197
|
|
197
198
|
@property
|
198
199
|
@pulumi.getter(name="deviceOrientation")
|
199
|
-
def device_orientation(self) -> Optional[pulumi.Input[str]]:
|
200
|
+
def device_orientation(self) -> Optional[pulumi.Input[builtins.str]]:
|
200
201
|
"""
|
201
202
|
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
202
203
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
@@ -204,12 +205,12 @@ class MonitorArgs:
|
|
204
205
|
return pulumi.get(self, "device_orientation")
|
205
206
|
|
206
207
|
@device_orientation.setter
|
207
|
-
def device_orientation(self, value: Optional[pulumi.Input[str]]):
|
208
|
+
def device_orientation(self, value: Optional[pulumi.Input[builtins.str]]):
|
208
209
|
pulumi.set(self, "device_orientation", value)
|
209
210
|
|
210
211
|
@property
|
211
212
|
@pulumi.getter(name="deviceType")
|
212
|
-
def device_type(self) -> Optional[pulumi.Input[str]]:
|
213
|
+
def device_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
213
214
|
"""
|
214
215
|
Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
215
216
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
@@ -217,115 +218,115 @@ class MonitorArgs:
|
|
217
218
|
return pulumi.get(self, "device_type")
|
218
219
|
|
219
220
|
@device_type.setter
|
220
|
-
def device_type(self, value: Optional[pulumi.Input[str]]):
|
221
|
+
def device_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
221
222
|
pulumi.set(self, "device_type", value)
|
222
223
|
|
223
224
|
@property
|
224
225
|
@pulumi.getter
|
225
|
-
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
226
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
226
227
|
"""
|
227
228
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
228
229
|
"""
|
229
230
|
return pulumi.get(self, "devices")
|
230
231
|
|
231
232
|
@devices.setter
|
232
|
-
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
233
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
233
234
|
pulumi.set(self, "devices", value)
|
234
235
|
|
235
236
|
@property
|
236
237
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
237
|
-
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
238
|
+
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[builtins.bool]]:
|
238
239
|
"""
|
239
240
|
Capture a screenshot during job execution.
|
240
241
|
"""
|
241
242
|
return pulumi.get(self, "enable_screenshot_on_failure_and_script")
|
242
243
|
|
243
244
|
@enable_screenshot_on_failure_and_script.setter
|
244
|
-
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[bool]]):
|
245
|
+
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[builtins.bool]]):
|
245
246
|
pulumi.set(self, "enable_screenshot_on_failure_and_script", value)
|
246
247
|
|
247
248
|
@property
|
248
249
|
@pulumi.getter(name="locationsPrivates")
|
249
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
250
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
250
251
|
"""
|
251
252
|
The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
252
253
|
"""
|
253
254
|
return pulumi.get(self, "locations_privates")
|
254
255
|
|
255
256
|
@locations_privates.setter
|
256
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
257
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
257
258
|
pulumi.set(self, "locations_privates", value)
|
258
259
|
|
259
260
|
@property
|
260
261
|
@pulumi.getter(name="locationsPublics")
|
261
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
262
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
262
263
|
"""
|
263
264
|
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.
|
264
265
|
"""
|
265
266
|
return pulumi.get(self, "locations_publics")
|
266
267
|
|
267
268
|
@locations_publics.setter
|
268
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
269
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
269
270
|
pulumi.set(self, "locations_publics", value)
|
270
271
|
|
271
272
|
@property
|
272
273
|
@pulumi.getter
|
273
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
274
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
274
275
|
"""
|
275
276
|
The human-readable identifier for the monitor.
|
276
277
|
"""
|
277
278
|
return pulumi.get(self, "name")
|
278
279
|
|
279
280
|
@name.setter
|
280
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
281
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
281
282
|
pulumi.set(self, "name", value)
|
282
283
|
|
283
284
|
@property
|
284
285
|
@pulumi.getter
|
285
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
286
|
+
def period(self) -> Optional[pulumi.Input[builtins.str]]:
|
286
287
|
"""
|
287
288
|
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`.
|
288
289
|
"""
|
289
290
|
return pulumi.get(self, "period")
|
290
291
|
|
291
292
|
@period.setter
|
292
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
293
|
+
def period(self, value: Optional[pulumi.Input[builtins.str]]):
|
293
294
|
pulumi.set(self, "period", value)
|
294
295
|
|
295
296
|
@property
|
296
297
|
@pulumi.getter(name="runtimeType")
|
297
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
298
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
298
299
|
"""
|
299
300
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
300
301
|
"""
|
301
302
|
return pulumi.get(self, "runtime_type")
|
302
303
|
|
303
304
|
@runtime_type.setter
|
304
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
305
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
305
306
|
pulumi.set(self, "runtime_type", value)
|
306
307
|
|
307
308
|
@property
|
308
309
|
@pulumi.getter(name="runtimeTypeVersion")
|
309
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
310
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
310
311
|
"""
|
311
312
|
The specific version of the runtime type selected (`100`).
|
312
313
|
"""
|
313
314
|
return pulumi.get(self, "runtime_type_version")
|
314
315
|
|
315
316
|
@runtime_type_version.setter
|
316
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
317
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
317
318
|
pulumi.set(self, "runtime_type_version", value)
|
318
319
|
|
319
320
|
@property
|
320
321
|
@pulumi.getter(name="scriptLanguage")
|
321
|
-
def script_language(self) -> Optional[pulumi.Input[str]]:
|
322
|
+
def script_language(self) -> Optional[pulumi.Input[builtins.str]]:
|
322
323
|
"""
|
323
324
|
The programing language that should execute the script.
|
324
325
|
"""
|
325
326
|
return pulumi.get(self, "script_language")
|
326
327
|
|
327
328
|
@script_language.setter
|
328
|
-
def script_language(self, value: Optional[pulumi.Input[str]]):
|
329
|
+
def script_language(self, value: Optional[pulumi.Input[builtins.str]]):
|
329
330
|
pulumi.set(self, "script_language", value)
|
330
331
|
|
331
332
|
@property
|
@@ -344,120 +345,120 @@ class MonitorArgs:
|
|
344
345
|
|
345
346
|
@property
|
346
347
|
@pulumi.getter(name="treatRedirectAsFailure")
|
347
|
-
def treat_redirect_as_failure(self) -> Optional[pulumi.Input[bool]]:
|
348
|
+
def treat_redirect_as_failure(self) -> Optional[pulumi.Input[builtins.bool]]:
|
348
349
|
"""
|
349
350
|
Categorize redirects during a monitor job as a failure.
|
350
351
|
"""
|
351
352
|
return pulumi.get(self, "treat_redirect_as_failure")
|
352
353
|
|
353
354
|
@treat_redirect_as_failure.setter
|
354
|
-
def treat_redirect_as_failure(self, value: Optional[pulumi.Input[bool]]):
|
355
|
+
def treat_redirect_as_failure(self, value: Optional[pulumi.Input[builtins.bool]]):
|
355
356
|
pulumi.set(self, "treat_redirect_as_failure", value)
|
356
357
|
|
357
358
|
@property
|
358
359
|
@pulumi.getter
|
359
|
-
def uri(self) -> Optional[pulumi.Input[str]]:
|
360
|
+
def uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
360
361
|
"""
|
361
362
|
The URI the monitor runs against.
|
362
363
|
"""
|
363
364
|
return pulumi.get(self, "uri")
|
364
365
|
|
365
366
|
@uri.setter
|
366
|
-
def uri(self, value: Optional[pulumi.Input[str]]):
|
367
|
+
def uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
367
368
|
pulumi.set(self, "uri", value)
|
368
369
|
|
369
370
|
@property
|
370
371
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
371
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
372
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
372
373
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
373
374
|
|
374
375
|
@use_unsupported_legacy_runtime.setter
|
375
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
376
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
376
377
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
377
378
|
|
378
379
|
@property
|
379
380
|
@pulumi.getter(name="validationString")
|
380
|
-
def validation_string(self) -> Optional[pulumi.Input[str]]:
|
381
|
+
def validation_string(self) -> Optional[pulumi.Input[builtins.str]]:
|
381
382
|
"""
|
382
383
|
Validation text for monitor to search for at given URI.
|
383
384
|
"""
|
384
385
|
return pulumi.get(self, "validation_string")
|
385
386
|
|
386
387
|
@validation_string.setter
|
387
|
-
def validation_string(self, value: Optional[pulumi.Input[str]]):
|
388
|
+
def validation_string(self, value: Optional[pulumi.Input[builtins.str]]):
|
388
389
|
pulumi.set(self, "validation_string", value)
|
389
390
|
|
390
391
|
@property
|
391
392
|
@pulumi.getter(name="verifySsl")
|
392
|
-
def verify_ssl(self) -> Optional[pulumi.Input[bool]]:
|
393
|
+
def verify_ssl(self) -> Optional[pulumi.Input[builtins.bool]]:
|
393
394
|
"""
|
394
395
|
Monitor should validate SSL certificate chain.
|
395
396
|
"""
|
396
397
|
return pulumi.get(self, "verify_ssl")
|
397
398
|
|
398
399
|
@verify_ssl.setter
|
399
|
-
def verify_ssl(self, value: Optional[pulumi.Input[bool]]):
|
400
|
+
def verify_ssl(self, value: Optional[pulumi.Input[builtins.bool]]):
|
400
401
|
pulumi.set(self, "verify_ssl", value)
|
401
402
|
|
402
403
|
|
403
404
|
@pulumi.input_type
|
404
405
|
class _MonitorState:
|
405
406
|
def __init__(__self__, *,
|
406
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
407
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
408
|
-
bypass_head_request: Optional[pulumi.Input[bool]] = None,
|
407
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
408
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
409
|
+
bypass_head_request: Optional[pulumi.Input[builtins.bool]] = None,
|
409
410
|
custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None,
|
410
|
-
device_orientation: Optional[pulumi.Input[str]] = None,
|
411
|
-
device_type: Optional[pulumi.Input[str]] = None,
|
412
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
413
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
414
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
415
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
416
|
-
name: Optional[pulumi.Input[str]] = None,
|
417
|
-
period: Optional[pulumi.Input[str]] = None,
|
418
|
-
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
419
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
420
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
421
|
-
script_language: Optional[pulumi.Input[str]] = None,
|
422
|
-
status: Optional[pulumi.Input[str]] = None,
|
411
|
+
device_orientation: Optional[pulumi.Input[builtins.str]] = None,
|
412
|
+
device_type: Optional[pulumi.Input[builtins.str]] = None,
|
413
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
414
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
415
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
416
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
417
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
418
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
419
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
420
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
421
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
422
|
+
script_language: Optional[pulumi.Input[builtins.str]] = None,
|
423
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
423
424
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]]] = None,
|
424
|
-
treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None,
|
425
|
-
type: Optional[pulumi.Input[str]] = None,
|
426
|
-
uri: Optional[pulumi.Input[str]] = None,
|
427
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
428
|
-
validation_string: Optional[pulumi.Input[str]] = None,
|
429
|
-
verify_ssl: Optional[pulumi.Input[bool]] = None):
|
425
|
+
treat_redirect_as_failure: Optional[pulumi.Input[builtins.bool]] = None,
|
426
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
427
|
+
uri: Optional[pulumi.Input[builtins.str]] = None,
|
428
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
429
|
+
validation_string: Optional[pulumi.Input[builtins.str]] = None,
|
430
|
+
verify_ssl: Optional[pulumi.Input[builtins.bool]] = None):
|
430
431
|
"""
|
431
432
|
Input properties used for looking up and filtering Monitor resources.
|
432
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
433
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
434
|
-
:param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
433
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
434
|
+
: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`.
|
435
|
+
:param pulumi.Input[builtins.bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
435
436
|
|
436
437
|
The `BROWSER` monitor type supports the following additional arguments:
|
437
438
|
:param pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
|
438
|
-
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
439
|
+
:param pulumi.Input[builtins.str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
439
440
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
440
|
-
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
441
|
+
:param pulumi.Input[builtins.str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
441
442
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
442
|
-
: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`.
|
443
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
444
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
445
|
-
: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.
|
446
|
-
:param pulumi.Input[str] name: The human-readable identifier for the monitor.
|
447
|
-
: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`.
|
448
|
-
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
449
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
450
|
-
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
451
|
-
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
452
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
443
|
+
: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`.
|
444
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
445
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
446
|
+
: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.
|
447
|
+
:param pulumi.Input[builtins.str] name: The human-readable identifier for the monitor.
|
448
|
+
: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`.
|
449
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
450
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
451
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
452
|
+
:param pulumi.Input[builtins.str] script_language: The programing language that should execute the script.
|
453
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
453
454
|
:param pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
454
455
|
|
455
456
|
The `SIMPLE` monitor type supports the following additional arguments:
|
456
|
-
:param pulumi.Input[bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
457
|
-
:param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
458
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
459
|
-
:param pulumi.Input[str] validation_string: Validation text for monitor to search for at given URI.
|
460
|
-
:param pulumi.Input[bool] verify_ssl: Monitor should validate SSL certificate chain.
|
457
|
+
:param pulumi.Input[builtins.bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
458
|
+
:param pulumi.Input[builtins.str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
459
|
+
:param pulumi.Input[builtins.str] uri: The URI the monitor runs against.
|
460
|
+
:param pulumi.Input[builtins.str] validation_string: Validation text for monitor to search for at given URI.
|
461
|
+
:param pulumi.Input[builtins.bool] verify_ssl: Monitor should validate SSL certificate chain.
|
461
462
|
"""
|
462
463
|
if account_id is not None:
|
463
464
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -510,31 +511,31 @@ class _MonitorState:
|
|
510
511
|
|
511
512
|
@property
|
512
513
|
@pulumi.getter(name="accountId")
|
513
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
514
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
514
515
|
"""
|
515
516
|
The account in which the Synthetics monitor will be created.
|
516
517
|
"""
|
517
518
|
return pulumi.get(self, "account_id")
|
518
519
|
|
519
520
|
@account_id.setter
|
520
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
521
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
521
522
|
pulumi.set(self, "account_id", value)
|
522
523
|
|
523
524
|
@property
|
524
525
|
@pulumi.getter
|
525
|
-
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
526
|
+
def browsers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
526
527
|
"""
|
527
528
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
528
529
|
"""
|
529
530
|
return pulumi.get(self, "browsers")
|
530
531
|
|
531
532
|
@browsers.setter
|
532
|
-
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
533
|
+
def browsers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
533
534
|
pulumi.set(self, "browsers", value)
|
534
535
|
|
535
536
|
@property
|
536
537
|
@pulumi.getter(name="bypassHeadRequest")
|
537
|
-
def bypass_head_request(self) -> Optional[pulumi.Input[bool]]:
|
538
|
+
def bypass_head_request(self) -> Optional[pulumi.Input[builtins.bool]]:
|
538
539
|
"""
|
539
540
|
Monitor should skip default HEAD request and instead use GET verb in check.
|
540
541
|
|
@@ -543,7 +544,7 @@ class _MonitorState:
|
|
543
544
|
return pulumi.get(self, "bypass_head_request")
|
544
545
|
|
545
546
|
@bypass_head_request.setter
|
546
|
-
def bypass_head_request(self, value: Optional[pulumi.Input[bool]]):
|
547
|
+
def bypass_head_request(self, value: Optional[pulumi.Input[builtins.bool]]):
|
547
548
|
pulumi.set(self, "bypass_head_request", value)
|
548
549
|
|
549
550
|
@property
|
@@ -560,7 +561,7 @@ class _MonitorState:
|
|
560
561
|
|
561
562
|
@property
|
562
563
|
@pulumi.getter(name="deviceOrientation")
|
563
|
-
def device_orientation(self) -> Optional[pulumi.Input[str]]:
|
564
|
+
def device_orientation(self) -> Optional[pulumi.Input[builtins.str]]:
|
564
565
|
"""
|
565
566
|
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
566
567
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
@@ -568,12 +569,12 @@ class _MonitorState:
|
|
568
569
|
return pulumi.get(self, "device_orientation")
|
569
570
|
|
570
571
|
@device_orientation.setter
|
571
|
-
def device_orientation(self, value: Optional[pulumi.Input[str]]):
|
572
|
+
def device_orientation(self, value: Optional[pulumi.Input[builtins.str]]):
|
572
573
|
pulumi.set(self, "device_orientation", value)
|
573
574
|
|
574
575
|
@property
|
575
576
|
@pulumi.getter(name="deviceType")
|
576
|
-
def device_type(self) -> Optional[pulumi.Input[str]]:
|
577
|
+
def device_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
577
578
|
"""
|
578
579
|
Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
579
580
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
@@ -581,139 +582,139 @@ class _MonitorState:
|
|
581
582
|
return pulumi.get(self, "device_type")
|
582
583
|
|
583
584
|
@device_type.setter
|
584
|
-
def device_type(self, value: Optional[pulumi.Input[str]]):
|
585
|
+
def device_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
585
586
|
pulumi.set(self, "device_type", value)
|
586
587
|
|
587
588
|
@property
|
588
589
|
@pulumi.getter
|
589
|
-
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
590
|
+
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
590
591
|
"""
|
591
592
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
592
593
|
"""
|
593
594
|
return pulumi.get(self, "devices")
|
594
595
|
|
595
596
|
@devices.setter
|
596
|
-
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
597
|
+
def devices(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
597
598
|
pulumi.set(self, "devices", value)
|
598
599
|
|
599
600
|
@property
|
600
601
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
601
|
-
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[bool]]:
|
602
|
+
def enable_screenshot_on_failure_and_script(self) -> Optional[pulumi.Input[builtins.bool]]:
|
602
603
|
"""
|
603
604
|
Capture a screenshot during job execution.
|
604
605
|
"""
|
605
606
|
return pulumi.get(self, "enable_screenshot_on_failure_and_script")
|
606
607
|
|
607
608
|
@enable_screenshot_on_failure_and_script.setter
|
608
|
-
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[bool]]):
|
609
|
+
def enable_screenshot_on_failure_and_script(self, value: Optional[pulumi.Input[builtins.bool]]):
|
609
610
|
pulumi.set(self, "enable_screenshot_on_failure_and_script", value)
|
610
611
|
|
611
612
|
@property
|
612
613
|
@pulumi.getter(name="locationsPrivates")
|
613
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
614
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
614
615
|
"""
|
615
616
|
The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
616
617
|
"""
|
617
618
|
return pulumi.get(self, "locations_privates")
|
618
619
|
|
619
620
|
@locations_privates.setter
|
620
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
621
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
621
622
|
pulumi.set(self, "locations_privates", value)
|
622
623
|
|
623
624
|
@property
|
624
625
|
@pulumi.getter(name="locationsPublics")
|
625
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
626
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
626
627
|
"""
|
627
628
|
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.
|
628
629
|
"""
|
629
630
|
return pulumi.get(self, "locations_publics")
|
630
631
|
|
631
632
|
@locations_publics.setter
|
632
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
633
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
633
634
|
pulumi.set(self, "locations_publics", value)
|
634
635
|
|
635
636
|
@property
|
636
637
|
@pulumi.getter
|
637
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
638
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
638
639
|
"""
|
639
640
|
The human-readable identifier for the monitor.
|
640
641
|
"""
|
641
642
|
return pulumi.get(self, "name")
|
642
643
|
|
643
644
|
@name.setter
|
644
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
645
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
645
646
|
pulumi.set(self, "name", value)
|
646
647
|
|
647
648
|
@property
|
648
649
|
@pulumi.getter
|
649
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
650
|
+
def period(self) -> Optional[pulumi.Input[builtins.str]]:
|
650
651
|
"""
|
651
652
|
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`.
|
652
653
|
"""
|
653
654
|
return pulumi.get(self, "period")
|
654
655
|
|
655
656
|
@period.setter
|
656
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
657
|
+
def period(self, value: Optional[pulumi.Input[builtins.str]]):
|
657
658
|
pulumi.set(self, "period", value)
|
658
659
|
|
659
660
|
@property
|
660
661
|
@pulumi.getter(name="periodInMinutes")
|
661
|
-
def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
662
|
+
def period_in_minutes(self) -> Optional[pulumi.Input[builtins.int]]:
|
662
663
|
"""
|
663
664
|
The interval in minutes at which Synthetic monitor should run.
|
664
665
|
"""
|
665
666
|
return pulumi.get(self, "period_in_minutes")
|
666
667
|
|
667
668
|
@period_in_minutes.setter
|
668
|
-
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
669
|
+
def period_in_minutes(self, value: Optional[pulumi.Input[builtins.int]]):
|
669
670
|
pulumi.set(self, "period_in_minutes", value)
|
670
671
|
|
671
672
|
@property
|
672
673
|
@pulumi.getter(name="runtimeType")
|
673
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
674
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
674
675
|
"""
|
675
676
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
676
677
|
"""
|
677
678
|
return pulumi.get(self, "runtime_type")
|
678
679
|
|
679
680
|
@runtime_type.setter
|
680
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
681
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
681
682
|
pulumi.set(self, "runtime_type", value)
|
682
683
|
|
683
684
|
@property
|
684
685
|
@pulumi.getter(name="runtimeTypeVersion")
|
685
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
686
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
686
687
|
"""
|
687
688
|
The specific version of the runtime type selected (`100`).
|
688
689
|
"""
|
689
690
|
return pulumi.get(self, "runtime_type_version")
|
690
691
|
|
691
692
|
@runtime_type_version.setter
|
692
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
693
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
693
694
|
pulumi.set(self, "runtime_type_version", value)
|
694
695
|
|
695
696
|
@property
|
696
697
|
@pulumi.getter(name="scriptLanguage")
|
697
|
-
def script_language(self) -> Optional[pulumi.Input[str]]:
|
698
|
+
def script_language(self) -> Optional[pulumi.Input[builtins.str]]:
|
698
699
|
"""
|
699
700
|
The programing language that should execute the script.
|
700
701
|
"""
|
701
702
|
return pulumi.get(self, "script_language")
|
702
703
|
|
703
704
|
@script_language.setter
|
704
|
-
def script_language(self, value: Optional[pulumi.Input[str]]):
|
705
|
+
def script_language(self, value: Optional[pulumi.Input[builtins.str]]):
|
705
706
|
pulumi.set(self, "script_language", value)
|
706
707
|
|
707
708
|
@property
|
708
709
|
@pulumi.getter
|
709
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
710
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
710
711
|
"""
|
711
712
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
712
713
|
"""
|
713
714
|
return pulumi.get(self, "status")
|
714
715
|
|
715
716
|
@status.setter
|
716
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
717
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
717
718
|
pulumi.set(self, "status", value)
|
718
719
|
|
719
720
|
@property
|
@@ -732,71 +733,71 @@ class _MonitorState:
|
|
732
733
|
|
733
734
|
@property
|
734
735
|
@pulumi.getter(name="treatRedirectAsFailure")
|
735
|
-
def treat_redirect_as_failure(self) -> Optional[pulumi.Input[bool]]:
|
736
|
+
def treat_redirect_as_failure(self) -> Optional[pulumi.Input[builtins.bool]]:
|
736
737
|
"""
|
737
738
|
Categorize redirects during a monitor job as a failure.
|
738
739
|
"""
|
739
740
|
return pulumi.get(self, "treat_redirect_as_failure")
|
740
741
|
|
741
742
|
@treat_redirect_as_failure.setter
|
742
|
-
def treat_redirect_as_failure(self, value: Optional[pulumi.Input[bool]]):
|
743
|
+
def treat_redirect_as_failure(self, value: Optional[pulumi.Input[builtins.bool]]):
|
743
744
|
pulumi.set(self, "treat_redirect_as_failure", value)
|
744
745
|
|
745
746
|
@property
|
746
747
|
@pulumi.getter
|
747
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
748
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
748
749
|
"""
|
749
750
|
The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
750
751
|
"""
|
751
752
|
return pulumi.get(self, "type")
|
752
753
|
|
753
754
|
@type.setter
|
754
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
755
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
755
756
|
pulumi.set(self, "type", value)
|
756
757
|
|
757
758
|
@property
|
758
759
|
@pulumi.getter
|
759
|
-
def uri(self) -> Optional[pulumi.Input[str]]:
|
760
|
+
def uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
760
761
|
"""
|
761
762
|
The URI the monitor runs against.
|
762
763
|
"""
|
763
764
|
return pulumi.get(self, "uri")
|
764
765
|
|
765
766
|
@uri.setter
|
766
|
-
def uri(self, value: Optional[pulumi.Input[str]]):
|
767
|
+
def uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
767
768
|
pulumi.set(self, "uri", value)
|
768
769
|
|
769
770
|
@property
|
770
771
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
771
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
772
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
772
773
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
773
774
|
|
774
775
|
@use_unsupported_legacy_runtime.setter
|
775
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
776
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
776
777
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
777
778
|
|
778
779
|
@property
|
779
780
|
@pulumi.getter(name="validationString")
|
780
|
-
def validation_string(self) -> Optional[pulumi.Input[str]]:
|
781
|
+
def validation_string(self) -> Optional[pulumi.Input[builtins.str]]:
|
781
782
|
"""
|
782
783
|
Validation text for monitor to search for at given URI.
|
783
784
|
"""
|
784
785
|
return pulumi.get(self, "validation_string")
|
785
786
|
|
786
787
|
@validation_string.setter
|
787
|
-
def validation_string(self, value: Optional[pulumi.Input[str]]):
|
788
|
+
def validation_string(self, value: Optional[pulumi.Input[builtins.str]]):
|
788
789
|
pulumi.set(self, "validation_string", value)
|
789
790
|
|
790
791
|
@property
|
791
792
|
@pulumi.getter(name="verifySsl")
|
792
|
-
def verify_ssl(self) -> Optional[pulumi.Input[bool]]:
|
793
|
+
def verify_ssl(self) -> Optional[pulumi.Input[builtins.bool]]:
|
793
794
|
"""
|
794
795
|
Monitor should validate SSL certificate chain.
|
795
796
|
"""
|
796
797
|
return pulumi.get(self, "verify_ssl")
|
797
798
|
|
798
799
|
@verify_ssl.setter
|
799
|
-
def verify_ssl(self, value: Optional[pulumi.Input[bool]]):
|
800
|
+
def verify_ssl(self, value: Optional[pulumi.Input[builtins.bool]]):
|
800
801
|
pulumi.set(self, "verify_ssl", value)
|
801
802
|
|
802
803
|
|
@@ -805,29 +806,29 @@ class Monitor(pulumi.CustomResource):
|
|
805
806
|
def __init__(__self__,
|
806
807
|
resource_name: str,
|
807
808
|
opts: Optional[pulumi.ResourceOptions] = None,
|
808
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
809
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
810
|
-
bypass_head_request: Optional[pulumi.Input[bool]] = None,
|
809
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
810
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
811
|
+
bypass_head_request: Optional[pulumi.Input[builtins.bool]] = None,
|
811
812
|
custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]]] = None,
|
812
|
-
device_orientation: Optional[pulumi.Input[str]] = None,
|
813
|
-
device_type: Optional[pulumi.Input[str]] = None,
|
814
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
815
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
816
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
817
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
818
|
-
name: Optional[pulumi.Input[str]] = None,
|
819
|
-
period: Optional[pulumi.Input[str]] = None,
|
820
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
821
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
822
|
-
script_language: Optional[pulumi.Input[str]] = None,
|
823
|
-
status: Optional[pulumi.Input[str]] = None,
|
813
|
+
device_orientation: Optional[pulumi.Input[builtins.str]] = None,
|
814
|
+
device_type: Optional[pulumi.Input[builtins.str]] = None,
|
815
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
816
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
817
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
818
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
819
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
820
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
821
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
822
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
823
|
+
script_language: Optional[pulumi.Input[builtins.str]] = None,
|
824
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
824
825
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorTagArgs', 'MonitorTagArgsDict']]]]] = None,
|
825
|
-
treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None,
|
826
|
-
type: Optional[pulumi.Input[str]] = None,
|
827
|
-
uri: Optional[pulumi.Input[str]] = None,
|
828
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
829
|
-
validation_string: Optional[pulumi.Input[str]] = None,
|
830
|
-
verify_ssl: Optional[pulumi.Input[bool]] = None,
|
826
|
+
treat_redirect_as_failure: Optional[pulumi.Input[builtins.bool]] = None,
|
827
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
828
|
+
uri: Optional[pulumi.Input[builtins.str]] = None,
|
829
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
830
|
+
validation_string: Optional[pulumi.Input[builtins.str]] = None,
|
831
|
+
verify_ssl: Optional[pulumi.Input[builtins.bool]] = None,
|
831
832
|
__props__=None):
|
832
833
|
"""
|
833
834
|
## Example Usage
|
@@ -981,34 +982,34 @@ class Monitor(pulumi.CustomResource):
|
|
981
982
|
|
982
983
|
:param str resource_name: The name of the resource.
|
983
984
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
984
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
985
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
986
|
-
:param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
985
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
986
|
+
: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`.
|
987
|
+
:param pulumi.Input[builtins.bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
987
988
|
|
988
989
|
The `BROWSER` monitor type supports the following additional arguments:
|
989
990
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
|
990
|
-
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
991
|
+
:param pulumi.Input[builtins.str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
991
992
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
992
|
-
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
993
|
+
:param pulumi.Input[builtins.str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
993
994
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
994
|
-
: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`.
|
995
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
996
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
997
|
-
: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.
|
998
|
-
:param pulumi.Input[str] name: The human-readable identifier for the monitor.
|
999
|
-
: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`.
|
1000
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
1001
|
-
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
1002
|
-
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
1003
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
995
|
+
: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`.
|
996
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
997
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
998
|
+
: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.
|
999
|
+
:param pulumi.Input[builtins.str] name: The human-readable identifier for the monitor.
|
1000
|
+
: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`.
|
1001
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
1002
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
1003
|
+
:param pulumi.Input[builtins.str] script_language: The programing language that should execute the script.
|
1004
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
1004
1005
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorTagArgs', 'MonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
1005
1006
|
|
1006
1007
|
The `SIMPLE` monitor type supports the following additional arguments:
|
1007
|
-
:param pulumi.Input[bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
1008
|
-
:param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
1009
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
1010
|
-
:param pulumi.Input[str] validation_string: Validation text for monitor to search for at given URI.
|
1011
|
-
:param pulumi.Input[bool] verify_ssl: Monitor should validate SSL certificate chain.
|
1008
|
+
:param pulumi.Input[builtins.bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
1009
|
+
:param pulumi.Input[builtins.str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
1010
|
+
:param pulumi.Input[builtins.str] uri: The URI the monitor runs against.
|
1011
|
+
:param pulumi.Input[builtins.str] validation_string: Validation text for monitor to search for at given URI.
|
1012
|
+
:param pulumi.Input[builtins.bool] verify_ssl: Monitor should validate SSL certificate chain.
|
1012
1013
|
"""
|
1013
1014
|
...
|
1014
1015
|
@overload
|
@@ -1181,29 +1182,29 @@ class Monitor(pulumi.CustomResource):
|
|
1181
1182
|
def _internal_init(__self__,
|
1182
1183
|
resource_name: str,
|
1183
1184
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1184
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
1185
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1186
|
-
bypass_head_request: Optional[pulumi.Input[bool]] = None,
|
1185
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
1186
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1187
|
+
bypass_head_request: Optional[pulumi.Input[builtins.bool]] = None,
|
1187
1188
|
custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]]] = None,
|
1188
|
-
device_orientation: Optional[pulumi.Input[str]] = None,
|
1189
|
-
device_type: Optional[pulumi.Input[str]] = None,
|
1190
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1191
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
1192
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1193
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1194
|
-
name: Optional[pulumi.Input[str]] = None,
|
1195
|
-
period: Optional[pulumi.Input[str]] = None,
|
1196
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
1197
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
1198
|
-
script_language: Optional[pulumi.Input[str]] = None,
|
1199
|
-
status: Optional[pulumi.Input[str]] = None,
|
1189
|
+
device_orientation: Optional[pulumi.Input[builtins.str]] = None,
|
1190
|
+
device_type: Optional[pulumi.Input[builtins.str]] = None,
|
1191
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1192
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
1193
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1194
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1195
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
1196
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
1197
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
1198
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
1199
|
+
script_language: Optional[pulumi.Input[builtins.str]] = None,
|
1200
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
1200
1201
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorTagArgs', 'MonitorTagArgsDict']]]]] = None,
|
1201
|
-
treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None,
|
1202
|
-
type: Optional[pulumi.Input[str]] = None,
|
1203
|
-
uri: Optional[pulumi.Input[str]] = None,
|
1204
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
1205
|
-
validation_string: Optional[pulumi.Input[str]] = None,
|
1206
|
-
verify_ssl: Optional[pulumi.Input[bool]] = None,
|
1202
|
+
treat_redirect_as_failure: Optional[pulumi.Input[builtins.bool]] = None,
|
1203
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
1204
|
+
uri: Optional[pulumi.Input[builtins.str]] = None,
|
1205
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
1206
|
+
validation_string: Optional[pulumi.Input[builtins.str]] = None,
|
1207
|
+
verify_ssl: Optional[pulumi.Input[builtins.bool]] = None,
|
1207
1208
|
__props__=None):
|
1208
1209
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1209
1210
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -1251,30 +1252,30 @@ class Monitor(pulumi.CustomResource):
|
|
1251
1252
|
def get(resource_name: str,
|
1252
1253
|
id: pulumi.Input[str],
|
1253
1254
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1254
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
1255
|
-
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1256
|
-
bypass_head_request: Optional[pulumi.Input[bool]] = None,
|
1255
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
1256
|
+
browsers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1257
|
+
bypass_head_request: Optional[pulumi.Input[builtins.bool]] = None,
|
1257
1258
|
custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]]] = None,
|
1258
|
-
device_orientation: Optional[pulumi.Input[str]] = None,
|
1259
|
-
device_type: Optional[pulumi.Input[str]] = None,
|
1260
|
-
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1261
|
-
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None,
|
1262
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1263
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1264
|
-
name: Optional[pulumi.Input[str]] = None,
|
1265
|
-
period: Optional[pulumi.Input[str]] = None,
|
1266
|
-
period_in_minutes: Optional[pulumi.Input[int]] = None,
|
1267
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
1268
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
1269
|
-
script_language: Optional[pulumi.Input[str]] = None,
|
1270
|
-
status: Optional[pulumi.Input[str]] = None,
|
1259
|
+
device_orientation: Optional[pulumi.Input[builtins.str]] = None,
|
1260
|
+
device_type: Optional[pulumi.Input[builtins.str]] = None,
|
1261
|
+
devices: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1262
|
+
enable_screenshot_on_failure_and_script: Optional[pulumi.Input[builtins.bool]] = None,
|
1263
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1264
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1265
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
1266
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
1267
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
1268
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
1269
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
1270
|
+
script_language: Optional[pulumi.Input[builtins.str]] = None,
|
1271
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
1271
1272
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorTagArgs', 'MonitorTagArgsDict']]]]] = None,
|
1272
|
-
treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None,
|
1273
|
-
type: Optional[pulumi.Input[str]] = None,
|
1274
|
-
uri: Optional[pulumi.Input[str]] = None,
|
1275
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
1276
|
-
validation_string: Optional[pulumi.Input[str]] = None,
|
1277
|
-
verify_ssl: Optional[pulumi.Input[bool]] = None) -> 'Monitor':
|
1273
|
+
treat_redirect_as_failure: Optional[pulumi.Input[builtins.bool]] = None,
|
1274
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
1275
|
+
uri: Optional[pulumi.Input[builtins.str]] = None,
|
1276
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
1277
|
+
validation_string: Optional[pulumi.Input[builtins.str]] = None,
|
1278
|
+
verify_ssl: Optional[pulumi.Input[builtins.bool]] = None) -> 'Monitor':
|
1278
1279
|
"""
|
1279
1280
|
Get an existing Monitor resource's state with the given name, id, and optional extra
|
1280
1281
|
properties used to qualify the lookup.
|
@@ -1282,35 +1283,35 @@ class Monitor(pulumi.CustomResource):
|
|
1282
1283
|
:param str resource_name: The unique name of the resulting resource.
|
1283
1284
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1284
1285
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1285
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
1286
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] browsers: The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
1287
|
-
:param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
1286
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
1287
|
+
: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`.
|
1288
|
+
:param pulumi.Input[builtins.bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check.
|
1288
1289
|
|
1289
1290
|
The `BROWSER` monitor type supports the following additional arguments:
|
1290
1291
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorCustomHeaderArgs', 'MonitorCustomHeaderArgsDict']]]] custom_headers: Custom headers to use in monitor job. See Nested custom_header blocks below for details.
|
1291
|
-
:param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
1292
|
+
:param pulumi.Input[builtins.str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
1292
1293
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
1293
|
-
:param pulumi.Input[str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
1294
|
+
:param pulumi.Input[builtins.str] device_type: Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
1294
1295
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
1295
|
-
: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`.
|
1296
|
-
:param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
1297
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
1298
|
-
: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.
|
1299
|
-
:param pulumi.Input[str] name: The human-readable identifier for the monitor.
|
1300
|
-
: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`.
|
1301
|
-
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
1302
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
1303
|
-
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
1304
|
-
:param pulumi.Input[str] script_language: The programing language that should execute the script.
|
1305
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
1296
|
+
: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`.
|
1297
|
+
:param pulumi.Input[builtins.bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution.
|
1298
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
1299
|
+
: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.
|
1300
|
+
:param pulumi.Input[builtins.str] name: The human-readable identifier for the monitor.
|
1301
|
+
: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`.
|
1302
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
1303
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
1304
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific version of the runtime type selected (`100`).
|
1305
|
+
:param pulumi.Input[builtins.str] script_language: The programing language that should execute the script.
|
1306
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
1306
1307
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorTagArgs', 'MonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
|
1307
1308
|
|
1308
1309
|
The `SIMPLE` monitor type supports the following additional arguments:
|
1309
|
-
:param pulumi.Input[bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
1310
|
-
:param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
1311
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
1312
|
-
:param pulumi.Input[str] validation_string: Validation text for monitor to search for at given URI.
|
1313
|
-
:param pulumi.Input[bool] verify_ssl: Monitor should validate SSL certificate chain.
|
1310
|
+
:param pulumi.Input[builtins.bool] treat_redirect_as_failure: Categorize redirects during a monitor job as a failure.
|
1311
|
+
:param pulumi.Input[builtins.str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
1312
|
+
:param pulumi.Input[builtins.str] uri: The URI the monitor runs against.
|
1313
|
+
:param pulumi.Input[builtins.str] validation_string: Validation text for monitor to search for at given URI.
|
1314
|
+
:param pulumi.Input[builtins.bool] verify_ssl: Monitor should validate SSL certificate chain.
|
1314
1315
|
"""
|
1315
1316
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1316
1317
|
|
@@ -1344,7 +1345,7 @@ class Monitor(pulumi.CustomResource):
|
|
1344
1345
|
|
1345
1346
|
@property
|
1346
1347
|
@pulumi.getter(name="accountId")
|
1347
|
-
def account_id(self) -> pulumi.Output[str]:
|
1348
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
1348
1349
|
"""
|
1349
1350
|
The account in which the Synthetics monitor will be created.
|
1350
1351
|
"""
|
@@ -1352,7 +1353,7 @@ class Monitor(pulumi.CustomResource):
|
|
1352
1353
|
|
1353
1354
|
@property
|
1354
1355
|
@pulumi.getter
|
1355
|
-
def browsers(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1356
|
+
def browsers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1356
1357
|
"""
|
1357
1358
|
The multiple browsers list on which synthetic monitors will run. Valid values are `CHROME` and `FIREFOX`.
|
1358
1359
|
"""
|
@@ -1360,7 +1361,7 @@ class Monitor(pulumi.CustomResource):
|
|
1360
1361
|
|
1361
1362
|
@property
|
1362
1363
|
@pulumi.getter(name="bypassHeadRequest")
|
1363
|
-
def bypass_head_request(self) -> pulumi.Output[Optional[bool]]:
|
1364
|
+
def bypass_head_request(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1364
1365
|
"""
|
1365
1366
|
Monitor should skip default HEAD request and instead use GET verb in check.
|
1366
1367
|
|
@@ -1378,7 +1379,7 @@ class Monitor(pulumi.CustomResource):
|
|
1378
1379
|
|
1379
1380
|
@property
|
1380
1381
|
@pulumi.getter(name="deviceOrientation")
|
1381
|
-
def device_orientation(self) -> pulumi.Output[Optional[str]]:
|
1382
|
+
def device_orientation(self) -> pulumi.Output[Optional[builtins.str]]:
|
1382
1383
|
"""
|
1383
1384
|
Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`.
|
1384
1385
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
@@ -1387,7 +1388,7 @@ class Monitor(pulumi.CustomResource):
|
|
1387
1388
|
|
1388
1389
|
@property
|
1389
1390
|
@pulumi.getter(name="deviceType")
|
1390
|
-
def device_type(self) -> pulumi.Output[Optional[str]]:
|
1391
|
+
def device_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
1391
1392
|
"""
|
1392
1393
|
Device emulation type field. Valid values are `MOBILE` and `TABLET`.
|
1393
1394
|
* We recommend you to use `devices` field instead of `device_type`,`device_orientation` fields, as it allows you to select multiple combinations of device types and orientations.
|
@@ -1396,7 +1397,7 @@ class Monitor(pulumi.CustomResource):
|
|
1396
1397
|
|
1397
1398
|
@property
|
1398
1399
|
@pulumi.getter
|
1399
|
-
def devices(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1400
|
+
def devices(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1400
1401
|
"""
|
1401
1402
|
The multiple devices list on which synthetic monitors will run. Valid values are `DESKTOP`, `MOBILE_LANDSCAPE`, `MOBILE_PORTRAIT`, `TABLET_LANDSCAPE` and `TABLET_PORTRAIT`.
|
1402
1403
|
"""
|
@@ -1404,7 +1405,7 @@ class Monitor(pulumi.CustomResource):
|
|
1404
1405
|
|
1405
1406
|
@property
|
1406
1407
|
@pulumi.getter(name="enableScreenshotOnFailureAndScript")
|
1407
|
-
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[bool]]:
|
1408
|
+
def enable_screenshot_on_failure_and_script(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1408
1409
|
"""
|
1409
1410
|
Capture a screenshot during job execution.
|
1410
1411
|
"""
|
@@ -1412,7 +1413,7 @@ class Monitor(pulumi.CustomResource):
|
|
1412
1413
|
|
1413
1414
|
@property
|
1414
1415
|
@pulumi.getter(name="locationsPrivates")
|
1415
|
-
def locations_privates(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1416
|
+
def locations_privates(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1416
1417
|
"""
|
1417
1418
|
The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
1418
1419
|
"""
|
@@ -1420,7 +1421,7 @@ class Monitor(pulumi.CustomResource):
|
|
1420
1421
|
|
1421
1422
|
@property
|
1422
1423
|
@pulumi.getter(name="locationsPublics")
|
1423
|
-
def locations_publics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1424
|
+
def locations_publics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1424
1425
|
"""
|
1425
1426
|
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.
|
1426
1427
|
"""
|
@@ -1428,7 +1429,7 @@ class Monitor(pulumi.CustomResource):
|
|
1428
1429
|
|
1429
1430
|
@property
|
1430
1431
|
@pulumi.getter
|
1431
|
-
def name(self) -> pulumi.Output[str]:
|
1432
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
1432
1433
|
"""
|
1433
1434
|
The human-readable identifier for the monitor.
|
1434
1435
|
"""
|
@@ -1436,7 +1437,7 @@ class Monitor(pulumi.CustomResource):
|
|
1436
1437
|
|
1437
1438
|
@property
|
1438
1439
|
@pulumi.getter
|
1439
|
-
def period(self) -> pulumi.Output[str]:
|
1440
|
+
def period(self) -> pulumi.Output[builtins.str]:
|
1440
1441
|
"""
|
1441
1442
|
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`.
|
1442
1443
|
"""
|
@@ -1444,7 +1445,7 @@ class Monitor(pulumi.CustomResource):
|
|
1444
1445
|
|
1445
1446
|
@property
|
1446
1447
|
@pulumi.getter(name="periodInMinutes")
|
1447
|
-
def period_in_minutes(self) -> pulumi.Output[int]:
|
1448
|
+
def period_in_minutes(self) -> pulumi.Output[builtins.int]:
|
1448
1449
|
"""
|
1449
1450
|
The interval in minutes at which Synthetic monitor should run.
|
1450
1451
|
"""
|
@@ -1452,7 +1453,7 @@ class Monitor(pulumi.CustomResource):
|
|
1452
1453
|
|
1453
1454
|
@property
|
1454
1455
|
@pulumi.getter(name="runtimeType")
|
1455
|
-
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
1456
|
+
def runtime_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
1456
1457
|
"""
|
1457
1458
|
The runtime that the monitor will use to run jobs (`CHROME_BROWSER`).
|
1458
1459
|
"""
|
@@ -1460,7 +1461,7 @@ class Monitor(pulumi.CustomResource):
|
|
1460
1461
|
|
1461
1462
|
@property
|
1462
1463
|
@pulumi.getter(name="runtimeTypeVersion")
|
1463
|
-
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
1464
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[builtins.str]]:
|
1464
1465
|
"""
|
1465
1466
|
The specific version of the runtime type selected (`100`).
|
1466
1467
|
"""
|
@@ -1468,7 +1469,7 @@ class Monitor(pulumi.CustomResource):
|
|
1468
1469
|
|
1469
1470
|
@property
|
1470
1471
|
@pulumi.getter(name="scriptLanguage")
|
1471
|
-
def script_language(self) -> pulumi.Output[Optional[str]]:
|
1472
|
+
def script_language(self) -> pulumi.Output[Optional[builtins.str]]:
|
1472
1473
|
"""
|
1473
1474
|
The programing language that should execute the script.
|
1474
1475
|
"""
|
@@ -1476,7 +1477,7 @@ class Monitor(pulumi.CustomResource):
|
|
1476
1477
|
|
1477
1478
|
@property
|
1478
1479
|
@pulumi.getter
|
1479
|
-
def status(self) -> pulumi.Output[str]:
|
1480
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
1480
1481
|
"""
|
1481
1482
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
1482
1483
|
"""
|
@@ -1494,7 +1495,7 @@ class Monitor(pulumi.CustomResource):
|
|
1494
1495
|
|
1495
1496
|
@property
|
1496
1497
|
@pulumi.getter(name="treatRedirectAsFailure")
|
1497
|
-
def treat_redirect_as_failure(self) -> pulumi.Output[Optional[bool]]:
|
1498
|
+
def treat_redirect_as_failure(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1498
1499
|
"""
|
1499
1500
|
Categorize redirects during a monitor job as a failure.
|
1500
1501
|
"""
|
@@ -1502,7 +1503,7 @@ class Monitor(pulumi.CustomResource):
|
|
1502
1503
|
|
1503
1504
|
@property
|
1504
1505
|
@pulumi.getter
|
1505
|
-
def type(self) -> pulumi.Output[str]:
|
1506
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
1506
1507
|
"""
|
1507
1508
|
The monitor type. Valid values are `SIMPLE` and `BROWSER`.
|
1508
1509
|
"""
|
@@ -1510,7 +1511,7 @@ class Monitor(pulumi.CustomResource):
|
|
1510
1511
|
|
1511
1512
|
@property
|
1512
1513
|
@pulumi.getter
|
1513
|
-
def uri(self) -> pulumi.Output[Optional[str]]:
|
1514
|
+
def uri(self) -> pulumi.Output[Optional[builtins.str]]:
|
1514
1515
|
"""
|
1515
1516
|
The URI the monitor runs against.
|
1516
1517
|
"""
|
@@ -1518,12 +1519,12 @@ class Monitor(pulumi.CustomResource):
|
|
1518
1519
|
|
1519
1520
|
@property
|
1520
1521
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
1521
|
-
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[bool]]:
|
1522
|
+
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1522
1523
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
1523
1524
|
|
1524
1525
|
@property
|
1525
1526
|
@pulumi.getter(name="validationString")
|
1526
|
-
def validation_string(self) -> pulumi.Output[Optional[str]]:
|
1527
|
+
def validation_string(self) -> pulumi.Output[Optional[builtins.str]]:
|
1527
1528
|
"""
|
1528
1529
|
Validation text for monitor to search for at given URI.
|
1529
1530
|
"""
|
@@ -1531,7 +1532,7 @@ class Monitor(pulumi.CustomResource):
|
|
1531
1532
|
|
1532
1533
|
@property
|
1533
1534
|
@pulumi.getter(name="verifySsl")
|
1534
|
-
def verify_ssl(self) -> pulumi.Output[Optional[bool]]:
|
1535
|
+
def verify_ssl(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1535
1536
|
"""
|
1536
1537
|
Monitor should validate SSL certificate chain.
|
1537
1538
|
"""
|