pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +19 -1
  2. pulumi_newrelic/_inputs.py +4314 -3779
  3. pulumi_newrelic/_utilities.py +1 -1
  4. pulumi_newrelic/account_management.py +37 -36
  5. pulumi_newrelic/alert_channel.py +63 -62
  6. pulumi_newrelic/alert_condition.py +219 -218
  7. pulumi_newrelic/alert_muting_rule.py +96 -95
  8. pulumi_newrelic/alert_policy.py +71 -70
  9. pulumi_newrelic/alert_policy_channel.py +54 -53
  10. pulumi_newrelic/api_access_key.py +186 -201
  11. pulumi_newrelic/browser_application.py +115 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +2226 -2118
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
  16. pulumi_newrelic/cloud/aws_integrations.py +240 -192
  17. pulumi_newrelic/cloud/aws_link_account.py +71 -70
  18. pulumi_newrelic/cloud/azure_integrations.py +180 -132
  19. pulumi_newrelic/cloud/azure_link_account.py +105 -104
  20. pulumi_newrelic/cloud/gcp_integrations.py +115 -114
  21. pulumi_newrelic/cloud/gcp_link_account.py +56 -55
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1512 -1410
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +2 -2
  26. pulumi_newrelic/config/vars.py +15 -15
  27. pulumi_newrelic/data_partition_rule.py +114 -113
  28. pulumi_newrelic/entity_tags.py +79 -22
  29. pulumi_newrelic/events_to_metrics_rule.py +97 -96
  30. pulumi_newrelic/get_account.py +22 -22
  31. pulumi_newrelic/get_alert_channel.py +53 -21
  32. pulumi_newrelic/get_alert_policy.py +52 -26
  33. pulumi_newrelic/get_application.py +14 -14
  34. pulumi_newrelic/get_authentication_domain.py +10 -10
  35. pulumi_newrelic/get_cloud_account.py +22 -22
  36. pulumi_newrelic/get_entity.py +53 -53
  37. pulumi_newrelic/get_group.py +22 -22
  38. pulumi_newrelic/get_key_transaction.py +26 -26
  39. pulumi_newrelic/get_notification_destination.py +31 -31
  40. pulumi_newrelic/get_obfuscation_expression.py +16 -16
  41. pulumi_newrelic/get_service_level_alert_helper.py +54 -54
  42. pulumi_newrelic/get_test_grok_pattern.py +23 -23
  43. pulumi_newrelic/get_user.py +22 -22
  44. pulumi_newrelic/group.py +54 -53
  45. pulumi_newrelic/infra_alert_condition.py +257 -256
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +33 -33
  48. pulumi_newrelic/insights/event.py +6 -5
  49. pulumi_newrelic/insights/outputs.py +23 -23
  50. pulumi_newrelic/key_transaction.py +106 -105
  51. pulumi_newrelic/log_parsing_rule.py +148 -147
  52. pulumi_newrelic/monitor_downtime.py +148 -154
  53. pulumi_newrelic/notification_channel.py +218 -163
  54. pulumi_newrelic/notification_destination.py +123 -136
  55. pulumi_newrelic/nrql_alert_condition.py +513 -414
  56. pulumi_newrelic/nrql_drop_rule.py +108 -147
  57. pulumi_newrelic/obfuscation_expression.py +71 -70
  58. pulumi_newrelic/obfuscation_rule.py +91 -90
  59. pulumi_newrelic/one_dashboard.py +95 -94
  60. pulumi_newrelic/one_dashboard_json.py +64 -63
  61. pulumi_newrelic/one_dashboard_raw.py +116 -115
  62. pulumi_newrelic/outputs.py +3026 -2665
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +159 -159
  66. pulumi_newrelic/plugins/application_settings.py +186 -171
  67. pulumi_newrelic/plugins/outputs.py +109 -109
  68. pulumi_newrelic/plugins/workload.py +133 -132
  69. pulumi_newrelic/provider.py +136 -116
  70. pulumi_newrelic/pulumi-plugin.json +1 -1
  71. pulumi_newrelic/service_level.py +78 -77
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +128 -128
  74. pulumi_newrelic/synthetics/alert_condition.py +97 -96
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
  77. pulumi_newrelic/synthetics/get_private_location.py +22 -22
  78. pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
  79. pulumi_newrelic/synthetics/monitor.py +399 -370
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
  81. pulumi_newrelic/synthetics/outputs.py +86 -86
  82. pulumi_newrelic/synthetics/private_location.py +107 -106
  83. pulumi_newrelic/synthetics/script_monitor.py +385 -294
  84. pulumi_newrelic/synthetics/secure_credential.py +88 -87
  85. pulumi_newrelic/synthetics/step_monitor.py +241 -212
  86. pulumi_newrelic/user.py +71 -70
  87. pulumi_newrelic/workflow.py +141 -140
  88. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
  89. pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
  92. {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -21,30 +21,30 @@ __all__ = ['CertCheckMonitorArgs', 'CertCheckMonitor']
21
21
  @pulumi.input_type
22
22
  class CertCheckMonitorArgs:
23
23
  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,
24
+ certificate_expiration: pulumi.Input[_builtins.int],
25
+ domain: pulumi.Input[_builtins.str],
26
+ period: pulumi.Input[_builtins.str],
27
+ status: 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,
34
34
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None,
35
- use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
35
+ use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None):
36
36
  """
37
37
  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.
38
+ :param pulumi.Input[_builtins.int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
39
+ :param pulumi.Input[_builtins.str] domain: The domain of the host that will have its certificate checked.
40
+ :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`.
41
+ :param pulumi.Input[_builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
42
+ :param pulumi.Input[_builtins.str] account_id: The account in which the Synthetics monitor will be created.
43
+ :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.
44
+ :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.
45
+ :param pulumi.Input[_builtins.str] name: The name for the monitor.
46
+ :param pulumi.Input[_builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
47
+ :param pulumi.Input[_builtins.str] runtime_type_version: The specific semver version of the runtime type.
48
48
  :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
49
  """
