pulumi-newrelic 5.48.0a1753156041__py3-none-any.whl → 5.49.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.
Files changed (89) hide show
  1. pulumi_newrelic/__init__.py +1 -1
  2. pulumi_newrelic/_inputs.py +3759 -3760
  3. pulumi_newrelic/account_management.py +35 -36
  4. pulumi_newrelic/alert_channel.py +55 -56
  5. pulumi_newrelic/alert_condition.py +217 -218
  6. pulumi_newrelic/alert_muting_rule.py +92 -93
  7. pulumi_newrelic/alert_policy.py +69 -70
  8. pulumi_newrelic/alert_policy_channel.py +52 -53
  9. pulumi_newrelic/api_access_key.py +112 -113
  10. pulumi_newrelic/browser_application.py +113 -114
  11. pulumi_newrelic/cloud/__init__.py +1 -1
  12. pulumi_newrelic/cloud/_inputs.py +2129 -2130
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
  15. pulumi_newrelic/cloud/aws_integrations.py +194 -195
  16. pulumi_newrelic/cloud/aws_link_account.py +69 -70
  17. pulumi_newrelic/cloud/azure_integrations.py +131 -132
  18. pulumi_newrelic/cloud/azure_link_account.py +103 -104
  19. pulumi_newrelic/cloud/gcp_integrations.py +113 -114
  20. pulumi_newrelic/cloud/gcp_link_account.py +52 -53
  21. pulumi_newrelic/cloud/outputs.py +1417 -1418
  22. pulumi_newrelic/config/__init__.py +1 -1
  23. pulumi_newrelic/config/__init__.pyi +1 -2
  24. pulumi_newrelic/config/vars.py +14 -15
  25. pulumi_newrelic/data_partition_rule.py +112 -113
  26. pulumi_newrelic/entity_tags.py +21 -22
  27. pulumi_newrelic/events_to_metrics_rule.py +95 -96
  28. pulumi_newrelic/get_account.py +21 -22
  29. pulumi_newrelic/get_alert_channel.py +20 -21
  30. pulumi_newrelic/get_alert_policy.py +25 -26
  31. pulumi_newrelic/get_application.py +13 -14
  32. pulumi_newrelic/get_authentication_domain.py +9 -10
  33. pulumi_newrelic/get_cloud_account.py +21 -22
  34. pulumi_newrelic/get_entity.py +52 -53
  35. pulumi_newrelic/get_group.py +17 -18
  36. pulumi_newrelic/get_key_transaction.py +25 -26
  37. pulumi_newrelic/get_notification_destination.py +29 -30
  38. pulumi_newrelic/get_obfuscation_expression.py +15 -16
  39. pulumi_newrelic/get_service_level_alert_helper.py +53 -54
  40. pulumi_newrelic/get_test_grok_pattern.py +22 -23
  41. pulumi_newrelic/get_user.py +21 -22
  42. pulumi_newrelic/group.py +52 -53
  43. pulumi_newrelic/infra_alert_condition.py +255 -256
  44. pulumi_newrelic/insights/__init__.py +1 -1
  45. pulumi_newrelic/insights/_inputs.py +32 -33
  46. pulumi_newrelic/insights/event.py +4 -5
  47. pulumi_newrelic/insights/outputs.py +22 -23
  48. pulumi_newrelic/key_transaction.py +104 -105
  49. pulumi_newrelic/log_parsing_rule.py +146 -147
  50. pulumi_newrelic/monitor_downtime.py +143 -144
  51. pulumi_newrelic/notification_channel.py +115 -116
  52. pulumi_newrelic/notification_destination.py +111 -112
  53. pulumi_newrelic/nrql_alert_condition.py +430 -431
  54. pulumi_newrelic/nrql_drop_rule.py +78 -79
  55. pulumi_newrelic/obfuscation_expression.py +69 -70
  56. pulumi_newrelic/obfuscation_rule.py +89 -90
  57. pulumi_newrelic/one_dashboard.py +93 -94
  58. pulumi_newrelic/one_dashboard_json.py +62 -63
  59. pulumi_newrelic/one_dashboard_raw.py +90 -91
  60. pulumi_newrelic/outputs.py +2646 -2647
  61. pulumi_newrelic/plugins/__init__.py +1 -1
  62. pulumi_newrelic/plugins/_inputs.py +158 -159
  63. pulumi_newrelic/plugins/application_settings.py +167 -168
  64. pulumi_newrelic/plugins/outputs.py +108 -109
  65. pulumi_newrelic/plugins/workload.py +131 -132
  66. pulumi_newrelic/provider.py +106 -107
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +76 -77
  69. pulumi_newrelic/synthetics/__init__.py +1 -1
  70. pulumi_newrelic/synthetics/_inputs.py +127 -128
  71. pulumi_newrelic/synthetics/alert_condition.py +95 -96
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
  74. pulumi_newrelic/synthetics/get_private_location.py +21 -22
  75. pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
  76. pulumi_newrelic/synthetics/monitor.py +378 -379
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
  78. pulumi_newrelic/synthetics/outputs.py +85 -86
  79. pulumi_newrelic/synthetics/private_location.py +105 -106
  80. pulumi_newrelic/synthetics/script_monitor.py +302 -303
  81. pulumi_newrelic/synthetics/secure_credential.py +86 -87
  82. pulumi_newrelic/synthetics/step_monitor.py +220 -221
  83. pulumi_newrelic/user.py +69 -70
  84. pulumi_newrelic/workflow.py +139 -140
  85. {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.49.0.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.48.0a1753156041.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
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 builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,57 +19,57 @@ __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
20
19
  @pulumi.input_type
21
20
  class OneDashboardJsonArgs:
22
21
  def __init__(__self__, *,
23
- json: pulumi.Input[builtins.str],
24
- account_id: Optional[pulumi.Input[builtins.str]] = None):
22
+ json: pulumi.Input[_builtins.str],
23
+ account_id: Optional[pulumi.Input[_builtins.str]] = None):
25
24
  """
26
25
  The set of arguments for constructing a OneDashboardJson resource.
27
- :param pulumi.Input[builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
28
- :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
26
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
27
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
29
28
  """
