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,14 +19,14 @@ __all__ = ['GcpLinkAccountArgs', 'GcpLinkAccount']
19
19
  @pulumi.input_type
20
20
  class GcpLinkAccountArgs:
21
21
  def __init__(__self__, *,
22
- project_id: pulumi.Input[str],
23
- account_id: Optional[pulumi.Input[str]] = None,
24
- name: Optional[pulumi.Input[str]] = None):
22
+ project_id: pulumi.Input[_builtins.str],
23
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
24
+ name: Optional[pulumi.Input[_builtins.str]] = None):
25
25
  """
26
26
  The set of arguments for constructing a GcpLinkAccount resource.
27
- :param pulumi.Input[str] project_id: Project ID of the GCP account.
28
- :param pulumi.Input[str] account_id: Account ID of the New Relic account.
29
- :param pulumi.Input[str] name: name of the linked account
27
+ :param pulumi.Input[_builtins.str] project_id: Project ID of the GCP account.
28
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic account.
29
+ :param pulumi.Input[_builtins.str] name: name of the linked account
30
30
  """
31
31
  pulumi.set(__self__, "project_id", project_id)
32
32
  if account_id is not None:
@@ -34,54 +34,54 @@ class GcpLinkAccountArgs:
34
34
  if name is not None:
35
35
  pulumi.set(__self__, "name", name)
36
36
 
37
- @property
37
+ @_builtins.property
38
38
  @pulumi.getter(name="projectId")
39
- def project_id(self) -> pulumi.Input[str]:
39
+ def project_id(self) -> pulumi.Input[_builtins.str]:
40
40
  """
41
41
  Project ID of the GCP account.
42
42
  """
43
43
  return pulumi.get(self, "project_id")
44
44
 
45
45
  @project_id.setter
46
- def project_id(self, value: pulumi.Input[str]):
46
+ def project_id(self, value: pulumi.Input[_builtins.str]):
47
47
  pulumi.set(self, "project_id", value)
48
48
 
49
- @property
49
+ @_builtins.property
50
50
  @pulumi.getter(name="accountId")
51
- def account_id(self) -> Optional[pulumi.Input[str]]:
51
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
52
52
  """
53
53
  Account ID of the New Relic account.
54
54
  """
55
55
  return pulumi.get(self, "account_id")
56
56
 
57
57
  @account_id.setter
58
- def account_id(self, value: Optional[pulumi.Input[str]]):
58
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
59
59
  pulumi.set(self, "account_id", value)
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter
63
- def name(self) -> Optional[pulumi.Input[str]]:
63
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
64
64
  """
65
65
  name of the linked account
66
66
  """
67
67
  return pulumi.get(self, "name")
68
68
 
69
69
  @name.setter
70
- def name(self, value: Optional[pulumi.Input[str]]):
70
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
71
71
  pulumi.set(self, "name", value)
72
72
 
73
73
 
74
74
  @pulumi.input_type
75
75
  class _GcpLinkAccountState:
76
76
  def __init__(__self__, *,
77
- account_id: Optional[pulumi.Input[str]] = None,
78
- name: Optional[pulumi.Input[str]] = None,
79
- project_id: Optional[pulumi.Input[str]] = None):
77
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
78
+ name: Optional[pulumi.Input[_builtins.str]] = None,
79
+ project_id: Optional[pulumi.Input[_builtins.str]] = None):
80
80
  """
81
81
  Input properties used for looking up and filtering GcpLinkAccount resources.
82
- :param pulumi.Input[str] account_id: Account ID of the New Relic account.
83
- :param pulumi.Input[str] name: name of the linked account
84
- :param pulumi.Input[str] project_id: Project ID of the GCP account.
82
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic account.
83
+ :param pulumi.Input[_builtins.str] name: name of the linked account
84
+ :param pulumi.Input[_builtins.str] project_id: Project ID of the GCP account.
85
85
  """
86
86
  if account_id is not None:
87
87
  pulumi.set(__self__, "account_id", account_id)
@@ -90,51 +90,52 @@ class _GcpLinkAccountState:
90
90
  if project_id is not None:
91
91
  pulumi.set(__self__, "project_id", project_id)
92
92
 
93
- @property
93
+ @_builtins.property
94
94
  @pulumi.getter(name="accountId")
95
- def account_id(self) -> Optional[pulumi.Input[str]]:
95
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
96
96
  """
97
97
  Account ID of the New Relic account.
98
98
  """
99
99
  return pulumi.get(self, "account_id")
100
100
 
101
101
  @account_id.setter
102
- def account_id(self, value: Optional[pulumi.Input[str]]):
102
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
103
103
  pulumi.set(self, "account_id", value)
104
104
 
105
- @property
105
+ @_builtins.property
106
106
  @pulumi.getter
107
- def name(self) -> Optional[pulumi.Input[str]]:
107
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
108
108
  """
109
109
  name of the linked account
110
110
  """
111
111
  return pulumi.get(self, "name")
112
112
 
113
113
  @name.setter
114
- def name(self, value: Optional[pulumi.Input[str]]):
114
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
115
115
  pulumi.set(self, "name", value)
116
116
 
117
- @property
117
+ @_builtins.property
118
118
  @pulumi.getter(name="projectId")
119
- def project_id(self) -> Optional[pulumi.Input[str]]:
119
+ def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
120
120
  """
121
121
  Project ID of the GCP account.
122
122
  """
123
123
  return pulumi.get(self, "project_id")
124
124
 
125
125
  @project_id.setter
