pulumi-newrelic 5.22.0__py3-none-any.whl → 5.22.0a1711519579__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.
@@ -21,10 +21,10 @@ class BrowserApplicationArgs:
21
21
  name: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a BrowserApplication resource.
24
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
25
- :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
26
- :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
27
- :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
24
+ :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
25
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
26
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
27
+ :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
28
28
  :param pulumi.Input[str] name: The name of the browser application.
29
29
  """
30
30
  if account_id is not None:
@@ -42,7 +42,7 @@ class BrowserApplicationArgs:
42
42
  @pulumi.getter(name="accountId")
43
43
  def account_id(self) -> Optional[pulumi.Input[int]]:
44
44
  """
45
- The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
45
+ The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
46
46
  """
47
47
  return pulumi.get(self, "account_id")
48
48
 
@@ -54,7 +54,7 @@ class BrowserApplicationArgs:
54
54
  @pulumi.getter(name="cookiesEnabled")
55
55
  def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
56
56
  """
57
- Configures cookies. Defaults to `true`, if not specified.
57
+ Configure cookies. The default is enabled: true.
58
58
  """
59
59
  return pulumi.get(self, "cookies_enabled")
60
60
 
@@ -66,7 +66,7 @@ class BrowserApplicationArgs:
66
66
  @pulumi.getter(name="distributedTracingEnabled")
67
67
  def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
68
68
  """
69
- Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
69
+ Configure distributed tracing in browser apps. The default is enabled: true.
70
70
  """
71
71
  return pulumi.get(self, "distributed_tracing_enabled")
72
72
 
@@ -78,7 +78,7 @@ class BrowserApplicationArgs:
78
78
  @pulumi.getter(name="loaderType")
79
79
  def loader_type(self) -> Optional[pulumi.Input[str]]:
80
80
  """
81
- Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
81
+ Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
82
82
  """
83
83
  return pulumi.get(self, "loader_type")
84
84
 
@@ -103,7 +103,6 @@ class BrowserApplicationArgs:
103
103
  class _BrowserApplicationState:
104
104
  def __init__(__self__, *,
105
105
  account_id: Optional[pulumi.Input[int]] = None,
106
- application_id: Optional[pulumi.Input[str]] = None,
107
106
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
108
107
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
109
108
  guid: Optional[pulumi.Input[str]] = None,
@@ -112,19 +111,16 @@ class _BrowserApplicationState:
112
111
  name: Optional[pulumi.Input[str]] = None):
113
112
  """
114
113
  Input properties used for looking up and filtering BrowserApplication resources.
115
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
116
- :param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
117
- :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
118
- :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
114
+ :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
115
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
116
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
119
117
  :param pulumi.Input[str] guid: The GUID of the browser application.
120
- :param pulumi.Input[str] js_config: The JavaScript configuration of the browser application, encoded into a string.
121
- :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
118
+ :param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
119
+ :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
122
120
  :param pulumi.Input[str] name: The name of the browser application.
123
121
  """
124
122
  if account_id is not None:
125
123
  pulumi.set(__self__, "account_id", account_id)
126
- if application_id is not None:
127
- pulumi.set(__self__, "application_id", application_id)
128
124
  if cookies_enabled is not None:
129
125
  pulumi.set(__self__, "cookies_enabled", cookies_enabled)
130
126
  if distributed_tracing_enabled is not None:
@@ -142,7 +138,7 @@ class _BrowserApplicationState:
142
138
  @pulumi.getter(name="accountId")
143
139
  def account_id(self) -> Optional[pulumi.Input[int]]:
144
140
  """
145
- The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
141
+ The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
146
142
  """
147
143
  return pulumi.get(self, "account_id")
148
144
 
@@ -150,23 +146,11 @@ class _BrowserApplicationState:
150
146
  def account_id(self, value: Optional[pulumi.Input[int]]):
151
147
  pulumi.set(self, "account_id", value)
152
148
 
153
- @property
154
- @pulumi.getter(name="applicationId")
155
- def application_id(self) -> Optional[pulumi.Input[str]]:
156
- """
157
- The application ID of the browser application (not to be confused with GUID).
158
- """
159
- return pulumi.get(self, "application_id")
160
-
161
- @application_id.setter
162
- def application_id(self, value: Optional[pulumi.Input[str]]):
163
- pulumi.set(self, "application_id", value)
164
-
165
149
  @property
166
150
  @pulumi.getter(name="cookiesEnabled")
167
151
  def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
168
152
  """
