pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.1a1744688145__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.1a1744688145.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.44.1a1744688145.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.1a1744688145.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1a1744688145.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,30 +22,30 @@ __all__ = ['CertCheckMonitorArgs', 'CertCheckMonitor']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class CertCheckMonitorArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
certificate_expiration: pulumi.Input[int],
|
25
|
-
domain: pulumi.Input[str],
|
26
|
-
period: pulumi.Input[str],
|
27
|
-
status: pulumi.Input[str],
|
28
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
29
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
31
|
-
name: Optional[pulumi.Input[str]] = None,
|
32
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
33
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
25
|
+
certificate_expiration: pulumi.Input[builtins.int],
|
26
|
+
domain: pulumi.Input[builtins.str],
|
27
|
+
period: pulumi.Input[builtins.str],
|
28
|
+
status: pulumi.Input[builtins.str],
|
29
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
31
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
33
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
34
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
34
35
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None,
|
35
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
36
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
36
37
|
"""
|
37
38
|
The set of arguments for constructing a CertCheckMonitor resource.
|
38
|
-
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
39
|
-
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
40
|
-
: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`.
|
41
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
42
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
43
|
-
: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.
|
44
|
-
: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.
|
45
|
-
:param pulumi.Input[str] name: The name for the monitor.
|
46
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
47
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
39
|
+
:param pulumi.Input[builtins.int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
40
|
+
:param pulumi.Input[builtins.str] domain: The domain of the host that will have its certificate checked.
|
41
|
+
: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`.
|
42
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
43
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
44
|
+
: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.
|
45
|
+
: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.
|
46
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
47
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
48
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
48
49
|
:param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
49
50
|
"""
|
50
51
|
pulumi.set(__self__, "certificate_expiration", certificate_expiration)
|
@@ -70,122 +71,122 @@ class CertCheckMonitorArgs:
|
|
70
71
|
|
71
72
|
@property
|
72
73
|
@pulumi.getter(name="certificateExpiration")
|
73
|
-
def certificate_expiration(self) -> pulumi.Input[int]:
|
74
|
+
def certificate_expiration(self) -> pulumi.Input[builtins.int]:
|
74
75
|
"""
|
75
76
|
The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
76
77
|
"""
|
77
78
|
return pulumi.get(self, "certificate_expiration")
|
78
79
|
|
79
80
|
@certificate_expiration.setter
|
80
|
-
def certificate_expiration(self, value: pulumi.Input[int]):
|
81
|
+
def certificate_expiration(self, value: pulumi.Input[builtins.int]):
|
81
82
|
pulumi.set(self, "certificate_expiration", value)
|
82
83
|
|
83
84
|
@property
|
84
85
|
@pulumi.getter
|
85
|
-
def domain(self) -> pulumi.Input[str]:
|
86
|
+
def domain(self) -> pulumi.Input[builtins.str]:
|
86
87
|
"""
|
87
88
|
The domain of the host that will have its certificate checked.
|
88
89
|
"""
|
89
90
|
return pulumi.get(self, "domain")
|
90
91
|
|
91
92
|
@domain.setter
|
92
|
-
def domain(self, value: pulumi.Input[str]):
|
93
|
+
def domain(self, value: pulumi.Input[builtins.str]):
|
93
94
|
pulumi.set(self, "domain", value)
|
94
95
|
|
95
96
|
@property
|
96
97
|
@pulumi.getter
|
97
|
-
def period(self) -> pulumi.Input[str]:
|
98
|
+
def period(self) -> pulumi.Input[builtins.str]:
|
98
99
|
"""
|
99
100
|
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`.
|
100
101
|
"""
|
101
102
|
return pulumi.get(self, "period")
|
102
103
|
|
103
104
|
@period.setter
|
104
|
-
def period(self, value: pulumi.Input[str]):
|
105
|
+
def period(self, value: pulumi.Input[builtins.str]):
|
105
106
|
pulumi.set(self, "period", value)
|
106
107
|
|
107
108
|
@property
|
108
109
|
@pulumi.getter
|
109
|
-
def status(self) -> pulumi.Input[str]:
|
110
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
110
111
|
"""
|
111
112
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
112
113
|
"""
|
113
114
|
return pulumi.get(self, "status")
|
114
115
|
|
115
116
|
@status.setter
|
116
|
-
def status(self, value: pulumi.Input[str]):
|
117
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
117
118
|
pulumi.set(self, "status", value)
|
118
119
|
|
119
120
|
@property
|
120
121
|
@pulumi.getter(name="accountId")
|
121
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
122
123
|
"""
|
123
124
|
The account in which the Synthetics monitor will be created.
|
124
125
|
"""
|
125
126
|
return pulumi.get(self, "account_id")
|
126
127
|
|
127
128
|
@account_id.setter
|
128
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
129
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
129
130
|
pulumi.set(self, "account_id", value)
|
130
131
|
|
131
132
|
@property
|
132
133
|
@pulumi.getter(name="locationsPrivates")
|
133
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
134
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
134
135
|
"""
|
135
136
|
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.
|
136
137
|
"""
|
137
138
|
return pulumi.get(self, "locations_privates")
|
138
139
|
|
139
140
|
@locations_privates.setter
|
140
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
141
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
141
142
|
pulumi.set(self, "locations_privates", value)
|
142
143
|
|
143
144
|
@property
|
144
145
|
@pulumi.getter(name="locationsPublics")
|
145
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
146
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
146
147
|
"""
|
147
148
|
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.
|
148
149
|
"""
|
149
150
|
return pulumi.get(self, "locations_publics")
|
150
151
|
|
151
152
|
@locations_publics.setter
|
152
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
153
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
153
154
|
pulumi.set(self, "locations_publics", value)
|
154
155
|
|
155
156
|
@property
|
156
157
|
@pulumi.getter
|
157
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
158
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
158
159
|
"""
|
159
160
|
The name for the monitor.
|
160
161
|
"""
|
161
162
|
return pulumi.get(self, "name")
|
162
163
|
|
163
164
|
@name.setter
|
164
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
165
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
165
166
|
pulumi.set(self, "name", value)
|
166
167
|
|
167
168
|
@property
|
168
169
|
@pulumi.getter(name="runtimeType")
|
169
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
170
171
|
"""
|
171
172
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
172
173
|
"""
|
173
174
|
return pulumi.get(self, "runtime_type")
|
174
175
|
|
175
176
|
@runtime_type.setter
|
176
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
177
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
177
178
|
pulumi.set(self, "runtime_type", value)
|
178
179
|
|
179
180
|
@property
|
180
181
|
@pulumi.getter(name="runtimeTypeVersion")
|
181
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
182
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
182
183
|
"""
|
183
184
|
The specific semver version of the runtime type.
|
184
185
|
"""
|
185
186
|
return pulumi.get(self, "runtime_type_version")
|
186
187
|
|
187
188
|
@runtime_type_version.setter
|
188
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
189
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
189
190
|
pulumi.set(self, "runtime_type_version", value)
|
190
191
|
|
191
192
|
@property
|
@@ -202,43 +203,45 @@ class CertCheckMonitorArgs:
|
|
202
203
|
|
203
204
|
@property
|
204
205
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
205
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
206
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
206
207
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
207
208
|
|
208
209
|
@use_unsupported_legacy_runtime.setter
|
209
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
210
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
210
211
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
211
212
|
|
212
213
|
|
213
214
|
@pulumi.input_type
|
214
215
|
class _CertCheckMonitorState:
|
215
216
|
def __init__(__self__, *,
|
216
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
217
|
-
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
218
|
-
domain: Optional[pulumi.Input[str]] = None,
|
219
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
220
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
217
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
218
|
+
certificate_expiration: Optional[pulumi.Input[builtins.int]] = None,
|
219
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
220
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
221
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
222
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
223
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
224
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
225
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
226
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
227
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
228
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
227
229
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None,
|
228
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
|
230
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None):
|
229
231
|
"""
|
230
232
|
Input properties used for looking up and filtering CertCheckMonitor resources.
|
231
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
232
|
-
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
233
|
-
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
234
|
-
: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.
|
235
|
-
: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.
|
236
|
-
:param pulumi.Input[str]
|
237
|
-
:param pulumi.Input[str]
|
238
|
-
:param pulumi.Input[
|
239
|
-
:param pulumi.Input[
|
240
|
-
:param pulumi.Input[str]
|
241
|
-
:param pulumi.Input[str]
|
233
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
234
|
+
:param pulumi.Input[builtins.int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
235
|
+
:param pulumi.Input[builtins.str] domain: The domain of the host that will have its certificate checked.
|
236
|
+
: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.
|
237
|
+
: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.
|
238
|
+
:param pulumi.Input[builtins.str] monitor_id: The monitor id of the certificate check synthetics monitor (not to be confused with the GUID of the monitor).
|
239
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
240
|
+
: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`.
|
241
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
242
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
243
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
244
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
242
245
|
:param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
243
246
|
"""
|
244
247
|
if account_id is not None:
|
@@ -251,6 +254,8 @@ class _CertCheckMonitorState:
|
|
251
254
|
pulumi.set(__self__, "locations_privates", locations_privates)
|
252
255
|
if locations_publics is not None:
|
253
256
|
pulumi.set(__self__, "locations_publics", locations_publics)
|
257
|
+
if monitor_id is not None:
|
258
|
+
pulumi.set(__self__, "monitor_id", monitor_id)
|
254
259
|
if name is not None:
|
255
260
|
pulumi.set(__self__, "name", name)
|
256
261
|
if period is not None:
|
@@ -270,134 +275,146 @@ class _CertCheckMonitorState:
|
|
270
275
|
|
271
276
|
@property
|
272
277
|
@pulumi.getter(name="accountId")
|
273
|
-
def account_id(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
274
279
|
"""
|
275
280
|
The account in which the Synthetics monitor will be created.
|
276
281
|
"""
|
277
282
|
return pulumi.get(self, "account_id")
|
278
283
|
|
279
284
|
@account_id.setter
|
280
|
-
def account_id(self, value: Optional[pulumi.Input[str]]):
|
285
|
+
def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
281
286
|
pulumi.set(self, "account_id", value)
|
282
287
|
|
283
288
|
@property
|
284
289
|
@pulumi.getter(name="certificateExpiration")
|
285
|
-
def certificate_expiration(self) -> Optional[pulumi.Input[int]]:
|
290
|
+
def certificate_expiration(self) -> Optional[pulumi.Input[builtins.int]]:
|
286
291
|
"""
|
287
292
|
The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
288
293
|
"""
|
289
294
|
return pulumi.get(self, "certificate_expiration")
|
290
295
|
|
291
296
|
@certificate_expiration.setter
|
292
|
-
def certificate_expiration(self, value: Optional[pulumi.Input[int]]):
|
297
|
+
def certificate_expiration(self, value: Optional[pulumi.Input[builtins.int]]):
|
293
298
|
pulumi.set(self, "certificate_expiration", value)
|
294
299
|
|
295
300
|
@property
|
296
301
|
@pulumi.getter
|
297
|
-
def domain(self) -> Optional[pulumi.Input[str]]:
|
302
|
+
def domain(self) -> Optional[pulumi.Input[builtins.str]]:
|
298
303
|
"""
|
299
304
|
The domain of the host that will have its certificate checked.
|
300
305
|
"""
|
301
306
|
return pulumi.get(self, "domain")
|
302
307
|
|
303
308
|
@domain.setter
|
304
|
-
def domain(self, value: Optional[pulumi.Input[str]]):
|
309
|
+
def domain(self, value: Optional[pulumi.Input[builtins.str]]):
|
305
310
|
pulumi.set(self, "domain", value)
|
306
311
|
|
307
312
|
@property
|
308
313
|
@pulumi.getter(name="locationsPrivates")
|
309
|
-
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
314
|
+
def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
310
315
|
"""
|
311
316
|
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.
|
312
317
|
"""
|
313
318
|
return pulumi.get(self, "locations_privates")
|
314
319
|
|
315
320
|
@locations_privates.setter
|
316
|
-
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
321
|
+
def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
317
322
|
pulumi.set(self, "locations_privates", value)
|
318
323
|
|
319
324
|
@property
|
320
325
|
@pulumi.getter(name="locationsPublics")
|
321
|
-
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
326
|
+
def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
322
327
|
"""
|
323
328
|
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.
|
324
329
|
"""
|
325
330
|
return pulumi.get(self, "locations_publics")
|
326
331
|
|
327
332
|
@locations_publics.setter
|
328
|
-
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
333
|
+
def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
329
334
|
pulumi.set(self, "locations_publics", value)
|
330
335
|
|
336
|
+
@property
|
337
|
+
@pulumi.getter(name="monitorId")
|
338
|
+
def monitor_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
339
|
+
"""
|
340
|
+
The monitor id of the certificate check synthetics monitor (not to be confused with the GUID of the monitor).
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "monitor_id")
|
343
|
+
|
344
|
+
@monitor_id.setter
|
345
|
+
def monitor_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
346
|
+
pulumi.set(self, "monitor_id", value)
|
347
|
+
|
331
348
|
@property
|
332
349
|
@pulumi.getter
|
333
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
350
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
334
351
|
"""
|
335
352
|
The name for the monitor.
|
336
353
|
"""
|
337
354
|
return pulumi.get(self, "name")
|
338
355
|
|
339
356
|
@name.setter
|
340
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
357
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
341
358
|
pulumi.set(self, "name", value)
|
342
359
|
|
343
360
|
@property
|
344
361
|
@pulumi.getter
|
345
|
-
def period(self) -> Optional[pulumi.Input[str]]:
|
362
|
+
def period(self) -> Optional[pulumi.Input[builtins.str]]:
|
346
363
|
"""
|
347
364
|
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`.
|
348
365
|
"""
|
349
366
|
return pulumi.get(self, "period")
|
350
367
|
|
351
368
|
@period.setter
|
352
|
-
def period(self, value: Optional[pulumi.Input[str]]):
|
369
|
+
def period(self, value: Optional[pulumi.Input[builtins.str]]):
|
353
370
|
pulumi.set(self, "period", value)
|
354
371
|
|
355
372
|
@property
|
356
373
|
@pulumi.getter(name="periodInMinutes")
|
357
|
-
def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
|
374
|
+
def period_in_minutes(self) -> Optional[pulumi.Input[builtins.int]]:
|
358
375
|
"""
|
359
376
|
The interval in minutes at which Synthetic monitor should run.
|
360
377
|
"""
|
361
378
|
return pulumi.get(self, "period_in_minutes")
|
362
379
|
|
363
380
|
@period_in_minutes.setter
|
364
|
-
def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
|
381
|
+
def period_in_minutes(self, value: Optional[pulumi.Input[builtins.int]]):
|
365
382
|
pulumi.set(self, "period_in_minutes", value)
|
366
383
|
|
367
384
|
@property
|
368
385
|
@pulumi.getter(name="runtimeType")
|
369
|
-
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
386
|
+
def runtime_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
370
387
|
"""
|
371
388
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
372
389
|
"""
|
373
390
|
return pulumi.get(self, "runtime_type")
|
374
391
|
|
375
392
|
@runtime_type.setter
|
376
|
-
def runtime_type(self, value: Optional[pulumi.Input[str]]):
|
393
|
+
def runtime_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
377
394
|
pulumi.set(self, "runtime_type", value)
|
378
395
|
|
379
396
|
@property
|
380
397
|
@pulumi.getter(name="runtimeTypeVersion")
|
381
|
-
def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
|
398
|
+
def runtime_type_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
382
399
|
"""
|
383
400
|
The specific semver version of the runtime type.
|
384
401
|
"""
|
385
402
|
return pulumi.get(self, "runtime_type_version")
|
386
403
|
|
387
404
|
@runtime_type_version.setter
|
388
|
-
def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
|
405
|
+
def runtime_type_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
389
406
|
pulumi.set(self, "runtime_type_version", value)
|
390
407
|
|
391
408
|
@property
|
392
409
|
@pulumi.getter
|
393
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
410
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
394
411
|
"""
|
395
412
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
396
413
|
"""
|
397
414
|
return pulumi.get(self, "status")
|
398
415
|
|
399
416
|
@status.setter
|
400
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
417
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
401
418
|
pulumi.set(self, "status", value)
|
402
419
|
|
403
420
|
@property
|
@@ -414,11 +431,11 @@ class _CertCheckMonitorState:
|
|
414
431
|
|
415
432
|
@property
|
416
433
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
417
|
-
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
|
434
|
+
def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[builtins.bool]]:
|
418
435
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
419
436
|
|
420
437
|
@use_unsupported_legacy_runtime.setter
|
421
|
-
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
|
438
|
+
def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[builtins.bool]]):
|
422
439
|
pulumi.set(self, "use_unsupported_legacy_runtime", value)
|
423
440
|
|
424
441
|
|
@@ -427,18 +444,18 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
427
444
|
def __init__(__self__,
|
428
445
|
resource_name: str,
|
429
446
|
opts: Optional[pulumi.ResourceOptions] = None,
|
430
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
431
|
-
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
432
|
-
domain: Optional[pulumi.Input[str]] = None,
|
433
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
434
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
435
|
-
name: Optional[pulumi.Input[str]] = None,
|
436
|
-
period: Optional[pulumi.Input[str]] = None,
|
437
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
438
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
439
|
-
status: Optional[pulumi.Input[str]] = None,
|
447
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
448
|
+
certificate_expiration: Optional[pulumi.Input[builtins.int]] = None,
|
449
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
450
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
451
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
452
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
453
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
454
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
455
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
456
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
440
457
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CertCheckMonitorTagArgs', 'CertCheckMonitorTagArgsDict']]]]] = None,
|
441
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
458
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
442
459
|
__props__=None):
|
443
460
|
"""
|
444
461
|
## Example Usage
|
@@ -504,16 +521,16 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
504
521
|
|
505
522
|
:param str resource_name: The name of the resource.
|
506
523
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
507
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
508
|
-
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
509
|
-
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
510
|
-
: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.
|
511
|
-
: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.
|
512
|
-
:param pulumi.Input[str] name: The name for the monitor.
|
513
|
-
: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`.
|
514
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
515
|
-
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
516
|
-
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
524
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
525
|
+
:param pulumi.Input[builtins.int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
526
|
+
:param pulumi.Input[builtins.str] domain: The domain of the host that will have its certificate checked.
|
527
|
+
: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.
|
528
|
+
: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.
|
529
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
530
|
+
: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`.
|
531
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
532
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
533
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
517
534
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CertCheckMonitorTagArgs', 'CertCheckMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
518
535
|
"""
|
519
536
|
...
|
@@ -599,18 +616,18 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
599
616
|
def _internal_init(__self__,
|
600
617
|
resource_name: str,
|
601
618
|
opts: Optional[pulumi.ResourceOptions] = None,
|
602
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
603
|
-
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
604
|
-
domain: Optional[pulumi.Input[str]] = None,
|
605
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
606
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
607
|
-
name: Optional[pulumi.Input[str]] = None,
|
608
|
-
period: Optional[pulumi.Input[str]] = None,
|
609
|
-
runtime_type: Optional[pulumi.Input[str]] = None,
|
610
|
-
runtime_type_version: Optional[pulumi.Input[str]] = None,
|
611
|
-
status: Optional[pulumi.Input[str]] = None,
|
619
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
620
|
+
certificate_expiration: Optional[pulumi.Input[builtins.int]] = None,
|
621
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
622
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
623
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
624
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
625
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
626
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
627
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
628
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
612
629
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CertCheckMonitorTagArgs', 'CertCheckMonitorTagArgsDict']]]]] = None,
|
613
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None,
|
630
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None,
|
614
631
|
__props__=None):
|
615
632
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
616
633
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -640,6 +657,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
640
657
|
__props__.__dict__["status"] = status
|
641
658
|
__props__.__dict__["tags"] = tags
|
642
659
|
__props__.__dict__["use_unsupported_legacy_runtime"] = use_unsupported_legacy_runtime
|
660
|
+
__props__.__dict__["monitor_id"] = None
|
643
661
|
__props__.__dict__["period_in_minutes"] = None
|
644
662
|
super(CertCheckMonitor, __self__).__init__(
|
645
663
|
'newrelic:synthetics/certCheckMonitor:CertCheckMonitor',
|
@@ -651,19 +669,20 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
651
669
|
def get(resource_name: str,
|
652
670
|
id: pulumi.Input[str],
|
653
671
|
opts: Optional[pulumi.ResourceOptions] = None,
|
654
|
-
account_id: Optional[pulumi.Input[str]] = None,
|
655
|
-
certificate_expiration: Optional[pulumi.Input[int]] = None,
|
656
|
-
domain: Optional[pulumi.Input[str]] = None,
|
657
|
-
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
658
|
-
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
672
|
+
account_id: Optional[pulumi.Input[builtins.str]] = None,
|
673
|
+
certificate_expiration: Optional[pulumi.Input[builtins.int]] = None,
|
674
|
+
domain: Optional[pulumi.Input[builtins.str]] = None,
|
675
|
+
locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
676
|
+
locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
677
|
+
monitor_id: Optional[pulumi.Input[builtins.str]] = None,
|
678
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
679
|
+
period: Optional[pulumi.Input[builtins.str]] = None,
|
680
|
+
period_in_minutes: Optional[pulumi.Input[builtins.int]] = None,
|
681
|
+
runtime_type: Optional[pulumi.Input[builtins.str]] = None,
|
682
|
+
runtime_type_version: Optional[pulumi.Input[builtins.str]] = None,
|
683
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
665
684
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CertCheckMonitorTagArgs', 'CertCheckMonitorTagArgsDict']]]]] = None,
|
666
|
-
use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None) -> 'CertCheckMonitor':
|
685
|
+
use_unsupported_legacy_runtime: Optional[pulumi.Input[builtins.bool]] = None) -> 'CertCheckMonitor':
|
667
686
|
"""
|
668
687
|
Get an existing CertCheckMonitor resource's state with the given name, id, and optional extra
|
669
688
|
properties used to qualify the lookup.
|
@@ -671,17 +690,18 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
671
690
|
:param str resource_name: The unique name of the resulting resource.
|
672
691
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
673
692
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
674
|
-
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
675
|
-
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
676
|
-
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
677
|
-
: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.
|
678
|
-
: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.
|
679
|
-
:param pulumi.Input[str]
|
680
|
-
:param pulumi.Input[str]
|
681
|
-
:param pulumi.Input[
|
682
|
-
:param pulumi.Input[
|
683
|
-
:param pulumi.Input[str]
|
684
|
-
:param pulumi.Input[str]
|
693
|
+
:param pulumi.Input[builtins.str] account_id: The account in which the Synthetics monitor will be created.
|
694
|
+
:param pulumi.Input[builtins.int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
695
|
+
:param pulumi.Input[builtins.str] domain: The domain of the host that will have its certificate checked.
|
696
|
+
: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.
|
697
|
+
: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.
|
698
|
+
:param pulumi.Input[builtins.str] monitor_id: The monitor id of the certificate check synthetics monitor (not to be confused with the GUID of the monitor).
|
699
|
+
:param pulumi.Input[builtins.str] name: The name for the monitor.
|
700
|
+
: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`.
|
701
|
+
:param pulumi.Input[builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
702
|
+
:param pulumi.Input[builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
703
|
+
:param pulumi.Input[builtins.str] runtime_type_version: The specific semver version of the runtime type.
|
704
|
+
:param pulumi.Input[builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
685
705
|
:param pulumi.Input[Sequence[pulumi.Input[Union['CertCheckMonitorTagArgs', 'CertCheckMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
686
706
|
"""
|
687
707
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -693,6 +713,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
693
713
|
__props__.__dict__["domain"] = domain
|
694
714
|
__props__.__dict__["locations_privates"] = locations_privates
|
695
715
|
__props__.__dict__["locations_publics"] = locations_publics
|
716
|
+
__props__.__dict__["monitor_id"] = monitor_id
|
696
717
|
__props__.__dict__["name"] = name
|
697
718
|
__props__.__dict__["period"] = period
|
698
719
|
__props__.__dict__["period_in_minutes"] = period_in_minutes
|
@@ -705,7 +726,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
705
726
|
|
706
727
|
@property
|
707
728
|
@pulumi.getter(name="accountId")
|
708
|
-
def account_id(self) -> pulumi.Output[str]:
|
729
|
+
def account_id(self) -> pulumi.Output[builtins.str]:
|
709
730
|
"""
|
710
731
|
The account in which the Synthetics monitor will be created.
|
711
732
|
"""
|
@@ -713,7 +734,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
713
734
|
|
714
735
|
@property
|
715
736
|
@pulumi.getter(name="certificateExpiration")
|
716
|
-
def certificate_expiration(self) -> pulumi.Output[int]:
|
737
|
+
def certificate_expiration(self) -> pulumi.Output[builtins.int]:
|
717
738
|
"""
|
718
739
|
The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
719
740
|
"""
|
@@ -721,7 +742,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
721
742
|
|
722
743
|
@property
|
723
744
|
@pulumi.getter
|
724
|
-
def domain(self) -> pulumi.Output[str]:
|
745
|
+
def domain(self) -> pulumi.Output[builtins.str]:
|
725
746
|
"""
|
726
747
|
The domain of the host that will have its certificate checked.
|
727
748
|
"""
|
@@ -729,7 +750,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
729
750
|
|
730
751
|
@property
|
731
752
|
@pulumi.getter(name="locationsPrivates")
|
732
|
-
def locations_privates(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
753
|
+
def locations_privates(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
733
754
|
"""
|
734
755
|
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.
|
735
756
|
"""
|
@@ -737,15 +758,23 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
737
758
|
|
738
759
|
@property
|
739
760
|
@pulumi.getter(name="locationsPublics")
|
740
|
-
def locations_publics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
761
|
+
def locations_publics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
741
762
|
"""
|
742
763
|
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.
|
743
764
|
"""
|
744
765
|
return pulumi.get(self, "locations_publics")
|
745
766
|
|
767
|
+
@property
|
768
|
+
@pulumi.getter(name="monitorId")
|
769
|
+
def monitor_id(self) -> pulumi.Output[builtins.str]:
|
770
|
+
"""
|
771
|
+
The monitor id of the certificate check synthetics monitor (not to be confused with the GUID of the monitor).
|
772
|
+
"""
|
773
|
+
return pulumi.get(self, "monitor_id")
|
774
|
+
|
746
775
|
@property
|
747
776
|
@pulumi.getter
|
748
|
-
def name(self) -> pulumi.Output[str]:
|
777
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
749
778
|
"""
|
750
779
|
The name for the monitor.
|
751
780
|
"""
|
@@ -753,7 +782,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
753
782
|
|
754
783
|
@property
|
755
784
|
@pulumi.getter
|
756
|
-
def period(self) -> pulumi.Output[str]:
|
785
|
+
def period(self) -> pulumi.Output[builtins.str]:
|
757
786
|
"""
|
758
787
|
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`.
|
759
788
|
"""
|
@@ -761,7 +790,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
761
790
|
|
762
791
|
@property
|
763
792
|
@pulumi.getter(name="periodInMinutes")
|
764
|
-
def period_in_minutes(self) -> pulumi.Output[int]:
|
793
|
+
def period_in_minutes(self) -> pulumi.Output[builtins.int]:
|
765
794
|
"""
|
766
795
|
The interval in minutes at which Synthetic monitor should run.
|
767
796
|
"""
|
@@ -769,7 +798,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
769
798
|
|
770
799
|
@property
|
771
800
|
@pulumi.getter(name="runtimeType")
|
772
|
-
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
801
|
+
def runtime_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
773
802
|
"""
|
774
803
|
The runtime that the monitor will use to run jobs (`NODE_API`).
|
775
804
|
"""
|
@@ -777,7 +806,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
777
806
|
|
778
807
|
@property
|
779
808
|
@pulumi.getter(name="runtimeTypeVersion")
|
780
|
-
def runtime_type_version(self) -> pulumi.Output[Optional[str]]:
|
809
|
+
def runtime_type_version(self) -> pulumi.Output[Optional[builtins.str]]:
|
781
810
|
"""
|
782
811
|
The specific semver version of the runtime type.
|
783
812
|
"""
|
@@ -785,7 +814,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
785
814
|
|
786
815
|
@property
|
787
816
|
@pulumi.getter
|
788
|
-
def status(self) -> pulumi.Output[str]:
|
817
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
789
818
|
"""
|
790
819
|
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
791
820
|
"""
|
@@ -801,6 +830,6 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
801
830
|
|
802
831
|
@property
|
803
832
|
@pulumi.getter(name="useUnsupportedLegacyRuntime")
|
804
|
-
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[bool]]:
|
833
|
+
def use_unsupported_legacy_runtime(self) -> pulumi.Output[Optional[builtins.bool]]:
|
805
834
|
return pulumi.get(self, "use_unsupported_legacy_runtime")
|
806
835
|
|