pulumi-newrelic 5.16.0a1698964311__py3-none-any.whl → 5.58.0a1763707205__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.

Potentially problematic release.


This version of pulumi-newrelic might be problematic. Click here for more details.

Files changed (92) hide show
  1. pulumi_newrelic/__init__.py +58 -1
  2. pulumi_newrelic/_inputs.py +10772 -2775
  3. pulumi_newrelic/_utilities.py +92 -11
  4. pulumi_newrelic/account_management.py +56 -42
  5. pulumi_newrelic/alert_channel.py +177 -151
  6. pulumi_newrelic/alert_condition.py +313 -301
  7. pulumi_newrelic/alert_muting_rule.py +195 -138
  8. pulumi_newrelic/alert_policy.py +157 -109
  9. pulumi_newrelic/alert_policy_channel.py +95 -81
  10. pulumi_newrelic/api_access_key.py +191 -209
  11. pulumi_newrelic/browser_application.py +161 -153
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +4267 -2710
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
  16. pulumi_newrelic/cloud/aws_integrations.py +518 -1490
  17. pulumi_newrelic/cloud/aws_link_account.py +88 -76
  18. pulumi_newrelic/cloud/azure_integrations.py +681 -587
  19. pulumi_newrelic/cloud/azure_link_account.py +129 -117
  20. pulumi_newrelic/cloud/gcp_integrations.py +436 -408
  21. pulumi_newrelic/cloud/gcp_link_account.py +71 -59
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1678 -2317
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +45 -0
  26. pulumi_newrelic/config/vars.py +22 -17
  27. pulumi_newrelic/data_partition_rule.py +129 -117
  28. pulumi_newrelic/entity_tags.py +153 -31
  29. pulumi_newrelic/events_to_metrics_rule.py +114 -102
  30. pulumi_newrelic/get_account.py +41 -29
  31. pulumi_newrelic/get_alert_channel.py +73 -28
  32. pulumi_newrelic/get_alert_policy.py +83 -34
  33. pulumi_newrelic/get_application.py +51 -39
  34. pulumi_newrelic/get_authentication_domain.py +111 -0
  35. pulumi_newrelic/get_cloud_account.py +43 -31
  36. pulumi_newrelic/get_entity.py +126 -121
  37. pulumi_newrelic/get_group.py +190 -0
  38. pulumi_newrelic/get_key_transaction.py +117 -38
  39. pulumi_newrelic/get_notification_destination.py +86 -36
  40. pulumi_newrelic/get_obfuscation_expression.py +47 -35
  41. pulumi_newrelic/get_service_level_alert_helper.py +237 -137
  42. pulumi_newrelic/get_test_grok_pattern.py +47 -32
  43. pulumi_newrelic/get_user.py +165 -0
  44. pulumi_newrelic/group.py +286 -0
  45. pulumi_newrelic/infra_alert_condition.py +400 -382
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +94 -23
  48. pulumi_newrelic/insights/event.py +56 -48
  49. pulumi_newrelic/insights/outputs.py +51 -18
  50. pulumi_newrelic/key_transaction.py +465 -0
  51. pulumi_newrelic/log_parsing_rule.py +169 -153
  52. pulumi_newrelic/monitor_downtime.py +914 -0
  53. pulumi_newrelic/notification_channel.py +560 -418
  54. pulumi_newrelic/notification_destination.py +379 -124
  55. pulumi_newrelic/nrql_alert_condition.py +945 -513
  56. pulumi_newrelic/nrql_drop_rule.py +121 -129
  57. pulumi_newrelic/obfuscation_expression.py +88 -76
  58. pulumi_newrelic/obfuscation_rule.py +123 -109
  59. pulumi_newrelic/one_dashboard.py +118 -108
  60. pulumi_newrelic/one_dashboard_json.py +77 -67
  61. pulumi_newrelic/one_dashboard_raw.py +214 -202
  62. pulumi_newrelic/outputs.py +5491 -2141
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +520 -90
  66. pulumi_newrelic/plugins/application_settings.py +463 -167
  67. pulumi_newrelic/plugins/outputs.py +337 -75
  68. pulumi_newrelic/plugins/workload.py +387 -151
  69. pulumi_newrelic/provider.py +156 -142
  70. pulumi_newrelic/pulumi-plugin.json +2 -1
  71. pulumi_newrelic/service_level.py +277 -255
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +275 -106
  74. pulumi_newrelic/synthetics/alert_condition.py +174 -160
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
  77. pulumi_newrelic/synthetics/get_private_location.py +51 -39
  78. pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
  79. pulumi_newrelic/synthetics/monitor.py +668 -462
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
  81. pulumi_newrelic/synthetics/outputs.py +102 -85
  82. pulumi_newrelic/synthetics/private_location.py +120 -110
  83. pulumi_newrelic/synthetics/script_monitor.py +623 -375
  84. pulumi_newrelic/synthetics/secure_credential.py +99 -93
  85. pulumi_newrelic/synthetics/step_monitor.py +545 -201
  86. pulumi_newrelic/user.py +366 -0
  87. pulumi_newrelic/workflow.py +348 -312
  88. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
  89. pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
  92. {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,17 @@
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
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = ['PrivateLocationArgs', 'PrivateLocation']
@@ -14,16 +19,16 @@ __all__ = ['PrivateLocationArgs', 'PrivateLocation']
14
19
  @pulumi.input_type
15
20
  class PrivateLocationArgs:
16
21
  def __init__(__self__, *,
17
- description: pulumi.Input[str],
18
- account_id: Optional[pulumi.Input[int]] = None,
19
- name: Optional[pulumi.Input[str]] = None,
20
- verified_script_execution: Optional[pulumi.Input[bool]] = None):
22
+ description: pulumi.Input[_builtins.str],
23
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
24
+ name: Optional[pulumi.Input[_builtins.str]] = None,
25
+ verified_script_execution: Optional[pulumi.Input[_builtins.bool]] = None):
21
26
  """
22
27
  The set of arguments for constructing a PrivateLocation resource.
23
- :param pulumi.Input[str] description: The private location description.
24
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
25
- :param pulumi.Input[str] name: The name of the private location.
26
- :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
28
+ :param pulumi.Input[_builtins.str] description: The private location description.
29
+ :param pulumi.Input[_builtins.str] account_id: The account in which the private location will be created.
30
+ :param pulumi.Input[_builtins.str] name: The name of the private location.
31
+ :param pulumi.Input[_builtins.bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
27
32
  """
28
33
  pulumi.set(__self__, "description", description)
29
34
  if account_id is not None:
@@ -33,76 +38,76 @@ class PrivateLocationArgs:
33
38
  if verified_script_execution is not None:
34
39
  pulumi.set(__self__, "verified_script_execution", verified_script_execution)
35
40
 
36
- @property
41
+ @_builtins.property
37
42
  @pulumi.getter
38
- def description(self) -> pulumi.Input[str]:
43
+ def description(self) -> pulumi.Input[_builtins.str]:
39
44
  """
40
45
  The private location description.
41
46
  """
42
47
  return pulumi.get(self, "description")
43
48
 
44
49
  @description.setter
45
- def description(self, value: pulumi.Input[str]):
50
+ def description(self, value: pulumi.Input[_builtins.str]):
46
51
  pulumi.set(self, "description", value)
47
52
 
48
- @property
53
+ @_builtins.property
49
54
  @pulumi.getter(name="accountId")
50
- def account_id(self) -> Optional[pulumi.Input[int]]:
55
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
51
56
  """
52
57
  The account in which the private location will be created.
53
58
  """
54
59
  return pulumi.get(self, "account_id")
55
60
 
56
61
  @account_id.setter
57
- def account_id(self, value: Optional[pulumi.Input[int]]):
62
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
58
63
  pulumi.set(self, "account_id", value)
59
64
 
60
- @property
65
+ @_builtins.property
61
66
  @pulumi.getter
62
- def name(self) -> Optional[pulumi.Input[str]]:
67
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
63
68
  """
64
69
  The name of the private location.
65
70
  """
66
71
  return pulumi.get(self, "name")
67
72
 
68
73
  @name.setter
69
- def name(self, value: Optional[pulumi.Input[str]]):
74
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
70
75
  pulumi.set(self, "name", value)
71
76
 
72
- @property
77
+ @_builtins.property
73
78
  @pulumi.getter(name="verifiedScriptExecution")
74
- def verified_script_execution(self) -> Optional[pulumi.Input[bool]]:
79
+ def verified_script_execution(self) -> Optional[pulumi.Input[_builtins.bool]]:
75
80
  """
76
81
  The private location requires a password to edit if value is true. Defaults to `false`
77
82
  """
78
83
  return pulumi.get(self, "verified_script_execution")
79
84
 
80
85
  @verified_script_execution.setter
