pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.24.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/_inputs.py +63 -63
- pulumi_newrelic/alert_channel.py +14 -14
- pulumi_newrelic/alert_condition.py +28 -28
- pulumi_newrelic/alert_muting_rule.py +14 -14
- pulumi_newrelic/alert_policy.py +24 -24
- pulumi_newrelic/alert_policy_channel.py +42 -42
- pulumi_newrelic/api_access_key.py +28 -28
- pulumi_newrelic/browser_application.py +14 -14
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
- pulumi_newrelic/cloud/aws_integrations.py +28 -28
- pulumi_newrelic/cloud/aws_link_account.py +14 -14
- pulumi_newrelic/cloud/azure_integrations.py +28 -28
- pulumi_newrelic/cloud/azure_link_account.py +14 -14
- pulumi_newrelic/cloud/gcp_integrations.py +28 -28
- pulumi_newrelic/cloud/gcp_link_account.py +14 -14
- pulumi_newrelic/config/__init__.pyi +1 -1
- pulumi_newrelic/config/vars.py +2 -2
- pulumi_newrelic/data_partition_rule.py +14 -14
- pulumi_newrelic/events_to_metrics_rule.py +16 -16
- pulumi_newrelic/get_account.py +7 -7
- pulumi_newrelic/get_alert_channel.py +8 -8
- pulumi_newrelic/get_alert_policy.py +7 -7
- pulumi_newrelic/get_application.py +2 -2
- pulumi_newrelic/get_cloud_account.py +9 -9
- pulumi_newrelic/get_entity.py +15 -15
- pulumi_newrelic/get_notification_destination.py +7 -7
- pulumi_newrelic/get_obfuscation_expression.py +9 -9
- pulumi_newrelic/get_service_level_alert_helper.py +10 -10
- pulumi_newrelic/get_test_grok_pattern.py +7 -7
- pulumi_newrelic/infra_alert_condition.py +14 -14
- pulumi_newrelic/log_parsing_rule.py +14 -14
- pulumi_newrelic/monitor_downtime.py +14 -14
- pulumi_newrelic/notification_channel.py +36 -36
- pulumi_newrelic/notification_destination.py +14 -14
- pulumi_newrelic/nrql_alert_condition.py +32 -32
- pulumi_newrelic/nrql_drop_rule.py +20 -20
- pulumi_newrelic/obfuscation_expression.py +16 -16
- pulumi_newrelic/obfuscation_rule.py +14 -14
- pulumi_newrelic/one_dashboard.py +14 -14
- pulumi_newrelic/one_dashboard_json.py +14 -14
- pulumi_newrelic/one_dashboard_raw.py +14 -14
- pulumi_newrelic/outputs.py +47 -47
- pulumi_newrelic/plugins/workload.py +55 -55
- pulumi_newrelic/provider.py +14 -9
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +6 -6
- pulumi_newrelic/synthetics/alert_condition.py +14 -14
- pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
- pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
- pulumi_newrelic/synthetics/get_private_location.py +11 -11
- pulumi_newrelic/synthetics/get_secure_credential.py +5 -5
- pulumi_newrelic/synthetics/monitor.py +18 -14
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +14 -14
- pulumi_newrelic/synthetics/private_location.py +14 -14
- pulumi_newrelic/synthetics/script_monitor.py +18 -14
- pulumi_newrelic/synthetics/secure_credential.py +14 -14
- pulumi_newrelic/synthetics/step_monitor.py +32 -14
- pulumi_newrelic/workflow.py +14 -14
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.24.1.dist-info/RECORD +89 -0
- pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/top_level.txt +0 -0
@@ -15,14 +15,14 @@ __all__ = ['AlertConditionArgs', 'AlertCondition']
|
|
15
15
|
class AlertConditionArgs:
|
16
16
|
def __init__(__self__, *,
|
17
17
|
monitor_id: pulumi.Input[str],
|
18
|
-
policy_id: pulumi.Input[
|
18
|
+
policy_id: pulumi.Input[str],
|
19
19
|
enabled: Optional[pulumi.Input[bool]] = None,
|
20
20
|
name: Optional[pulumi.Input[str]] = None,
|
21
21
|
runbook_url: Optional[pulumi.Input[str]] = None):
|
22
22
|
"""
|
23
23
|
The set of arguments for constructing a AlertCondition resource.
|
24
24
|
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
25
|
-
:param pulumi.Input[
|
25
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
26
26
|
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
27
27
|
:param pulumi.Input[str] name: The title of this condition.
|
28
28
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
@@ -50,14 +50,14 @@ class AlertConditionArgs:
|
|
50
50
|
|
51
51
|
@property
|
52
52
|
@pulumi.getter(name="policyId")
|
53
|
-
def policy_id(self) -> pulumi.Input[
|
53
|
+
def policy_id(self) -> pulumi.Input[str]:
|
54
54
|
"""
|
55
55
|
The ID of the policy where this condition should be used.
|
56
56
|
"""
|
57
57
|
return pulumi.get(self, "policy_id")
|
58
58
|
|
59
59
|
@policy_id.setter
|
60
|
-
def policy_id(self, value: pulumi.Input[
|
60
|
+
def policy_id(self, value: pulumi.Input[str]):
|
61
61
|
pulumi.set(self, "policy_id", value)
|
62
62
|
|
63
63
|
@property
|
@@ -104,7 +104,7 @@ class _AlertConditionState:
|
|
104
104
|
entity_guid: Optional[pulumi.Input[str]] = None,
|
105
105
|
monitor_id: Optional[pulumi.Input[str]] = None,
|
106
106
|
name: Optional[pulumi.Input[str]] = None,
|
107
|
-
policy_id: Optional[pulumi.Input[
|
107
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
108
108
|
runbook_url: Optional[pulumi.Input[str]] = None):
|
109
109
|
"""
|
110
110
|
Input properties used for looking up and filtering AlertCondition resources.
|
@@ -112,7 +112,7 @@ class _AlertConditionState:
|
|
112
112
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
113
113
|
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
114
114
|
:param pulumi.Input[str] name: The title of this condition.
|
115
|
-
:param pulumi.Input[
|
115
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
116
116
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
117
117
|
"""
|
118
118
|
if enabled is not None:
|
@@ -178,14 +178,14 @@ class _AlertConditionState:
|
|
178
178
|
|
179
179
|
@property
|
180
180
|
@pulumi.getter(name="policyId")
|
181
|
-
def policy_id(self) -> Optional[pulumi.Input[
|
181
|
+
def policy_id(self) -> Optional[pulumi.Input[str]]:
|
182
182
|
"""
|
183
183
|
The ID of the policy where this condition should be used.
|
184
184
|
"""
|
185
185
|
return pulumi.get(self, "policy_id")
|
186
186
|
|
187
187
|
@policy_id.setter
|
188
|
-
def policy_id(self, value: Optional[pulumi.Input[
|
188
|
+
def policy_id(self, value: Optional[pulumi.Input[str]]):
|
189
189
|
pulumi.set(self, "policy_id", value)
|
190
190
|
|
191
191
|
@property
|
@@ -209,7 +209,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
209
209
|
enabled: Optional[pulumi.Input[bool]] = None,
|
210
210
|
monitor_id: Optional[pulumi.Input[str]] = None,
|
211
211
|
name: Optional[pulumi.Input[str]] = None,
|
212
|
-
policy_id: Optional[pulumi.Input[
|
212
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
213
213
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
214
214
|
__props__=None):
|
215
215
|
"""
|
@@ -293,7 +293,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
293
293
|
:param pulumi.Input[bool] enabled: Set whether to enable the alert condition. Defaults to true.
|
294
294
|
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
295
295
|
:param pulumi.Input[str] name: The title of this condition.
|
296
|
-
:param pulumi.Input[
|
296
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
297
297
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
298
298
|
"""
|
299
299
|
...
|
@@ -396,7 +396,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
396
396
|
enabled: Optional[pulumi.Input[bool]] = None,
|
397
397
|
monitor_id: Optional[pulumi.Input[str]] = None,
|
398
398
|
name: Optional[pulumi.Input[str]] = None,
|
399
|
-
policy_id: Optional[pulumi.Input[
|
399
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
400
400
|
runbook_url: Optional[pulumi.Input[str]] = None,
|
401
401
|
__props__=None):
|
402
402
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -431,7 +431,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
431
431
|
entity_guid: Optional[pulumi.Input[str]] = None,
|
432
432
|
monitor_id: Optional[pulumi.Input[str]] = None,
|
433
433
|
name: Optional[pulumi.Input[str]] = None,
|
434
|
-
policy_id: Optional[pulumi.Input[
|
434
|
+
policy_id: Optional[pulumi.Input[str]] = None,
|
435
435
|
runbook_url: Optional[pulumi.Input[str]] = None) -> 'AlertCondition':
|
436
436
|
"""
|
437
437
|
Get an existing AlertCondition resource's state with the given name, id, and optional extra
|
@@ -444,7 +444,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
444
444
|
:param pulumi.Input[str] entity_guid: The unique entity identifier of the condition in New Relic.
|
445
445
|
:param pulumi.Input[str] monitor_id: The ID of the Synthetics monitor to be referenced in the alert condition.
|
446
446
|
:param pulumi.Input[str] name: The title of this condition.
|
447
|
-
:param pulumi.Input[
|
447
|
+
:param pulumi.Input[str] policy_id: The ID of the policy where this condition should be used.
|
448
448
|
:param pulumi.Input[str] runbook_url: Runbook URL to display in notifications.
|
449
449
|
"""
|
450
450
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -493,7 +493,7 @@ class AlertCondition(pulumi.CustomResource):
|
|
493
493
|
|
494
494
|
@property
|
495
495
|
@pulumi.getter(name="policyId")
|
496
|
-
def policy_id(self) -> pulumi.Output[
|
496
|
+
def policy_id(self) -> pulumi.Output[str]:
|
497
497
|
"""
|
498
498
|
The ID of the policy where this condition should be used.
|
499
499
|
"""
|
@@ -19,7 +19,7 @@ class BrokenLinksMonitorArgs:
|
|
19
19
|
period: pulumi.Input[str],
|
20
20
|
status: pulumi.Input[str],
|
21
21
|
uri: pulumi.Input[str],
|
22
|
-
account_id: Optional[pulumi.Input[
|
22
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
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,
|
@@ -31,7 +31,7 @@ class BrokenLinksMonitorArgs:
|
|
31
31
|
: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.
|
32
32
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
33
33
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
34
|
-
:param pulumi.Input[
|
34
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
35
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.
|
36
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.
|
37
37
|
:param pulumi.Input[str] name: The name for the monitor.
|
@@ -39,6 +39,8 @@ class BrokenLinksMonitorArgs:
|
|
39
39
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
40
40
|
|
41
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
|
+
|
43
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
42
44
|
: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
45
|
"""
|
44
46
|
pulumi.set(__self__, "period", period)
|
@@ -97,14 +99,14 @@ class BrokenLinksMonitorArgs:
|
|
97
99
|
|
98
100
|
@property
|
99
101
|
@pulumi.getter(name="accountId")
|
100
|
-
def account_id(self) -> Optional[pulumi.Input[
|
102
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
101
103
|
"""
|
102
104
|
The account in which the Synthetics monitor will be created.
|
103
105
|
"""
|
104
106
|
return pulumi.get(self, "account_id")
|
105
107
|
|
106
108
|
@account_id.setter
|
107
|
-
def account_id(self, value: Optional[pulumi.Input[
|
109
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
108
110
|
pulumi.set(self, "account_id", value)
|
109
111
|
|
110
112
|
@property
|
@@ -162,6 +164,8 @@ class BrokenLinksMonitorArgs:
|
|
162
164
|
The specific version of the runtime type selected.
|
163
165
|
|
164
166
|
> **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.
|
167
|
+
|
168
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
165
169
|
"""
|
166
170
|
return pulumi.get(self, "runtime_type_version")
|
167
171
|
|
@@ -185,7 +189,7 @@ class BrokenLinksMonitorArgs:
|
|
185
189
|
@pulumi.input_type
|
186
190
|
class _BrokenLinksMonitorState:
|
187
191
|
def __init__(__self__, *,
|
188
|
-
account_id: Optional[pulumi.Input[
|
192
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
189
193
|
guid: Optional[pulumi.Input[str]] = None,
|
190
194
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
191
195
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -199,7 +203,7 @@ class _BrokenLinksMonitorState:
|
|
199
203
|
uri: Optional[pulumi.Input[str]] = None):
|
200
204
|
"""
|
201
205
|
Input properties used for looking up and filtering BrokenLinksMonitor resources.
|
202
|
-
:param pulumi.Input[
|
206
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
203
207
|
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
204
208
|
: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.
|
205
209
|
: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.
|
@@ -210,6 +214,8 @@ class _BrokenLinksMonitorState:
|
|
210
214
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
211
215
|
|
212
216
|
> **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.
|
217
|
+
|
218
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
213
219
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
214
220
|
: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
221
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
@@ -241,14 +247,14 @@ class _BrokenLinksMonitorState:
|
|
241
247
|
|
242
248
|
@property
|
243
249
|
@pulumi.getter(name="accountId")
|
244
|
-
def account_id(self) -> Optional[pulumi.Input[
|
250
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
245
251
|
"""
|
246
252
|
The account in which the Synthetics monitor will be created.
|
247
253
|
"""
|
248
254
|
return pulumi.get(self, "account_id")
|
249
255
|
|
250
256
|
@account_id.setter
|
251
|
-
def account_id(self, value: Optional[pulumi.Input[
|
257
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
252
258
|
pulumi.set(self, "account_id", value)
|
253
259
|
|
254
260
|
@property
|
@@ -342,6 +348,8 @@ class _BrokenLinksMonitorState:
|
|
342
348
|
The specific version of the runtime type selected.
|
343
349
|
|
344
350
|
> **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.
|
351
|
+
|
352
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
345
353
|
"""
|
346
354
|
return pulumi.get(self, "runtime_type_version")
|
347
355
|
|
@@ -391,7 +399,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
391
399
|
def __init__(__self__,
|
392
400
|
resource_name: str,
|
393
401
|
opts: Optional[pulumi.ResourceOptions] = None,
|
394
|
-
account_id: Optional[pulumi.Input[
|
402
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
395
403
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
396
404
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
397
405
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -403,6 +411,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
403
411
|
uri: Optional[pulumi.Input[str]] = None,
|
404
412
|
__props__=None):
|
405
413
|
"""
|
414
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
415
|
+
|
406
416
|
Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
|
407
417
|
|
408
418
|
## Example Usage
|
@@ -466,7 +476,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
466
476
|
|
467
477
|
:param str resource_name: The name of the resource.
|
468
478
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
469
|
-
:param pulumi.Input[
|
479
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
470
480
|
: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.
|
471
481
|
: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.
|
472
482
|
:param pulumi.Input[str] name: The name for the monitor.
|
@@ -475,6 +485,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
475
485
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
476
486
|
|
477
487
|
> **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.
|
488
|
+
|
489
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
478
490
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
479
491
|
: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
|
480
492
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
@@ -486,6 +498,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
486
498
|
args: BrokenLinksMonitorArgs,
|
487
499
|
opts: Optional[pulumi.ResourceOptions] = None):
|
488
500
|
"""
|
501
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
502
|
+
|
489
503
|
Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
|
490
504
|
|
491
505
|
## Example Usage
|
@@ -562,7 +576,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
562
576
|
def _internal_init(__self__,
|
563
577
|
resource_name: str,
|
564
578
|
opts: Optional[pulumi.ResourceOptions] = None,
|
565
|
-
account_id: Optional[pulumi.Input[
|
579
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
566
580
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
567
581
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
568
582
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -609,7 +623,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
609
623
|
def get(resource_name: str,
|
610
624
|
id: pulumi.Input[str],
|
611
625
|
opts: Optional[pulumi.ResourceOptions] = None,
|
612
|
-
account_id: Optional[pulumi.Input[
|
626
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
613
627
|
guid: Optional[pulumi.Input[str]] = None,
|
614
628
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
615
629
|
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -628,7 +642,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
628
642
|
:param str resource_name: The unique name of the resulting resource.
|
629
643
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
630
644
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
631
|
-
:param pulumi.Input[
|
645
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
632
646
|
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
633
647
|
: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.
|
634
648
|
: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.
|
@@ -639,6 +653,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
639
653
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
640
654
|
|
641
655
|
> **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.
|
656
|
+
|
657
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
642
658
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
643
659
|
: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
|
644
660
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
@@ -663,7 +679,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
663
679
|
|
664
680
|
@property
|
665
681
|
@pulumi.getter(name="accountId")
|
666
|
-
def account_id(self) -> pulumi.Output[
|
682
|
+
def account_id(self) -> pulumi.Output[str]:
|
667
683
|
"""
|
668
684
|
The account in which the Synthetics monitor will be created.
|
669
685
|
"""
|
@@ -732,6 +748,8 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
732
748
|
The specific version of the runtime type selected.
|
733
749
|
|
734
750
|
> **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.
|
751
|
+
|
752
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
735
753
|
"""
|
736
754
|
return pulumi.get(self, "runtime_type_version")
|
737
755
|
|
@@ -20,7 +20,7 @@ class CertCheckMonitorArgs:
|
|
20
20
|
domain: pulumi.Input[str],
|
21
21
|
period: pulumi.Input[str],
|
22
22
|
status: pulumi.Input[str],
|
23
|
-
account_id: Optional[pulumi.Input[
|
23
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
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,
|
@@ -33,7 +33,7 @@ class CertCheckMonitorArgs:
|
|
33
33
|
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
34
34
|
: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.
|
35
35
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
36
|
-
:param pulumi.Input[
|
36
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
37
37
|
: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
38
|
: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
39
|
:param pulumi.Input[str] name: The name for the monitor.
|
@@ -41,6 +41,8 @@ class CertCheckMonitorArgs:
|
|
41
41
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
42
42
|
|
43
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
|
+
|
45
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
44
46
|
: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
47
|
"""
|
46
48
|
pulumi.set(__self__, "certificate_expiration", certificate_expiration)
|
@@ -112,14 +114,14 @@ class CertCheckMonitorArgs:
|
|
112
114
|
|
113
115
|
@property
|
114
116
|
@pulumi.getter(name="accountId")
|
115
|
-
def account_id(self) -> Optional[pulumi.Input[
|
117
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
116
118
|
"""
|
117
119
|
The account in which the Synthetics monitor will be created.
|
118
120
|
"""
|
119
121
|
return pulumi.get(self, "account_id")
|
120
122
|
|
121
123
|
@account_id.setter
|
122
|
-
def account_id(self, value: Optional[pulumi.Input[
|
124
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
123
125
|
pulumi.set(self, "account_id", value)
|
124
126
|
|
125
127
|
@property
|
@@ -177,6 +179,8 @@ class CertCheckMonitorArgs:
|
|
177
179
|
The specific version of the runtime type selected.
|
178
180
|
|
179
181
|
> **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.
|
182
|
+
|
183
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
180
184
|
"""
|
181
185
|
return pulumi.get(self, "runtime_type_version")
|
182
186
|
|
@@ -200,7 +204,7 @@ class CertCheckMonitorArgs:
|
|
200
204
|
@pulumi.input_type
|
201
205
|
class _CertCheckMonitorState:
|
202
206
|
def __init__(__self__, *,
|
203
|
-
account_id: Optional[pulumi.Input[
|
207
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
204
208
|
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
205
209
|
domain: Optional[pulumi.Input[str]] = None,
|
206
210
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -214,7 +218,7 @@ class _CertCheckMonitorState:
|
|
214
218
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None):
|
215
219
|
"""
|
216
220
|
Input properties used for looking up and filtering CertCheckMonitor resources.
|
217
|
-
:param pulumi.Input[
|
221
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
218
222
|
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
219
223
|
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
220
224
|
: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.
|
@@ -226,6 +230,8 @@ class _CertCheckMonitorState:
|
|
226
230
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
227
231
|
|
228
232
|
> **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.
|
233
|
+
|
234
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
229
235
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
230
236
|
: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
237
|
"""
|
@@ -256,14 +262,14 @@ class _CertCheckMonitorState:
|
|
256
262
|
|
257
263
|
@property
|
258
264
|
@pulumi.getter(name="accountId")
|
259
|
-
def account_id(self) -> Optional[pulumi.Input[
|
265
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
260
266
|
"""
|
261
267
|
The account in which the Synthetics monitor will be created.
|
262
268
|
"""
|
263
269
|
return pulumi.get(self, "account_id")
|
264
270
|
|
265
271
|
@account_id.setter
|
266
|
-
def account_id(self, value: Optional[pulumi.Input[
|
272
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
267
273
|
pulumi.set(self, "account_id", value)
|
268
274
|
|
269
275
|
@property
|
@@ -369,6 +375,8 @@ class _CertCheckMonitorState:
|
|
369
375
|
The specific version of the runtime type selected.
|
370
376
|
|
371
377
|
> **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.
|
378
|
+
|
379
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
372
380
|
"""
|
373
381
|
return pulumi.get(self, "runtime_type_version")
|
374
382
|
|
@@ -406,7 +414,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
406
414
|
def __init__(__self__,
|
407
415
|
resource_name: str,
|
408
416
|
opts: Optional[pulumi.ResourceOptions] = None,
|
409
|
-
account_id: Optional[pulumi.Input[
|
417
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
410
418
|
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
411
419
|
domain: Optional[pulumi.Input[str]] = None,
|
412
420
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -419,6 +427,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
419
427
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]]] = None,
|
420
428
|
__props__=None):
|
421
429
|
"""
|
430
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
431
|
+
|
422
432
|
Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
|
423
433
|
|
424
434
|
## Example Usage
|
@@ -484,7 +494,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
484
494
|
|
485
495
|
:param str resource_name: The name of the resource.
|
486
496
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
487
|
-
:param pulumi.Input[
|
497
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
488
498
|
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
489
499
|
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
490
500
|
: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.
|
@@ -495,6 +505,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
495
505
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
496
506
|
|
497
507
|
> **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.
|
508
|
+
|
509
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
498
510
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
499
511
|
: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
|
500
512
|
"""
|
@@ -505,6 +517,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
505
517
|
args: CertCheckMonitorArgs,
|
506
518
|
opts: Optional[pulumi.ResourceOptions] = None):
|
507
519
|
"""
|
520
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
521
|
+
|
508
522
|
Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
|
509
523
|
|
510
524
|
## Example Usage
|
@@ -583,7 +597,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
583
597
|
def _internal_init(__self__,
|
584
598
|
resource_name: str,
|
585
599
|
opts: Optional[pulumi.ResourceOptions] = None,
|
586
|
-
account_id: Optional[pulumi.Input[
|
600
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
587
601
|
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
588
602
|
domain: Optional[pulumi.Input[str]] = None,
|
589
603
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -633,7 +647,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
633
647
|
def get(resource_name: str,
|
634
648
|
id: pulumi.Input[str],
|
635
649
|
opts: Optional[pulumi.ResourceOptions] = None,
|
636
|
-
account_id: Optional[pulumi.Input[
|
650
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
637
651
|
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
638
652
|
domain: Optional[pulumi.Input[str]] = None,
|
639
653
|
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -652,7 +666,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
652
666
|
:param str resource_name: The unique name of the resulting resource.
|
653
667
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
654
668
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
655
|
-
:param pulumi.Input[
|
669
|
+
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
656
670
|
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
657
671
|
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
658
672
|
: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.
|
@@ -664,6 +678,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
664
678
|
:param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected.
|
665
679
|
|
666
680
|
> **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.
|
681
|
+
|
682
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
667
683
|
:param pulumi.Input[str] status: The monitor status (ENABLED or DISABLED).
|
668
684
|
: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
|
669
685
|
"""
|
@@ -687,7 +703,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
687
703
|
|
688
704
|
@property
|
689
705
|
@pulumi.getter(name="accountId")
|
690
|
-
def account_id(self) -> pulumi.Output[
|
706
|
+
def account_id(self) -> pulumi.Output[str]:
|
691
707
|
"""
|
692
708
|
The account in which the Synthetics monitor will be created.
|
693
709
|
"""
|
@@ -764,6 +780,8 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
764
780
|
The specific version of the runtime type selected.
|
765
781
|
|
766
782
|
> **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.
|
783
|
+
|
784
|
+
> **WARNING** Support for legacy Synthetics runtimes **will reach its end-of-life (EOL) on October 22, 2024**. In addition, creating **_new_** monitors using the legacy runtime **will no longer be supported after June 30, 2024**. In light of the above, kindly **upgrade your Synthetic Monitors to the new runtime** at the earliest, if they are still using the legacy runtime. Please check out [this page](https://forum.newrelic.com/s/hubtopic/aAXPh0000001brxOAA/upcoming-endoflife-legacy-synthetics-runtimes-and-cpm) for more details on the EOL, action needed (specific to monitors using public and private locations), relevant resources, and more.
|
767
785
|
"""
|
768
786
|
return pulumi.get(self, "runtime_type_version")
|
769
787
|
|
@@ -22,8 +22,8 @@ class GetPrivateLocationResult:
|
|
22
22
|
A collection of values returned by getPrivateLocation.
|
23
23
|
"""
|
24
24
|
def __init__(__self__, account_id=None, id=None, keys=None, name=None):
|
25
|
-
if account_id and not isinstance(account_id,
|
26
|
-
raise TypeError("Expected argument 'account_id' to be a
|
25
|
+
if account_id and not isinstance(account_id, str):
|
26
|
+
raise TypeError("Expected argument 'account_id' to be a str")
|
27
27
|
pulumi.set(__self__, "account_id", account_id)
|
28
28
|
if id and not isinstance(id, str):
|
29
29
|
raise TypeError("Expected argument 'id' to be a str")
|
@@ -37,7 +37,7 @@ class GetPrivateLocationResult:
|
|
37
37
|
|
38
38
|
@property
|
39
39
|
@pulumi.getter(name="accountId")
|
40
|
-
def account_id(self) -> Optional[
|
40
|
+
def account_id(self) -> Optional[str]:
|
41
41
|
return pulumi.get(self, "account_id")
|
42
42
|
|
43
43
|
@property
|
@@ -74,7 +74,7 @@ class AwaitableGetPrivateLocationResult(GetPrivateLocationResult):
|
|
74
74
|
name=self.name)
|
75
75
|
|
76
76
|
|
77
|
-
def get_private_location(account_id: Optional[
|
77
|
+
def get_private_location(account_id: Optional[str] = None,
|
78
78
|
keys: Optional[Sequence[str]] = None,
|
79
79
|
name: Optional[str] = None,
|
80
80
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateLocationResult:
|
@@ -87,7 +87,7 @@ def get_private_location(account_id: Optional[int] = None,
|
|
87
87
|
import pulumi
|
88
88
|
import pulumi_newrelic as newrelic
|
89
89
|
|
90
|
-
example = newrelic.synthetics.get_private_location(account_id=123456,
|
90
|
+
example = newrelic.synthetics.get_private_location(account_id="123456",
|
91
91
|
name="My private location")
|
92
92
|
foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
|
93
93
|
```
|
@@ -96,7 +96,7 @@ def get_private_location(account_id: Optional[int] = None,
|
|
96
96
|
import pulumi
|
97
97
|
import pulumi_newrelic as newrelic
|
98
98
|
|
99
|
-
example = newrelic.synthetics.get_private_location(account_id=123456,
|
99
|
+
example = newrelic.synthetics.get_private_location(account_id="123456",
|
100
100
|
name="My private location")
|
101
101
|
foo = newrelic.synthetics.StepMonitor("foo", location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
|
102
102
|
guid=example.id,
|
@@ -104,7 +104,7 @@ def get_private_location(account_id: Optional[int] = None,
|
|
104
104
|
```
|
105
105
|
|
106
106
|
|
107
|
-
:param
|
107
|
+
:param str account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
|
108
108
|
:param Sequence[str] keys: The key of the private location.
|
109
109
|
:param str name: The name of the Synthetics monitor private location.
|
110
110
|
"""
|
@@ -123,7 +123,7 @@ def get_private_location(account_id: Optional[int] = None,
|
|
123
123
|
|
124
124
|
|
125
125
|
@_utilities.lift_output_func(get_private_location)
|
126
|
-
def get_private_location_output(account_id: Optional[pulumi.Input[Optional[
|
126
|
+
def get_private_location_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
127
127
|
keys: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
128
128
|
name: Optional[pulumi.Input[str]] = None,
|
129
129
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateLocationResult]:
|
@@ -136,7 +136,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
|
|
136
136
|
import pulumi
|
137
137
|
import pulumi_newrelic as newrelic
|
138
138
|
|
139
|
-
example = newrelic.synthetics.get_private_location(account_id=123456,
|
139
|
+
example = newrelic.synthetics.get_private_location(account_id="123456",
|
140
140
|
name="My private location")
|
141
141
|
foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id])
|
142
142
|
```
|
@@ -145,7 +145,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
|
|
145
145
|
import pulumi
|
146
146
|
import pulumi_newrelic as newrelic
|
147
147
|
|
148
|
-
example = newrelic.synthetics.get_private_location(account_id=123456,
|
148
|
+
example = newrelic.synthetics.get_private_location(account_id="123456",
|
149
149
|
name="My private location")
|
150
150
|
foo = newrelic.synthetics.StepMonitor("foo", location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(
|
151
151
|
guid=example.id,
|
@@ -153,7 +153,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]]
|
|
153
153
|
```
|
154
154
|
|
155
155
|
|
156
|
-
:param
|
156
|
+
:param str account_id: The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
|
157
157
|
:param Sequence[str] keys: The key of the private location.
|
158
158
|
:param str name: The name of the Synthetics monitor private location.
|
159
159
|
"""
|