50
50
  pulumi.set(__self__, "certificate_expiration", certificate_expiration)
@@ -68,127 +68,127 @@ class CertCheckMonitorArgs:
68
68
  if use_unsupported_legacy_runtime is not None:
69
69
  pulumi.set(__self__, "use_unsupported_legacy_runtime", use_unsupported_legacy_runtime)
70
70
 
71
- @property
71
+ @_builtins.property
72
72
  @pulumi.getter(name="certificateExpiration")
73
- def certificate_expiration(self) -> pulumi.Input[int]:
73
+ def certificate_expiration(self) -> pulumi.Input[_builtins.int]:
74
74
  """
75
75
  The desired number of remaining days until the certificate expires to trigger a monitor failure.
76
76
  """
77
77
  return pulumi.get(self, "certificate_expiration")
78
78
 
79
79
  @certificate_expiration.setter
80
- def certificate_expiration(self, value: pulumi.Input[int]):
80
+ def certificate_expiration(self, value: pulumi.Input[_builtins.int]):
81
81
  pulumi.set(self, "certificate_expiration", value)
82
82
 
83
- @property
83
+ @_builtins.property
84
84
  @pulumi.getter
85
- def domain(self) -> pulumi.Input[str]:
85
+ def domain(self) -> pulumi.Input[_builtins.str]:
86
86
  """
87
87
  The domain of the host that will have its certificate checked.
88
88
  """
89
89
  return pulumi.get(self, "domain")
90
90
 
91
91
  @domain.setter
92
- def domain(self, value: pulumi.Input[str]):
92
+ def domain(self, value: pulumi.Input[_builtins.str]):
93
93
  pulumi.set(self, "domain", value)
94
94
 
95
- @property
95
+ @_builtins.property
96
96
  @pulumi.getter
97
- def period(self) -> pulumi.Input[str]:
97
+ def period(self) -> pulumi.Input[_builtins.str]:
98
98
  """
99
99
  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
100
  """
101
101
  return pulumi.get(self, "period")
102
102
 
103
103
  @period.setter
104
- def period(self, value: pulumi.Input[str]):
104
+ def period(self, value: pulumi.Input[_builtins.str]):
105
105
  pulumi.set(self, "period", value)
106
106
 
107
- @property
107
+ @_builtins.property
108
108
  @pulumi.getter
109
- def status(self) -> pulumi.Input[str]:
109
+ def status(self) -> pulumi.Input[_builtins.str]:
110
110
  """
111
111
  The run state of the monitor. (`ENABLED` or `DISABLED`).
112
112
  """
113
113
  return pulumi.get(self, "status")
114
114
 
115
115
  @status.setter
116
- def status(self, value: pulumi.Input[str]):
116
+ def status(self, value: pulumi.Input[_builtins.str]):
117
117
  pulumi.set(self, "status", value)
118
118
 
119
- @property
119
+ @_builtins.property
120
120
  @pulumi.getter(name="accountId")