30
29
  pulumi.set(__self__, "json", json)
31
30
  if account_id is not None:
32
31
  pulumi.set(__self__, "account_id", account_id)
33
32
 
34
- @property
33
+ @_builtins.property
35
34
  @pulumi.getter
36
- def json(self) -> pulumi.Input[builtins.str]:
35
+ def json(self) -> pulumi.Input[_builtins.str]:
37
36
  """
38
37
  The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
39
38
  """
40
39
  return pulumi.get(self, "json")
41
40
 
42
41
  @json.setter
43
- def json(self, value: pulumi.Input[builtins.str]):
42
+ def json(self, value: pulumi.Input[_builtins.str]):
44
43
  pulumi.set(self, "json", value)
45
44
 
46
- @property
45
+ @_builtins.property
47
46
  @pulumi.getter(name="accountId")
48
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
47
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
49
48
  """
50
49
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
51
50
  """
52
51
  return pulumi.get(self, "account_id")
53
52
 
54
53
  @account_id.setter
55
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
54
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
56
55
  pulumi.set(self, "account_id", value)
57
56
 
58
57
 
59
58
  @pulumi.input_type
60
59
  class _OneDashboardJsonState:
61
60
  def __init__(__self__, *,
62
- account_id: Optional[pulumi.Input[builtins.str]] = None,
63
- guid: Optional[pulumi.Input[builtins.str]] = None,
64
- json: Optional[pulumi.Input[builtins.str]] = None,
65
- permalink: Optional[pulumi.Input[builtins.str]] = None,
66
- updated_at: Optional[pulumi.Input[builtins.str]] = None):
61
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
62
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
63
+ json: Optional[pulumi.Input[_builtins.str]] = None,
64
+ permalink: Optional[pulumi.Input[_builtins.str]] = None,
65
+ updated_at: Optional[pulumi.Input[_builtins.str]] = None):
67
66
  """
68
67
  Input properties used for looking up and filtering OneDashboardJson resources.
69
- :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
70
- :param pulumi.Input[builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
71
- :param pulumi.Input[builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
72
- :param pulumi.Input[builtins.str] permalink: The URL for viewing the dashboard.
73
- :param pulumi.Input[builtins.str] updated_at: The date and time when the dashboard was last updated.
68
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
69
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
70
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
71
+ :param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
72
+ :param pulumi.Input[_builtins.str] updated_at: The date and time when the dashboard was last updated.
74
73
  """