169
- Configures cookies. Defaults to `true`, if not specified.
153
+ Configure cookies. The default is enabled: true.
170
154
  """
171
155
  return pulumi.get(self, "cookies_enabled")
172
156
 
@@ -178,7 +162,7 @@ class _BrowserApplicationState:
178
162
  @pulumi.getter(name="distributedTracingEnabled")
179
163
  def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
180
164
  """
181
- Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
165
+ Configure distributed tracing in browser apps. The default is enabled: true.
182
166
  """
183
167
  return pulumi.get(self, "distributed_tracing_enabled")
184
168
 
@@ -202,7 +186,7 @@ class _BrowserApplicationState:
202
186
  @pulumi.getter(name="jsConfig")
203
187
  def js_config(self) -> Optional[pulumi.Input[str]]:
204
188
  """
205
- The JavaScript configuration of the browser application, encoded into a string.
189
+ JavaScript configuration of the browser application encoded into a string.
206
190
  """
207
191
  return pulumi.get(self, "js_config")
208
192
 
@@ -214,7 +198,7 @@ class _BrowserApplicationState:
214
198
  @pulumi.getter(name="loaderType")
215
199
  def loader_type(self) -> Optional[pulumi.Input[str]]:
216
200
  """
217
- Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
201
+ Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
218
202
  """
219
203
  return pulumi.get(self, "loader_type")
220
204
 
@@ -247,9 +231,26 @@ class BrowserApplication(pulumi.CustomResource):
247
231
  name: Optional[pulumi.Input[str]] = None,
248
232
  __props__=None):
249
233
  """
234
+ Use this resource to create, update, and delete a standalone New Relic browser application.
235
+
236
+ ## Example Usage
237
+
238
+ Basic usage to create a standalone browser application.
239
+ <!--Start PulumiCodeChooser -->
240
+ ```python
241
+ import pulumi
242
+ import pulumi_newrelic as newrelic
243
+
244
+ foo = newrelic.BrowserApplication("foo",
245
+ cookies_enabled=True,
246
+ distributed_tracing_enabled=True,
247
+ loader_type="SPA")
248
+ ```
249
+ <!--End PulumiCodeChooser -->
250
+
250
251
  ## Import
251
252
 
252
- A browser application can be imported using its GUID, i.e.
253
+ Browser applications can be imported using the GUID of the browser application.
253
254
 
254
255
  bash
255
256
 
@@ -259,10 +260,10 @@ class BrowserApplication(pulumi.CustomResource):
259
260
 
260
261
  :param str resource_name: The name of the resource.
261
262
  :param pulumi.ResourceOptions opts: Options for the resource.
262
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
263
- :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
264
- :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
265
- :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
263
+ :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
264
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
265
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
266
+ :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
266
267
  :param pulumi.Input[str] name: The name of the browser application.
267
268
  """
268
269
  ...
@@ -272,9 +273,26 @@ class BrowserApplication(pulumi.CustomResource):
272
273
  args: Optional[BrowserApplicationArgs] = None,
273
274
  opts: Optional[pulumi.ResourceOptions] = None):
274
275
  """
276
+ Use this resource to create, update, and delete a standalone New Relic browser application.
277
+
278
+ ## Example Usage
279
+
280
+ Basic usage to create a standalone browser application.
281
+ <!--Start PulumiCodeChooser -->
282
+ ```python
283
+ import pulumi
284
+ import pulumi_newrelic as newrelic
285
+
286
+ foo = newrelic.BrowserApplication("foo",
287
+ cookies_enabled=True,
288
+ distributed_tracing_enabled=True,
289
+ loader_type="SPA")
290
+ ```
291
+ <!--End PulumiCodeChooser -->
292
+
275
293
  ## Import
276
294
 
277
- A browser application can be imported using its GUID, i.e.
295
+ Browser applications can be imported using the GUID of the browser application.
278
296
 
279
297
  bash
280
298
 
@@ -316,7 +334,6 @@ class BrowserApplication(pulumi.CustomResource):
316
334
  __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