121
- def account_id(self) -> Optional[pulumi.Input[str]]:
121
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
122
122
  """
123
123
  The account in which the Synthetics monitor will be created.
124
124
  """
125
125
  return pulumi.get(self, "account_id")
126
126
 
127
127
  @account_id.setter
128
- def account_id(self, value: Optional[pulumi.Input[str]]):
128
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
129
129
  pulumi.set(self, "account_id", value)
130
130
 
131
- @property
131
+ @_builtins.property
132
132
  @pulumi.getter(name="locationsPrivates")
133
- def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
133
+ def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
134
134
  """
135
135
  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
136
  """
137
137
  return pulumi.get(self, "locations_privates")
138
138
 
139
139
  @locations_privates.setter
140
- def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
140
+ def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
141
141
  pulumi.set(self, "locations_privates", value)
142
142
 
143
- @property
143
+ @_builtins.property
144
144
  @pulumi.getter(name="locationsPublics")
145
- def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
145
+ def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
146
146
  """
147
147
  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
148
  """
149
149
  return pulumi.get(self, "locations_publics")
150
150
 
151
151
  @locations_publics.setter
152
- def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
152
+ def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
153
153
  pulumi.set(self, "locations_publics", value)
154
154
 
155
- @property
155
+ @_builtins.property
156
156
  @pulumi.getter
157
- def name(self) -> Optional[pulumi.Input[str]]:
157
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
158
158
  """
159
159
  The name for the monitor.
160
160
  """
161
161
  return pulumi.get(self, "name")
162
162
 
163
163
  @name.setter
164
- def name(self, value: Optional[pulumi.Input[str]]):
164
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
165
165
  pulumi.set(self, "name", value)
166
166
 
167
- @property
167
+ @_builtins.property
168
168
  @pulumi.getter(name="runtimeType")
169
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
169
+ def runtime_type(self) -> Optional[pulumi.Input[_builtins.str]]:
170
170
  """
171
171
  The runtime that the monitor will use to run jobs (`NODE_API`).
172
172
  """
173
173
  return pulumi.get(self, "runtime_type")
174
174
 
175
175
  @runtime_type.setter
176
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
176
+ def runtime_type(self, value: Optional[pulumi.Input[_builtins.str]]):
177
177
  pulumi.set(self, "runtime_type", value)
178
178
 
179
- @property
179
+ @_builtins.property
180
180
  @pulumi.getter(name="runtimeTypeVersion")
181
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
181
+ def runtime_type_version(self) -> Optional[pulumi.Input[_builtins.str]]:
182
182
  """
183
183
  The specific semver version of the runtime type.
184
184
  """
185
185
  return pulumi.get(self, "runtime_type_version")
186
186
 
187
187
  @runtime_type_version.setter
188
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
188
+ def runtime_type_version(self, value: Optional[pulumi.Input[_builtins.str]]):
189
189
  pulumi.set(self, "runtime_type_version", value)
190
190
 
191
- @property
191
+ @_builtins.property
192
192
  @pulumi.getter
193
193
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]]:
194
194
  """
@@ -200,45 +200,47 @@ class CertCheckMonitorArgs:
200
200
  def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]]):
201
201
  pulumi.set(self, "tags", value)
202
202
 
203
- @property
203
+ @_builtins.property
204
204
  @pulumi.getter(name="useUnsupportedLegacyRuntime")
205
- def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
205
+ def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[_builtins.bool]]:
206
206
  return pulumi.get(self, "use_unsupported_legacy_runtime")
207
207
 
208
208
  @use_unsupported_legacy_runtime.setter
209
- def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
209
+ def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[_builtins.bool]]):
210
210
  pulumi.set(self, "use_unsupported_legacy_runtime", value)
211
211
 
212
212
 
213
213
  @pulumi.input_type
214
214
  class _CertCheckMonitorState:
215
215
  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
- name: Optional[pulumi.Input[str]] = None,
222
- period: Optional[pulumi.Input[str]] = None,
223
- period_in_minutes: Optional[pulumi.Input[int]] = None,
224
- runtime_type: Optional[pulumi.Input[str]] = None,
225
- runtime_type_version: Optional[pulumi.Input[str]] = None,
226
- status: Optional[pulumi.Input[str]] = None,
216
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
217
+ certificate_expiration: Optional[pulumi.Input[_builtins.int]] = None,
218
+ domain: Optional[pulumi.Input[_builtins.str]] = None,
219
+ locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
220
+ locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
221
+ monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
222
+ name: Optional[pulumi.Input[_builtins.str]] = None,
223
+ period: Optional[pulumi.Input[_builtins.str]] = None,
224
+ period_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
225
+ runtime_type: Optional[pulumi.Input[_builtins.str]] = None,
226
+ runtime_type_version: Optional[pulumi.Input[_builtins.str]] = None,
227
+ status: Optional[pulumi.Input[_builtins.str]] = None,
227
228
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None,
228
- use_unsupported_legacy_runtime: Optional[pulumi.Input[bool]] = None):
229
+ use_unsupported_legacy_runtime: Optional[pulumi.Input[_builtins.bool]] = None):
229
230
  """
