pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__py3-none-any.whl

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