pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.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/__init__.py +1 -0
- pulumi_newrelic/_inputs.py +2961 -2960
- pulumi_newrelic/account_management.py +29 -28
- pulumi_newrelic/alert_channel.py +43 -42
- pulumi_newrelic/alert_condition.py +176 -175
- pulumi_newrelic/alert_muting_rule.py +71 -70
- pulumi_newrelic/alert_policy.py +57 -56
- pulumi_newrelic/alert_policy_channel.py +43 -42
- pulumi_newrelic/api_access_key.py +92 -91
- pulumi_newrelic/browser_application.py +92 -91
- pulumi_newrelic/cloud/__init__.py +1 -0
- pulumi_newrelic/cloud/_inputs.py +1765 -1764
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
- pulumi_newrelic/cloud/aws_integrations.py +29 -28
- pulumi_newrelic/cloud/aws_link_account.py +57 -56
- pulumi_newrelic/cloud/azure_integrations.py +29 -28
- pulumi_newrelic/cloud/azure_link_account.py +85 -84
- pulumi_newrelic/cloud/gcp_integrations.py +29 -28
- pulumi_newrelic/cloud/gcp_link_account.py +45 -44
- pulumi_newrelic/cloud/outputs.py +1057 -1056
- pulumi_newrelic/config/__init__.py +1 -0
- pulumi_newrelic/config/__init__.pyi +1 -0
- pulumi_newrelic/config/vars.py +1 -0
- pulumi_newrelic/data_partition_rule.py +92 -91
- pulumi_newrelic/entity_tags.py +15 -14
- pulumi_newrelic/events_to_metrics_rule.py +78 -77
- pulumi_newrelic/get_account.py +17 -16
- pulumi_newrelic/get_alert_channel.py +14 -13
- pulumi_newrelic/get_alert_policy.py +19 -18
- pulumi_newrelic/get_application.py +9 -8
- pulumi_newrelic/get_authentication_domain.py +7 -6
- pulumi_newrelic/get_cloud_account.py +17 -16
- pulumi_newrelic/get_entity.py +40 -39
- pulumi_newrelic/get_group.py +13 -12
- pulumi_newrelic/get_key_transaction.py +19 -18
- pulumi_newrelic/get_notification_destination.py +20 -19
- pulumi_newrelic/get_obfuscation_expression.py +12 -11
- pulumi_newrelic/get_service_level_alert_helper.py +41 -40
- pulumi_newrelic/get_test_grok_pattern.py +17 -16
- pulumi_newrelic/get_user.py +17 -16
- pulumi_newrelic/group.py +43 -42
- pulumi_newrelic/infra_alert_condition.py +204 -203
- pulumi_newrelic/insights/__init__.py +1 -0
- pulumi_newrelic/insights/_inputs.py +26 -25
- pulumi_newrelic/insights/event.py +1 -0
- pulumi_newrelic/insights/outputs.py +16 -15
- pulumi_newrelic/key_transaction.py +85 -84
- pulumi_newrelic/log_parsing_rule.py +120 -119
- pulumi_newrelic/monitor_downtime.py +113 -112
- pulumi_newrelic/notification_channel.py +92 -91
- pulumi_newrelic/notification_destination.py +78 -77
- pulumi_newrelic/nrql_alert_condition.py +330 -329
- pulumi_newrelic/nrql_drop_rule.py +64 -63
- pulumi_newrelic/obfuscation_expression.py +57 -56
- pulumi_newrelic/obfuscation_rule.py +71 -70
- pulumi_newrelic/one_dashboard.py +71 -70
- pulumi_newrelic/one_dashboard_json.py +50 -49
- pulumi_newrelic/one_dashboard_raw.py +71 -70
- pulumi_newrelic/outputs.py +1831 -1830
- pulumi_newrelic/plugins/__init__.py +1 -0
- pulumi_newrelic/plugins/_inputs.py +126 -125
- pulumi_newrelic/plugins/application_settings.py +132 -131
- pulumi_newrelic/plugins/outputs.py +76 -75
- pulumi_newrelic/plugins/workload.py +99 -98
- pulumi_newrelic/provider.py +80 -79
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +57 -56
- pulumi_newrelic/synthetics/__init__.py +1 -0
- pulumi_newrelic/synthetics/_inputs.py +106 -105
- pulumi_newrelic/synthetics/alert_condition.py +78 -77
- pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
- pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
- pulumi_newrelic/synthetics/get_private_location.py +17 -16
- pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
- pulumi_newrelic/synthetics/monitor.py +326 -297
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
- pulumi_newrelic/synthetics/outputs.py +64 -63
- pulumi_newrelic/synthetics/private_location.py +85 -84
- pulumi_newrelic/synthetics/script_monitor.py +263 -234
- pulumi_newrelic/synthetics/secure_credential.py +71 -70
- pulumi_newrelic/synthetics/step_monitor.py +193 -164
- pulumi_newrelic/user.py +57 -56
- pulumi_newrelic/workflow.py +106 -105
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
- pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,28 +22,28 @@ __all__ = ['BrokenLinksMonitorArgs', 'BrokenLinksMonitor']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class BrokenLinksMonitorArgs:
|
23
24
|
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,
|
25
|
+
period: pulumi.Input[builtins.str],
|
26
|
+
status: pulumi.Input[builtins.str],
|
27
|
+
uri: pulumi.Input[builtins.str],
|
28
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
30
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
31
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
32
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
33
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
33
34
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None,
|
34
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
35
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
35
36
|
"""
|
36
37
|
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.
|
38
|
+
: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`.
|
39
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
40
|
+
:param pulumi.Input[builtins.str] uri: The URI the monitor runs against.
|
41
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
42
|
+
: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.
|
43
|
+
: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.
|
44
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
45
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
46
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
46
47
|
: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
48
|
"""
|
48
49
|
pulumi.set(__self__, "period", period)
|
@@ -67,110 +68,110 @@ class BrokenLinksMonitorArgs:
|
|
67
68
|
|
68
69
|
@property
|
69
70
|
@pulumi.getter
|
70
|
-
def period(self) -> pulumi.Input[str]:
|
71
|
+
def period(self) -> pulumi.Input[builtins.str]:
|
71
72
|
"""
|
72
73
|
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
74
|
"""
|
74
75
|
return pulumi.get(self, "period")
|
75
76
|
|
76
77
|
@period.setter
|
77
|
-
def period(self, value: pulumi.Input[str]):
|
78
|
+
def period(self, value: pulumi.Input[builtins.str]):
|
78
79
|
pulumi.set(self, "period", value)
|
79
80
|
|
80
81
|
@property
|
81
82
|
@pulumi.getter
|
82
|
-
def status(self) -> pulumi.Input[str]:
|
83
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
83
84
|
"""
|
84
85
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
85
86
|
"""
|
86
87
|
return pulumi.get(self, "status")
|
87
88
|
|
88
89
|
@status.setter
|
89
|
-
def status(self, value: pulumi.Input[str]):
|
90
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
90
91
|
pulumi.set(self, "status", value)
|
91
92
|
|
92
93
|
@property
|
93
94
|
@pulumi.getter
|
94
|
-
def uri(self) -> pulumi.Input[str]:
|
95
|
+
def uri(self) -> pulumi.Input[builtins.str]:
|
95
96
|
"""
|
96
97
|
The URI the monitor runs against.
|
97
98
|
"""
|
98
99
|
return pulumi.get(self, "uri")
|
99
100
|
|
100
101
|
@uri.setter
|
101
|
-
def uri(self, value: pulumi.Input[str]):
|
102
|
+
def uri(self, value: pulumi.Input[builtins.str]):
|
102
103
|
pulumi.set(self, "uri", value)
|
103
104
|
|
104
105
|
@property
|
105
106
|
@pulumi.getter(name="accountId")
|
106
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
107
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
107
108
|
"""
|
108
109
|
The account in which the Synthetics monitor will be created.
|
109
110
|
"""
|
110
111
|
return pulumi.get(self, "account_id")
|
111
112
|
|
112
113
|
@account_id.setter
|
113
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
114
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
114
115
|
pulumi.set(self, "account_id", value)
|
115
116
|
|
116
117
|
@property
|
117
118
|
@pulumi.getter(name="locationsPrivates")
|
118
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
119
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
119
120
|
"""
|
120
121
|
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
122
|
"""
|
122
123
|
return pulumi.get(self, "locations_privates")
|
123
124
|
|
124
125
|
@locations_privates.setter
|
125
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
126
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
126
127
|
pulumi.set(self, "locations_privates", value)
|
127
128
|
|
128
129
|
@property
|
129
130
|
@pulumi.getter(name="locationsPublics")
|
130
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
131
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
131
132
|
"""
|
132
133
|
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
134
|
"""
|
134
135
|
return pulumi.get(self, "locations_publics")
|
135
136
|
|
136
137
|
@locations_publics.setter
|
137
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
138
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
138
139
|
pulumi.set(self, "locations_publics", value)
|
139
140
|
|
140
141
|
@property
|
141
142
|
@pulumi.getter
|
142
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
143
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
143
144
|
"""
|
144
145
|
The name for the monitor.
|
145
146
|
"""
|
146
147
|
return pulumi.get(self, "name")
|
147
148
|
|
148
149
|
@name.setter
|
149
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
150
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
150
151
|
pulumi.set(self, "name", value)
|
151
152
|
|
152
153
|
@property
|
153
154
|
@pulumi.getter(name="runtimeType")
|
154
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
155
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
155
156
|
"""
|
156
157
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
157
158
|
"""
|
158
159
|
return pulumi.get(self, "runtime_type")
|
159
160
|
|
160
161
|
@runtime_type.setter
|
161
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
162
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
162
163
|
pulumi.set(self, "runtime_type", value)
|
163
164
|
|
164
165
|
@property
|
165
166
|
@pulumi.getter(name="runtimeTypeVersion")
|
166
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
167
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
167
168
|
"""
|
168
169
|
The specific semver version of the runtime type.
|
169
170
|
"""
|
170
171
|
return pulumi.get(self, "runtime_type_version")
|
171
172
|
|
172
173
|
@runtime_type_version.setter
|
173
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
174
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
174
175
|
pulumi.set(self, "runtime_type_version", value)
|
175
176
|
|
176
177
|
@property
|
@@ -187,44 +188,46 @@ class BrokenLinksMonitorArgs:
|
|
187
188
|
|
188
189
|
@property
|
189
190
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
190
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
191
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
191
192
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
192
193
|
|
193
194
|
@use_unsupported_legacy_runtime.setter
|
194
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
195
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
195
196
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
196
197
|
|
197
198
|
|
198
199
|
@pulumi.input_type
|
199
200
|
class _BrokenLinksMonitorState:
|
200
201
|
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
|
-
|
202
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
203
|
+
guid: Optional[pulumi.Input[builtins.str]] = None,
|
204
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
205
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
206
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
207
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
208
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
209
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
210
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
211
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
212
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
211
213
|
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):
|
214
|
+
uri: Optional[pulumi.Input[builtins.str]] = None,
|
215
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
214
216
|
"""
|
215
217
|
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]
|
218
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
219
|
+
:param pulumi.Input[builtins.str] guid: The unique entity identifier of the monitor in New Relic.
|
220
|
+
: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.
|
221
|
+
: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.
|
222
|
+
: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.
|
223
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
224
|
+
: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`.
|
225
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
226
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
227
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
228
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
226
229
|
: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.
|
230
|
+
:param pulumi.Input[builtins.str] uri: The URI the monitor runs against.
|
228
231
|
"""
|
229
232
|
if account_id is not None:
|
230
233
|
pulumi.set(__self__, "account_id", account_id)
|
@@ -234,6 +237,8 @@ class _BrokenLinksMonitorState:
|
|
234
237
|
pulumi.set(__self__, "locations_privates", locations_privates)
|
235
238
|
if locations_publics is not None:
|
236
239
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
240
|
+
if monitor_id is not None:
|
241
|
+
pulumi.set(__self__, "monitor_id", monitor_id)
|
237
242
|
if name is not None:
|
238
243
|
pulumi.set(__self__, "name", name)
|
239
244
|
if period is not None:
|
@@ -255,122 +260,134 @@ class _BrokenLinksMonitorState:
|
|
255
260
|
|
256
261
|
@property
|
257
262
|
@pulumi.getter(name="accountId")
|
258
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
263
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
259
264
|
"""
|
260
265
|
The account in which the Synthetics monitor will be created.
|
261
266
|
"""
|
262
267
|
return pulumi.get(self, "account_id")
|
263
268
|
|
264
269
|
@account_id.setter
|
265
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
270
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
266
271
|
pulumi.set(self, "account_id", value)
|
267
272
|
|
268
273
|
@property
|
269
274
|
@pulumi.getter
|
270
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
275
|
+
def guid(self) -> Optional[pulumi.Input[builtins.str]]:
|
271
276
|
"""
|
272
277
|
The unique entity identifier of the monitor in New Relic.
|
273
278
|
"""
|
274
279
|
return pulumi.get(self, "guid")
|
275
280
|
|
276
281
|
@guid.setter
|
277
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
282
|
+
def guid(self, value: Optional[pulumi.Input[builtins.str]]):
|
278
283
|
pulumi.set(self, "guid", value)
|
279
284
|
|
280
285
|
@property
|
281
286
|
@pulumi.getter(name="locationsPrivates")
|
282
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
287
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
283
288
|
"""
|
284
289
|
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
290
|
"""
|
286
291
|
return pulumi.get(self, "locations_privates")
|
287
292
|
|
288
293
|
@locations_privates.setter
|
289
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
294
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
290
295
|
pulumi.set(self, "locations_privates", value)
|
291
296
|
|
292
297
|
@property
|
293
298
|
@pulumi.getter(name="locationsPublics")
|
294
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
299
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
295
300
|
"""
|
296
301
|
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
302
|
"""
|
298
303
|
return pulumi.get(self, "locations_publics")
|
299
304
|
|
300
305
|
@locations_publics.setter
|
301
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
306
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
302
307
|
pulumi.set(self, "locations_publics", value)
|
303
308
|
|
309
|
+
@property
|
310
|
+
@pulumi.getter(name="monitorId")
|
311
|
+
def monitor_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
312
|
+
"""
|
313
|
+
The monitor id of the synthetics broken links monitor, not to be confused with the GUID of the monitor.
|
314
|
+
"""
|
315
|
+
return pulumi.get(self, "monitor_id")
|
316
|
+
|
317
|
+
@monitor_id.setter
|
318
|
+
def monitor_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
319
|
+
pulumi.set(self, "monitor_id", value)
|
320
|
+
|
304
321
|
@property
|
305
322
|
@pulumi.getter
|
306
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
323
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
307
324
|
"""
|
308
325
|
The name for the monitor.
|
309
326
|
"""
|
310
327
|
return pulumi.get(self, "name")
|
311
328
|
|
312
329
|
@name.setter
|
313
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
330
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
314
331
|
pulumi.set(self, "name", value)
|
315
332
|
|
316
333
|
@property
|
317
334
|
@pulumi.getter
|
318
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
335
|
+
def period(self) -> Optional[pulumi.Input[builtins.str]]:
|
319
336
|
"""
|
320
337
|
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
338
|
"""
|
322
339
|
return pulumi.get(self, "period")
|
323
340
|
|
324
341
|
@period.setter
|
325
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
342
|
+
def period(self, value: Optional[pulumi.Input[builtins.str]]):
|
326
343
|
pulumi.set(self, "period", value)
|
327
344
|
|
328
345
|
@property
|
329
346
|
@pulumi.getter(name="periodInMinutes")
|
330
|
-
def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
347
|
+
def period_in_minutes(self) -> Optional[pulumi.Input[builtins.int]]:
|
331
348
|
"""
|
332
349
|
The interval in minutes at which Synthetic monitor should run.
|
333
350
|
"""
|
334
351
|
return pulumi.get(self, "period_in_minutes")
|
335
352
|
|
336
353
|
@period_in_minutes.setter
|
337
|
-
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
354
|
+
def period_in_minutes(self, value: Optional[pulumi.Input[builtins.int]]):
|
338
355
|
pulumi.set(self, "period_in_minutes", value)
|
339
356
|
|
340
357
|
@property
|
341
358
|
@pulumi.getter(name="runtimeType")
|
342
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
359
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
343
360
|
"""
|
344
361
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
345
362
|
"""
|
346
363
|
return pulumi.get(self, "runtime_type")
|
347
364
|
|
348
365
|
@runtime_type.setter
|
349
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
366
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
350
367
|
pulumi.set(self, "runtime_type", value)
|
351
368
|
|
352
369
|
@property
|
353
370
|
@pulumi.getter(name="runtimeTypeVersion")
|
354
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
371
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
355
372
|
"""
|
356
373
|
The specific semver version of the runtime type.
|
357
374
|
"""
|
358
375
|
return pulumi.get(self, "runtime_type_version")
|
359
376
|
|
360
377
|
@runtime_type_version.setter
|
361
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
378
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
362
379
|
pulumi.set(self, "runtime_type_version", value)
|
363
380
|
|
364
381
|
@property
|
365
382
|
@pulumi.getter
|
366
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
383
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
367
384
|
"""
|
368
385
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
369
386
|
"""
|
370
387
|
return pulumi.get(self, "status")
|
371
388
|
|
372
389
|
@status.setter
|
373
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
390
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
374
391
|
pulumi.set(self, "status", value)
|
375
392
|
|
376
393
|
@property
|
@@ -387,23 +404,23 @@ class _BrokenLinksMonitorState:
|
|
387
404
|
|
388
405
|
@property
|
389
406
|
@pulumi.getter
|
390
|
-
def uri(self) -> Optional[pulumi.Input[str]]:
|
407
|
+
def uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
391
408
|
"""
|
392
409
|
The URI the monitor runs against.
|
393
410
|
"""
|
394
411
|
return pulumi.get(self, "uri")
|
395
412
|
|
396
413
|
@uri.setter
|
397
|
-
def uri(self, value: Optional[pulumi.Input[str]]):
|
414
|
+
def uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
398
415
|
pulumi.set(self, "uri", value)
|
399
416
|
|
400
417
|
@property
|
401
418
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
402
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
419
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
403
420
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
404
421
|
|
405
422
|
@use_unsupported_legacy_runtime.setter
|
406
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
423
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
407
424
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
408
425
|
|
409
426
|
|
@@ -412,17 +429,17 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
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
|
@@ -681,7 +702,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
681
702
|
|
682
703
|
@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
|
"""
|
@@ -689,7 +710,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
689
710
|
|
690
711
|
@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
|
"""
|
@@ -697,7 +718,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
697
718
|
|
698
719
|
@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
|
"""
|
@@ -705,15 +726,23 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
705
726
|
|
706
727
|
@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
|
|
735
|
+
@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
|
+
|
714
743
|
@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
|
"""
|
@@ -721,7 +750,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
721
750
|
|
722
751
|
@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
|
"""
|
@@ -729,7 +758,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
729
758
|
|
730
759
|
@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
|
"""
|
@@ -737,7 +766,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
737
766
|
|
738
767
|
@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
|
"""
|
@@ -745,7 +774,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
745
774
|
|
746
775
|
@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
|
"""
|
@@ -753,7 +782,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
753
782
|
|
754
783
|
@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
|
"""
|
@@ -769,7 +798,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
769
798
|
|
770
799
|
@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
|
"""
|
@@ -777,6 +806,6 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
777
806
|
|
778
807
|
@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
|
|