317
335
  __props__.__dict__["loader_type"] = loader_type
318
336
  __props__.__dict__["name"] = name
319
- __props__.__dict__["application_id"] = None
320
337
  __props__.__dict__["guid"] = None
321
338
  __props__.__dict__["js_config"] = None
322
339
  super(BrowserApplication, __self__).__init__(
@@ -330,7 +347,6 @@ class BrowserApplication(pulumi.CustomResource):
330
347
  id: pulumi.Input[str],
331
348
  opts: Optional[pulumi.ResourceOptions] = None,
332
349
  account_id: Optional[pulumi.Input[int]] = None,
333
- application_id: Optional[pulumi.Input[str]] = None,
334
350
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
335
351
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
336
352
  guid: Optional[pulumi.Input[str]] = None,
@@ -344,13 +360,12 @@ class BrowserApplication(pulumi.CustomResource):
344
360
  :param str resource_name: The unique name of the resulting resource.
345
361
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
346
362
  :param pulumi.ResourceOptions opts: Options for the resource.
347
- :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
348
- :param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
349
- :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
350
- :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
363
+ :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
364
+ :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
365
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
351
366
  :param pulumi.Input[str] guid: The GUID of the browser application.
352
- :param pulumi.Input[str] js_config: The JavaScript configuration of the browser application, encoded into a string.
353
- :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
367
+ :param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
368
+ :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
354
369
  :param pulumi.Input[str] name: The name of the browser application.
355
370
  """
356
371
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -358,7 +373,6 @@ class BrowserApplication(pulumi.CustomResource):
358
373
  __props__ = _BrowserApplicationState.__new__(_BrowserApplicationState)
359
374
 
360
375
  __props__.__dict__["account_id"] = account_id
361
- __props__.__dict__["application_id"] = application_id
362
376
  __props__.__dict__["cookies_enabled"] = cookies_enabled
363
377
  __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
364
378
  __props__.__dict__["guid"] = guid
@@ -371,23 +385,15 @@ class BrowserApplication(pulumi.CustomResource):
371
385
  @pulumi.getter(name="accountId")
372
386
  def account_id(self) -> pulumi.Output[int]:
373
387
  """
374
- The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
388
+ The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
375
389
  """
376
390
  return pulumi.get(self, "account_id")
377
391
 
378
- @property
379
- @pulumi.getter(name="applicationId")
380
- def application_id(self) -> pulumi.Output[str]:
381
- """
382
- The application ID of the browser application (not to be confused with GUID).
383
- """
384
- return pulumi.get(self, "application_id")
385
-
386
392
  @property
387
393
  @pulumi.getter(name="cookiesEnabled")
388
394
  def cookies_enabled(self) -> pulumi.Output[Optional[bool]]:
389
395
  """
390
- Configures cookies. Defaults to `true`, if not specified.
396
+ Configure cookies. The default is enabled: true.
391
397
  """
392
398
  return pulumi.get(self, "cookies_enabled")
393
399
 
@@ -395,7 +401,7 @@ class BrowserApplication(pulumi.CustomResource):
395
401
  @pulumi.getter(name="distributedTracingEnabled")
396
402
  def distributed_tracing_enabled(self) -> pulumi.Output[Optional[bool]]:
397
403
  """
398
- Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
404
+ Configure distributed tracing in browser apps. The default is enabled: true.
399
405
  """
400
406
  return pulumi.get(self, "distributed_tracing_enabled")
401
407
 
@@ -411,7 +417,7 @@ class BrowserApplication(pulumi.CustomResource):
411
417
  @pulumi.getter(name="jsConfig")
412
418
  def js_config(self) -> pulumi.Output[str]:
413
419
  """
414
- The JavaScript configuration of the browser application, encoded into a string.
420
+ JavaScript configuration of the browser application encoded into a string.
415
421
  """
416
422
  return pulumi.get(self, "js_config")
417
423
 
@@ -419,7 +425,7 @@ class BrowserApplication(pulumi.CustomResource):
419
425
  @pulumi.getter(name="loaderType")
420
426
  def loader_type(self) -> pulumi.Output[Optional[str]]:
421
427
  """
422
- Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
428
+ Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
423
429
  """
424
430
  return pulumi.get(self, "loader_type")
425
431
 
@@ -23,8 +23,6 @@ class BrokenLinksMonitorArgs:
23
23
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
24
24
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
25
  name: Optional[pulumi.Input[str]] = None,
26
- runtime_type: Optional[pulumi.Input[str]] = None,
27
- runtime_type_version: Optional[pulumi.Input[str]] = None,
28
26
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None):
29
27
  """
30
28
  The set of arguments for constructing a BrokenLinksMonitor resource.
@@ -35,10 +33,6 @@ class BrokenLinksMonitorArgs:
35
33
  :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.
36
34
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
37
35
  :param pulumi.Input[str] name: The name for the monitor.
38
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
39
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
40
-
41
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
42
36
  :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
43
37
  """
44
38
  pulumi.set(__self__, "period", period)
@@ -52,10 +46,6 @@ class BrokenLinksMonitorArgs:
52
46
  pulumi.set(__self__, "locations_publics", locations_publics)
53
47
  if name is not None:
54
48
  pulumi.set(__self__, "name", name)
55
- if runtime_type is not None:
56
- pulumi.set(__self__, "runtime_type", runtime_type)
57
- if runtime_type_version is not None:
58
- pulumi.set(__self__, "runtime_type_version", runtime_type_version)
59
49
  if tags is not None:
60
50
  pulumi.set(__self__, "tags", tags)
61
51
 
@@ -143,32 +133,6 @@ class BrokenLinksMonitorArgs:
143
133
  def name(self, value: Optional[pulumi.Input[str]]):
144
134
  pulumi.set(self, "name", value)
145
135
 
146
- @property
147
- @pulumi.getter(name="runtimeType")
148
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
149
- """
150
- The runtime that the monitor will use to run jobs.
151
- """
152
- return pulumi.get(self, "runtime_type")
153
-
154
- @runtime_type.setter
155
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
156
- pulumi.set(self, "runtime_type", value)
157
-
158
- @property
159
- @pulumi.getter(name="runtimeTypeVersion")
160
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
161
- """
162
- The specific version of the runtime type selected.
163
-
164
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
165
- """
166
- return pulumi.get(self, "runtime_type_version")
167
-
168
- @runtime_type_version.setter
169
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
170
- pulumi.set(self, "runtime_type_version", value)
171
-
172
136
  @property
173
137
  @pulumi.getter
174
138
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]]:
@@ -192,8 +156,6 @@ class _BrokenLinksMonitorState:
192
156
  name: Optional[pulumi.Input[str]] = None,
193
157
  period: Optional[pulumi.Input[str]] = None,
194
158
  period_in_minutes: Optional[pulumi.Input[int]] = None,
195
- runtime_type: Optional[pulumi.Input[str]] = None,
196
- runtime_type_version: Optional[pulumi.Input[str]] = None,
197
159
  status: Optional[pulumi.Input[str]] = None,
198
160
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None,
199
161
  uri: Optional[pulumi.Input[str]] = None):
@@ -206,10 +168,6 @@ class _BrokenLinksMonitorState:
206
168
  :param pulumi.Input[str] name: The name for the monitor.
207
169
  :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.
208
170
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
209
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
210
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
211
-
212
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
213
171
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
214
172
  :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
215
173
  :param pulumi.Input[str] uri: The URI the monitor runs against.
@@ -228,10 +186,6 @@ class _BrokenLinksMonitorState:
228
186
  pulumi.set(__self__, "period", period)
229
187
  if period_in_minutes is not None:
230
188
  pulumi.set(__self__, "period_in_minutes", period_in_minutes)
231
- if runtime_type is not None:
232
- pulumi.set(__self__, "runtime_type", runtime_type)
233
- if runtime_type_version is not None:
234
- pulumi.set(__self__, "runtime_type_version", runtime_type_version)
235
189
  if status is not None:
236
190
  pulumi.set(__self__, "status", status)
237
191
  if tags is not None:
@@ -323,32 +277,6 @@ class _BrokenLinksMonitorState:
323
277
  def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
324
278
  pulumi.set(self, "period_in_minutes", value)
325
279
 
326
- @property
327
- @pulumi.getter(name="runtimeType")
328
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
329
- """
330
- The runtime that the monitor will use to run jobs.
331
- """
332
- return pulumi.get(self, "runtime_type")
333
-
334
- @runtime_type.setter
335
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
336
- pulumi.set(self, "runtime_type", value)
337
-
338
- @property
339
- @pulumi.getter(name="runtimeTypeVersion")
340
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
341
- """
342
- The specific version of the runtime type selected.
343
-
344
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
345
- """
346
- return pulumi.get(self, "runtime_type_version")
347
-
348
- @runtime_type_version.setter
349
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
350
- pulumi.set(self, "runtime_type_version", value)
351
-
352
280
  @property
353
281
  @pulumi.getter
354
282
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -396,8 +324,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
396
324
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
397
325
  name: Optional[pulumi.Input[str]] = None,
398
326
  period: Optional[pulumi.Input[str]] = None,
399
- runtime_type: Optional[pulumi.Input[str]] = None,
400
- runtime_type_version: Optional[pulumi.Input[str]] = None,
401
327
  status: Optional[pulumi.Input[str]] = None,
402
328
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
403
329
  uri: Optional[pulumi.Input[str]] = None,
@@ -412,11 +338,9 @@ class BrokenLinksMonitor(pulumi.CustomResource):
412
338
  import pulumi
413
339
  import pulumi_newrelic as newrelic
414
340
 
415
- foo = newrelic.synthetics.BrokenLinksMonitor("foo",
341
+ monitor = newrelic.synthetics.BrokenLinksMonitor("monitor",
416
342
  locations_publics=["AP_SOUTH_1"],
417
343
  period="EVERY_6_HOURS",
418
- runtime_type="NODE_API",
419
- runtime_type_version="16.10",
420
344
  status="ENABLED",
421
345
  tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
422
346
  key="some_key",
@@ -440,12 +364,12 @@ class BrokenLinksMonitor(pulumi.CustomResource):
440
364
  import pulumi
441
365
  import pulumi_newrelic as newrelic
442
366
 
443
- foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
444
- description="Sample Private Location Description",
367
+ location = newrelic.synthetics.PrivateLocation("location",
368
+ description="Test Description",
445
369
  verified_script_execution=False)
446
- foo_broken_links_monitor = newrelic.synthetics.BrokenLinksMonitor("fooBrokenLinksMonitor",
370
+ monitor = newrelic.synthetics.BrokenLinksMonitor("monitor",
447
371
  uri="https://www.one.example.com",
448
- locations_privates=[foo_private_location.id],
372
+ locations_privates=[location.id],
449
373
  period="EVERY_6_HOURS",
450
374
  status="ENABLED",
451
375
  tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
@@ -457,7 +381,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
457
381
 
458
382
  ## Import
459
383
 
460
- A broken links monitor can be imported using its GUID, using the following command.
384
+ Synthetics broken links monitor scripts can be imported using the `guid`, e.g.
461
385
 
462
386
  bash
463
387
 
@@ -472,10 +396,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
472
396
  :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
473
397
  :param pulumi.Input[str] name: The name for the monitor.
474
398
  :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.
475
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
476
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
477
-
478
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
479
399
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
480
400
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
481
401
  :param pulumi.Input[str] uri: The URI the monitor runs against.
@@ -496,11 +416,9 @@ class BrokenLinksMonitor(pulumi.CustomResource):
496
416
  import pulumi
497
417
  import pulumi_newrelic as newrelic
498
418
 
499
- foo = newrelic.synthetics.BrokenLinksMonitor("foo",
419
+ monitor = newrelic.synthetics.BrokenLinksMonitor("monitor",
500
420
  locations_publics=["AP_SOUTH_1"],
501
421
  period="EVERY_6_HOURS",
502
- runtime_type="NODE_API",
503
- runtime_type_version="16.10",
504
422
  status="ENABLED",
505
423
  tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
506
424
  key="some_key",
@@ -524,12 +442,12 @@ class BrokenLinksMonitor(pulumi.CustomResource):
524
442
  import pulumi
525
443
  import pulumi_newrelic as newrelic
526
444
 
527
- foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
528
- description="Sample Private Location Description",
445
+ location = newrelic.synthetics.PrivateLocation("location",
446
+ description="Test Description",
529
447
  verified_script_execution=False)
530
- foo_broken_links_monitor = newrelic.synthetics.BrokenLinksMonitor("fooBrokenLinksMonitor",
448
+ monitor = newrelic.synthetics.BrokenLinksMonitor("monitor",
531
449
  uri="https://www.one.example.com",
532
- locations_privates=[foo_private_location.id],
450
+ locations_privates=[location.id],
533
451
  period="EVERY_6_HOURS",
534
452
  status="ENABLED",
535
453
  tags=[newrelic.synthetics.BrokenLinksMonitorTagArgs(
@@ -541,7 +459,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
541
459
 
542
460
  ## Import
543
461
 
544
- A broken links monitor can be imported using its GUID, using the following command.
462
+ Synthetics broken links monitor scripts can be imported using the `guid`, e.g.
545
463
 
546
464
  bash
547
465
 
@@ -569,8 +487,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
569
487
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
570
488
  name: Optional[pulumi.Input[str]] = None,
571
489
  period: Optional[pulumi.Input[str]] = None,
572
- runtime_type: Optional[pulumi.Input[str]] = None,
573
- runtime_type_version: Optional[pulumi.Input[str]] = None,
574
490
  status: Optional[pulumi.Input[str]] = None,
575
491
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
576
492
  uri: Optional[pulumi.Input[str]] = None,
@@ -590,8 +506,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
590
506
  if period is None and not opts.urn:
591
507
  raise TypeError("Missing required property 'period'")
592
508
  __props__.__dict__["period"] = period
593
- __props__.__dict__["runtime_type"] = runtime_type
594
- __props__.__dict__["runtime_type_version"] = runtime_type_version
595
509
  if status is None and not opts.urn:
596
510
  raise TypeError("Missing required property 'status'")
597
511
  __props__.__dict__["status"] = status
@@ -618,8 +532,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
618
532
  name: Optional[pulumi.Input[str]] = None,
619
533
  period: Optional[pulumi.Input[str]] = None,
620
534
  period_in_minutes: Optional[pulumi.Input[int]] = None,
621
- runtime_type: Optional[pulumi.Input[str]] = None,
622
- runtime_type_version: Optional[pulumi.Input[str]] = None,
623
535
  status: Optional[pulumi.Input[str]] = None,
624
536
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]]] = None,
625
537
  uri: Optional[pulumi.Input[str]] = None) -> 'BrokenLinksMonitor':
@@ -637,10 +549,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
637
549
  :param pulumi.Input[str] name: The name for the monitor.
638
550
  :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.
639
551
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
640
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
641
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
642
-
643
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
644
552
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
645
553
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
646
554
  :param pulumi.Input[str] uri: The URI the monitor runs against.
@@ -656,8 +564,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
656
564
  __props__.__dict__["name"] = name
657
565
  __props__.__dict__["period"] = period
658
566
  __props__.__dict__["period_in_minutes"] = period_in_minutes
659
- __props__.__dict__["runtime_type"] = runtime_type
660
- __props__.__dict__["runtime_type_version"] = runtime_type_version
661
567
  __props__.__dict__["status"] = status
662
568
  __props__.__dict__["tags"] = tags
663
569
  __props__.__dict__["uri"] = uri
@@ -719,24 +625,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
719
625
  """
720
626
  return pulumi.get(self, "period_in_minutes")
721
627
 
722
- @property
723
- @pulumi.getter(name="runtimeType")
724
- def runtime_type(self) -> pulumi.Output[Optional[str]]:
725
- """
726
- The runtime that the monitor will use to run jobs.
727
- """
728
- return pulumi.get(self, "runtime_type")
729
-
730
- @property
731
- @pulumi.getter(name="runtimeTypeVersion")
732
- def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
733
- """
734
- The specific version of the runtime type selected.
735
-
736
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `NODE_API` and `16.10` respectively. In order to run the monitor in the new runtime, both `runtime_type` and `runtime_type_version` need to be specified; however, specifying neither of these attributes would set this monitor to use the legacy runtime. It may also be noted that the runtime opted for would only be effective with private locations. For public locations, all traffic has been shifted to the new runtime, irrespective of the selection made.
737
- """
738
- return pulumi.get(self, "runtime_type_version")
739
-
740
628
  @property
741
629
  @pulumi.getter
742
630
  def status(self) -> pulumi.Output[str]: