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.
@@ -24,8 +24,6 @@ class CertCheckMonitorArgs:
24
24
  locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
25
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
26
  name: Optional[pulumi.Input[str]] = None,
27
- runtime_type: Optional[pulumi.Input[str]] = None,
28
- runtime_type_version: Optional[pulumi.Input[str]] = None,
29
27
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None):
30
28
  """
31
29
  The set of arguments for constructing a CertCheckMonitor resource.
@@ -37,10 +35,6 @@ class CertCheckMonitorArgs:
37
35
  :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.
38
36
  :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.
39
37
  :param pulumi.Input[str] name: The name for the monitor.
40
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
41
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
42
-
43
- > **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.
44
38
  :param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
45
39
  """
46
40
  pulumi.set(__self__, "certificate_expiration", certificate_expiration)
@@ -55,10 +49,6 @@ class CertCheckMonitorArgs:
55
49
  pulumi.set(__self__, "locations_publics", locations_publics)
56
50
  if name is not None:
57
51
  pulumi.set(__self__, "name", name)
58
- if runtime_type is not None:
59
- pulumi.set(__self__, "runtime_type", runtime_type)
60
- if runtime_type_version is not None:
61
- pulumi.set(__self__, "runtime_type_version", runtime_type_version)
62
52
  if tags is not None:
63
53
  pulumi.set(__self__, "tags", tags)
64
54
 
@@ -158,32 +148,6 @@ class CertCheckMonitorArgs:
158
148
  def name(self, value: Optional[pulumi.Input[str]]):
159
149
  pulumi.set(self, "name", value)
160
150
 
161
- @property
162
- @pulumi.getter(name="runtimeType")
163
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
164
- """
165
- The runtime that the monitor will use to run jobs.
166
- """
167
- return pulumi.get(self, "runtime_type")
168
-
169
- @runtime_type.setter
170
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
171
- pulumi.set(self, "runtime_type", value)
172
-
173
- @property
174
- @pulumi.getter(name="runtimeTypeVersion")
175
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
176
- """
177
- The specific version of the runtime type selected.
178
-
179
- > **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.
180
- """
181
- return pulumi.get(self, "runtime_type_version")
182
-
183
- @runtime_type_version.setter
184
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
185
- pulumi.set(self, "runtime_type_version", value)
186
-
187
151
  @property
188
152
  @pulumi.getter
189
153
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]]:
@@ -208,8 +172,6 @@ class _CertCheckMonitorState:
208
172
  name: Optional[pulumi.Input[str]] = None,
209
173
  period: Optional[pulumi.Input[str]] = None,
210
174
  period_in_minutes: Optional[pulumi.Input[int]] = None,
211
- runtime_type: Optional[pulumi.Input[str]] = None,
212
- runtime_type_version: Optional[pulumi.Input[str]] = None,
213
175
  status: Optional[pulumi.Input[str]] = None,
214
176
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None):
215
177
  """
@@ -222,10 +184,6 @@ class _CertCheckMonitorState:
222
184
  :param pulumi.Input[str] name: The name for the monitor.
223
185
  :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.
224
186
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
225
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
226
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
227
-
228
- > **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.
229
187
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
230
188
  :param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
231
189
  """
@@ -245,10 +203,6 @@ class _CertCheckMonitorState:
245
203
  pulumi.set(__self__, "period", period)
246
204
  if period_in_minutes is not None:
247
205
  pulumi.set(__self__, "period_in_minutes", period_in_minutes)
248
- if runtime_type is not None:
249
- pulumi.set(__self__, "runtime_type", runtime_type)
250
- if runtime_type_version is not None:
251
- pulumi.set(__self__, "runtime_type_version", runtime_type_version)
252
206
  if status is not None:
253
207
  pulumi.set(__self__, "status", status)
254
208
  if tags is not None:
@@ -350,32 +304,6 @@ class _CertCheckMonitorState:
350
304
  def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
351
305
  pulumi.set(self, "period_in_minutes", value)
352
306
 
353
- @property
354
- @pulumi.getter(name="runtimeType")
355
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
356
- """
357
- The runtime that the monitor will use to run jobs.
358
- """
359
- return pulumi.get(self, "runtime_type")
360
-
361
- @runtime_type.setter
362
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
363
- pulumi.set(self, "runtime_type", value)
364
-
365
- @property
366
- @pulumi.getter(name="runtimeTypeVersion")
367
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
368
- """
369
- The specific version of the runtime type selected.
370
-
371
- > **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.
372
- """
373
- return pulumi.get(self, "runtime_type_version")
374
-
375
- @runtime_type_version.setter
376
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
377
- pulumi.set(self, "runtime_type_version", value)
378
-
379
307
  @property
380
308
  @pulumi.getter
381
309
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -413,8 +341,6 @@ class CertCheckMonitor(pulumi.CustomResource):
413
341
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
414
342
  name: Optional[pulumi.Input[str]] = None,
415
343
  period: Optional[pulumi.Input[str]] = None,
416
- runtime_type: Optional[pulumi.Input[str]] = None,
417
- runtime_type_version: Optional[pulumi.Input[str]] = None,
418
344
  status: Optional[pulumi.Input[str]] = None,
419
345
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
420
346
  __props__=None):
@@ -428,13 +354,11 @@ class CertCheckMonitor(pulumi.CustomResource):
428
354
  import pulumi
429
355
  import pulumi_newrelic as newrelic
430
356
 
431
- foo = newrelic.synthetics.CertCheckMonitor("foo",
357
+ cert_check_monitor = newrelic.synthetics.CertCheckMonitor("cert-check-monitor",
432
358
  certificate_expiration=10,
433
359
  domain="www.example.com",
434
360
  locations_publics=["AP_SOUTH_1"],
435
361
  period="EVERY_6_HOURS",
436
- runtime_type="NODE_API",
437
- runtime_type_version="16.10",
438
362
  status="ENABLED",
439
363
  tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
440
364
  key="some_key",
@@ -457,13 +381,12 @@ class CertCheckMonitor(pulumi.CustomResource):
457
381
  import pulumi
458
382
  import pulumi_newrelic as newrelic
459
383
 
460
- foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
461
- description="Sample Private Location Description",
384
+ location = newrelic.synthetics.PrivateLocation("location",
385
+ description="Test Description",
462
386
  verified_script_execution=False)
463
- foo_cert_check_monitor = newrelic.synthetics.CertCheckMonitor("fooCertCheckMonitor",
464
- domain="www.one.example.com",
465
- locations_privates=[foo_private_location.id],
466
- certificate_expiration=10,
387
+ monitor = newrelic.synthetics.CertCheckMonitor("monitor",
388
+ domain="https://www.one.example.com",
389
+ locations_privates=[location.id],
467
390
  period="EVERY_6_HOURS",
468
391
  status="ENABLED",
469
392
  tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
@@ -475,7 +398,7 @@ class CertCheckMonitor(pulumi.CustomResource):
475
398
 
476
399
  ## Import
477
400
 
478
- A cert check monitor can be imported using its GUID, using the following command.
401
+ Synthetics certificate check monitor scripts can be imported using the `guid`, e.g.
479
402
 
480
403
  bash
481
404
 
@@ -492,10 +415,6 @@ class CertCheckMonitor(pulumi.CustomResource):
492
415
  :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.
493
416
  :param pulumi.Input[str] name: The name for the monitor.
494
417
  :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.
495
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
496
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
497
-
498
- > **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.
499
418
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
500
419
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
501
420
  """
@@ -515,13 +434,11 @@ class CertCheckMonitor(pulumi.CustomResource):
515
434
  import pulumi
516
435
  import pulumi_newrelic as newrelic
517
436
 
518
- foo = newrelic.synthetics.CertCheckMonitor("foo",
437
+ cert_check_monitor = newrelic.synthetics.CertCheckMonitor("cert-check-monitor",
519
438
  certificate_expiration=10,
520
439
  domain="www.example.com",
521
440
  locations_publics=["AP_SOUTH_1"],
522
441
  period="EVERY_6_HOURS",
523
- runtime_type="NODE_API",
524
- runtime_type_version="16.10",
525
442
  status="ENABLED",
526
443
  tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
527
444
  key="some_key",
@@ -544,13 +461,12 @@ class CertCheckMonitor(pulumi.CustomResource):
544
461
  import pulumi
545
462
  import pulumi_newrelic as newrelic
546
463
 
547
- foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
548
- description="Sample Private Location Description",
464
+ location = newrelic.synthetics.PrivateLocation("location",
465
+ description="Test Description",
549
466
  verified_script_execution=False)
550
- foo_cert_check_monitor = newrelic.synthetics.CertCheckMonitor("fooCertCheckMonitor",
551
- domain="www.one.example.com",
552
- locations_privates=[foo_private_location.id],
553
- certificate_expiration=10,
467
+ monitor = newrelic.synthetics.CertCheckMonitor("monitor",
468
+ domain="https://www.one.example.com",
469
+ locations_privates=[location.id],
554
470
  period="EVERY_6_HOURS",
555
471
  status="ENABLED",
556
472
  tags=[newrelic.synthetics.CertCheckMonitorTagArgs(
@@ -562,7 +478,7 @@ class CertCheckMonitor(pulumi.CustomResource):
562
478
 
563
479
  ## Import
564
480
 
565
- A cert check monitor can be imported using its GUID, using the following command.
481
+ Synthetics certificate check monitor scripts can be imported using the `guid`, e.g.
566
482
 
567
483
  bash
568
484
 
@@ -592,8 +508,6 @@ class CertCheckMonitor(pulumi.CustomResource):
592
508
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
593
509
  name: Optional[pulumi.Input[str]] = None,
594
510
  period: Optional[pulumi.Input[str]] = None,
595
- runtime_type: Optional[pulumi.Input[str]] = None,
596
- runtime_type_version: Optional[pulumi.Input[str]] = None,
597
511
  status: Optional[pulumi.Input[str]] = None,
598
512
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
599
513
  __props__=None):
@@ -618,8 +532,6 @@ class CertCheckMonitor(pulumi.CustomResource):
618
532
  if period is None and not opts.urn:
619
533
  raise TypeError("Missing required property 'period'")
620
534
  __props__.__dict__["period"] = period
621
- __props__.__dict__["runtime_type"] = runtime_type
622
- __props__.__dict__["runtime_type_version"] = runtime_type_version
623
535
  if status is None and not opts.urn:
624
536
  raise TypeError("Missing required property 'status'")
625
537
  __props__.__dict__["status"] = status
@@ -643,8 +555,6 @@ class CertCheckMonitor(pulumi.CustomResource):
643
555
  name: Optional[pulumi.Input[str]] = None,
644
556
  period: Optional[pulumi.Input[str]] = None,
645
557
  period_in_minutes: Optional[pulumi.Input[int]] = None,
646
- runtime_type: Optional[pulumi.Input[str]] = None,
647
- runtime_type_version: Optional[pulumi.Input[str]] = None,
648
558
  status: Optional[pulumi.Input[str]] = None,
649
559
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None) -> 'CertCheckMonitor':
650
560
  """
@@ -662,10 +572,6 @@ class CertCheckMonitor(pulumi.CustomResource):
662
572
  :param pulumi.Input[str] name: The name for the monitor.
663
573
  :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.
664
574
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
665
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
666
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
667
-
668
- > **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.
669
575
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
670
576
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
671
577
  """
@@ -681,8 +587,6 @@ class CertCheckMonitor(pulumi.CustomResource):
681
587
  __props__.__dict__["name"] = name
682
588
  __props__.__dict__["period"] = period
683
589
  __props__.__dict__["period_in_minutes"] = period_in_minutes
684
- __props__.__dict__["runtime_type"] = runtime_type
685
- __props__.__dict__["runtime_type_version"] = runtime_type_version
686
590
  __props__.__dict__["status"] = status
687
591
  __props__.__dict__["tags"] = tags
688
592
  return CertCheckMonitor(resource_name, opts=opts, __props__=__props__)
@@ -751,24 +655,6 @@ class CertCheckMonitor(pulumi.CustomResource):
751
655
  """
752
656
  return pulumi.get(self, "period_in_minutes")
753
657
 
754
- @property
755
- @pulumi.getter(name="runtimeType")
756
- def runtime_type(self) -> pulumi.Output[Optional[str]]:
757
- """
758
- The runtime that the monitor will use to run jobs.
759
- """
760
- return pulumi.get(self, "runtime_type")
761
-
762
- @property
763
- @pulumi.getter(name="runtimeTypeVersion")
764
- def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
765
- """
766
- The specific version of the runtime type selected.
767
-
768
- > **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.
769
- """
770
- return pulumi.get(self, "runtime_type_version")
771
-
772
658
  @property
773
659
  @pulumi.getter
774
660
  def status(self) -> pulumi.Output[str]:
@@ -24,8 +24,6 @@ class StepMonitorArgs:
24
24
  location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None,
25
25
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
26
  name: Optional[pulumi.Input[str]] = None,
27
- runtime_type: Optional[pulumi.Input[str]] = None,
28
- runtime_type_version: Optional[pulumi.Input[str]] = None,
29
27
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None):
30
28
  """
31
29
  The set of arguments for constructing a StepMonitor resource.
@@ -37,10 +35,6 @@ class StepMonitorArgs:
37
35
  :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.
38
36
  :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.
39
37
  :param pulumi.Input[str] name: The name for the monitor.
40
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
41
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
42
-
43
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
44
38
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
45
39
  """
46
40
  pulumi.set(__self__, "period", period)
@@ -56,10 +50,6 @@ class StepMonitorArgs:
56
50
  pulumi.set(__self__, "locations_publics", locations_publics)
57
51
  if name is not None:
58
52
  pulumi.set(__self__, "name", name)
59
- if runtime_type is not None:
60
- pulumi.set(__self__, "runtime_type", runtime_type)
61
- if runtime_type_version is not None:
62
- pulumi.set(__self__, "runtime_type_version", runtime_type_version)
63
53
  if tags is not None:
64
54
  pulumi.set(__self__, "tags", tags)
65
55
 
@@ -159,32 +149,6 @@ class StepMonitorArgs:
159
149
  def name(self, value: Optional[pulumi.Input[str]]):
160
150
  pulumi.set(self, "name", value)
161
151
 
162
- @property
163
- @pulumi.getter(name="runtimeType")
164
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
165
- """
166
- The runtime that the monitor will use to run jobs.
167
- """
168
- return pulumi.get(self, "runtime_type")
169
-
170
- @runtime_type.setter
171
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
172
- pulumi.set(self, "runtime_type", value)
173
-
174
- @property
175
- @pulumi.getter(name="runtimeTypeVersion")
176
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
177
- """
178
- The specific version of the runtime type selected.
179
-
180
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
181
- """
182
- return pulumi.get(self, "runtime_type_version")
183
-
184
- @runtime_type_version.setter
185
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
186
- pulumi.set(self, "runtime_type_version", value)
187
-
188
152
  @property
189
153
  @pulumi.getter
190
154
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]]:
@@ -209,8 +173,6 @@ class _StepMonitorState:
209
173
  name: Optional[pulumi.Input[str]] = None,
210
174
  period: Optional[pulumi.Input[str]] = None,
211
175
  period_in_minutes: Optional[pulumi.Input[int]] = None,
212
- runtime_type: Optional[pulumi.Input[str]] = None,
213
- runtime_type_version: Optional[pulumi.Input[str]] = None,
214
176
  status: Optional[pulumi.Input[str]] = None,
215
177
  steps: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]]] = None,