230
231
  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] name: The name for the monitor.
237
- :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`.
238
- :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
239
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
240
- :param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
241
- :param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
232
+ :param pulumi.Input[_builtins.str] account_id: The account in which the Synthetics monitor will be created.
233
+ :param pulumi.Input[_builtins.int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
234
+ :param pulumi.Input[_builtins.str] domain: The domain of the host that will have its certificate checked.
235
+ :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.
236
+ :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.
237
+ :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).
238
+ :param pulumi.Input[_builtins.str] name: The name for the monitor.
239
+ :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`.
240
+ :param pulumi.Input[_builtins.int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
241
+ :param pulumi.Input[_builtins.str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
242
+ :param pulumi.Input[_builtins.str] runtime_type_version: The specific semver version of the runtime type.
243
+ :param pulumi.Input[_builtins.str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
242
244
  :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
245
  """
244
246
  if account_id is not None:
@@ -251,6 +253,8 @@ class _CertCheckMonitorState:
251
253
  pulumi.set(__self__, "locations_privates", locations_privates)
252
254
  if locations_publics is not None:
253
255
  pulumi.set(__self__, "locations_publics", locations_publics)
256
+ if monitor_id is not None:
257
+ pulumi.set(__self__, "monitor_id", monitor_id)
254
258
  if name is not None:
255
259
  pulumi.set(__self__, "name", name)
256
260
  if period is not None:
@@ -268,139 +272,151 @@ class _CertCheckMonitorState:
268
272
  if use_unsupported_legacy_runtime is not None:
269
273
  pulumi.set(__self__, "use_unsupported_legacy_runtime", use_unsupported_legacy_runtime)
270
274
 
271
- @property
275
+ @_builtins.property
272
276
  @pulumi.getter(name="accountId")
273
- def account_id(self) -> Optional[pulumi.Input[str]]:
277
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
274
278
  """
275
279
  The account in which the Synthetics monitor will be created.
276
280
  """
277
281
  return pulumi.get(self, "account_id")
278
282
 
279
283
  @account_id.setter
280
- def account_id(self, value: Optional[pulumi.Input[str]]):
284
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
281
285
  pulumi.set(self, "account_id", value)
282
286
 
283
- @property
287
+ @_builtins.property
284
288
  @pulumi.getter(name="certificateExpiration")
285
- def certificate_expiration(self) -> Optional[pulumi.Input[int]]:
289
+ def certificate_expiration(self) -> Optional[pulumi.Input[_builtins.int]]:
286
290
  """
287
291
  The desired number of remaining days until the certificate expires to trigger a monitor failure.
288
292
  """
289
293
  return pulumi.get(self, "certificate_expiration")
290
294
 
291
295
  @certificate_expiration.setter
292
- def certificate_expiration(self, value: Optional[pulumi.Input[int]]):
296
+ def certificate_expiration(self, value: Optional[pulumi.Input[_builtins.int]]):
293
297
  pulumi.set(self, "certificate_expiration", value)
294
298
 
295
- @property
299
+ @_builtins.property
296
300
  @pulumi.getter
297
- def domain(self) -> Optional[pulumi.Input[str]]:
301
+ def domain(self) -> Optional[pulumi.Input[_builtins.str]]:
298
302
  """
299
303
  The domain of the host that will have its certificate checked.
300
304
  """
301
305
  return pulumi.get(self, "domain")
302
306
 
303
307
  @domain.setter
304
- def domain(self, value: Optional[pulumi.Input[str]]):
308
+ def domain(self, value: Optional[pulumi.Input[_builtins.str]]):
305
309
  pulumi.set(self, "domain", value)
306
310
 
307
- @property
311
+ @_builtins.property
308
312
  @pulumi.getter(name="locationsPrivates")
309
- def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
313
+ def locations_privates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
310
314
  """
311
315
  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
316
  """
313
317
  return pulumi.get(self, "locations_privates")
314
318
 
315
319
  @locations_privates.setter
316
- def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
320
+ def locations_privates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
317
321
  pulumi.set(self, "locations_privates", value)
318
322
 
319
- @property
323
+ @_builtins.property
320
324
  @pulumi.getter(name="locationsPublics")
321
- def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
325
+ def locations_publics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
322
326
  """
323
327
  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
328
  """
325
329
  return pulumi.get(self, "locations_publics")
326
330
 
327
331
  @locations_publics.setter
328
- def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
332
+ def locations_publics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
329
333
  pulumi.set(self, "locations_publics", value)
330
334
 
331
- @property
335
+ @_builtins.property
336
+ @pulumi.getter(name="monitorId")
337
+ def monitor_id(self) -> Optional[pulumi.Input[_builtins.str]]:
338
+ """
339
+ The monitor id of the certificate check synthetics monitor (not to be confused with the GUID of the monitor).
340
+ """
341
+ return pulumi.get(self, "monitor_id")
342
+
343
+ @monitor_id.setter
344
+ def monitor_id(self, value: Optional[pulumi.Input[_builtins.str]]):
345
+ pulumi.set(self, "monitor_id", value)
346
+
347
+ @_builtins.property
332
348
  @pulumi.getter
333
- def name(self) -> Optional[pulumi.Input[str]]:
349
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
334
350
  """
335
351
  The name for the monitor.
336
352
  """
337
353
  return pulumi.get(self, "name")
338
354
 
339
355
  @name.setter
340
- def name(self, value: Optional[pulumi.Input[str]]):
356
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
341
357
  pulumi.set(self, "name", value)
342
358
 
343
- @property
359
+ @_builtins.property
344
360
  @pulumi.getter
345
- def period(self) -> Optional[pulumi.Input[str]]:
361
+ def period(self) -> Optional[pulumi.Input[_builtins.str]]:
346
362
  """
347
363
  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
364
  """
349
365
  return pulumi.get(self, "period")
350
366
 
351
367
  @period.setter
352
- def period(self, value: Optional[pulumi.Input[str]]):
368
+ def period(self, value: Optional[pulumi.Input[_builtins.str]]):
353
369
  pulumi.set(self, "period", value)
354
370
 
355
- @property
371
+ @_builtins.property
356
372
  @pulumi.getter(name="periodInMinutes")
357
- def period_in_minutes(self) -> Optional[pulumi.Input[int]]:
373
+ def period_in_minutes(self) -> Optional[pulumi.Input[_builtins.int]]:
358
374
  """
359
375
  The interval in minutes at which Synthetic monitor should run.
360
376
  """
361
377
  return pulumi.get(self, "period_in_minutes")
362
378
 
363
379
  @period_in_minutes.setter
364
- def period_in_minutes(self, value: Optional[pulumi.Input[int]]):
380
+ def period_in_minutes(self, value: Optional[pulumi.Input[_builtins.int]]):
365
381
  pulumi.set(self, "period_in_minutes", value)
366
382
 
367
- @property
383
+ @_builtins.property
368
384
  @pulumi.getter(name="runtimeType")
369
- def runtime_type(self) -> Optional[pulumi.Input[str]]:
385
+ def runtime_type(self) -> Optional[pulumi.Input[_builtins.str]]:
370
386
  """
371
387
  The runtime that the monitor will use to run jobs (`NODE_API`).
372
388
  """
373
389
  return pulumi.get(self, "runtime_type")
374
390
 
375
391
  @runtime_type.setter
376
- def runtime_type(self, value: Optional[pulumi.Input[str]]):
392
+ def runtime_type(self, value: Optional[pulumi.Input[_builtins.str]]):
377
393
  pulumi.set(self, "runtime_type", value)
378
394
 
379
- @property
395
+ @_builtins.property
380
396
  @pulumi.getter(name="runtimeTypeVersion")
381
- def runtime_type_version(self) -> Optional[pulumi.Input[str]]:
397
+ def runtime_type_version(self) -> Optional[pulumi.Input[_builtins.str]]:
382
398
  """
383
399
  The specific semver version of the runtime type.
384
400
  """
385
401
  return pulumi.get(self, "runtime_type_version")
386
402
 
387
403
  @runtime_type_version.setter
388
- def runtime_type_version(self, value: Optional[pulumi.Input[str]]):
404
+ def runtime_type_version(self, value: Optional[pulumi.Input[_builtins.str]]):
389
405
  pulumi.set(self, "runtime_type_version", value)
390
406
 
391
- @property
407
+ @_builtins.property
392
408
  @pulumi.getter
393
- def status(self) -> Optional[pulumi.Input[str]]:
409
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
394
410
  """
395
411
  The run state of the monitor. (`ENABLED` or `DISABLED`).
396
412
  """
397
413
  return pulumi.get(self, "status")
398
414
 
399
415
  @status.setter
400
- def status(self, value: Optional[pulumi.Input[str]]):
416
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
401
417
  pulumi.set(self, "status", value)
402
418
 
403
- @property
419
+ @_builtins.property
404
420
  @pulumi.getter
405
421
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]]:
406
422
  """
@@ -412,33 +428,34 @@ class _CertCheckMonitorState:
412
428
  def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]]):
