pulumi-newrelic 5.35.0a1729195829__py3-none-any.whl → 5.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/_inputs.py +20 -0
- pulumi_newrelic/cloud/azure_link_account.py +11 -11
- pulumi_newrelic/get_key_transaction.py +22 -8
- pulumi_newrelic/group.py +0 -144
- pulumi_newrelic/outputs.py +12 -0
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/synthetics/broken_links_monitor.py +14 -14
- pulumi_newrelic/synthetics/cert_check_monitor.py +14 -14
- pulumi_newrelic/synthetics/monitor.py +49 -35
- pulumi_newrelic/synthetics/script_monitor.py +14 -14
- pulumi_newrelic/synthetics/step_monitor.py +28 -35
- {pulumi_newrelic-5.35.0a1729195829.dist-info → pulumi_newrelic-5.36.0.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.35.0a1729195829.dist-info → pulumi_newrelic-5.36.0.dist-info}/RECORD +15 -15
- {pulumi_newrelic-5.35.0a1729195829.dist-info → pulumi_newrelic-5.36.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.35.0a1729195829.dist-info → pulumi_newrelic-5.36.0.dist-info}/top_level.txt +0 -0
pulumi_newrelic/_inputs.py
CHANGED
@@ -16057,6 +16057,10 @@ class OneDashboardVariableNrqlQueryArgs:
|
|
16057
16057
|
|
16058
16058
|
if not MYPY:
|
16059
16059
|
class OneDashboardVariableOptionArgsDict(TypedDict):
|
16060
|
+
excluded: NotRequired[pulumi.Input[bool]]
|
16061
|
+
"""
|
16062
|
+
(Optional) An argument with a boolean value. With this turned on, the query condition defined with the variable will not be included in the query. Defaults to `false`.
|
16063
|
+
"""
|
16060
16064
|
ignore_time_range: NotRequired[pulumi.Input[bool]]
|
16061
16065
|
"""
|
16062
16066
|
(Optional) An argument with a boolean value that is supported only by variables of `type` _nrql_ - when true, the time range specified in the query will override the time picker on dashboards and other pages.
|
@@ -16067,13 +16071,29 @@ elif False:
|
|
16067
16071
|
@pulumi.input_type
|
16068
16072
|
class OneDashboardVariableOptionArgs:
|
16069
16073
|
def __init__(__self__, *,
|
16074
|
+
excluded: Optional[pulumi.Input[bool]] = None,
|
16070
16075
|
ignore_time_range: Optional[pulumi.Input[bool]] = None):
|
16071
16076
|
"""
|
16077
|
+
:param pulumi.Input[bool] excluded: (Optional) An argument with a boolean value. With this turned on, the query condition defined with the variable will not be included in the query. Defaults to `false`.
|
16072
16078
|
:param pulumi.Input[bool] ignore_time_range: (Optional) An argument with a boolean value that is supported only by variables of `type` _nrql_ - when true, the time range specified in the query will override the time picker on dashboards and other pages.
|
16073
16079
|
"""
|
16080
|
+
if excluded is not None:
|
16081
|
+
pulumi.set(__self__, "excluded", excluded)
|
16074
16082
|
if ignore_time_range is not None:
|
16075
16083
|
pulumi.set(__self__, "ignore_time_range", ignore_time_range)
|
16076
16084
|
|
16085
|
+
@property
|
16086
|
+
@pulumi.getter
|
16087
|
+
def excluded(self) -> Optional[pulumi.Input[bool]]:
|
16088
|
+
"""
|
16089
|
+
(Optional) An argument with a boolean value. With this turned on, the query condition defined with the variable will not be included in the query. Defaults to `false`.
|
16090
|
+
"""
|
16091
|
+
return pulumi.get(self, "excluded")
|
16092
|
+
|
16093
|
+
@excluded.setter
|
16094
|
+
def excluded(self, value: Optional[pulumi.Input[bool]]):
|
16095
|
+
pulumi.set(self, "excluded", value)
|
16096
|
+
|
16077
16097
|
@property
|
16078
16098
|
@pulumi.getter(name="ignoreTimeRange")
|
16079
16099
|
def ignore_time_range(self) -> Optional[pulumi.Input[bool]]:
|
@@ -32,7 +32,7 @@ class AzureLinkAccountArgs:
|
|
32
32
|
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
33
33
|
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
34
34
|
:param pulumi.Input[str] account_id: Account ID of the New Relic.
|
35
|
-
:param pulumi.Input[str] name:
|
35
|
+
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
36
36
|
"""
|
37
37
|
pulumi.set(__self__, "application_id", application_id)
|
38
38
|
pulumi.set(__self__, "client_secret", client_secret)
|
@@ -107,7 +107,7 @@ class AzureLinkAccountArgs:
|
|
107
107
|
@pulumi.getter
|
108
108
|
def name(self) -> Optional[pulumi.Input[str]]:
|
109
109
|
"""
|
110
|
-
|
110
|
+
The name of the application in New Relic APM.
|
111
111
|
"""
|
112
112
|
return pulumi.get(self, "name")
|
113
113
|
|
@@ -130,7 +130,7 @@ class _AzureLinkAccountState:
|
|
130
130
|
:param pulumi.Input[str] account_id: Account ID of the New Relic.
|
131
131
|
:param pulumi.Input[str] application_id: Application ID of the App.
|
132
132
|
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
133
|
-
:param pulumi.Input[str] name:
|
133
|
+
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
134
134
|
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
135
135
|
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
136
136
|
"""
|
@@ -187,7 +187,7 @@ class _AzureLinkAccountState:
|
|
187
187
|
@pulumi.getter
|
188
188
|
def name(self) -> Optional[pulumi.Input[str]]:
|
189
189
|
"""
|
190
|
-
|
190
|
+
The name of the application in New Relic APM.
|
191
191
|
"""
|
192
192
|
return pulumi.get(self, "name")
|
193
193
|
|
@@ -275,7 +275,7 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
275
275
|
:param pulumi.Input[str] account_id: Account ID of the New Relic.
|
276
276
|
:param pulumi.Input[str] application_id: Application ID of the App.
|
277
277
|
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
278
|
-
:param pulumi.Input[str] name:
|
278
|
+
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
279
279
|
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
280
280
|
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
281
281
|
"""
|
@@ -356,18 +356,18 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
356
356
|
__props__.__dict__["account_id"] = account_id
|
357
357
|
if application_id is None and not opts.urn:
|
358
358
|
raise TypeError("Missing required property 'application_id'")
|
359
|
-
__props__.__dict__["application_id"] = application_id
|
359
|
+
__props__.__dict__["application_id"] = None if application_id is None else pulumi.Output.secret(application_id)
|
360
360
|
if client_secret is None and not opts.urn:
|
361
361
|
raise TypeError("Missing required property 'client_secret'")
|
362
362
|
__props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret)
|
363
363
|
__props__.__dict__["name"] = name
|
364
364
|
if subscription_id is None and not opts.urn:
|
365
365
|
raise TypeError("Missing required property 'subscription_id'")
|
366
|
-
__props__.__dict__["subscription_id"] = subscription_id
|
366
|
+
__props__.__dict__["subscription_id"] = None if subscription_id is None else pulumi.Output.secret(subscription_id)
|
367
367
|
if tenant_id is None and not opts.urn:
|
368
368
|
raise TypeError("Missing required property 'tenant_id'")
|
369
|
-
__props__.__dict__["tenant_id"] = tenant_id
|
370
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"])
|
369
|
+
__props__.__dict__["tenant_id"] = None if tenant_id is None else pulumi.Output.secret(tenant_id)
|
370
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["applicationId", "clientSecret", "subscriptionId", "tenantId"])
|
371
371
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
372
372
|
super(AzureLinkAccount, __self__).__init__(
|
373
373
|
'newrelic:cloud/azureLinkAccount:AzureLinkAccount',
|
@@ -395,7 +395,7 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
395
395
|
:param pulumi.Input[str] account_id: Account ID of the New Relic.
|
396
396
|
:param pulumi.Input[str] application_id: Application ID of the App.
|
397
397
|
:param pulumi.Input[str] client_secret: Secret Value of the client.
|
398
|
-
:param pulumi.Input[str] name:
|
398
|
+
:param pulumi.Input[str] name: The name of the application in New Relic APM.
|
399
399
|
:param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account.
|
400
400
|
:param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account.
|
401
401
|
"""
|
@@ -439,7 +439,7 @@ class AzureLinkAccount(pulumi.CustomResource):
|
|
439
439
|
@pulumi.getter
|
440
440
|
def name(self) -> pulumi.Output[str]:
|
441
441
|
"""
|
442
|
-
|
442
|
+
The name of the application in New Relic APM.
|
443
443
|
"""
|
444
444
|
return pulumi.get(self, "name")
|
445
445
|
|
@@ -26,7 +26,10 @@ class GetKeyTransactionResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getKeyTransaction.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, domain=None, guid=None, id=None, name=None, type=None):
|
29
|
+
def __init__(__self__, account_id=None, domain=None, guid=None, id=None, name=None, type=None):
|
30
|
+
if account_id and not isinstance(account_id, str):
|
31
|
+
raise TypeError("Expected argument 'account_id' to be a str")
|
32
|
+
pulumi.set(__self__, "account_id", account_id)
|
30
33
|
if domain and not isinstance(domain, str):
|
31
34
|
raise TypeError("Expected argument 'domain' to be a str")
|
32
35
|
pulumi.set(__self__, "domain", domain)
|
@@ -43,6 +46,11 @@ class GetKeyTransactionResult:
|
|
43
46
|
raise TypeError("Expected argument 'type' to be a str")
|
44
47
|
pulumi.set(__self__, "type", type)
|
45
48
|
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="accountId")
|
51
|
+
def account_id(self) -> str:
|
52
|
+
return pulumi.get(self, "account_id")
|
53
|
+
|
46
54
|
@property
|
47
55
|
@pulumi.getter
|
48
56
|
def domain(self) -> str:
|
@@ -70,9 +78,6 @@ class GetKeyTransactionResult:
|
|
70
78
|
@property
|
71
79
|
@pulumi.getter
|
72
80
|
def name(self) -> str:
|
73
|
-
"""
|
74
|
-
Name of the key Transation in New Relic.
|
75
|
-
"""
|
76
81
|
return pulumi.get(self, "name")
|
77
82
|
|
78
83
|
@property
|
@@ -90,6 +95,7 @@ class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
|
|
90
95
|
if False:
|
91
96
|
yield self
|
92
97
|
return GetKeyTransactionResult(
|
98
|
+
account_id=self.account_id,
|
93
99
|
domain=self.domain,
|
94
100
|
guid=self.guid,
|
95
101
|
id=self.id,
|
@@ -97,7 +103,8 @@ class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
|
|
97
103
|
type=self.type)
|
98
104
|
|
99
105
|
|
100
|
-
def get_key_transaction(
|
106
|
+
def get_key_transaction(account_id: Optional[str] = None,
|
107
|
+
guid: Optional[str] = None,
|
101
108
|
name: Optional[str] = None,
|
102
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyTransactionResult:
|
103
110
|
"""
|
@@ -128,24 +135,28 @@ def get_key_transaction(guid: Optional[str] = None,
|
|
128
135
|
```
|
129
136
|
|
130
137
|
|
131
|
-
:param str
|
138
|
+
:param str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
132
139
|
|
133
140
|
> **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
|
141
|
+
:param str guid: GUID of the key transaction in New Relic.
|
134
142
|
:param str name: The name of the key transaction in New Relic.
|
135
143
|
"""
|
136
144
|
__args__ = dict()
|
145
|
+
__args__['accountId'] = account_id
|
137
146
|
__args__['guid'] = guid
|
138
147
|
__args__['name'] = name
|
139
148
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
149
|
__ret__ = pulumi.runtime.invoke('newrelic:index/getKeyTransaction:getKeyTransaction', __args__, opts=opts, typ=GetKeyTransactionResult).value
|
141
150
|
|
142
151
|
return AwaitableGetKeyTransactionResult(
|
152
|
+
account_id=pulumi.get(__ret__, 'account_id'),
|
143
153
|
domain=pulumi.get(__ret__, 'domain'),
|
144
154
|
guid=pulumi.get(__ret__, 'guid'),
|
145
155
|
id=pulumi.get(__ret__, 'id'),
|
146
156
|
name=pulumi.get(__ret__, 'name'),
|
147
157
|
type=pulumi.get(__ret__, 'type'))
|
148
|
-
def get_key_transaction_output(
|
158
|
+
def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
159
|
+
guid: Optional[pulumi.Input[Optional[str]]] = None,
|
149
160
|
name: Optional[pulumi.Input[str]] = None,
|
150
161
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyTransactionResult]:
|
151
162
|
"""
|
@@ -176,17 +187,20 @@ def get_key_transaction_output(guid: Optional[pulumi.Input[Optional[str]]] = Non
|
|
176
187
|
```
|
177
188
|
|
178
189
|
|
179
|
-
:param str
|
190
|
+
:param str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
180
191
|
|
181
192
|
> **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
|
193
|
+
:param str guid: GUID of the key transaction in New Relic.
|
182
194
|
:param str name: The name of the key transaction in New Relic.
|
183
195
|
"""
|
184
196
|
__args__ = dict()
|
197
|
+
__args__['accountId'] = account_id
|
185
198
|
__args__['guid'] = guid
|
186
199
|
__args__['name'] = name
|
187
200
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
188
201
|
__ret__ = pulumi.runtime.invoke_output('newrelic:index/getKeyTransaction:getKeyTransaction', __args__, opts=opts, typ=GetKeyTransactionResult)
|
189
202
|
return __ret__.apply(lambda __response__: GetKeyTransactionResult(
|
203
|
+
account_id=pulumi.get(__response__, 'account_id'),
|
190
204
|
domain=pulumi.get(__response__, 'domain'),
|
191
205
|
guid=pulumi.get(__response__, 'guid'),
|
192
206
|
id=pulumi.get(__response__, 'id'),
|
pulumi_newrelic/group.py
CHANGED
@@ -153,78 +153,6 @@ class Group(pulumi.CustomResource):
|
|
153
153
|
user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
154
154
|
__props__=None):
|
155
155
|
"""
|
156
|
-
The `Group` resource facilitates creating, updating, and deleting groups in New Relic, while also enabling the addition and removal of users from these groups.
|
157
|
-
|
158
|
-
## Example Usage
|
159
|
-
|
160
|
-
```python
|
161
|
-
import pulumi
|
162
|
-
import pulumi_newrelic as newrelic
|
163
|
-
|
164
|
-
foo = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
165
|
-
foo_group = newrelic.Group("foo",
|
166
|
-
name="Test Group",
|
167
|
-
authentication_domain_id=foo.id,
|
168
|
-
user_ids=[
|
169
|
-
"0001112222",
|
170
|
-
"2221110000",
|
171
|
-
])
|
172
|
-
```
|
173
|
-
|
174
|
-
## Additional Examples
|
175
|
-
|
176
|
-
### Addition of New Users to a New Group
|
177
|
-
|
178
|
-
The following example illustrates the creation of a group using the `Group` resource, to which users created using the `User` resource are added.
|
179
|
-
|
180
|
-
```python
|
181
|
-
import pulumi
|
182
|
-
import pulumi_newrelic as newrelic
|
183
|
-
|
184
|
-
foo = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
185
|
-
foo_user = newrelic.User("foo",
|
186
|
-
name="Test User One",
|
187
|
-
email_id="test_user_one@test.com",
|
188
|
-
authentication_domain_id=foo.id,
|
189
|
-
user_type="CORE_USER_TIER")
|
190
|
-
bar = newrelic.User("bar",
|
191
|
-
name="Test User Two",
|
192
|
-
email_id="test_user_two@test.com",
|
193
|
-
authentication_domain_id=foo.id,
|
194
|
-
user_type="BASIC_USER_TIER")
|
195
|
-
foo_group = newrelic.Group("foo",
|
196
|
-
name="Test Group",
|
197
|
-
authentication_domain_id=foo.id,
|
198
|
-
user_ids=[
|
199
|
-
foo_user.id,
|
200
|
-
bar.id,
|
201
|
-
])
|
202
|
-
```
|
203
|
-
|
204
|
-
### Addition of Existing Users to a New Group
|
205
|
-
|
206
|
-
The following example demonstrates the usage of the `Group` resource to create a group, wherein the `User` data source is employed to associate existing users with the newly formed group.
|
207
|
-
|
208
|
-
```python
|
209
|
-
import pulumi
|
210
|
-
import pulumi_newrelic as newrelic
|
211
|
-
|
212
|
-
foo = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
213
|
-
foo_get_user = newrelic.get_user(authentication_domain_id=foo.id,
|
214
|
-
email_id="test_user_one@test.com")
|
215
|
-
bar = newrelic.get_user(authentication_domain_id=foo.id,
|
216
|
-
name="Test User Two")
|
217
|
-
foo_group = newrelic.Group("foo",
|
218
|
-
name="Test Group",
|
219
|
-
authentication_domain_id=foo.id,
|
220
|
-
user_ids=[
|
221
|
-
foo_get_user.id,
|
222
|
-
bar.id,
|
223
|
-
])
|
224
|
-
```
|
225
|
-
|
226
|
-
> **NOTE** Please note that the addition of users to groups is only possible when both the group and the users to be added to it belong to the _same authentication domain_. If the group being created and the users being added to it belong to different authentication domains, an error indicating `user not found` or an equivalent error will be thrown.
|
227
|
-
|
228
156
|
## Import
|
229
157
|
|
230
158
|
A group can be imported using its ID. Example:
|
@@ -250,78 +178,6 @@ class Group(pulumi.CustomResource):
|
|
250
178
|
args: GroupArgs,
|
251
179
|
opts: Optional[pulumi.ResourceOptions] = None):
|
252
180
|
"""
|
253
|
-
The `Group` resource facilitates creating, updating, and deleting groups in New Relic, while also enabling the addition and removal of users from these groups.
|
254
|
-
|
255
|
-
## Example Usage
|
256
|
-
|
257
|
-
```python
|
258
|
-
import pulumi
|
259
|
-
import pulumi_newrelic as newrelic
|
260
|
-
|
261
|
-
foo = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
262
|
-
foo_group = newrelic.Group("foo",
|
263
|
-
name="Test Group",
|
264
|
-
authentication_domain_id=foo.id,
|
265
|
-
user_ids=[
|
266
|
-
"0001112222",
|
267
|
-
"2221110000",
|
268
|
-
])
|
269
|
-
```
|
270
|
-
|
271
|
-
## Additional Examples
|
272
|
-
|
273
|
-
### Addition of New Users to a New Group
|
274
|
-
|
275
|
-
The following example illustrates the creation of a group using the `Group` resource, to which users created using the `User` resource are added.
|
276
|
-
|
277
|
-
```python
|
278
|
-
import pulumi
|
279
|
-
import pulumi_newrelic as newrelic
|
280
|
-
|
281
|
-
foo = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
282
|
-
foo_user = newrelic.User("foo",
|
283
|
-
name="Test User One",
|
284
|
-
email_id="test_user_one@test.com",
|
285
|
-
authentication_domain_id=foo.id,
|
286
|
-
user_type="CORE_USER_TIER")
|
287
|
-
bar = newrelic.User("bar",
|
288
|
-
name="Test User Two",
|
289
|
-
email_id="test_user_two@test.com",
|
290
|
-
authentication_domain_id=foo.id,
|
291
|
-
user_type="BASIC_USER_TIER")
|
292
|
-
foo_group = newrelic.Group("foo",
|
293
|
-
name="Test Group",
|
294
|
-
authentication_domain_id=foo.id,
|
295
|
-
user_ids=[
|
296
|
-
foo_user.id,
|
297
|
-
bar.id,
|
298
|
-
])
|
299
|
-
```
|
300
|
-
|
301
|
-
### Addition of Existing Users to a New Group
|
302
|
-
|
303
|
-
The following example demonstrates the usage of the `Group` resource to create a group, wherein the `User` data source is employed to associate existing users with the newly formed group.
|
304
|
-
|
305
|
-
```python
|
306
|
-
import pulumi
|
307
|
-
import pulumi_newrelic as newrelic
|
308
|
-
|
309
|
-
foo = newrelic.get_authentication_domain(name="Test Authentication Domain")
|
310
|
-
foo_get_user = newrelic.get_user(authentication_domain_id=foo.id,
|
311
|
-
email_id="test_user_one@test.com")
|
312
|
-
bar = newrelic.get_user(authentication_domain_id=foo.id,
|
313
|
-
name="Test User Two")
|
314
|
-
foo_group = newrelic.Group("foo",
|
315
|
-
name="Test Group",
|
316
|
-
authentication_domain_id=foo.id,
|
317
|
-
user_ids=[
|
318
|
-
foo_get_user.id,
|
319
|
-
bar.id,
|
320
|
-
])
|
321
|
-
```
|
322
|
-
|
323
|
-
> **NOTE** Please note that the addition of users to groups is only possible when both the group and the users to be added to it belong to the _same authentication domain_. If the group being created and the users being added to it belong to different authentication domains, an error indicating `user not found` or an equivalent error will be thrown.
|
324
|
-
|
325
181
|
## Import
|
326
182
|
|
327
183
|
A group can be imported using its ID. Example:
|
pulumi_newrelic/outputs.py
CHANGED
@@ -12217,13 +12217,25 @@ class OneDashboardVariableOption(dict):
|
|
12217
12217
|
return super().get(key, default)
|
12218
12218
|
|
12219
12219
|
def __init__(__self__, *,
|
12220
|
+
excluded: Optional[bool] = None,
|
12220
12221
|
ignore_time_range: Optional[bool] = None):
|
12221
12222
|
"""
|
12223
|
+
:param bool excluded: (Optional) An argument with a boolean value. With this turned on, the query condition defined with the variable will not be included in the query. Defaults to `false`.
|
12222
12224
|
:param bool ignore_time_range: (Optional) An argument with a boolean value that is supported only by variables of `type` _nrql_ - when true, the time range specified in the query will override the time picker on dashboards and other pages.
|
12223
12225
|
"""
|
12226
|
+
if excluded is not None:
|
12227
|
+
pulumi.set(__self__, "excluded", excluded)
|
12224
12228
|
if ignore_time_range is not None:
|
12225
12229
|
pulumi.set(__self__, "ignore_time_range", ignore_time_range)
|
12226
12230
|
|
12231
|
+
@property
|
12232
|
+
@pulumi.getter
|
12233
|
+
def excluded(self) -> Optional[bool]:
|
12234
|
+
"""
|
12235
|
+
(Optional) An argument with a boolean value. With this turned on, the query condition defined with the variable will not be included in the query. Defaults to `false`.
|
12236
|
+
"""
|
12237
|
+
return pulumi.get(self, "excluded")
|
12238
|
+
|
12227
12239
|
@property
|
12228
12240
|
@pulumi.getter(name="ignoreTimeRange")
|
12229
12241
|
def ignore_time_range(self) -> Optional[bool]:
|
@@ -35,13 +35,13 @@ class BrokenLinksMonitorArgs:
|
|
35
35
|
"""
|
36
36
|
The set of arguments for constructing a BrokenLinksMonitor resource.
|
37
37
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
38
|
-
:param pulumi.Input[str] status: The monitor
|
38
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
39
39
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
40
40
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
41
41
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required.
|
42
42
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
43
43
|
:param pulumi.Input[str] name: The name for the monitor.
|
44
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
44
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
45
45
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
47
47
|
"""
|
@@ -81,7 +81,7 @@ class BrokenLinksMonitorArgs:
|
|
81
81
|
@pulumi.getter
|
82
82
|
def status(self) -> pulumi.Input[str]:
|
83
83
|
"""
|
84
|
-
The monitor
|
84
|
+
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
85
85
|
"""
|
86
86
|
return pulumi.get(self, "status")
|
87
87
|
|
@@ -153,7 +153,7 @@ class BrokenLinksMonitorArgs:
|
|
153
153
|
@pulumi.getter(name="runtimeType")
|
154
154
|
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
155
155
|
"""
|
156
|
-
The runtime that the monitor will use to run jobs.
|
156
|
+
The runtime that the monitor will use to run jobs (`NODE_API`).
|
157
157
|
"""
|
158
158
|
return pulumi.get(self, "runtime_type")
|
159
159
|
|
@@ -220,9 +220,9 @@ class _BrokenLinksMonitorState:
|
|
220
220
|
:param pulumi.Input[str] name: The name for the monitor.
|
221
221
|
: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`.
|
222
222
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
223
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
223
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
224
224
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
225
|
-
:param pulumi.Input[str] status: The monitor
|
225
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
226
226
|
:param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
227
227
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
228
228
|
"""
|
@@ -341,7 +341,7 @@ class _BrokenLinksMonitorState:
|
|
341
341
|
@pulumi.getter(name="runtimeType")
|
342
342
|
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
343
343
|
"""
|
344
|
-
The runtime that the monitor will use to run jobs.
|
344
|
+
The runtime that the monitor will use to run jobs (`NODE_API`).
|
345
345
|
"""
|
346
346
|
return pulumi.get(self, "runtime_type")
|
347
347
|
|
@@ -365,7 +365,7 @@ class _BrokenLinksMonitorState:
|
|
365
365
|
@pulumi.getter
|
366
366
|
def status(self) -> Optional[pulumi.Input[str]]:
|
367
367
|
"""
|
368
|
-
The monitor
|
368
|
+
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
369
369
|
"""
|
370
370
|
return pulumi.get(self, "status")
|
371
371
|
|
@@ -491,9 +491,9 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
491
491
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Check out [this page](https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/) for a list of valid public locations. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required.
|
492
492
|
:param pulumi.Input[str] name: The name for the monitor.
|
493
493
|
:param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are `EVERY_MINUTE`, `EVERY_5_MINUTES`, `EVERY_10_MINUTES`, `EVERY_15_MINUTES`, `EVERY_30_MINUTES`, `EVERY_HOUR`, `EVERY_6_HOURS`, `EVERY_12_HOURS`, or `EVERY_DAY`.
|
494
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
494
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
495
495
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
496
|
-
:param pulumi.Input[str] status: The monitor
|
496
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
497
497
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
498
498
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
499
499
|
"""
|
@@ -654,9 +654,9 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
654
654
|
:param pulumi.Input[str] name: The name for the monitor.
|
655
655
|
: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`.
|
656
656
|
:param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run.
|
657
|
-
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs.
|
657
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
658
658
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
659
|
-
:param pulumi.Input[str] status: The monitor
|
659
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
660
660
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BrokenLinksMonitorTagArgs', 'BrokenLinksMonitorTagArgsDict']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details
|
661
661
|
:param pulumi.Input[str] uri: The URI the monitor runs against.
|
662
662
|
"""
|
@@ -739,7 +739,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
739
739
|
@pulumi.getter(name="runtimeType")
|
740
740
|
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
741
741
|
"""
|
742
|
-
The runtime that the monitor will use to run jobs.
|
742
|
+
The runtime that the monitor will use to run jobs (`NODE_API`).
|
743
743
|
"""
|
744
744
|
return pulumi.get(self, "runtime_type")
|
745
745
|
|
@@ -755,7 +755,7 @@ class BrokenLinksMonitor(pulumi.CustomResource):
|
|
755
755
|
@pulumi.getter
|
756
756
|
def status(self) -> pulumi.Output[str]:
|
757
757
|
"""
|
758
|
-
The monitor
|
758
|
+
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
759
759
|
"""
|
760
760
|
return pulumi.get(self, "status")
|
761
761
|
|
@@ -38,12 +38,12 @@ class CertCheckMonitorArgs:
|
|
38
38
|
:param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure.
|
39
39
|
:param pulumi.Input[str] domain: The domain of the host that will have its certificate checked.
|
40
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 monitor
|
41
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
42
42
|
:param pulumi.Input[str] account_id: The account in which the Synthetics monitor will be created.
|
43
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
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
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.
|
46
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
47
47
|
:param pulumi.Input[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
|
"""
|
@@ -108,7 +108,7 @@ class CertCheckMonitorArgs:
|
|
108
108
|
@pulumi.getter
|
109
109
|
def status(self) -> pulumi.Input[str]:
|
110
110
|
"""
|
111
|
-
The monitor
|
111
|
+
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
112
112
|
"""
|
113
113
|
return pulumi.get(self, "status")
|
114
114
|
|
@@ -168,7 +168,7 @@ class CertCheckMonitorArgs:
|
|
168
168
|
@pulumi.getter(name="runtimeType")
|
169
169
|
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
170
170
|
"""
|
171
|
-
The runtime that the monitor will use to run jobs.
|
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
|
|
@@ -236,9 +236,9 @@ class _CertCheckMonitorState:
|
|
236
236
|
:param pulumi.Input[str] name: The name for the monitor.
|
237
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
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.
|
239
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
240
240
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
241
|
-
:param pulumi.Input[str] status: The monitor
|
241
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
242
242
|
: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
243
|
"""
|
244
244
|
if account_id is not None:
|
@@ -368,7 +368,7 @@ class _CertCheckMonitorState:
|
|
368
368
|
@pulumi.getter(name="runtimeType")
|
369
369
|
def runtime_type(self) -> Optional[pulumi.Input[str]]:
|
370
370
|
"""
|
371
|
-
The runtime that the monitor will use to run jobs.
|
371
|
+
The runtime that the monitor will use to run jobs (`NODE_API`).
|
372
372
|
"""
|
373
373
|
return pulumi.get(self, "runtime_type")
|
374
374
|
|
@@ -392,7 +392,7 @@ class _CertCheckMonitorState:
|
|
392
392
|
@pulumi.getter
|
393
393
|
def status(self) -> Optional[pulumi.Input[str]]:
|
394
394
|
"""
|
395
|
-
The monitor
|
395
|
+
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
396
396
|
"""
|
397
397
|
return pulumi.get(self, "status")
|
398
398
|
|
@@ -511,9 +511,9 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
511
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
512
|
:param pulumi.Input[str] name: The name for the monitor.
|
513
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.
|
514
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
515
515
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
516
|
-
:param pulumi.Input[str] status: The monitor
|
516
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
517
517
|
: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
518
|
"""
|
519
519
|
...
|
@@ -679,9 +679,9 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
679
679
|
:param pulumi.Input[str] name: The name for the monitor.
|
680
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
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.
|
682
|
+
:param pulumi.Input[str] runtime_type: The runtime that the monitor will use to run jobs (`NODE_API`).
|
683
683
|
:param pulumi.Input[str] runtime_type_version: The specific semver version of the runtime type.
|
684
|
-
:param pulumi.Input[str] status: The monitor
|
684
|
+
:param pulumi.Input[str] status: The run state of the monitor. (`ENABLED` or `DISABLED`).
|
685
685
|
: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
686
|
"""
|
687
687
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -771,7 +771,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
771
771
|
@pulumi.getter(name="runtimeType")
|
772
772
|
def runtime_type(self) -> pulumi.Output[Optional[str]]:
|
773
773
|
"""
|
774
|
-
The runtime that the monitor will use to run jobs.
|
774
|
+
The runtime that the monitor will use to run jobs (`NODE_API`).
|
775
775
|
"""
|
776
776
|
return pulumi.get(self, "runtime_type")
|
777
777
|
|
@@ -787,7 +787,7 @@ class CertCheckMonitor(pulumi.CustomResource):
|
|
787
787
|
@pulumi.getter
|
788
788
|
def status(self) -> pulumi.Output[str]:
|
789
789
|
"""
|
790
|
-
The monitor
|
790
|
+
The run state of the monitor. (`ENABLED` or `DISABLED`).
|
791
791
|
"""
|
792
792
|
return pulumi.get(self, "status")
|
793
793
|
|