216
178
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None):
@@ -224,10 +186,6 @@ class _StepMonitorState:
224
186
  :param pulumi.Input[str] name: The name for the monitor.
225
187
  :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.
226
188
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
227
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
228
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
229
-
230
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
231
189
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
232
190
  :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.
233
191
  :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -248,10 +206,6 @@ class _StepMonitorState:
248
206
  pulumi.set(__self__, "period", period)
249
207
  if period_in_minutes is not None:
250
208
  pulumi.set(__self__, "period_in_minutes", period_in_minutes)
251
- if runtime_type is not None:
252
- pulumi.set(__self__, "runtime_type", runtime_type)
253
- if runtime_type_version is not None:
254
- pulumi.set(__self__, "runtime_type_version", runtime_type_version)
255
209
  if status is not None:
256
210
  pulumi.set(__self__, "status", status)
257
211
  if steps is not None:
@@ -355,32 +309,6 @@ class _StepMonitorState:
355
309
  def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
356
310
  pulumi.set(self, "period_in_minutes", value)
357
311
 
358
- @property
359
- @pulumi.getter(name="runtimeType")
360
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
361
- """
362
- The runtime that the monitor will use to run jobs.
363
- """
364
- return pulumi.get(self, "runtime_type")
365
-
366
- @runtime_type.setter
367
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
368
- pulumi.set(self, "runtime_type", value)
369
-
370
- @property
371
- @pulumi.getter(name="runtimeTypeVersion")
372
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
373
- """
374
- The specific version of the runtime type selected.
375
-
376
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
377
- """
378
- return pulumi.get(self, "runtime_type_version")
379
-
380
- @runtime_type_version.setter
381
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
382
- pulumi.set(self, "runtime_type_version", value)
383
-
384
312
  @property