81
- def verified_script_execution(self, value: Optional[pulumi.Input[bool]]):
86
+ def verified_script_execution(self, value: Optional[pulumi.Input[_builtins.bool]]):
82
87
  pulumi.set(self, "verified_script_execution", value)
83
88
 
84
89
 
85
90
  @pulumi.input_type
86
91
  class _PrivateLocationState:
87
92
  def __init__(__self__, *,
88
- account_id: Optional[pulumi.Input[int]] = None,
89
- description: Optional[pulumi.Input[str]] = None,
90
- domain_id: Optional[pulumi.Input[str]] = None,
91
- guid: Optional[pulumi.Input[str]] = None,
92
- key: Optional[pulumi.Input[str]] = None,
93
- location_id: Optional[pulumi.Input[str]] = None,
94
- name: Optional[pulumi.Input[str]] = None,
95
- verified_script_execution: Optional[pulumi.Input[bool]] = None):
93
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
94
+ description: Optional[pulumi.Input[_builtins.str]] = None,
95
+ domain_id: Optional[pulumi.Input[_builtins.str]] = None,
96
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
97
+ key: Optional[pulumi.Input[_builtins.str]] = None,
98
+ location_id: Optional[pulumi.Input[_builtins.str]] = None,
99
+ name: Optional[pulumi.Input[_builtins.str]] = None,
100
+ verified_script_execution: Optional[pulumi.Input[_builtins.bool]] = None):
96
101
  """
97
102
  Input properties used for looking up and filtering PrivateLocation resources.
98
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
99
- :param pulumi.Input[str] description: The private location description.
100
- :param pulumi.Input[str] domain_id: The private location globally unique identifier.
101
- :param pulumi.Input[str] guid: The unique client identifier for the private location in New Relic. Same as `id`.
102
- :param pulumi.Input[str] key: The private locations key.
103
- :param pulumi.Input[str] location_id: An alternate identifier based on name.
104
- :param pulumi.Input[str] name: The name of the private location.
105
- :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
103
+ :param pulumi.Input[_builtins.str] account_id: The account in which the private location will be created.
104
+ :param pulumi.Input[_builtins.str] description: The private location description.
105
+ :param pulumi.Input[_builtins.str] domain_id: The private location globally unique identifier.
106
+ :param pulumi.Input[_builtins.str] guid: The unique client identifier for the private location in New Relic. Same as `id`.
107
+ :param pulumi.Input[_builtins.str] key: The private locations key.
108
+ :param pulumi.Input[_builtins.str] location_id: An alternate identifier based on name.
109
+ :param pulumi.Input[_builtins.str] name: The name of the private location.
110
+ :param pulumi.Input[_builtins.bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
106
111
  """
107
112
  if account_id is not None:
108
113
  pulumi.set(__self__, "account_id", account_id)
@@ -121,112 +126,113 @@ class _PrivateLocationState:
121
126
  if verified_script_execution is not None:
122
127
  pulumi.set(__self__, "verified_script_execution", verified_script_execution)
123
128
 
124
- @property
129
+ @_builtins.property
125
130
  @pulumi.getter(name="accountId")
126
- def account_id(self) -> Optional[pulumi.Input[int]]:
131
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
127
132
  """
128
133
  The account in which the private location will be created.
129
134
  """
130
135
  return pulumi.get(self, "account_id")
131
136
 
132
137
  @account_id.setter
133
- def account_id(self, value: Optional[pulumi.Input[int]]):
138
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
134
139
  pulumi.set(self, "account_id", value)
135
140
 
136
- @property
141
+ @_builtins.property
137
142
  @pulumi.getter
138
- def description(self) -> Optional[pulumi.Input[str]]:
143
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
139
144
  """
140
145
  The private location description.
141
146
  """
142
147
  return pulumi.get(self, "description")
143
148
 
144
149
  @description.setter
145
- def description(self, value: Optional[pulumi.Input[str]]):
150
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
146
151
  pulumi.set(self, "description", value)
147
152
 
148
- @property
153
+ @_builtins.property
149
154
  @pulumi.getter(name="domainId")
150
- def domain_id(self) -> Optional[pulumi.Input[str]]:
155
+ def domain_id(self) -> Optional[pulumi.Input[_builtins.str]]:
151
156
  """
152
157
  The private location globally unique identifier.
153
158
  """
154
159
  return pulumi.get(self, "domain_id")
155
160
 
156
161
  @domain_id.setter
