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
pulumi_newrelic/group.py CHANGED
@@ -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__ = ['GroupArgs', 'Group']
19
19
  @pulumi.input_type
20
20
  class GroupArgs:
21
21
  def __init__(__self__, *,
22
- authentication_domain_id: pulumi.Input[str],
23
- name: Optional[pulumi.Input[str]] = None,
24
- user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
22
+ authentication_domain_id: pulumi.Input[_builtins.str],
23
+ name: Optional[pulumi.Input[_builtins.str]] = None,
24
+ user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
25
25
  """
26
26
  The set of arguments for constructing a Group resource.
27
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
28
- :param pulumi.Input[str] name: The name of the group to be created.
29
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ids: A list of IDs of users to be included in the group to be created.
27
+ :param pulumi.Input[_builtins.str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
28
+ :param pulumi.Input[_builtins.str] name: The name of the group to be created.
29
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] user_ids: A list of IDs of users to be included in the group to be created.
30
30
 
31
31
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
32
32
 
@@ -38,33 +38,33 @@ class GroupArgs:
38
38
  if user_ids is not None:
39
39
  pulumi.set(__self__, "user_ids", user_ids)
40
40
 
41
- @property
41
+ @_builtins.property
42
42
  @pulumi.getter(name="authenticationDomainId")
43
- def authentication_domain_id(self) -> pulumi.Input[str]:
43
+ def authentication_domain_id(self) -> pulumi.Input[_builtins.str]:
44
44
  """
45
45
  The ID of the authentication domain to which the group to be created would belong.
46
46
  """
47
47
  return pulumi.get(self, "authentication_domain_id")
48
48
 
49
49
  @authentication_domain_id.setter
50
- def authentication_domain_id(self, value: pulumi.Input[str]):
50
+ def authentication_domain_id(self, value: pulumi.Input[_builtins.str]):
51
51
  pulumi.set(self, "authentication_domain_id", value)
52
52
 
53
- @property
53
+ @_builtins.property
54
54
  @pulumi.getter
55
- def name(self) -> Optional[pulumi.Input[str]]:
55
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
56
56
  """
57
57
  The name of the group to be created.
58
58
  """
59
59
  return pulumi.get(self, "name")
60
60
 
61
61
  @name.setter
62
- def name(self, value: Optional[pulumi.Input[str]]):
62
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
63
63
  pulumi.set(self, "name", value)
64
64
 
65
- @property
65
+ @_builtins.property
66
66
  @pulumi.getter(name="userIds")
67
- def user_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
67
+ def user_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
68
68
  """
69
69
  A list of IDs of users to be included in the group to be created.
70
70
 
@@ -75,21 +75,21 @@ class GroupArgs:
75
75
  return pulumi.get(self, "user_ids")
76
76
 
77
77
  @user_ids.setter
78
- def user_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
78
+ def user_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
79
79
  pulumi.set(self, "user_ids", value)
80
80
 
81
81
 
82
82
  @pulumi.input_type
83
83
  class _GroupState:
84
84
  def __init__(__self__, *,
85
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
86
- name: Optional[pulumi.Input[str]] = None,
87
- user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
85
+ authentication_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
86
+ name: Optional[pulumi.Input[_builtins.str]] = None,
87
+ user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
88
88
  """
89
89
  Input properties used for looking up and filtering Group resources.
90
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
91
- :param pulumi.Input[str] name: The name of the group to be created.
92
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ids: A list of IDs of users to be included in the group to be created.
90
+ :param pulumi.Input[_builtins.str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
91
+ :param pulumi.Input[_builtins.str] name: The name of the group to be created.
92
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] user_ids: A list of IDs of users to be included in the group to be created.
93
93
 
94
94
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
95
95
 
@@ -102,33 +102,33 @@ class _GroupState:
102
102
  if user_ids is not None:
103
103
  pulumi.set(__self__, "user_ids", user_ids)
104
104
 
105
- @property
105
+ @_builtins.property
106
106
  @pulumi.getter(name="authenticationDomainId")
107
- def authentication_domain_id(self) -> Optional[pulumi.Input[str]]:
107
+ def authentication_domain_id(self) -> Optional[pulumi.Input[_builtins.str]]:
108
108
  """
109
109
  The ID of the authentication domain to which the group to be created would belong.
110
110
  """
111
111
  return pulumi.get(self, "authentication_domain_id")
112
112
 
113
113
  @authentication_domain_id.setter
114
- def authentication_domain_id(self, value: Optional[pulumi.Input[str]]):
114
+ def authentication_domain_id(self, value: Optional[pulumi.Input[_builtins.str]]):
115
115
  pulumi.set(self, "authentication_domain_id", value)
116
116
 
117
- @property
117
+ @_builtins.property
118
118
  @pulumi.getter
119
- def name(self) -> Optional[pulumi.Input[str]]:
119
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
120
120
  """
121
121
  The name of the group to be created.
122
122
  """
123
123
  return pulumi.get(self, "name")
124
124
 
125
125
  @name.setter
126
- def name(self, value: Optional[pulumi.Input[str]]):
126
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
127
127
  pulumi.set(self, "name", value)
128
128
 
129
- @property
129
+ @_builtins.property
130
130
  @pulumi.getter(name="userIds")
131
- def user_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
131
+ def user_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
132
132
  """
133
133
  A list of IDs of users to be included in the group to be created.
134
134
 
@@ -139,18 +139,19 @@ class _GroupState:
139
139
  return pulumi.get(self, "user_ids")
140
140
 
141
141
  @user_ids.setter
142
- def user_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
142
+ def user_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
143
143
  pulumi.set(self, "user_ids", value)
144
144
 
145
145
 
146
+ @pulumi.type_token("newrelic:index/group:Group")
146
147
  class Group(pulumi.CustomResource):
147
148
  @overload
148
149
  def __init__(__self__,
149
150
  resource_name: str,
150
151
  opts: Optional[pulumi.ResourceOptions] = None,
151
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
152
- name: Optional[pulumi.Input[str]] = None,
153
- user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
152
+ authentication_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
153
+ name: Optional[pulumi.Input[_builtins.str]] = None,
154
+ user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
154
155
  __props__=None):
155
156
  """
156
157
  ## Import
@@ -163,9 +164,9 @@ class Group(pulumi.CustomResource):
163
164
 
164
165
  :param str resource_name: The name of the resource.
165
166
  :param pulumi.ResourceOptions opts: Options for the resource.
166
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
167
- :param pulumi.Input[str] name: The name of the group to be created.
168
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ids: A list of IDs of users to be included in the group to be created.
167
+ :param pulumi.Input[_builtins.str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
168
+ :param pulumi.Input[_builtins.str] name: The name of the group to be created.
169
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] user_ids: A list of IDs of users to be included in the group to be created.
169
170
 
170
171
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
171
172
 
@@ -201,9 +202,9 @@ class Group(pulumi.CustomResource):
201
202
  def _internal_init(__self__,
202
203
  resource_name: str,
203
204
  opts: Optional[pulumi.ResourceOptions] = None,
204
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
205
- name: Optional[pulumi.Input[str]] = None,
206
- user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
205
+ authentication_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
206
+ name: Optional[pulumi.Input[_builtins.str]] = None,
207
+ user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
207
208
  __props__=None):
208
209
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
209
210
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -228,9 +229,9 @@ class Group(pulumi.CustomResource):
228
229
  def get(resource_name: str,
229
230
  id: pulumi.Input[str],
230
231
  opts: Optional[pulumi.ResourceOptions] = None,
231
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
232
- name: Optional[pulumi.Input[str]] = None,
233
- user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Group':
232
+ authentication_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
233
+ name: Optional[pulumi.Input[_builtins.str]] = None,
234
+ user_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'Group':
234
235
  """
235
236
  Get an existing Group resource's state with the given name, id, and optional extra
236
237
  properties used to qualify the lookup.
@@ -238,9 +239,9 @@ class Group(pulumi.CustomResource):
238
239
  :param str resource_name: The unique name of the resulting resource.
239
240
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
240
241
  :param pulumi.ResourceOptions opts: Options for the resource.
241
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
242
- :param pulumi.Input[str] name: The name of the group to be created.
243
- :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ids: A list of IDs of users to be included in the group to be created.
242
+ :param pulumi.Input[_builtins.str] authentication_domain_id: The ID of the authentication domain to which the group to be created would belong.
243
+ :param pulumi.Input[_builtins.str] name: The name of the group to be created.
244
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] user_ids: A list of IDs of users to be included in the group to be created.
244
245
 
245
246
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
246
247
 
@@ -255,25 +256,25 @@ class Group(pulumi.CustomResource):
255
256
  __props__.__dict__["user_ids"] = user_ids
256
257
  return Group(resource_name, opts=opts, __props__=__props__)
257
258
 
258
- @property
259
+ @_builtins.property
259
260
  @pulumi.getter(name="authenticationDomainId")
260
- def authentication_domain_id(self) -> pulumi.Output[str]:
261
+ def authentication_domain_id(self) -> pulumi.Output[_builtins.str]:
261
262
  """
262
263
  The ID of the authentication domain to which the group to be created would belong.
263
264
  """
264
265
  return pulumi.get(self, "authentication_domain_id")
265
266
 
266
- @property
267
+ @_builtins.property
267
268
  @pulumi.getter
268
- def name(self) -> pulumi.Output[str]:
269
+ def name(self) -> pulumi.Output[_builtins.str]:
269
270
  """
270
271
  The name of the group to be created.
271
272
  """
272
273
  return pulumi.get(self, "name")
273
274
 
274
- @property
275
+ @_builtins.property
275
276
  @pulumi.getter(name="userIds")
276
- def user_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
277
+ def user_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
277
278
  """
278
279
  A list of IDs of users to be included in the group to be created.
279
280