pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/__init__.py +19 -1
- pulumi_newrelic/_inputs.py +4314 -3779
- pulumi_newrelic/_utilities.py +1 -1
- pulumi_newrelic/account_management.py +37 -36
- pulumi_newrelic/alert_channel.py +63 -62
- pulumi_newrelic/alert_condition.py +219 -218
- pulumi_newrelic/alert_muting_rule.py +96 -95
- pulumi_newrelic/alert_policy.py +71 -70
- pulumi_newrelic/alert_policy_channel.py +54 -53
- pulumi_newrelic/api_access_key.py +186 -201
- pulumi_newrelic/browser_application.py +115 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +2226 -2118
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
- pulumi_newrelic/cloud/aws_integrations.py +240 -192
- pulumi_newrelic/cloud/aws_link_account.py +71 -70
- pulumi_newrelic/cloud/azure_integrations.py +180 -132
- pulumi_newrelic/cloud/azure_link_account.py +105 -104
- pulumi_newrelic/cloud/gcp_integrations.py +115 -114
- pulumi_newrelic/cloud/gcp_link_account.py +56 -55
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1512 -1410
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +2 -2
- pulumi_newrelic/config/vars.py +15 -15
- pulumi_newrelic/data_partition_rule.py +114 -113
- pulumi_newrelic/entity_tags.py +79 -22
- pulumi_newrelic/events_to_metrics_rule.py +97 -96
- pulumi_newrelic/get_account.py +22 -22
- pulumi_newrelic/get_alert_channel.py +53 -21
- pulumi_newrelic/get_alert_policy.py +52 -26
- pulumi_newrelic/get_application.py +14 -14
- pulumi_newrelic/get_authentication_domain.py +10 -10
- pulumi_newrelic/get_cloud_account.py +22 -22
- pulumi_newrelic/get_entity.py +53 -53
- pulumi_newrelic/get_group.py +22 -22
- pulumi_newrelic/get_key_transaction.py +26 -26
- pulumi_newrelic/get_notification_destination.py +31 -31
- pulumi_newrelic/get_obfuscation_expression.py +16 -16
- pulumi_newrelic/get_service_level_alert_helper.py +54 -54
- pulumi_newrelic/get_test_grok_pattern.py +23 -23
- pulumi_newrelic/get_user.py +22 -22
- pulumi_newrelic/group.py +54 -53
- pulumi_newrelic/infra_alert_condition.py +257 -256
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +33 -33
- pulumi_newrelic/insights/event.py +6 -5
- pulumi_newrelic/insights/outputs.py +23 -23
- pulumi_newrelic/key_transaction.py +106 -105
- pulumi_newrelic/log_parsing_rule.py +148 -147
- pulumi_newrelic/monitor_downtime.py +148 -154
- pulumi_newrelic/notification_channel.py +218 -163
- pulumi_newrelic/notification_destination.py +123 -136
- pulumi_newrelic/nrql_alert_condition.py +513 -414
- pulumi_newrelic/nrql_drop_rule.py +108 -147
- pulumi_newrelic/obfuscation_expression.py +71 -70
- pulumi_newrelic/obfuscation_rule.py +91 -90
- pulumi_newrelic/one_dashboard.py +95 -94
- pulumi_newrelic/one_dashboard_json.py +64 -63
- pulumi_newrelic/one_dashboard_raw.py +116 -115
- pulumi_newrelic/outputs.py +3026 -2665
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +159 -159
- pulumi_newrelic/plugins/application_settings.py +186 -171
- pulumi_newrelic/plugins/outputs.py +109 -109
- pulumi_newrelic/plugins/workload.py +133 -132
- pulumi_newrelic/provider.py +136 -116
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +78 -77
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +128 -128
- pulumi_newrelic/synthetics/alert_condition.py +97 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
- pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
- pulumi_newrelic/synthetics/get_private_location.py +22 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
- pulumi_newrelic/synthetics/monitor.py +399 -370
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
- pulumi_newrelic/synthetics/outputs.py +86 -86
- pulumi_newrelic/synthetics/private_location.py +107 -106
- pulumi_newrelic/synthetics/script_monitor.py +385 -294
- pulumi_newrelic/synthetics/secure_credential.py +88 -87
- pulumi_newrelic/synthetics/step_monitor.py +241 -212
- pulumi_newrelic/user.py +71 -70
- pulumi_newrelic/workflow.py +141 -140
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
- pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -21,28 +21,28 @@ __all__ = ['BrokenLinksMonitorArgs', 'BrokenLinksMonitor']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class BrokenLinksMonitorArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
period: pulumi.Input[str],
|
|
25
|
-
status: pulumi.Input[str],
|
|
26
|
-
uri: pulumi.Input[str],
|
|
27
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
29
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
30
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
period: pulumi.Input[_builtins.str],
|
|
25
|
+
status: pulumi.Input[_builtins.str],
|
|
26
|
+
uri: pulumi.Input[_builtins.str],
|
|
27
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
29
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
runtime_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
runtime_type_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
33
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None,
|
|
34
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
|
34
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
35
35
|
"""
|
|
36
36
|
The set of arguments for constructing a BrokenLinksMonitor resource.
|
|
37
|
-
: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`.
|
|
38
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
39
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
|
40
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
|
41
|
-
: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.
|
|
42
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
43
|
-
:param pulumi.Input[str] name: The name for the monitor.
|
|
44
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
45
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
|
37
|
+
:param pulumi.Input[_builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
|
38
|
+
:param pulumi.Input[_builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
39
|
+
:param pulumi.Input[_builtins.str] uri: The URI the monitor runs against.
|
|
40
|
+
:param pulumi.Input[_builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
43
|
+
:param pulumi.Input[_builtins.str] name: The name for the monitor.
|
|
44
|
+
:param pulumi.Input[_builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
45
|
+
:param pulumi.Input[_builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
47
47
|
"""
|
|
48
48
|
pulumi.set(__self__, "period", period)
|
|
@@ -65,115 +65,115 @@ class BrokenLinksMonitorArgs:
|
|
|
65
65
|
if use_unsupported_legacy_runtime is not None:
|
|
66
66
|
pulumi.set(__self__, "use_unsupported_legacy_runtime", use_unsupported_legacy_runtime)
|
|
67
67
|
|
|
68
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
69
69
|
@pulumi.getter
|
|
70
|
-
def period(self) -> pulumi.Input[str]:
|
|
70
|
+
def period(self) -> pulumi.Input[_builtins.str]:
|
|
71
71
|
"""
|
|
72
72
|
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`.
|
|
73
73
|
"""
|
|
74
74
|
return pulumi.get(self, "period")
|
|
75
75
|
|
|
76
76
|
@period.setter
|
|
77
|
-
def period(self, value: pulumi.Input[str]):
|
|
77
|
+
def period(self, value: pulumi.Input[_builtins.str]):
|
|
78
78
|
pulumi.set(self, "period", value)
|
|
79
79
|
|
|
80
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
81
81
|
@pulumi.getter
|
|
82
|
-
def status(self) -> pulumi.Input[str]:
|
|
82
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
83
83
|
"""
|
|
84
84
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
85
85
|
"""
|
|
86
86
|
return pulumi.get(self, "status")
|
|
87
87
|
|
|
88
88
|
@status.setter
|
|
89
|
-
def status(self, value: pulumi.Input[str]):
|
|
89
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
90
90
|
pulumi.set(self, "status", value)
|
|
91
91
|
|
|
92
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
93
93
|
@pulumi.getter
|
|
94
|
-
def uri(self) -> pulumi.Input[str]:
|
|
94
|
+
def uri(self) -> pulumi.Input[_builtins.str]:
|
|
95
95
|
"""
|
|
96
96
|
The URI the monitor runs against.
|
|
97
97
|
"""
|
|
98
98
|
return pulumi.get(self, "uri")
|
|
99
99
|
|
|
100
100
|
@uri.setter
|
|
101
|
-
def uri(self, value: pulumi.Input[str]):
|
|
101
|
+
def uri(self, value: pulumi.Input[_builtins.str]):
|
|
102
102
|
pulumi.set(self, "uri", value)
|
|
103
103
|
|
|
104
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
105
105
|
@pulumi.getter(name="accountId")
|
|
106
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
106
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
107
107
|
"""
|
|
108
108
|
The account in which the Synthetics monitor will be created.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "account_id")
|
|
111
111
|
|
|
112
112
|
@account_id.setter
|
|
113
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
114
114
|
pulumi.set(self, "account_id", value)
|
|
115
115
|
|
|
116
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
117
117
|
@pulumi.getter(name="locationsPrivates")
|
|
118
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
118
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
119
119
|
"""
|
|
120
120
|
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.
|
|
121
121
|
"""
|
|
122
122
|
return pulumi.get(self, "locations_privates")
|
|
123
123
|
|
|
124
124
|
@locations_privates.setter
|
|
125
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
125
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
126
126
|
pulumi.set(self, "locations_privates", value)
|
|
127
127
|
|
|
128
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
129
129
|
@pulumi.getter(name="locationsPublics")
|
|
130
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
130
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
131
131
|
"""
|
|
132
132
|
The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
133
133
|
"""
|
|
134
134
|
return pulumi.get(self, "locations_publics")
|
|
135
135
|
|
|
136
136
|
@locations_publics.setter
|
|
137
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
137
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
138
138
|
pulumi.set(self, "locations_publics", value)
|
|
139
139
|
|
|
140
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
141
141
|
@pulumi.getter
|
|
142
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
142
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
143
143
|
"""
|
|
144
144
|
The name for the monitor.
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "name")
|
|
147
147
|
|
|
148
148
|
@name.setter
|
|
149
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
149
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
150
150
|
pulumi.set(self, "name", value)
|
|
151
151
|
|
|
152
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
153
153
|
@pulumi.getter(name="runtimeType")
|
|
154
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
|
154
|
+
def runtime_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
155
155
|
"""
|
|
156
156
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "runtime_type")
|
|
159
159
|
|
|
160
160
|
@runtime_type.setter
|
|
161
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
|
161
|
+
def runtime_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
162
162
|
pulumi.set(self, "runtime_type", value)
|
|
163
163
|
|
|
164
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
165
165
|
@pulumi.getter(name="runtimeTypeVersion")
|
|
166
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
167
167
|
"""
|
|
168
168
|
The specific semver version of the runtime type.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "runtime_type_version")
|
|
171
171
|
|
|
172
172
|
@runtime_type_version.setter
|
|
173
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
|
173
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
174
174
|
pulumi.set(self, "runtime_type_version", value)
|
|
175
175
|
|
|
176
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
177
177
|
@pulumi.getter
|
|
178
178
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]]:
|
|
179
179
|
"""
|
|
@@ -185,46 +185,48 @@ class BrokenLinksMonitorArgs:
|
|
|
185
185
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]]):
|
|
186
186
|
pulumi.set(self, "tags", value)
|
|
187
187
|
|
|
188
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
189
189
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
|
190
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
|
190
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
191
191
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
|
192
192
|
|
|
193
193
|
@use_unsupported_legacy_runtime.setter
|
|
194
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
|
194
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
195
195
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
@pulumi.input_type
|
|
199
199
|
class _BrokenLinksMonitorState:
|
|
200
200
|
def __init__(__self__, *,
|
|
201
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
202
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
203
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
204
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
201
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
204
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
205
|
+
monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
206
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
207
|
+
period: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
|
+
period_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
|
|
209
|
+
runtime_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
210
|
+
runtime_type_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
211
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
211
212
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None,
|
|
212
|
-
uri: Optional[pulumi.Input[str]] = None,
|
|
213
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
|
213
|
+
uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
214
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
214
215
|
"""
|
|
215
216
|
Input properties used for looking up and filtering BrokenLinksMonitor resources.
|
|
216
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
|
217
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
|
218
|
-
: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.
|
|
219
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
220
|
-
:param pulumi.Input[str]
|
|
221
|
-
:param pulumi.Input[str]
|
|
222
|
-
:param pulumi.Input[
|
|
223
|
-
:param pulumi.Input[
|
|
224
|
-
:param pulumi.Input[str]
|
|
225
|
-
:param pulumi.Input[str]
|
|
217
|
+
:param pulumi.Input[_builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
|
218
|
+
:param pulumi.Input[_builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
|
219
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
|
220
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
221
|
+
:param pulumi.Input[_builtins.str] monitor_id: The monitor id of the synthetics broken links monitor, not to be confused with the GUID of the monitor.
|
|
222
|
+
:param pulumi.Input[_builtins.str] name: The name for the monitor.
|
|
223
|
+
:param pulumi.Input[_builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
|
224
|
+
:param pulumi.Input[_builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
|
225
|
+
:param pulumi.Input[_builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
226
|
+
:param pulumi.Input[_builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
|
227
|
+
:param pulumi.Input[_builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
226
228
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
227
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
|
229
|
+
:param pulumi.Input[_builtins.str] uri: The URI the monitor runs against.
|
|
228
230
|
"""
|
|
229
231
|
if account_id is not None:
|
|
230
232
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -234,6 +236,8 @@ class _BrokenLinksMonitorState:
|
|
|
234
236
|
pulumi.set(__self__, "locations_privates", locations_privates)
|
|
235
237
|
if locations_publics is not None:
|
|
236
238
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
|
239
|
+
if monitor_id is not None:
|
|
240
|
+
pulumi.set(__self__, "monitor_id", monitor_id)
|
|
237
241
|
if name is not None:
|
|
238
242
|
pulumi.set(__self__, "name", name)
|
|
239
243
|
if period is not None:
|
|
@@ -253,127 +257,139 @@ class _BrokenLinksMonitorState:
|
|
|
253
257
|
if use_unsupported_legacy_runtime is not None:
|
|
254
258
|
pulumi.set(__self__, "use_unsupported_legacy_runtime", use_unsupported_legacy_runtime)
|
|
255
259
|
|
|
256
|
-
@property
|
|
260
|
+
@_builtins.property
|
|
257
261
|
@pulumi.getter(name="accountId")
|
|
258
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
262
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
259
263
|
"""
|
|
260
264
|
The account in which the Synthetics monitor will be created.
|
|
261
265
|
"""
|
|
262
266
|
return pulumi.get(self, "account_id")
|
|
263
267
|
|
|
264
268
|
@account_id.setter
|
|
265
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
|
269
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
266
270
|
pulumi.set(self, "account_id", value)
|
|
267
271
|
|
|
268
|
-
@property
|
|
272
|
+
@_builtins.property
|
|
269
273
|
@pulumi.getter
|
|
270
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
|
274
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
271
275
|
"""
|
|
272
276
|
The unique entity identifier of the monitor in New Relic.
|
|
273
277
|
"""
|
|
274
278
|
return pulumi.get(self, "guid")
|
|
275
279
|
|
|
276
280
|
@guid.setter
|
|
277
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
|
281
|
+
def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
278
282
|
pulumi.set(self, "guid", value)
|
|
279
283
|
|
|
280
|
-
@property
|
|
284
|
+
@_builtins.property
|
|
281
285
|
@pulumi.getter(name="locationsPrivates")
|
|
282
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
286
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
283
287
|
"""
|
|
284
288
|
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.
|
|
285
289
|
"""
|
|
286
290
|
return pulumi.get(self, "locations_privates")
|
|
287
291
|
|
|
288
292
|
@locations_privates.setter
|
|
289
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
293
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
290
294
|
pulumi.set(self, "locations_privates", value)
|
|
291
295
|
|
|
292
|
-
@property
|
|
296
|
+
@_builtins.property
|
|
293
297
|
@pulumi.getter(name="locationsPublics")
|
|
294
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
298
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
295
299
|
"""
|
|
296
300
|
The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
297
301
|
"""
|
|
298
302
|
return pulumi.get(self, "locations_publics")
|
|
299
303
|
|
|
300
304
|
@locations_publics.setter
|
|
301
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
305
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
302
306
|
pulumi.set(self, "locations_publics", value)
|
|
303
307
|
|
|
304
|
-
@property
|
|
308
|
+
@_builtins.property
|
|
309
|
+
@pulumi.getter(name="monitorId")
|
|
310
|
+
def monitor_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
311
|
+
"""
|
|
312
|
+
The monitor id of the synthetics broken links monitor, not to be confused with the GUID of the monitor.
|
|
313
|
+
"""
|
|
314
|
+
return pulumi.get(self, "monitor_id")
|
|
315
|
+
|
|
316
|
+
@monitor_id.setter
|
|
317
|
+
def monitor_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
318
|
+
pulumi.set(self, "monitor_id", value)
|
|
319
|
+
|
|
320
|
+
@_builtins.property
|
|
305
321
|
@pulumi.getter
|
|
306
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
322
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
307
323
|
"""
|
|
308
324
|
The name for the monitor.
|
|
309
325
|
"""
|
|
310
326
|
return pulumi.get(self, "name")
|
|
311
327
|
|
|
312
328
|
@name.setter
|
|
313
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
329
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
314
330
|
pulumi.set(self, "name", value)
|
|
315
331
|
|
|
316
|
-
@property
|
|
332
|
+
@_builtins.property
|
|
317
333
|
@pulumi.getter
|
|
318
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
|
334
|
+
def period(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
319
335
|
"""
|
|
320
336
|
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`.
|
|
321
337
|
"""
|
|
322
338
|
return pulumi.get(self, "period")
|
|
323
339
|
|
|
324
340
|
@period.setter
|
|
325
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
|
341
|
+
def period(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
326
342
|
pulumi.set(self, "period", value)
|
|
327
343
|
|
|
328
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
329
345
|
@pulumi.getter(name="periodInMinutes")
|
|
330
|
-
def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
|
346
|
+
def period_in_minutes(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
331
347
|
"""
|
|
332
348
|
The interval in minutes at which Synthetic monitor should run.
|
|
333
349
|
"""
|
|
334
350
|
return pulumi.get(self, "period_in_minutes")
|
|
335
351
|
|
|
336
352
|
@period_in_minutes.setter
|
|
337
|
-
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
|
353
|
+
def period_in_minutes(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
338
354
|
pulumi.set(self, "period_in_minutes", value)
|
|
339
355
|
|
|
340
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
341
357
|
@pulumi.getter(name="runtimeType")
|
|
342
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
|
358
|
+
def runtime_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
343
359
|
"""
|
|
344
360
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
345
361
|
"""
|
|
346
362
|
return pulumi.get(self, "runtime_type")
|
|
347
363
|
|
|
348
364
|
@runtime_type.setter
|
|
349
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
|
365
|
+
def runtime_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
350
366
|
pulumi.set(self, "runtime_type", value)
|
|
351
367
|
|
|
352
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
353
369
|
@pulumi.getter(name="runtimeTypeVersion")
|
|
354
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
|
370
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
355
371
|
"""
|
|
356
372
|
The specific semver version of the runtime type.
|
|
357
373
|
"""
|
|
358
374
|
return pulumi.get(self, "runtime_type_version")
|
|
359
375
|
|
|
360
376
|
@runtime_type_version.setter
|
|
361
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
|
377
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
362
378
|
pulumi.set(self, "runtime_type_version", value)
|
|
363
379
|
|
|
364
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
365
381
|
@pulumi.getter
|
|
366
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
382
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
367
383
|
"""
|
|
368
384
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
369
385
|
"""
|
|
370
386
|
return pulumi.get(self, "status")
|
|
371
387
|
|
|
372
388
|
@status.setter
|
|
373
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
389
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
374
390
|
pulumi.set(self, "status", value)
|
|
375
391
|
|
|
376
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
377
393
|
@pulumi.getter
|
|
378
394
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]]:
|
|
379
395
|
"""
|
|
@@ -385,44 +401,45 @@ class _BrokenLinksMonitorState:
|
|
|
385
401
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]]):
|
|
386
402
|
pulumi.set(self, "tags", value)
|
|
387
403
|
|
|
388
|
-
@property
|
|
404
|
+
@_builtins.property
|
|
389
405
|
@pulumi.getter
|
|
390
|
-
def uri(self) -> Optional[pulumi.Input[str]]:
|
|
406
|
+
def uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
391
407
|
"""
|
|
392
408
|
The URI the monitor runs against.
|
|
393
409
|
"""
|
|
394
410
|
return pulumi.get(self, "uri")
|
|
395
411
|
|
|
396
412
|
@uri.setter
|
|
397
|
-
def uri(self, value: Optional[pulumi.Input[str]]):
|
|
413
|
+
def uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
398
414
|
pulumi.set(self, "uri", value)
|
|
399
415
|
|
|
400
|
-
@property
|
|
416
|
+
@_builtins.property
|
|
401
417
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
|
402
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
|
418
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
403
419
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
|
404
420
|
|
|
405
421
|
@use_unsupported_legacy_runtime.setter
|
|
406
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
|
422
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
407
423
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
|
408
424
|
|
|
409
425
|
|
|
426
|
+
@pulumi.type_token("newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor")
|
|
410
427
|
class BrokenLinksMonitor(pulumi.CustomResource):
|
|
411
428
|
@overload
|
|
412
429
|
def __init__(__self__,
|
|
413
430
|
resource_name: str,
|
|
414
431
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
415
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
416
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
417
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
418
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
419
|
-
period: Optional[pulumi.Input[str]] = None,
|
|
420
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
|
421
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
|
422
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
432
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
433
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
434
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
435
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
436
|
+
period: Optional[pulumi.Input[_builtins.str]] = None,
|
|
437
|
+
runtime_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
438
|
+
runtime_type_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
439
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
423
440
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]]] = None,
|
|
424
|
-
uri: Optional[pulumi.Input[str]] = None,
|
|
425
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
|
441
|
+
uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
442
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
426
443
|
__props__=None):
|
|
427
444
|
"""
|
|
428
445
|
## Example Usage
|
|
@@ -486,16 +503,16 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
486
503
|
|
|
487
504
|
:param str resource_name: The name of the resource.
|
|
488
505
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
489
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
|
490
|
-
: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.
|
|
491
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
492
|
-
:param pulumi.Input[str] name: The name for the monitor.
|
|
493
|
-
: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`.
|
|
494
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
495
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
|
496
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
506
|
+
:param pulumi.Input[_builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
|
507
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
|
508
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
509
|
+
:param pulumi.Input[_builtins.str] name: The name for the monitor.
|
|
510
|
+
:param pulumi.Input[_builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
|
511
|
+
:param pulumi.Input[_builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
512
|
+
:param pulumi.Input[_builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
|
513
|
+
:param pulumi.Input[_builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
497
514
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
498
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
|
515
|
+
:param pulumi.Input[_builtins.str] uri: The URI the monitor runs against.
|
|
499
516
|
"""
|
|
500
517
|
...
|
|
501
518
|
@overload
|
|
@@ -578,17 +595,17 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
578
595
|
def _internal_init(__self__,
|
|
579
596
|
resource_name: str,
|
|
580
597
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
581
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
582
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
583
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
584
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
585
|
-
period: Optional[pulumi.Input[str]] = None,
|
|
586
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
|
587
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
|
588
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
598
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
599
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
600
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
601
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
602
|
+
period: Optional[pulumi.Input[_builtins.str]] = None,
|
|
603
|
+
runtime_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
604
|
+
runtime_type_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
605
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
589
606
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]]] = None,
|
|
590
|
-
uri: Optional[pulumi.Input[str]] = None,
|
|
591
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
|
607
|
+
uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
608
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
592
609
|
__props__=None):
|
|
593
610
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
594
611
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -616,6 +633,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
616
633
|
__props__.__dict__["uri"] = uri
|
|
617
634
|
__props__.__dict__["use_unsupported_legacy_runtime"] = use_unsupported_legacy_runtime
|
|
618
635
|
__props__.__dict__["guid"] = None
|
|
636
|
+
__props__.__dict__["monitor_id"] = None
|
|
619
637
|
__props__.__dict__["period_in_minutes"] = None
|
|
620
638
|
super(BrokenLinksMonitor, __self__).__init__(
|
|
621
639
|
'newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor',
|
|
@@ -627,19 +645,20 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
627
645
|
def get(resource_name: str,
|
|
628
646
|
id: pulumi.Input[str],
|
|
629
647
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
630
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
|
631
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
632
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
633
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
648
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
649
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
650
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
651
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
652
|
+
monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
653
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
654
|
+
period: Optional[pulumi.Input[_builtins.str]] = None,
|
|
655
|
+
period_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
|
|
656
|
+
runtime_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
657
|
+
runtime_type_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
658
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
640
659
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]]] = None,
|
|
641
|
-
uri: Optional[pulumi.Input[str]] = None,
|
|
642
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None) -> 'BrokenLinksMonitor':
|
|
660
|
+
uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
661
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None) -> 'BrokenLinksMonitor':
|
|
643
662
|
"""
|
|
644
663
|
Get an existing BrokenLinksMonitor resource's state with the given name, id, and optional extra
|
|
645
664
|
properties used to qualify the lookup.
|
|
@@ -647,18 +666,19 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
647
666
|
:param str resource_name: The unique name of the resulting resource.
|
|
648
667
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
649
668
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
650
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
|
651
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the monitor in New Relic.
|
|
652
|
-
: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.
|
|
653
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
654
|
-
:param pulumi.Input[str]
|
|
655
|
-
:param pulumi.Input[str]
|
|
656
|
-
:param pulumi.Input[
|
|
657
|
-
:param pulumi.Input[
|
|
658
|
-
:param pulumi.Input[str]
|
|
659
|
-
:param pulumi.Input[str]
|
|
669
|
+
:param pulumi.Input[_builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
|
670
|
+
:param pulumi.Input[_builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
|
671
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
|
672
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
673
|
+
:param pulumi.Input[_builtins.str] monitor_id: The monitor id of the synthetics broken links monitor, not to be confused with the GUID of the monitor.
|
|
674
|
+
:param pulumi.Input[_builtins.str] name: The name for the monitor.
|
|
675
|
+
:param pulumi.Input[_builtins.str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
|
676
|
+
:param pulumi.Input[_builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
|
677
|
+
:param pulumi.Input[_builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
678
|
+
:param pulumi.Input[_builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
|
679
|
+
:param pulumi.Input[_builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
660
680
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
661
|
-
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
|
681
|
+
:param pulumi.Input[_builtins.str] uri: The URI the monitor runs against.
|
|
662
682
|
"""
|
|
663
683
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
664
684
|
|
|
@@ -668,6 +688,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
668
688
|
__props__.__dict__["guid"] = guid
|
|
669
689
|
__props__.__dict__["locations_privates"] = locations_privates
|
|
670
690
|
__props__.__dict__["locations_publics"] = locations_publics
|
|
691
|
+
__props__.__dict__["monitor_id"] = monitor_id
|
|
671
692
|
__props__.__dict__["name"] = name
|
|
672
693
|
__props__.__dict__["period"] = period
|
|
673
694
|
__props__.__dict__["period_in_minutes"] = period_in_minutes
|
|
@@ -679,87 +700,95 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
679
700
|
__props__.__dict__["use_unsupported_legacy_runtime"] = use_unsupported_legacy_runtime
|
|
680
701
|
return BrokenLinksMonitor(resource_name, opts=opts, __props__=__props__)
|
|
681
702
|
|
|
682
|
-
@property
|
|
703
|
+
@_builtins.property
|
|
683
704
|
@pulumi.getter(name="accountId")
|
|
684
|
-
def account_id(self) -> pulumi.Output[str]:
|
|
705
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
685
706
|
"""
|
|
686
707
|
The account in which the Synthetics monitor will be created.
|
|
687
708
|
"""
|
|
688
709
|
return pulumi.get(self, "account_id")
|
|
689
710
|
|
|
690
|
-
@property
|
|
711
|
+
@_builtins.property
|
|
691
712
|
@pulumi.getter
|
|
692
|
-
def guid(self) -> pulumi.Output[str]:
|
|
713
|
+
def guid(self) -> pulumi.Output[_builtins.str]:
|
|
693
714
|
"""
|
|
694
715
|
The unique entity identifier of the monitor in New Relic.
|
|
695
716
|
"""
|
|
696
717
|
return pulumi.get(self, "guid")
|
|
697
718
|
|
|
698
|
-
@property
|
|
719
|
+
@_builtins.property
|
|
699
720
|
@pulumi.getter(name="locationsPrivates")
|
|
700
|
-
def locations_privates(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
721
|
+
def locations_privates(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
701
722
|
"""
|
|
702
723
|
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.
|
|
703
724
|
"""
|
|
704
725
|
return pulumi.get(self, "locations_privates")
|
|
705
726
|
|
|
706
|
-
@property
|
|
727
|
+
@_builtins.property
|
|
707
728
|
@pulumi.getter(name="locationsPublics")
|
|
708
|
-
def locations_publics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
729
|
+
def locations_publics(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
709
730
|
"""
|
|
710
731
|
The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
|
711
732
|
"""
|
|
712
733
|
return pulumi.get(self, "locations_publics")
|
|
713
734
|
|
|
714
|
-
@property
|
|
735
|
+
@_builtins.property
|
|
736
|
+
@pulumi.getter(name="monitorId")
|
|
737
|
+
def monitor_id(self) -> pulumi.Output[_builtins.str]:
|
|
738
|
+
"""
|
|
739
|
+
The monitor id of the synthetics broken links monitor, not to be confused with the GUID of the monitor.
|
|
740
|
+
"""
|
|
741
|
+
return pulumi.get(self, "monitor_id")
|
|
742
|
+
|
|
743
|
+
@_builtins.property
|
|
715
744
|
@pulumi.getter
|
|
716
|
-
def name(self) -> pulumi.Output[str]:
|
|
745
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
717
746
|
"""
|
|
718
747
|
The name for the monitor.
|
|
719
748
|
"""
|
|
720
749
|
return pulumi.get(self, "name")
|
|
721
750
|
|
|
722
|
-
@property
|
|
751
|
+
@_builtins.property
|
|
723
752
|
@pulumi.getter
|
|
724
|
-
def period(self) -> pulumi.Output[str]:
|
|
753
|
+
def period(self) -> pulumi.Output[_builtins.str]:
|
|
725
754
|
"""
|
|
726
755
|
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`.
|
|
727
756
|
"""
|
|
728
757
|
return pulumi.get(self, "period")
|
|
729
758
|
|
|
730
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
731
760
|
@pulumi.getter(name="periodInMinutes")
|
|
732
|
-
def period_in_minutes(self) -> pulumi.Output[int]:
|
|
761
|
+
def period_in_minutes(self) -> pulumi.Output[_builtins.int]:
|
|
733
762
|
"""
|
|
734
763
|
The interval in minutes at which Synthetic monitor should run.
|
|
735
764
|
"""
|
|
736
765
|
return pulumi.get(self, "period_in_minutes")
|
|
737
766
|
|
|
738
|
-
@property
|
|
767
|
+
@_builtins.property
|
|
739
768
|
@pulumi.getter(name="runtimeType")
|
|
740
|
-
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
|
769
|
+
def runtime_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
741
770
|
"""
|
|
742
771
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
|
743
772
|
"""
|
|
744
773
|
return pulumi.get(self, "runtime_type")
|
|
745
774
|
|
|
746
|
-
@property
|
|
775
|
+
@_builtins.property
|
|
747
776
|
@pulumi.getter(name="runtimeTypeVersion")
|
|
748
|
-
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
|
777
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
749
778
|
"""
|
|
750
779
|
The specific semver version of the runtime type.
|
|
751
780
|
"""
|
|
752
781
|
return pulumi.get(self, "runtime_type_version")
|
|
753
782
|
|
|
754
|
-
@property
|
|
783
|
+
@_builtins.property
|
|
755
784
|
@pulumi.getter
|
|
756
|
-
def status(self) -> pulumi.Output[str]:
|
|
785
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
757
786
|
"""
|
|
758
787
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
|
759
788
|
"""
|
|
760
789
|
return pulumi.get(self, "status")
|
|
761
790
|
|
|
762
|
-
@property
|
|
791
|
+
@_builtins.property
|
|
763
792
|
@pulumi.getter
|
|
764
793
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.BrokenLinksMonitorTag']]]:
|
|
765
794
|
"""
|
|
@@ -767,16 +796,16 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
|
767
796
|
"""
|
|
768
797
|
return pulumi.get(self, "tags")
|
|
769
798
|
|
|
770
|
-
@property
|
|
799
|
+
@_builtins.property
|
|
771
800
|
@pulumi.getter
|
|
772
|
-
def uri(self) -> pulumi.Output[str]:
|
|
801
|
+
def uri(self) -> pulumi.Output[_builtins.str]:
|
|
773
802
|
"""
|
|
774
803
|
The URI the monitor runs against.
|
|
775
804
|
"""
|
|
776
805
|
return pulumi.get(self, "uri")
|
|
777
806
|
|
|
778
|
-
@property
|
|
807
|
+
@_builtins.property
|
|
779
808
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
|
780
|
-
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[bool]]:
|
|
809
|
+
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
781
810
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
|
782
811
|
|