157
- def domain_id(self, value: Optional[pulumi.Input[str]]):
162
+ def domain_id(self, value: Optional[pulumi.Input[_builtins.str]]):
158
163
  pulumi.set(self, "domain_id", value)
159
164
 
160
- @property
165
+ @_builtins.property
161
166
  @pulumi.getter
162
- def guid(self) -> Optional[pulumi.Input[str]]:
167
+ def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
163
168
  """
164
169
  The unique client identifier for the private location in New Relic. Same as `id`.
165
170
  """
166
171
  return pulumi.get(self, "guid")
167
172
 
168
173
  @guid.setter
169
- def guid(self, value: Optional[pulumi.Input[str]]):
174
+ def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
170
175
  pulumi.set(self, "guid", value)
171
176
 
172
- @property
177
+ @_builtins.property
173
178
  @pulumi.getter
174
- def key(self) -> Optional[pulumi.Input[str]]:
179
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
175
180
  """
176
181
  The private locations key.
177
182
  """
178
183
  return pulumi.get(self, "key")
179
184
 
180
185
  @key.setter
181
- def key(self, value: Optional[pulumi.Input[str]]):
186
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
182
187
  pulumi.set(self, "key", value)
183
188
 
184
- @property
189
+ @_builtins.property
185
190
  @pulumi.getter(name="locationId")
186
- def location_id(self) -> Optional[pulumi.Input[str]]:
191
+ def location_id(self) -> Optional[pulumi.Input[_builtins.str]]:
187
192
  """
188
193
  An alternate identifier based on name.
189
194
  """
190
195
  return pulumi.get(self, "location_id")
191
196
 
192
197
  @location_id.setter
193
- def location_id(self, value: Optional[pulumi.Input[str]]):
198
+ def location_id(self, value: Optional[pulumi.Input[_builtins.str]]):
194
199
  pulumi.set(self, "location_id", value)
195
200
 
196
- @property
201
+ @_builtins.property
197
202
  @pulumi.getter
198
- def name(self) -> Optional[pulumi.Input[str]]:
203
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
199
204
  """
200
205
  The name of the private location.
201
206
  """
202
207
  return pulumi.get(self, "name")
203
208
 
204
209
  @name.setter
205
- def name(self, value: Optional[pulumi.Input[str]]):
210
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
206
211
  pulumi.set(self, "name", value)
207
212
 
208
- @property
213
+ @_builtins.property
209
214
  @pulumi.getter(name="verifiedScriptExecution")
210
- def verified_script_execution(self) -> Optional[pulumi.Input[bool]]:
215
+ def verified_script_execution(self) -> Optional[pulumi.Input[_builtins.bool]]:
211
216
  """
212
217
  The private location requires a password to edit if value is true. Defaults to `false`
213
218
  """
214
219
  return pulumi.get(self, "verified_script_execution")
215
220
 
216
221
  @verified_script_execution.setter
217
- def verified_script_execution(self, value: Optional[pulumi.Input[bool]]):
222
+ def verified_script_execution(self, value: Optional[pulumi.Input[_builtins.bool]]):
218
223
  pulumi.set(self, "verified_script_execution", value)
219
224
 
220
225
 
226
+ @pulumi.type_token("newrelic:synthetics/privateLocation:PrivateLocation")
221
227
  class PrivateLocation(pulumi.CustomResource):
222
228
  @overload
223
229
  def __init__(__self__,
224
230
  resource_name: str,
225
231
  opts: Optional[pulumi.ResourceOptions] = None,
226
- account_id: Optional[pulumi.Input[int]] = None,
227
- description: Optional[pulumi.Input[str]] = None,
228
- name: Optional[pulumi.Input[str]] = None,
229
- verified_script_execution: Optional[pulumi.Input[bool]] = None,
232
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
233
+ description: Optional[pulumi.Input[_builtins.str]] = None,
234
+ name: Optional[pulumi.Input[_builtins.str]] = None,
235
+ verified_script_execution: Optional[pulumi.Input[_builtins.bool]] = None,
230
236
  __props__=None):
