pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.1__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 -0
  2. pulumi_newrelic/_inputs.py +2961 -2960
  3. pulumi_newrelic/account_management.py +29 -28
  4. pulumi_newrelic/alert_channel.py +43 -42
  5. pulumi_newrelic/alert_condition.py +176 -175
  6. pulumi_newrelic/alert_muting_rule.py +71 -70
  7. pulumi_newrelic/alert_policy.py +57 -56
  8. pulumi_newrelic/alert_policy_channel.py +43 -42
  9. pulumi_newrelic/api_access_key.py +92 -91
  10. pulumi_newrelic/browser_application.py +92 -91
  11. pulumi_newrelic/cloud/__init__.py +1 -0
  12. pulumi_newrelic/cloud/_inputs.py +1765 -1764
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
  15. pulumi_newrelic/cloud/aws_integrations.py +29 -28
  16. pulumi_newrelic/cloud/aws_link_account.py +57 -56
  17. pulumi_newrelic/cloud/azure_integrations.py +29 -28
  18. pulumi_newrelic/cloud/azure_link_account.py +85 -84
  19. pulumi_newrelic/cloud/gcp_integrations.py +29 -28
  20. pulumi_newrelic/cloud/gcp_link_account.py +45 -44
  21. pulumi_newrelic/cloud/outputs.py +1057 -1056
  22. pulumi_newrelic/config/__init__.py +1 -0
  23. pulumi_newrelic/config/__init__.pyi +1 -0
  24. pulumi_newrelic/config/vars.py +1 -0
  25. pulumi_newrelic/data_partition_rule.py +92 -91
  26. pulumi_newrelic/entity_tags.py +15 -14
  27. pulumi_newrelic/events_to_metrics_rule.py +78 -77
  28. pulumi_newrelic/get_account.py +17 -16
  29. pulumi_newrelic/get_alert_channel.py +14 -13
  30. pulumi_newrelic/get_alert_policy.py +19 -18
  31. pulumi_newrelic/get_application.py +9 -8
  32. pulumi_newrelic/get_authentication_domain.py +7 -6
  33. pulumi_newrelic/get_cloud_account.py +17 -16
  34. pulumi_newrelic/get_entity.py +40 -39
  35. pulumi_newrelic/get_group.py +13 -12
  36. pulumi_newrelic/get_key_transaction.py +19 -18
  37. pulumi_newrelic/get_notification_destination.py +20 -19
  38. pulumi_newrelic/get_obfuscation_expression.py +12 -11
  39. pulumi_newrelic/get_service_level_alert_helper.py +41 -40
  40. pulumi_newrelic/get_test_grok_pattern.py +17 -16
  41. pulumi_newrelic/get_user.py +17 -16
  42. pulumi_newrelic/group.py +43 -42
  43. pulumi_newrelic/infra_alert_condition.py +204 -203
  44. pulumi_newrelic/insights/__init__.py +1 -0
  45. pulumi_newrelic/insights/_inputs.py +26 -25
  46. pulumi_newrelic/insights/event.py +1 -0
  47. pulumi_newrelic/insights/outputs.py +16 -15
  48. pulumi_newrelic/key_transaction.py +85 -84
  49. pulumi_newrelic/log_parsing_rule.py +120 -119
  50. pulumi_newrelic/monitor_downtime.py +113 -112
  51. pulumi_newrelic/notification_channel.py +92 -91
  52. pulumi_newrelic/notification_destination.py +78 -77
  53. pulumi_newrelic/nrql_alert_condition.py +330 -329
  54. pulumi_newrelic/nrql_drop_rule.py +64 -63
  55. pulumi_newrelic/obfuscation_expression.py +57 -56
  56. pulumi_newrelic/obfuscation_rule.py +71 -70
  57. pulumi_newrelic/one_dashboard.py +71 -70
  58. pulumi_newrelic/one_dashboard_json.py +50 -49
  59. pulumi_newrelic/one_dashboard_raw.py +71 -70
  60. pulumi_newrelic/outputs.py +1831 -1830
  61. pulumi_newrelic/plugins/__init__.py +1 -0
  62. pulumi_newrelic/plugins/_inputs.py +126 -125
  63. pulumi_newrelic/plugins/application_settings.py +132 -131
  64. pulumi_newrelic/plugins/outputs.py +76 -75
  65. pulumi_newrelic/plugins/workload.py +99 -98
  66. pulumi_newrelic/provider.py +80 -79
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +57 -56
  69. pulumi_newrelic/synthetics/__init__.py +1 -0
  70. pulumi_newrelic/synthetics/_inputs.py +106 -105
  71. pulumi_newrelic/synthetics/alert_condition.py +78 -77
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
  74. pulumi_newrelic/synthetics/get_private_location.py +17 -16
  75. pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
  76. pulumi_newrelic/synthetics/monitor.py +326 -297
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
  78. pulumi_newrelic/synthetics/outputs.py +64 -63
  79. pulumi_newrelic/synthetics/private_location.py +85 -84
  80. pulumi_newrelic/synthetics/script_monitor.py +263 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +193 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/top_level.txt +0 -0