413
429
  pulumi.set(self, "tags", value)
414
430
 
415
- @property
431
+ @_builtins.property
416
432
  @pulumi.getter(name="useUnsupportedLegacyRuntime")
417
- def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[bool]]:
433
+ def use_unsupported_legacy_runtime(self) -> Optional[pulumi.Input[_builtins.bool]]:
418
434
  return pulumi.get(self, "use_unsupported_legacy_runtime")
419
435
 
420
436
  @use_unsupported_legacy_runtime.setter
421
- def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[bool]]):
437
+ def use_unsupported_legacy_runtime(self, value: Optional[pulumi.Input[_builtins.bool]]):
422
438
  pulumi.set(self, "use_unsupported_legacy_runtime", value)
423
439
 
424
440
 
441
+ @pulumi.type_token("newrelic:synthetics/certCheckMonitor:CertCheckMonitor")
425
442
  class CertCheckMonitor(pulumi.CustomResource):
426
443
  @overload
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
- name: Optional[pulumi.Input[str]] = None,
660
- period: Optional[pulumi.Input[str]] = None,
661
- period_in_minutes: Optional[pulumi.Input[int]] = None,
662
- runtime_type: Optional[pulumi.Input[str]] = None,
663
- runtime_type_version: Optional[pulumi.Input[str]] = None,
664
- status: Optional[pulumi.Input[str]] = None,
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] name: The name for the monitor.
680
- :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`.
681
- :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
682
- :param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
683
- :param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
684
- :param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
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
@@ -703,95 +724,103 @@ class CertCheckMonitor(pulumi.CustomResource):
703
724
  __props__.__dict__["use_unsupported_legacy_runtime"] = use_unsupported_legacy_runtime
704
725
  return CertCheckMonitor(resource_name, opts=opts, __props__=__props__)
705
726
 
706
- @property
727
+ @_builtins.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
  """
712
733
  return pulumi.get(self, "account_id")
713
734
 
714
- @property
735
+ @_builtins.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
  """
720
741
  return pulumi.get(self, "certificate_expiration")
721
742
 
722
- @property
743
+ @_builtins.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
  """
728
749
  return pulumi.get(self, "domain")
729
750
 
730
- @property
751
+ @_builtins.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
  """
736
757
  return pulumi.get(self, "locations_privates")
737
758
 
738
- @property
759
+ @_builtins.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
 
746
- @property
767
+ @_builtins.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
+
775
+ @_builtins.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
  """
752
781
  return pulumi.get(self, "name")
753
782
 
754
- @property
783
+ @_builtins.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
  """
760
789
  return pulumi.get(self, "period")
761
790
 
762
- @property
791
+ @_builtins.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
  """
768
797
  return pulumi.get(self, "period_in_minutes")
769
798
 
770
- @property
799
+ @_builtins.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
  """
776
805
  return pulumi.get(self, "runtime_type")
777
806
 
778
- @property
807
+ @_builtins.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
  """
784
813
  return pulumi.get(self, "runtime_type_version")
785
814
 
786
- @property
815
+ @_builtins.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
  """
792
821
  return pulumi.get(self, "status")
793
822
 
794
- @property
823
+ @_builtins.property
795
824
  @pulumi.getter
796
825
  def tags(self) -> pulumi.Output[Optional[Sequence['outputs.CertCheckMonitorTag']]]:
797
826
  """
@@ -799,8 +828,8 @@ class CertCheckMonitor(pulumi.CustomResource):
799
828
  """
800
829
  return pulumi.get(self, "tags")
801
830
 
802
- @property
831
+ @_builtins.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