231
237
  """
232
238
  Use this resource to create and manage New Relic Synthetic private location.
@@ -237,7 +243,9 @@ class PrivateLocation(pulumi.CustomResource):
237
243
  import pulumi
238
244
  import pulumi_newrelic as newrelic
239
245
 
240
- location = newrelic.synthetics.PrivateLocation("location", description="The private location description")
246
+ location = newrelic.synthetics.PrivateLocation("location",
247
+ description="The private location description",
248
+ name="The name of the private location")
241
249
  ```
242
250
 
243
251
  ## Import
@@ -245,15 +253,15 @@ class PrivateLocation(pulumi.CustomResource):
245
253
  A Synthetics private location can be imported using the `guid`
246
254
 
247
255
  ```sh
248
- $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
256
+ $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
249
257
  ```
250
258
 
251
259
  :param str resource_name: The name of the resource.
252
260
  :param pulumi.ResourceOptions opts: Options for the resource.
253
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
254
- :param pulumi.Input[str] description: The private location description.
255
- :param pulumi.Input[str] name: The name of the private location.
256
- :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
261
+ :param pulumi.Input[_builtins.str] account_id: The account in which the private location will be created.
262
+ :param pulumi.Input[_builtins.str] description: The private location description.
263
+ :param pulumi.Input[_builtins.str] name: The name of the private location.
264
+ :param pulumi.Input[_builtins.bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
257
265
  """
258
266
  ...
259
267
  @overload
@@ -270,7 +278,9 @@ class PrivateLocation(pulumi.CustomResource):
270
278
  import pulumi
271
279
  import pulumi_newrelic as newrelic
272
280
 
273
- location = newrelic.synthetics.PrivateLocation("location", description="The private location description")
281
+ location = newrelic.synthetics.PrivateLocation("location",
282
+ description="The private location description",
283
+ name="The name of the private location")
274
284
  ```
275
285
 
276
286
  ## Import
@@ -278,7 +288,7 @@ class PrivateLocation(pulumi.CustomResource):
278
288
  A Synthetics private location can be imported using the `guid`
279
289
 
280
290
  ```sh
281
- $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
291
+ $ pulumi import newrelic:synthetics/privateLocation:PrivateLocation location GUID
282
292
  ```
283
293
 
284
294
  :param str resource_name: The name of the resource.
@@ -296,10 +306,10 @@ class PrivateLocation(pulumi.CustomResource):
296
306
  def _internal_init(__self__,
297
307
  resource_name: str,
298
308
  opts: Optional[pulumi.ResourceOptions] = None,
299
- account_id: Optional[pulumi.Input[int]] = None,
300
- description: Optional[pulumi.Input[str]] = None,
301
- name: Optional[pulumi.Input[str]] = None,
302
- verified_script_execution: Optional[pulumi.Input[bool]] = None,
309
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
310
+ description: Optional[pulumi.Input[_builtins.str]] = None,
311
+ name: Optional[pulumi.Input[_builtins.str]] = None,
312
+ verified_script_execution: Optional[pulumi.Input[_builtins.bool]] = None,
303
313
  __props__=None):
304
314
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
305
315
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -329,14 +339,14 @@ class PrivateLocation(pulumi.CustomResource):
329
339
  def get(resource_name: str,
330
340
  id: pulumi.Input[str],
331
341
  opts: Optional[pulumi.ResourceOptions] = None,
332
- account_id: Optional[pulumi.Input[int]] = None,
333
- description: Optional[pulumi.Input[str]] = None,
334
- domain_id: Optional[pulumi.Input[str]] = None,
335
- guid: Optional[pulumi.Input[str]] = None,
336
- key: Optional[pulumi.Input[str]] = None,
337
- location_id: Optional[pulumi.Input[str]] = None,
338
- name: Optional[pulumi.Input[str]] = None,
339
- verified_script_execution: Optional[pulumi.Input[bool]] = None) -> 'PrivateLocation':
342
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
343
+ description: Optional[pulumi.Input[_builtins.str]] = None,
344
+ domain_id: Optional[pulumi.Input[_builtins.str]] = None,
345
+ guid: Optional[pulumi.Input[_builtins.str]] = None,
346
+ key: Optional[pulumi.Input[_builtins.str]] = None,
347
+ location_id: Optional[pulumi.Input[_builtins.str]] = None,
348
+ name: Optional[pulumi.Input[_builtins.str]] = None,
349
+ verified_script_execution: Optional[pulumi.Input[_builtins.bool]] = None) -> 'PrivateLocation':
340
350
  """
341
351
  Get an existing PrivateLocation resource's state with the given name, id, and optional extra
342
352
  properties used to qualify the lookup.
@@ -344,14 +354,14 @@ class PrivateLocation(pulumi.CustomResource):
344
354
  :param str resource_name: The unique name of the resulting resource.
345
355
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
346
356
  :param pulumi.ResourceOptions opts: Options for the resource.
347
- :param pulumi.Input[int] account_id: The account in which the private location will be created.
348
- :param pulumi.Input[str] description: The private location description.
349
- :param pulumi.Input[str] domain_id: The private location globally unique identifier.
350
- :param pulumi.Input[str] guid: The unique client identifier for the private location in New Relic. Same as `id`.
351
- :param pulumi.Input[str] key: The private locations key.
352
- :param pulumi.Input[str] location_id: An alternate identifier based on name.
353
- :param pulumi.Input[str] name: The name of the private location.
354
- :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
357
+ :param pulumi.Input[_builtins.str] account_id: The account in which the private location will be created.
358
+ :param pulumi.Input[_builtins.str] description: The private location description.
359
+ :param pulumi.Input[_builtins.str] domain_id: The private location globally unique identifier.
360
+ :param pulumi.Input[_builtins.str] guid: The unique client identifier for the private location in New Relic. Same as `id`.
361
+ :param pulumi.Input[_builtins.str] key: The private locations key.
362
+ :param pulumi.Input[_builtins.str] location_id: An alternate identifier based on name.
363
+ :param pulumi.Input[_builtins.str] name: The name of the private location.
364
+ :param pulumi.Input[_builtins.bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false`
355
365
  """
356
366
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
357
367
 
@@ -367,65 +377,65 @@ class PrivateLocation(pulumi.CustomResource):
367
377
  __props__.__dict__["verified_script_execution"] = verified_script_execution
368
378
  return PrivateLocation(resource_name, opts=opts, __props__=__props__)
369
379
 
370
- @property
380
+ @_builtins.property
371
381
  @pulumi.getter(name="accountId")
372
- def account_id(self) -> pulumi.Output[int]:
382
+ def account_id(self) -> pulumi.Output[_builtins.str]:
373
383
  """