pulumi_newrelic/user.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,16 +20,16 @@ __all__ = ['UserArgs', 'User']
19
20
  @pulumi.input_type
20
21
  class UserArgs:
21
22
  def __init__(__self__, *,
22
- authentication_domain_id: pulumi.Input[str],
23
- email_id: pulumi.Input[str],
24
- name: Optional[pulumi.Input[str]] = None,
25
- user_type: Optional[pulumi.Input[str]] = None):
23
+ authentication_domain_id: pulumi.Input[builtins.str],
24
+ email_id: pulumi.Input[builtins.str],
25
+ name: Optional[pulumi.Input[builtins.str]] = None,
26
+ user_type: Optional[pulumi.Input[builtins.str]] = None):
26
27
  """
27
28
  The set of arguments for constructing a User resource.
28
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
29
- :param pulumi.Input[str] email_id: The email ID of the user to be created.
30
- :param pulumi.Input[str] name: The name of the user to be created.
31
- :param pulumi.Input[str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
29
+ :param pulumi.Input[builtins.str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
30
+ :param pulumi.Input[builtins.str] email_id: The email ID of the user to be created.
31
+ :param pulumi.Input[builtins.str] name: The name of the user to be created.
32
+ :param pulumi.Input[builtins.str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
32
33
 
33
34
  > **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.
34
35
 
@@ -43,43 +44,43 @@ class UserArgs:
43
44
 
44
45
  @property
45
46
  @pulumi.getter(name="authenticationDomainId")
46
- def authentication_domain_id(self) -> pulumi.Input[str]:
47
+ def authentication_domain_id(self) -> pulumi.Input[builtins.str]:
47
48
  """
48
49
  The ID of the authentication domain to which the user to be created would belong.
49
50
  """
50
51
  return pulumi.get(self, "authentication_domain_id")
51
52
 
52
53
  @authentication_domain_id.setter
53
- def authentication_domain_id(self, value: pulumi.Input[str]):
54
+ def authentication_domain_id(self, value: pulumi.Input[builtins.str]):
54
55
  pulumi.set(self, "authentication_domain_id", value)
55
56
 
56
57
  @property
57
58
  @pulumi.getter(name="emailId")
58
- def email_id(self) -> pulumi.Input[str]:
59
+ def email_id(self) -> pulumi.Input[builtins.str]:
59
60
  """
60
61
  The email ID of the user to be created.
61
62
  """
62
63
  return pulumi.get(self, "email_id")
63
64
 
64
65
  @email_id.setter
65
- def email_id(self, value: pulumi.Input[str]):
66
+ def email_id(self, value: pulumi.Input[builtins.str]):
66
67
  pulumi.set(self, "email_id", value)
67
68
 
68
69
  @property
69
70
  @pulumi.getter
70
- def name(self) -> Optional[pulumi.Input[str]]:
71
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
71
72
  """
72
73
  The name of the user to be created.
73
74
  """
74
75
  return pulumi.get(self, "name")
75
76
 
76
77
  @name.setter
77
- def name(self, value: Optional[pulumi.Input[str]]):
78
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
78
79
  pulumi.set(self, "name", value)
79
80
 
80
81
  @property
81
82
  @pulumi.getter(name="userType")
82
- def user_type(self) -> Optional[pulumi.Input[str]]:
83
+ def user_type(self) -> Optional[pulumi.Input[builtins.str]]:
83
84
  """
84
85
  The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
85
86
 
@@ -90,23 +91,23 @@ class UserArgs:
90
91
  return pulumi.get(self, "user_type")
91
92
 
92
93
  @user_type.setter
93
- def user_type(self, value: Optional[pulumi.Input[str]]):
94
+ def user_type(self, value: Optional[pulumi.Input[builtins.str]]):
94
95
  pulumi.set(self, "user_type", value)
95
96
 
96
97
 
97
98
  @pulumi.input_type
98
99
  class _UserState:
99
100
  def __init__(__self__, *,
100
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
101
- email_id: Optional[pulumi.Input[str]] = None,
102
- name: Optional[pulumi.Input[str]] = None,
103
- user_type: Optional[pulumi.Input[str]] = None):
101
+ authentication_domain_id: Optional[pulumi.Input[builtins.str]] = None,
102
+ email_id: Optional[pulumi.Input[builtins.str]] = None,
103
+ name: Optional[pulumi.Input[builtins.str]] = None,
104
+ user_type: Optional[pulumi.Input[builtins.str]] = None):
104
105
  """
105
106
  Input properties used for looking up and filtering User resources.
106
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
107
- :param pulumi.Input[str] email_id: The email ID of the user to be created.
108
- :param pulumi.Input[str] name: The name of the user to be created.
109
- :param pulumi.Input[str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
107
+ :param pulumi.Input[builtins.str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
108
+ :param pulumi.Input[builtins.str] email_id: The email ID of the user to be created.
109
+ :param pulumi.Input[builtins.str] name: The name of the user to be created.
110
+ :param pulumi.Input[builtins.str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
110
111
 
111
112
  > **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.
112
113
 
@@ -123,43 +124,43 @@ class _UserState:
123
124
 
124
125
  @property
125
126
  @pulumi.getter(name="authenticationDomainId")
126
- def authentication_domain_id(self) -> Optional[pulumi.Input[str]]:
127
+ def authentication_domain_id(self) -> Optional[pulumi.Input[builtins.str]]:
127
128
  """
128
129
  The ID of the authentication domain to which the user to be created would belong.
129
130
  """
130
131
  return pulumi.get(self, "authentication_domain_id")
131
132
 
132
133
  @authentication_domain_id.setter
133
- def authentication_domain_id(self, value: Optional[pulumi.Input[str]]):
134
+ def authentication_domain_id(self, value: Optional[pulumi.Input[builtins.str]]):
134
135
  pulumi.set(self, "authentication_domain_id", value)
135
136
 
136
137
  @property
137
138
  @pulumi.getter(name="emailId")
138
- def email_id(self) -> Optional[pulumi.Input[str]]:
139
+ def email_id(self) -> Optional[pulumi.Input[builtins.str]]:
139
140
  """
140
141
  The email ID of the user to be created.
141
142
  """
142
143
  return pulumi.get(self, "email_id")
143
144
 
144
145
  @email_id.setter
145
- def email_id(self, value: Optional[pulumi.Input[str]]):
146
+ def email_id(self, value: Optional[pulumi.Input[builtins.str]]):
146
147
  pulumi.set(self, "email_id", value)
147
148
 
148
149
  @property
149
150
  @pulumi.getter
150
- def name(self) -> Optional[pulumi.Input[str]]:
151
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
151
152
  """
152
153
  The name of the user to be created.
153
154
  """
154
155
  return pulumi.get(self, "name")
155
156
 
156
157
  @name.setter
157
- def name(self, value: Optional[pulumi.Input[str]]):
158
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
158
159
  pulumi.set(self, "name", value)
159
160
 
160
161
  @property
161
162
  @pulumi.getter(name="userType")
162
- def user_type(self) -> Optional[pulumi.Input[str]]:
163
+ def user_type(self) -> Optional[pulumi.Input[builtins.str]]:
163
164
  """
164
165
  The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
165
166
 
@@ -170,7 +171,7 @@ class _UserState:
170
171
  return pulumi.get(self, "user_type")
171
172
 
172
173
  @user_type.setter
173
- def user_type(self, value: Optional[pulumi.Input[str]]):
174
+ def user_type(self, value: Optional[pulumi.Input[builtins.str]]):
174
175
  pulumi.set(self, "user_type", value)
175
176
 
176
177
 
@@ -179,10 +180,10 @@ class User(pulumi.CustomResource):
179
180
  def __init__(__self__,
180
181
  resource_name: str,
181
182
  opts: Optional[pulumi.ResourceOptions] = None,
182
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
183
- email_id: Optional[pulumi.Input[str]] = None,
184
- name: Optional[pulumi.Input[str]] = None,
185
- user_type: Optional[pulumi.Input[str]] = None,
183
+ authentication_domain_id: Optional[pulumi.Input[builtins.str]] = None,
184
+ email_id: Optional[pulumi.Input[builtins.str]] = None,
185
+ name: Optional[pulumi.Input[builtins.str]] = None,
186
+ user_type: Optional[pulumi.Input[builtins.str]] = None,
186
187
  __props__=None):