75
74
  if account_id is not None:
76
75
  pulumi.set(__self__, "account_id", account_id)
@@ -83,64 +82,64 @@ class _OneDashboardJsonState:
83
82
  if updated_at is not None:
84
83
  pulumi.set(__self__, "updated_at", updated_at)
85
84
 
86
- @property
85
+ @_builtins.property
87
86
  @pulumi.getter(name="accountId")
88
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
87
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
89
88
  """
90
89
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
91
90
  """
92
91
  return pulumi.get(self, "account_id")
93
92
 
94
93
  @account_id.setter
95
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
94
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
96
95
  pulumi.set(self, "account_id", value)
97
96
 
98
- @property
97
+ @_builtins.property
99
98
  @pulumi.getter
100
- def guid(self) -> Optional[pulumi.Input[builtins.str]]:
99
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
101
100
  """
102
101
  The unique entity identifier of the dashboard in New Relic.
103
102
  """
104
103
  return pulumi.get(self, "guid")
105
104
 
106
105
  @guid.setter
107
- def guid(self, value: Optional[pulumi.Input[builtins.str]]):
106
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
108
107
  pulumi.set(self, "guid", value)
109
108
 
110
- @property
109
+ @_builtins.property
111
110
  @pulumi.getter
112
- def json(self) -> Optional[pulumi.Input[builtins.str]]:
111
+ def json(self) -> Optional[pulumi.Input[_builtins.str]]:
113
112
  """
114
113
  The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
115
114
  """
116
115
  return pulumi.get(self, "json")
117
116
 
118
117
  @json.setter
119
- def json(self, value: Optional[pulumi.Input[builtins.str]]):
118
+ def json(self, value: Optional[pulumi.Input[_builtins.str]]):
120
119
  pulumi.set(self, "json", value)
121
120
 
122
- @property
121
+ @_builtins.property
123
122
  @pulumi.getter
124
- def permalink(self) -> Optional[pulumi.Input[builtins.str]]:
123
+ def permalink(self) -> Optional[pulumi.Input[_builtins.str]]:
125
124
  """
126
125
  The URL for viewing the dashboard.
127
126
  """
128
127
  return pulumi.get(self, "permalink")
129
128
 
130
129
  @permalink.setter
131
- def permalink(self, value: Optional[pulumi.Input[builtins.str]]):
130
+ def permalink(self, value: Optional[pulumi.Input[_builtins.str]]):
132
131
  pulumi.set(self, "permalink", value)
133
132
 
134
- @property
133
+ @_builtins.property
135
134
  @pulumi.getter(name="updatedAt")
136
- def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
135
+ def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
137
136
  """
138
137
  The date and time when the dashboard was last updated.
139
138
  """
140
139
  return pulumi.get(self, "updated_at")
141
140
 
142
141
  @updated_at.setter
143
- def updated_at(self, value: Optional[pulumi.Input[builtins.str]]):
142
+ def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
144
143
  pulumi.set(self, "updated_at", value)
145
144
 
146
145
 
@@ -150,8 +149,8 @@ class OneDashboardJson(pulumi.CustomResource):
150
149
  def __init__(__self__,
151
150
  resource_name: str,
152
151
  opts: Optional[pulumi.ResourceOptions] = None,
153
- account_id: Optional[pulumi.Input[builtins.str]] = None,
154
- json: Optional[pulumi.Input[builtins.str]] = None,
152
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
153
+ json: Optional[pulumi.Input[_builtins.str]] = None,
155
154
  __props__=None):
156
155
  """
157
156
  ## Import
@@ -166,8 +165,8 @@ class OneDashboardJson(pulumi.CustomResource):
166
165
 
167
166
  :param str resource_name: The name of the resource.
168
167
  :param pulumi.ResourceOptions opts: Options for the resource.
169
- :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
170
- :param pulumi.Input[builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
168
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
169
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
171
170
  """
172
171
  ...
173
172
  @overload
