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
@@ -19,57 +19,57 @@ __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
19
19
  @pulumi.input_type
20
20
  class OneDashboardJsonArgs:
21
21
  def __init__(__self__, *,
22
- json: pulumi.Input[str],
23
- account_id: Optional[pulumi.Input[str]] = None):
22
+ json: pulumi.Input[_builtins.str],
23
+ account_id: Optional[pulumi.Input[_builtins.str]] = None):
24
24
  """
25
25
  The set of arguments for constructing a OneDashboardJson resource.
26
- :param pulumi.Input[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[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.
28
28
  """
29
29
  pulumi.set(__self__, "json", json)
30
30
  if account_id is not None:
31
31
  pulumi.set(__self__, "account_id", account_id)
32
32
 
33
- @property
33
+ @_builtins.property
34
34
  @pulumi.getter
35
- def json(self) -> pulumi.Input[str]:
35
+ def json(self) -> pulumi.Input[_builtins.str]:
36
36
  """
37
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)
38
38
  """
39
39
  return pulumi.get(self, "json")
40
40
 
41
41
  @json.setter
42
- def json(self, value: pulumi.Input[str]):
42
+ def json(self, value: pulumi.Input[_builtins.str]):
43
43
  pulumi.set(self, "json", value)
44
44
 
45
- @property
45
+ @_builtins.property
46
46
  @pulumi.getter(name="accountId")
47
- def account_id(self) -> Optional[pulumi.Input[str]]:
47
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
48
48
  """
49
49
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
50
50
  """
51
51
  return pulumi.get(self, "account_id")
52
52
 
53
53
  @account_id.setter
54
- def account_id(self, value: Optional[pulumi.Input[str]]):
54
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
55
55
  pulumi.set(self, "account_id", value)
56
56
 
57
57
 
58
58
  @pulumi.input_type
59
59
  class _OneDashboardJsonState:
60
60
  def __init__(__self__, *,
61
- account_id: Optional[pulumi.Input[str]] = None,
62
- guid: Optional[pulumi.Input[str]] = None,
63
- json: Optional[pulumi.Input[str]] = None,
64
- permalink: Optional[pulumi.Input[str]] = None,
65
- updated_at: Optional[pulumi.Input[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):
66
66
  """
67
67
  Input properties used for looking up and filtering OneDashboardJson resources.
68
- :param pulumi.Input[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[str] guid: The unique entity identifier of the dashboard in New Relic.
70
- :param pulumi.Input[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[str] permalink: The URL for viewing the dashboard.
72
- :param pulumi.Input[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.
73
73
  """
74
74
  if account_id is not None:
75
75
  pulumi.set(__self__, "account_id", account_id)
@@ -82,74 +82,75 @@ class _OneDashboardJsonState:
82
82
  if updated_at is not None:
83
83
  pulumi.set(__self__, "updated_at", updated_at)
84
84
 
85
- @property
85
+ @_builtins.property
86
86
  @pulumi.getter(name="accountId")
87
- def account_id(self) -> Optional[pulumi.Input[str]]:
87
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
88
88
  """
89
89
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
90
90
  """
91
91
  return pulumi.get(self, "account_id")
92
92
 
93
93
  @account_id.setter
94
- def account_id(self, value: Optional[pulumi.Input[str]]):
94
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
95
95
  pulumi.set(self, "account_id", value)
96
96
 
97
- @property
97
+ @_builtins.property
98
98
  @pulumi.getter
99
- def guid(self) -> Optional[pulumi.Input[str]]:
99
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
100
100
  """
101
101
  The unique entity identifier of the dashboard in New Relic.
102
102
  """
103
103
  return pulumi.get(self, "guid")
104
104
 
105
105
  @guid.setter
106
- def guid(self, value: Optional[pulumi.Input[str]]):
106
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
107
107
  pulumi.set(self, "guid", value)
108
108
 
109
- @property
109
+ @_builtins.property
110
110
  @pulumi.getter
111
- def json(self) -> Optional[pulumi.Input[str]]:
111
+ def json(self) -> Optional[pulumi.Input[_builtins.str]]:
112
112
  """
113
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)
114
114
  """
115
115
  return pulumi.get(self, "json")
116
116
 
117
117
  @json.setter
118
- def json(self, value: Optional[pulumi.Input[str]]):
118
+ def json(self, value: Optional[pulumi.Input[_builtins.str]]):
119
119
  pulumi.set(self, "json", value)
120
120
 
121
- @property
121
+ @_builtins.property
122
122
  @pulumi.getter
123
- def permalink(self) -> Optional[pulumi.Input[str]]:
123
+ def permalink(self) -> Optional[pulumi.Input[_builtins.str]]:
124
124
  """
125
125
  The URL for viewing the dashboard.
126
126
  """
127
127
  return pulumi.get(self, "permalink")
128
128
 
129
129
  @permalink.setter
130
- def permalink(self, value: Optional[pulumi.Input[str]]):
130
+ def permalink(self, value: Optional[pulumi.Input[_builtins.str]]):
131
131
  pulumi.set(self, "permalink", value)
132
132
 
133
- @property
133
+ @_builtins.property
134
134
  @pulumi.getter(name="updatedAt")
135
- def updated_at(self) -> Optional[pulumi.Input[str]]:
135
+ def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
136
136
  """
137
137
  The date and time when the dashboard was last updated.
138
138
  """
139
139
  return pulumi.get(self, "updated_at")
140
140
 
141
141
  @updated_at.setter
142
- def updated_at(self, value: Optional[pulumi.Input[str]]):
142
+ def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
143
143
  pulumi.set(self, "updated_at", value)
144
144
 
145
145
 
146
+ @pulumi.type_token("newrelic:index/oneDashboardJson:OneDashboardJson")
146
147
  class OneDashboardJson(pulumi.CustomResource):
147
148
  @overload
148
149
  def __init__(__self__,
149
150
  resource_name: str,
150
151
  opts: Optional[pulumi.ResourceOptions] = None,
151
- account_id: Optional[pulumi.Input[str]] = None,
152
- json: Optional[pulumi.Input[str]] = None,
152
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
153
+ json: Optional[pulumi.Input[_builtins.str]] = None,
153
154
  __props__=None):
154
155
  """
155
156
  ## Import
@@ -164,8 +165,8 @@ class OneDashboardJson(pulumi.CustomResource):
164
165
 
165
166
  :param str resource_name: The name of the resource.
166
167
  :param pulumi.ResourceOptions opts: Options for the resource.
167
- :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
168
- :param pulumi.Input[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)
169
170
  """
170
171
  ...
171
172
  @overload
@@ -199,8 +200,8 @@ class OneDashboardJson(pulumi.CustomResource):
199
200
  def _internal_init(__self__,
200
201
  resource_name: str,
201
202
  opts: Optional[pulumi.ResourceOptions] = None,
202
- account_id: Optional[pulumi.Input[str]] = None,
203
- json: Optional[pulumi.Input[str]] = None,
203
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
204
+ json: Optional[pulumi.Input[_builtins.str]] = None,
204
205
  __props__=None):
205
206
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
206
207
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -227,11 +228,11 @@ class OneDashboardJson(pulumi.CustomResource):
227
228
  def get(resource_name: str,
228
229
  id: pulumi.Input[str],
229
230
  opts: Optional[pulumi.ResourceOptions] = None,
230
- account_id: Optional[pulumi.Input[str]] = None,
231
- guid: Optional[pulumi.Input[str]] = None,
232
- json: Optional[pulumi.Input[str]] = None,
233
- permalink: Optional[pulumi.Input[str]] = None,
234
- updated_at: Optional[pulumi.Input[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':
235
236
  """
236
237
  Get an existing OneDashboardJson resource's state with the given name, id, and optional extra
237
238
  properties used to qualify the lookup.
@@ -239,11 +240,11 @@ class OneDashboardJson(pulumi.CustomResource):
239
240
  :param str resource_name: The unique name of the resulting resource.
240
241
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
241
242
  :param pulumi.ResourceOptions opts: Options for the resource.
242
- :param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
243
- :param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
244
- :param pulumi.Input[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)
245
- :param pulumi.Input[str] permalink: The URL for viewing the dashboard.
246
- :param pulumi.Input[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.
247
248
  """
248
249
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
249
250
 
@@ -256,41 +257,41 @@ class OneDashboardJson(pulumi.CustomResource):
256
257
  __props__.__dict__["updated_at"] = updated_at
257
258
  return OneDashboardJson(resource_name, opts=opts, __props__=__props__)
258
259
 
259
- @property
260
+ @_builtins.property
260
261
  @pulumi.getter(name="accountId")
261
- def account_id(self) -> pulumi.Output[str]:
262
+ def account_id(self) -> pulumi.Output[_builtins.str]:
262
263
  """
263
264
  Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
264
265
  """
265
266
  return pulumi.get(self, "account_id")
266
267
 
267
- @property
268
+ @_builtins.property
268
269
  @pulumi.getter
269
- def guid(self) -> pulumi.Output[str]:
270
+ def guid(self) -> pulumi.Output[_builtins.str]:
270
271
  """
271
272
  The unique entity identifier of the dashboard in New Relic.
272
273
  """
273
274
  return pulumi.get(self, "guid")
274
275
 
275
- @property
276
+ @_builtins.property
276
277
  @pulumi.getter
277
- def json(self) -> pulumi.Output[str]:
278
+ def json(self) -> pulumi.Output[_builtins.str]:
278
279
  """
279
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)
280
281
  """
281
282
  return pulumi.get(self, "json")
282
283
 
283
- @property
284
+ @_builtins.property
284
285
  @pulumi.getter
285
- def permalink(self) -> pulumi.Output[str]:
286
+ def permalink(self) -> pulumi.Output[_builtins.str]:
286
287
  """
287
288
  The URL for viewing the dashboard.
288
289
  """
289
290
  return pulumi.get(self, "permalink")
290
291
 
291
- @property
292
+ @_builtins.property
292
293
  @pulumi.getter(name="updatedAt")
293
- def updated_at(self) -> pulumi.Output[str]:
294
+ def updated_at(self) -> pulumi.Output[_builtins.str]:
294
295
  """
295
296
  The date and time when the dashboard was last updated.
296
297
  """