385
313
  @pulumi.getter
386
314
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -429,8 +357,6 @@ class StepMonitor(pulumi.CustomResource):
429
357
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
430
358
  name: Optional[pulumi.Input[str]] = None,
431
359
  period: Optional[pulumi.Input[str]] = None,
432
- runtime_type: Optional[pulumi.Input[str]] = None,
433
- runtime_type_version: Optional[pulumi.Input[str]] = None,
434
360
  status: Optional[pulumi.Input[str]] = None,
435
361
  steps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]]] = None,
436
362
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None,
@@ -445,15 +371,13 @@ class StepMonitor(pulumi.CustomResource):
445
371
  import pulumi
446
372
  import pulumi_newrelic as newrelic
447
373
 
448
- foo = newrelic.synthetics.StepMonitor("foo",
374
+ monitor = newrelic.synthetics.StepMonitor("monitor",
449
375
  enable_screenshot_on_failure_and_script=True,
450
376
  locations_publics=[
451
377
  "US_EAST_1",
452
378
  "US_EAST_2",
453
379
  ],
454
380
  period="EVERY_6_HOURS",
455
- runtime_type="CHROME_BROWSER",
456
- runtime_type_version="100",
457
381
  status="ENABLED",
458
382
  steps=[newrelic.synthetics.StepMonitorStepArgs(
459
383
  ordinal=0,
@@ -470,42 +394,9 @@ class StepMonitor(pulumi.CustomResource):
470
394
 
471
395
  ## Additional Examples
472
396
 
473
- ### Create a monitor with a private location
474
-
475
- The below example shows how you can define a private location and attach it to a monitor.
476
-
477
- > **NOTE:** It can take up to 10 minutes for a private location to become available.
478
-
479
- <!--Start PulumiCodeChooser -->
480
- ```python
481
- import pulumi
482
- import pulumi_newrelic as newrelic
483
-
484
- foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
485
- description="Sample Private Location Description",
486
- verified_script_execution=True)
487
- foo_step_monitor = newrelic.synthetics.StepMonitor("fooStepMonitor",
488
- period="EVERY_6_HOURS",
489
- status="ENABLED",
490
- location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
491
- guid=foo_private_location.id,
492
- vse_password="secret",
493
- )],
494
- steps=[newrelic.synthetics.StepMonitorStepArgs(
495
- ordinal=0,
496
- type="NAVIGATE",
497
- values=["https://google.com"],
498
- )],
499
- tags=[newrelic.synthetics.StepMonitorTagArgs(
500
- key="some_key",
501
- values=["some_value"],
502
- )])
503
- ```
504
- <!--End PulumiCodeChooser -->
505
-
506
397
  ## Import
507
398
 
508
- A step monitor can be imported using its GUID, using the following command.
399
+ Synthetics step monitor scripts can be imported using the `guid`, e.g.
509
400
 
510
401
  bash
511
402
 
@@ -521,10 +412,6 @@ class StepMonitor(pulumi.CustomResource):
521
412
  :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.
522
413
  :param pulumi.Input[str] name: The name for the monitor.
523
414
  :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.
524
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
525
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
526
-
527
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
528
415
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
529
416
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
530
417
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -545,15 +432,13 @@ class StepMonitor(pulumi.CustomResource):
545
432
  import pulumi
546
433
  import pulumi_newrelic as newrelic
547
434
 
548
- foo = newrelic.synthetics.StepMonitor("foo",
435
+ monitor = newrelic.synthetics.StepMonitor("monitor",
549
436
  enable_screenshot_on_failure_and_script=True,
550
437
  locations_publics=[
551
438
  "US_EAST_1",
552
439
  "US_EAST_2",
553
440
  ],
554
441
  period="EVERY_6_HOURS",
555
- runtime_type="CHROME_BROWSER",
556
- runtime_type_version="100",
557
442
  status="ENABLED",
558
443
  steps=[newrelic.synthetics.StepMonitorStepArgs(
559
444
  ordinal=0,
@@ -570,42 +455,9 @@ class StepMonitor(pulumi.CustomResource):
570
455
 
571
456
  ## Additional Examples
572
457
 
573
- ### Create a monitor with a private location
574
-
575
- The below example shows how you can define a private location and attach it to a monitor.
576
-
577
- > **NOTE:** It can take up to 10 minutes for a private location to become available.
578
-
579
- <!--Start PulumiCodeChooser -->
580
- ```python
581
- import pulumi
582
- import pulumi_newrelic as newrelic
583
-
584
- foo_private_location = newrelic.synthetics.PrivateLocation("fooPrivateLocation",
585
- description="Sample Private Location Description",
586
- verified_script_execution=True)
587
- foo_step_monitor = newrelic.synthetics.StepMonitor("fooStepMonitor",
588
- period="EVERY_6_HOURS",
589
- status="ENABLED",
590
- location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
591
- guid=foo_private_location.id,
592
- vse_password="secret",
593
- )],
594
- steps=[newrelic.synthetics.StepMonitorStepArgs(
595
- ordinal=0,
596
- type="NAVIGATE",
597
- values=["https://google.com"],
598
- )],
599
- tags=[newrelic.synthetics.StepMonitorTagArgs(
600
- key="some_key",
601
- values=["some_value"],
602
- )])
603
- ```
604
- <!--End PulumiCodeChooser -->
605
-
606
458
  ## Import
607
459
 
608
- A step monitor can be imported using its GUID, using the following command.
460
+ Synthetics step monitor scripts can be imported using the `guid`, e.g.
609
461
 
610
462
  bash
611
463
 
@@ -634,8 +486,6 @@ class StepMonitor(pulumi.CustomResource):
634
486
  locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
635
487
  name: Optional[pulumi.Input[str]] = None,
636
488
  period: Optional[pulumi.Input[str]] = None,
637
- runtime_type: Optional[pulumi.Input[str]] = None,
638
- runtime_type_version: Optional[pulumi.Input[str]] = None,
639
489
  status: Optional[pulumi.Input[str]] = None,
640
490
  steps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]]] = None,
641
491
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None,
@@ -656,8 +506,6 @@ class StepMonitor(pulumi.CustomResource):
656
506
  if period is None and not opts.urn:
657
507
  raise TypeError("Missing required property 'period'")
658
508
  __props__.__dict__["period"] = period
659
- __props__.__dict__["runtime_type"] = runtime_type
660
- __props__.__dict__["runtime_type_version"] = runtime_type_version
661
509
  if status is None and not opts.urn:
662
510
  raise TypeError("Missing required property 'status'")
663
511
  __props__.__dict__["status"] = status
@@ -685,8 +533,6 @@ class StepMonitor(pulumi.CustomResource):
685
533
  name: Optional[pulumi.Input[str]] = None,
686
534
  period: Optional[pulumi.Input[str]] = None,
687
535
  period_in_minutes: Optional[pulumi.Input[int]] = None,
688
- runtime_type: Optional[pulumi.Input[str]] = None,
689
- runtime_type_version: Optional[pulumi.Input[str]] = None,
690
536
  status: Optional[pulumi.Input[str]] = None,
691
537
  steps: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]]] = None,
692
538
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]]] = None) -> 'StepMonitor':
@@ -705,10 +551,6 @@ class StepMonitor(pulumi.CustomResource):
705
551
  :param pulumi.Input[str] name: The name for the monitor.