374
384
  The account in which the private location will be created.
375
385
  """
376
386
  return pulumi.get(self, "account_id")
377
387
 
378
- @property
388
+ @_builtins.property
379
389
  @pulumi.getter
380
- def description(self) -> pulumi.Output[str]:
390
+ def description(self) -> pulumi.Output[_builtins.str]:
381
391
  """
382
392
  The private location description.
383
393
  """
384
394
  return pulumi.get(self, "description")
385
395
 
386
- @property
396
+ @_builtins.property
387
397
  @pulumi.getter(name="domainId")
388
- def domain_id(self) -> pulumi.Output[str]:
398
+ def domain_id(self) -> pulumi.Output[_builtins.str]:
389
399
  """
390
400
  The private location globally unique identifier.
391
401
  """
392
402
  return pulumi.get(self, "domain_id")
393
403
 
394
- @property
404
+ @_builtins.property
395
405
  @pulumi.getter
396
- def guid(self) -> pulumi.Output[str]:
406
+ def guid(self) -> pulumi.Output[_builtins.str]:
397
407
  """
398
408
  The unique client identifier for the private location in New Relic. Same as `id`.
399
409
  """
400
410
  return pulumi.get(self, "guid")
401
411
 
402
- @property
412
+ @_builtins.property
403
413
  @pulumi.getter
404
- def key(self) -> pulumi.Output[str]:
414
+ def key(self) -> pulumi.Output[_builtins.str]:
405
415
  """
406
416
  The private locations key.
407
417
  """
408
418
  return pulumi.get(self, "key")
409
419
 
410
- @property
420
+ @_builtins.property
411
421
  @pulumi.getter(name="locationId")
412
- def location_id(self) -> pulumi.Output[str]:
422
+ def location_id(self) -> pulumi.Output[_builtins.str]:
413
423
  """
414
424
  An alternate identifier based on name.
415
425
  """
416
426
  return pulumi.get(self, "location_id")
417
427
 
418
- @property
428
+ @_builtins.property
419
429
  @pulumi.getter
420
- def name(self) -> pulumi.Output[str]:
430
+ def name(self) -> pulumi.Output[_builtins.str]:
421
431
  """
422
432
  The name of the private location.
423
433
  """
424
434
  return pulumi.get(self, "name")
425
435
 
426
- @property
436
+ @_builtins.property
427
437
  @pulumi.getter(name="verifiedScriptExecution")
428
- def verified_script_execution(self) -> pulumi.Output[Optional[bool]]:
438
+ def verified_script_execution(self) -> pulumi.Output[Optional[_builtins.bool]]:
429
439
  """
430
440
  The private location requires a password to edit if value is true. Defaults to `false`
431
441
  """