@@ -201,8 +200,8 @@ class OneDashboardJson(pulumi.CustomResource):
201
200
  def _internal_init(__self__,
202
201
  resource_name: str,
203
202
  opts: Optional[pulumi.ResourceOptions] = None,
204
- account_id: Optional[pulumi.Input[builtins.str]] = None,
205
- json: Optional[pulumi.Input[builtins.str]] = None,
203
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
204
+ json: Optional[pulumi.Input[_builtins.str]] = None,
206
205
  __props__=None):
207
206
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
208
207
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -229,11 +228,11 @@ class OneDashboardJson(pulumi.CustomResource):
229
228
  def get(resource_name: str,
230
229
  id: pulumi.Input[str],
231
230
  opts: Optional[pulumi.ResourceOptions] = None,
232
- account_id: Optional[pulumi.Input[builtins.str]] = None,
233
- guid: Optional[pulumi.Input[builtins.str]] = None,
234
- json: Optional[pulumi.Input[builtins.str]] = None,
235
- permalink: Optional[pulumi.Input[builtins.str]] = None,
236
- updated_at: Optional[pulumi.Input[builtins.str]] = None) -> 'OneDashboardJson':
231
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
232
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
233
+ json: Optional[pulumi.Input[_builtins.str]] = None,
234
+ permalink: Optional[pulumi.Input[_builtins.str]] = None,
235
+ updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'OneDashboardJson':
237
236
  """
238
237
  Get an existing OneDashboardJson resource's state with the given name, id, and optional extra
239
238
  properties used to qualify the lookup.
@@ -241,11 +240,11 @@ class OneDashboardJson(pulumi.CustomResource):
241
240
  :param str resource_name: The unique name of the resulting resource.
242
241
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
243
242
  :param pulumi.ResourceOptions opts: Options for the resource.
244
- :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
245
- :param pulumi.Input[builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
246
- :param pulumi.Input[builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
247
- :param pulumi.Input[builtins.str] permalink: The URL for viewing the dashboard.
248
- :param pulumi.Input[builtins.str] updated_at: The date and time when the dashboard was last updated.
243
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
244
+ :param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
245
+ :param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
246
+ :param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
247
+ :param pulumi.Input[_builtins.str] updated_at: The date and time when the dashboard was last updated.
249
248
  """
250
249
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
251
250
 
@@ -258,41 +257,41 @@ class OneDashboardJson(pulumi.CustomResource):
258
257
  __props__.__dict__["updated_at"] = updated_at
259
258
  return OneDashboardJson(resource_name, opts=opts, __props__=__props__)
260
259
 
261
- @property
260
+ @_builtins.property
262
261
  @pulumi.getter(name="accountId")
263
- def account_id(self) -> pulumi.Output[builtins.str]:
262
+ def account_id(self) -> pulumi.Output[_builtins.str]:
264
263
  """
265
264
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
266
265
  """
267
266
  return pulumi.get(self, "account_id")
268
267
 
269
- @property
268
+ @_builtins.property
270
269
  @pulumi.getter
271
- def guid(self) -> pulumi.Output[builtins.str]:
270
+ def guid(self) -> pulumi.Output[_builtins.str]:
272
271
  """
273
272
  The unique entity identifier of the dashboard in New Relic.
274
273
  """
275
274
  return pulumi.get(self, "guid")
276
275
 
277
- @property
276
+ @_builtins.property
278
277
  @pulumi.getter
279
- def json(self) -> pulumi.Output[builtins.str]:
278
+ def json(self) -> pulumi.Output[_builtins.str]:
280
279
  """
281
280
  The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
282
281
  """
283
282
  return pulumi.get(self, "json")
284
283
 
285
- @property
284
+ @_builtins.property
286
285
  @pulumi.getter
287
- def permalink(self) -> pulumi.Output[builtins.str]:
286
+ def permalink(self) -> pulumi.Output[_builtins.str]:
288
287
  """
289
288
  The URL for viewing the dashboard.
290
289
  """
291
290
  return pulumi.get(self, "permalink")
292
291
 
293
- @property
292
+ @_builtins.property
294
293
  @pulumi.getter(name="updatedAt")
295
- def updated_at(self) -> pulumi.Output[builtins.str]:
294
+ def updated_at(self) -> pulumi.Output[_builtins.str]:
296
295
  """
297
296
  The date and time when the dashboard was last updated.
298
297
  """