187
188
  """
188
189
  The `User` resource may be used to create, update and delete users in New Relic.
@@ -211,10 +212,10 @@ class User(pulumi.CustomResource):
211
212
 
212
213
  :param str resource_name: The name of the resource.
213
214
  :param pulumi.ResourceOptions opts: Options for the resource.
214
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
215
- :param pulumi.Input[str] email_id: The email ID of the user to be created.
216
- :param pulumi.Input[str] name: The name of the user to be created.
217
- :param pulumi.Input[str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
215
+ :param pulumi.Input[builtins.str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
216
+ :param pulumi.Input[builtins.str] email_id: The email ID of the user to be created.
217
+ :param pulumi.Input[builtins.str] name: The name of the user to be created.
218
+ :param pulumi.Input[builtins.str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
218
219
 
219
220
  > **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.
220
221
 
@@ -266,10 +267,10 @@ class User(pulumi.CustomResource):
266
267
  def _internal_init(__self__,
267
268
  resource_name: str,
268
269
  opts: Optional[pulumi.ResourceOptions] = None,
269
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
270
- email_id: Optional[pulumi.Input[str]] = None,
271
- name: Optional[pulumi.Input[str]] = None,
272
- user_type: Optional[pulumi.Input[str]] = None,
270
+ authentication_domain_id: Optional[pulumi.Input[builtins.str]] = None,
271
+ email_id: Optional[pulumi.Input[builtins.str]] = None,
272
+ name: Optional[pulumi.Input[builtins.str]] = None,
273
+ user_type: Optional[pulumi.Input[builtins.str]] = None,
273
274
  __props__=None):
274
275
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
275
276
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -297,10 +298,10 @@ class User(pulumi.CustomResource):
297
298
  def get(resource_name: str,
298
299
  id: pulumi.Input[str],
299
300
  opts: Optional[pulumi.ResourceOptions] = None,
300
- authentication_domain_id: Optional[pulumi.Input[str]] = None,
301
- email_id: Optional[pulumi.Input[str]] = None,
302
- name: Optional[pulumi.Input[str]] = None,
303
- user_type: Optional[pulumi.Input[str]] = None) -> 'User':
301
+ authentication_domain_id: Optional[pulumi.Input[builtins.str]] = None,
302
+ email_id: Optional[pulumi.Input[builtins.str]] = None,
303
+ name: Optional[pulumi.Input[builtins.str]] = None,
304
+ user_type: Optional[pulumi.Input[builtins.str]] = None) -> 'User':
304
305
  """
305
306
  Get an existing User resource's state with the given name, id, and optional extra
306
307
  properties used to qualify the lookup.
@@ -308,10 +309,10 @@ class User(pulumi.CustomResource):
308
309
  :param str resource_name: The unique name of the resulting resource.
309
310
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
310
311
  :param pulumi.ResourceOptions opts: Options for the resource.
311
- :param pulumi.Input[str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
312
- :param pulumi.Input[str] email_id: The email ID of the user to be created.
313
- :param pulumi.Input[str] name: The name of the user to be created.
314
- :param pulumi.Input[str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
312
+ :param pulumi.Input[builtins.str] authentication_domain_id: The ID of the authentication domain to which the user to be created would belong.
313
+ :param pulumi.Input[builtins.str] email_id: The email ID of the user to be created.
314
+ :param pulumi.Input[builtins.str] name: The name of the user to be created.
315
+ :param pulumi.Input[builtins.str] user_type: The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
315
316
 
316
317
  > **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.
317
318
 
@@ -329,7 +330,7 @@ class User(pulumi.CustomResource):
329
330
 
330
331
  @property
331
332
  @pulumi.getter(name="authenticationDomainId")
332
- def authentication_domain_id(self) -> pulumi.Output[str]:
333
+ def authentication_domain_id(self) -> pulumi.Output[builtins.str]:
333
334
  """
334
335
  The ID of the authentication domain to which the user to be created would belong.
335
336
  """
@@ -337,7 +338,7 @@ class User(pulumi.CustomResource):
337
338
 
338
339
  @property
339
340
  @pulumi.getter(name="emailId")
340
- def email_id(self) -> pulumi.Output[str]:
341
+ def email_id(self) -> pulumi.Output[builtins.str]:
341
342
  """
342
343
  The email ID of the user to be created.
343
344
  """
@@ -345,7 +346,7 @@ class User(pulumi.CustomResource):
345
346
 
346
347
  @property
347
348
  @pulumi.getter
348
- def name(self) -> pulumi.Output[str]:
349
+ def name(self) -> pulumi.Output[builtins.str]:
349
350
  """
350
351
  The name of the user to be created.
351
352
  """
@@ -353,7 +354,7 @@ class User(pulumi.CustomResource):
353
354
 
354
355
  @property
355
356
  @pulumi.getter(name="userType")
356
- def user_type(self) -> pulumi.Output[Optional[str]]:
357
+ def user_type(self) -> pulumi.Output[Optional[builtins.str]]:
357
358
  """
358
359
  The tier to which the user to be created would belong. Accepted values for this argument are `BASIC_USER_TIER`, `CORE_USER_TIER`, or `FULL_USER_TIER`. If not specified in the configuration, the argument would default to `BASIC_USER_TIER`.
359
360