126
- def project_id(self, value: Optional[pulumi.Input[str]]):
126
+ def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
127
127
  pulumi.set(self, "project_id", value)
128
128
 
129
129
 
130
+ @pulumi.type_token("newrelic:cloud/gcpLinkAccount:GcpLinkAccount")
130
131
  class GcpLinkAccount(pulumi.CustomResource):
131
132
  @overload
132
133
  def __init__(__self__,
133
134
  resource_name: str,
134
135
  opts: Optional[pulumi.ResourceOptions] = None,
135
- account_id: Optional[pulumi.Input[str]] = None,
136
- name: Optional[pulumi.Input[str]] = None,
137
- project_id: Optional[pulumi.Input[str]] = None,
136
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
137
+ name: Optional[pulumi.Input[_builtins.str]] = None,
138
+ project_id: Optional[pulumi.Input[_builtins.str]] = None,
138
139
  __props__=None):
139
140
  """
140
141
  Use this resource to link a GCP account to New Relic.
@@ -172,14 +173,14 @@ class GcpLinkAccount(pulumi.CustomResource):
172
173
  bash
173
174
 
174
175
  ```sh
175
- $ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
176
+ $ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
176
177
  ```
177
178
 
178
179
  :param str resource_name: The name of the resource.
179
180
  :param pulumi.ResourceOptions opts: Options for the resource.
180
- :param pulumi.Input[str] account_id: Account ID of the New Relic account.
181
- :param pulumi.Input[str] name: name of the linked account
182
- :param pulumi.Input[str] project_id: Project ID of the GCP account.
181
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic account.
182
+ :param pulumi.Input[_builtins.str] name: name of the linked account
183
+ :param pulumi.Input[_builtins.str] project_id: Project ID of the GCP account.
183
184
  """
184
185
  ...
185
186
  @overload
@@ -223,7 +224,7 @@ class GcpLinkAccount(pulumi.CustomResource):
223
224
  bash
224
225
 
225
226
  ```sh
226
- $ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
227
+ $ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
227
228
  ```
228
229
 
229
230
  :param str resource_name: The name of the resource.
@@ -241,9 +242,9 @@ class GcpLinkAccount(pulumi.CustomResource):
241
242
  def _internal_init(__self__,
242
243
  resource_name: str,
243
244
  opts: Optional[pulumi.ResourceOptions] = None,
244
- account_id: Optional[pulumi.Input[str]] = None,
245
- name: Optional[pulumi.Input[str]] = None,
246
- project_id: Optional[pulumi.Input[str]] = None,
245
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
246
+ name: Optional[pulumi.Input[_builtins.str]] = None,
247
+ project_id: Optional[pulumi.Input[_builtins.str]] = None,
247
248
  __props__=None):
248
249
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
249
250
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -268,9 +269,9 @@ class GcpLinkAccount(pulumi.CustomResource):
268
269
  def get(resource_name: str,
269
270
  id: pulumi.Input[str],
270
271
  opts: Optional[pulumi.ResourceOptions] = None,
271
- account_id: Optional[pulumi.Input[str]] = None,
272
- name: Optional[pulumi.Input[str]] = None,
273
- project_id: Optional[pulumi.Input[str]] = None) -> 'GcpLinkAccount':
272
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
273
+ name: Optional[pulumi.Input[_builtins.str]] = None,
274
+ project_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'GcpLinkAccount':
274
275
  """
275
276
  Get an existing GcpLinkAccount resource's state with the given name, id, and optional extra
276
277
  properties used to qualify the lookup.
@@ -278,9 +279,9 @@ class GcpLinkAccount(pulumi.CustomResource):
278
279
  :param str resource_name: The unique name of the resulting resource.
279
280
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
280
281
  :param pulumi.ResourceOptions opts: Options for the resource.
281
- :param pulumi.Input[str] account_id: Account ID of the New Relic account.
282
- :param pulumi.Input[str] name: name of the linked account
283
- :param pulumi.Input[str] project_id: Project ID of the GCP account.
282
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the New Relic account.
283
+ :param pulumi.Input[_builtins.str] name: name of the linked account
284
+ :param pulumi.Input[_builtins.str] project_id: Project ID of the GCP account.
284
285
  """
285
286
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
286
287
 
@@ -291,25 +292,25 @@ class GcpLinkAccount(pulumi.CustomResource):
291
292
  __props__.__dict__["project_id"] = project_id
292
293
  return GcpLinkAccount(resource_name, opts=opts, __props__=__props__)
293
294
 
294
- @property
295
+ @_builtins.property
295
296
  @pulumi.getter(name="accountId")
296
- def account_id(self) -> pulumi.Output[str]:
297
+ def account_id(self) -> pulumi.Output[_builtins.str]:
297
298
  """
298
299
  Account ID of the New Relic account.
299
300
  """
300
301
  return pulumi.get(self, "account_id")
301
302
 
302
- @property
303
+ @_builtins.property
303
304
  @pulumi.getter
304
- def name(self) -> pulumi.Output[str]:
305
+ def name(self) -> pulumi.Output[_builtins.str]:
305
306
  """
306
307
  name of the linked account
307
308
  """
308
309
  return pulumi.get(self, "name")
309
310
 
310
- @property
311
+ @_builtins.property
311
312
  @pulumi.getter(name="projectId")
312
- def project_id(self) -> pulumi.Output[str]:
313
+ def project_id(self) -> pulumi.Output[_builtins.str]:
313
314
  """
314
315
  Project ID of the GCP account.
315
316
  """