pulumi-newrelic 5.35.0a1730118515__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.
@@ -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: Name of the linked account
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
- Name of the linked account
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: Name of the linked account
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
- Name of the linked account
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: Name of the linked account
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: Name of the linked account
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
- Name of the linked account
442
+ The name of the application in New Relic APM.
443
443
  """
444
444
  return pulumi.get(self, "name")
445
445
 
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:
@@ -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]:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "newrelic",
4
- "version": "5.35.0-alpha.1730118515"
4
+ "version": "5.36.0"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_newrelic
3
- Version: 5.35.0a1730118515
3
+ Version: 5.36.0
4
4
  Summary: A Pulumi package for creating and managing New Relic resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,5 +1,5 @@
1
1
  pulumi_newrelic/__init__.py,sha256=q0NdPqgZC1kS4XOkgRZa7J_iuaWxIkMKXQfOnC5CysU,11535
2
- pulumi_newrelic/_inputs.py,sha256=36gTEMTHUVm_SOOpHIuNgLq-OFT7iTvkYevukTLsiNA,796378
2
+ pulumi_newrelic/_inputs.py,sha256=2FyjyYUaLb9g1MiKOxUVoDip6l19Q0LXqZgNYroJBYk,797453
3
3
  pulumi_newrelic/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
4
4
  pulumi_newrelic/account_management.py,sha256=qFD7xsT6kNFNY3ZEO-15E4T6mSIOQ6uw_Goqf7-NkTU,8963
5
5
  pulumi_newrelic/alert_channel.py,sha256=QNF_jzaDJLKD78qxtBnDpRaAVMJigmGYQtSWuCEIC7g,21825
@@ -26,7 +26,7 @@ pulumi_newrelic/get_obfuscation_expression.py,sha256=3-avJsZDVhsRIdEJmxQW6guQFo9
26
26
  pulumi_newrelic/get_service_level_alert_helper.py,sha256=04z51uiWHImFXAjUKzLfkgZMmOd__qEnIJfzCnaYwoQ,21136
27
27
  pulumi_newrelic/get_test_grok_pattern.py,sha256=l_Es4uNX0CMmWPL6IZpGHKAXPR-I-FTIONxngqyu4yk,6347
28
28
  pulumi_newrelic/get_user.py,sha256=Cf_4j_vcHv_2RZLWWcq6nRbboeWbTjrXj38c0EBbQEQ,8054
29
- pulumi_newrelic/group.py,sha256=qdt5Hd783yqG_G6gBOsmEJUGnQl7rusjZIaNzMRiGd8,21081
29
+ pulumi_newrelic/group.py,sha256=mmXsfckBm6kZukT7eQX6UVbBSTDN-9YB69t8YuT09tc,15373
30
30
  pulumi_newrelic/infra_alert_condition.py,sha256=KicN5-yNkDvxJV8M9oCSBn6hBC0ss5_oDFqoTFInlJU,58188
31
31
  pulumi_newrelic/key_transaction.py,sha256=aNZHvMoYqe0TXLeQfqlPzBkMJNKasPcfLNdbzEqqrgQ,22875
32
32
  pulumi_newrelic/log_parsing_rule.py,sha256=HOCj_6SaSGNkJdhXalrETqRapE550cdnpe1PJ9r58Ks,22582
@@ -40,9 +40,9 @@ pulumi_newrelic/obfuscation_rule.py,sha256=HzyDhyK3-qkrgiERkAZs0HiC1ToH8vaeXXoLj
40
40
  pulumi_newrelic/one_dashboard.py,sha256=91XJ8Dic5u66ZvUx7-uyZpNZJ306BOq9mLBULMe7-oQ,20854
41
41
  pulumi_newrelic/one_dashboard_json.py,sha256=EZqg6akwsh-SqsRjCmQzDjgsjvbIfKsX2zt3vjQ8bYE,12796
42
42
  pulumi_newrelic/one_dashboard_raw.py,sha256=psG2dLMpVIUmut5q71llCp4t_uKL5fUKoPC8Er9gBrI,23676
43
- pulumi_newrelic/outputs.py,sha256=PQE_IUsbLJRNClH1y18r0xTcChRBspRAJ0BQGkG51ok,576057
43
+ pulumi_newrelic/outputs.py,sha256=Mh-9t88XHsd4htBHR3sLxthqA6DQGhJORj80ZhkBZcM,576713
44
44
  pulumi_newrelic/provider.py,sha256=OjBqZT1L0Jt_1-c3zMSSGA03zIZjgif7RrThna-ojng,18493
45
- pulumi_newrelic/pulumi-plugin.json,sha256=neOnqx6IggWVLNt9paICkp_-QbUHkXQBf_dxS1xLNFo,85
45
+ pulumi_newrelic/pulumi-plugin.json,sha256=KsPj42JX8WtUfJu71Z-69DMT78BdbsbUd4_O33Kkswo,68
46
46
  pulumi_newrelic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  pulumi_newrelic/service_level.py,sha256=Dk_AoEFTmaJAg5v8SKBN4-a4T-MGXDbPubxsnB98sFk,28980
48
48
  pulumi_newrelic/user.py,sha256=guVvPGAeuR-mQ6_bA_MvBP7GY2grEmnbdNkc_5hs1us,19116
@@ -54,7 +54,7 @@ pulumi_newrelic/cloud/aws_govcloud_link_account.py,sha256=nB0chSxAaJgKyheEy7Am5B
54
54
  pulumi_newrelic/cloud/aws_integrations.py,sha256=PggxGS3ECz71g6VydQGUpr9Z10wMQT-AKQCJku29Py8,128568
55
55
  pulumi_newrelic/cloud/aws_link_account.py,sha256=-MfVXLan_qDRuMkgy54dJ3h6tPgCNLQDHPEw7R38PZY,15669
56
56
  pulumi_newrelic/cloud/azure_integrations.py,sha256=Tr1j9QEMnTrNL1W7s7Jr3IhJTeGzE9CXhC7XrmASseQ,114191
57
- pulumi_newrelic/cloud/azure_link_account.py,sha256=k3VhPNSgRWkjU5YpD1tbkdB2KcJJvtLuX9vdnFQxcII,18733
57
+ pulumi_newrelic/cloud/azure_link_account.py,sha256=asPM3xQR-4mXArh88AmPQeYPkkZ5Lifjns31y51Onp0,19083
58
58
  pulumi_newrelic/cloud/gcp_integrations.py,sha256=ARuaTX-of6ryhooaoGk-YDNdVxGi35PQcU1zPAipHGk,85969
59
59
  pulumi_newrelic/cloud/gcp_link_account.py,sha256=yHsIZ5uRF-5tLjZnr9E47Xu6GAFnOLxlB3OfJSn3Bgk,12605
60
60
  pulumi_newrelic/cloud/outputs.py,sha256=fnbQazWrXVvyiEuG1w7PNCQ4Nt3scsbzXy0MIbJoTlU,316415
@@ -84,7 +84,7 @@ pulumi_newrelic/synthetics/private_location.py,sha256=-pj6W9dg9fB-jtnrTH8wnd7o_j
84
84
  pulumi_newrelic/synthetics/script_monitor.py,sha256=fwRaviLtkQ0ViK3V1W98npxcN_qBXFevwuHgHArl3m0,66220
85
85
  pulumi_newrelic/synthetics/secure_credential.py,sha256=EilBGvvvqmADHo1VPeWfQkCdc2GYRO8Dq9-lktE7Y3M,15776
86
86
  pulumi_newrelic/synthetics/step_monitor.py,sha256=7tqzQ9InEMRdfAr9K_vpLm-OCPHyIKEH4f8CT2BxaLQ,49116
87
- pulumi_newrelic-5.35.0a1730118515.dist-info/METADATA,sha256=QFyTJt3EBnsqVzLuiaVczJZfklbTtJpNn-wO8MmjV0Q,3968
88
- pulumi_newrelic-5.35.0a1730118515.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
89
- pulumi_newrelic-5.35.0a1730118515.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
90
- pulumi_newrelic-5.35.0a1730118515.dist-info/RECORD,,
87
+ pulumi_newrelic-5.36.0.dist-info/METADATA,sha256=iMT74gQKgUDt2UEXM_bO-fecM4x80izINMlhQr1ygtg,3957
88
+ pulumi_newrelic-5.36.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
89
+ pulumi_newrelic-5.36.0.dist-info/top_level.txt,sha256=BjE1Wsu6Ah_A7k08uV5vRSZ2R_5uY3wFvSWJaa7ZoQk,16
90
+ pulumi_newrelic-5.36.0.dist-info/RECORD,,