706
552
  :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.
707
553
  :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
708
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
709
- :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
710
-
711
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
712
554
  :param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
713
555
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details.
714
556
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details.
@@ -725,8 +567,6 @@ class StepMonitor(pulumi.CustomResource):
725
567
  __props__.__dict__["name"] = name
726
568
  __props__.__dict__["period"] = period
727
569
  __props__.__dict__["period_in_minutes"] = period_in_minutes
728
- __props__.__dict__["runtime_type"] = runtime_type
729
- __props__.__dict__["runtime_type_version"] = runtime_type_version
730
570
  __props__.__dict__["status"] = status
731
571
  __props__.__dict__["steps"] = steps
732
572
  __props__.__dict__["tags"] = tags
@@ -796,24 +636,6 @@ class StepMonitor(pulumi.CustomResource):
796
636
  """
797
637
  return pulumi.get(self, "period_in_minutes")
798
638
 
799
- @property
800
- @pulumi.getter(name="runtimeType")
801
- def runtime_type(self) -> pulumi.Output[Optional[str]]:
802
- """
803
- The runtime that the monitor will use to run jobs.
804
- """
805
- return pulumi.get(self, "runtime_type")
806
-
807
- @property
808
- @pulumi.getter(name="runtimeTypeVersion")
809
- def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
810
- """
811
- The specific version of the runtime type selected.
812
-
813
- > **NOTE:** Currently, the values of `runtime_type` and `runtime_type_version` supported by this resource are `CHROME_BROWSER` and `100` 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.
814
- """
815
- return pulumi.get(self, "runtime_type_version")
816
-
817
639
  @property
818
640
  @pulumi.getter
819
641
  def status(self) -> pulumi.Output[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.22.0
3
+ Version: 5.22.0a1711519579
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io