pulumi-newrelic 5.22.0__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 +28 -1
  2. pulumi_newrelic/_inputs.py +10385 -2976
  3. pulumi_newrelic/_utilities.py +50 -10
  4. pulumi_newrelic/account_management.py +48 -42
  5. pulumi_newrelic/alert_channel.py +165 -175
  6. pulumi_newrelic/alert_condition.py +307 -319
  7. pulumi_newrelic/alert_muting_rule.py +193 -140
  8. pulumi_newrelic/alert_policy.py +121 -117
  9. pulumi_newrelic/alert_policy_channel.py +89 -79
  10. pulumi_newrelic/api_access_key.py +195 -193
  11. pulumi_newrelic/browser_application.py +120 -114
  12. pulumi_newrelic/cloud/__init__.py +3 -1
  13. pulumi_newrelic/cloud/_inputs.py +4267 -2714
  14. pulumi_newrelic/cloud/aws_govcloud_integrations.py +206 -196
  15. pulumi_newrelic/cloud/aws_govcloud_link_account.py +143 -228
  16. pulumi_newrelic/cloud/aws_integrations.py +510 -1490
  17. pulumi_newrelic/cloud/aws_link_account.py +80 -76
  18. pulumi_newrelic/cloud/azure_integrations.py +673 -587
  19. pulumi_newrelic/cloud/azure_link_account.py +121 -117
  20. pulumi_newrelic/cloud/gcp_integrations.py +428 -408
  21. pulumi_newrelic/cloud/gcp_link_account.py +65 -61
  22. pulumi_newrelic/cloud/oci_link_account.py +926 -0
  23. pulumi_newrelic/cloud/outputs.py +1678 -2321
  24. pulumi_newrelic/config/__init__.py +2 -1
  25. pulumi_newrelic/config/__init__.pyi +8 -3
  26. pulumi_newrelic/config/vars.py +22 -17
  27. pulumi_newrelic/data_partition_rule.py +119 -117
  28. pulumi_newrelic/entity_tags.py +111 -53
  29. pulumi_newrelic/events_to_metrics_rule.py +106 -102
  30. pulumi_newrelic/get_account.py +41 -33
  31. pulumi_newrelic/get_alert_channel.py +73 -28
  32. pulumi_newrelic/get_alert_policy.py +82 -33
  33. pulumi_newrelic/get_application.py +51 -43
  34. pulumi_newrelic/get_authentication_domain.py +27 -23
  35. pulumi_newrelic/get_cloud_account.py +43 -35
  36. pulumi_newrelic/get_entity.py +126 -183
  37. pulumi_newrelic/get_group.py +76 -31
  38. pulumi_newrelic/get_key_transaction.py +117 -42
  39. pulumi_newrelic/get_notification_destination.py +75 -38
  40. pulumi_newrelic/get_obfuscation_expression.py +47 -39
  41. pulumi_newrelic/get_service_level_alert_helper.py +189 -171
  42. pulumi_newrelic/get_test_grok_pattern.py +47 -36
  43. pulumi_newrelic/get_user.py +39 -31
  44. pulumi_newrelic/group.py +59 -199
  45. pulumi_newrelic/infra_alert_condition.py +399 -405
  46. pulumi_newrelic/insights/__init__.py +2 -1
  47. pulumi_newrelic/insights/_inputs.py +71 -28
  48. pulumi_newrelic/insights/event.py +54 -52
  49. pulumi_newrelic/insights/outputs.py +28 -23
  50. pulumi_newrelic/key_transaction.py +465 -0
  51. pulumi_newrelic/log_parsing_rule.py +159 -157
  52. pulumi_newrelic/monitor_downtime.py +311 -331
  53. pulumi_newrelic/notification_channel.py +534 -464
  54. pulumi_newrelic/notification_destination.py +238 -141
  55. pulumi_newrelic/nrql_alert_condition.py +820 -614
  56. pulumi_newrelic/nrql_drop_rule.py +113 -151
  57. pulumi_newrelic/obfuscation_expression.py +80 -76
  58. pulumi_newrelic/obfuscation_rule.py +115 -109
  59. pulumi_newrelic/one_dashboard.py +110 -104
  60. pulumi_newrelic/one_dashboard_json.py +69 -63
  61. pulumi_newrelic/one_dashboard_raw.py +212 -206
  62. pulumi_newrelic/outputs.py +4936 -2234
  63. pulumi_newrelic/pipeline_cloud_rule.py +335 -0
  64. pulumi_newrelic/plugins/__init__.py +2 -1
  65. pulumi_newrelic/plugins/_inputs.py +519 -89
  66. pulumi_newrelic/plugins/application_settings.py +463 -187
  67. pulumi_newrelic/plugins/outputs.py +336 -74
  68. pulumi_newrelic/plugins/workload.py +313 -189
  69. pulumi_newrelic/provider.py +156 -142
  70. pulumi_newrelic/pulumi-plugin.json +2 -1
  71. pulumi_newrelic/service_level.py +263 -263
  72. pulumi_newrelic/synthetics/__init__.py +2 -1
  73. pulumi_newrelic/synthetics/_inputs.py +265 -108
  74. pulumi_newrelic/synthetics/alert_condition.py +170 -180
  75. pulumi_newrelic/synthetics/broken_links_monitor.py +297 -249
  76. pulumi_newrelic/synthetics/cert_check_monitor.py +306 -258
  77. pulumi_newrelic/synthetics/get_private_location.py +51 -47
  78. pulumi_newrelic/synthetics/get_secure_credential.py +39 -31
  79. pulumi_newrelic/synthetics/monitor.py +658 -460
  80. pulumi_newrelic/synthetics/multi_location_alert_condition.py +211 -205
  81. pulumi_newrelic/synthetics/outputs.py +92 -87
  82. pulumi_newrelic/synthetics/private_location.py +118 -112
  83. pulumi_newrelic/synthetics/script_monitor.py +613 -373
  84. pulumi_newrelic/synthetics/secure_credential.py +97 -95
  85. pulumi_newrelic/synthetics/step_monitor.py +445 -275
  86. pulumi_newrelic/user.py +84 -80
  87. pulumi_newrelic/workflow.py +336 -322
  88. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +7 -6
  89. pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
  90. {pulumi_newrelic-5.22.0.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
  91. pulumi_newrelic-5.22.0.dist-info/RECORD +0 -89
  92. {pulumi_newrelic-5.22.0.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__ = ['SecureCredentialArgs', 'SecureCredential']
@@ -14,18 +19,18 @@ __all__ = ['SecureCredentialArgs', 'SecureCredential']
14
19
  @pulumi.input_type
15
20
  class SecureCredentialArgs:
16
21
  def __init__(__self__, *,
17
- key: pulumi.Input[str],
18
- value: pulumi.Input[str],
19
- account_id: Optional[pulumi.Input[int]] = None,
20
- description: Optional[pulumi.Input[str]] = None,
21
- last_updated: Optional[pulumi.Input[str]] = None):
22
+ key: pulumi.Input[_builtins.str],
23
+ value: pulumi.Input[_builtins.str],
24
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
25
+ description: Optional[pulumi.Input[_builtins.str]] = None,
26
+ last_updated: Optional[pulumi.Input[_builtins.str]] = None):
22
27
  """
23
28
  The set of arguments for constructing a SecureCredential resource.
24
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
25
- :param pulumi.Input[str] value: The secure credential's value.
26
- :param pulumi.Input[int] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
27
- :param pulumi.Input[str] description: The secure credential's description.
28
- :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
29
+ :param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
30
+ :param pulumi.Input[_builtins.str] value: The secure credential's value.
31
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
32
+ :param pulumi.Input[_builtins.str] description: The secure credential's description.
33
+ :param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
29
34
  """
30
35
  pulumi.set(__self__, "key", key)
31
36
  pulumi.set(__self__, "value", value)
@@ -36,82 +41,82 @@ class SecureCredentialArgs:
36
41
  if last_updated is not None:
37
42
  pulumi.set(__self__, "last_updated", last_updated)
38
43
 
39
- @property
44
+ @_builtins.property
40
45
  @pulumi.getter
41
- def key(self) -> pulumi.Input[str]:
46
+ def key(self) -> pulumi.Input[_builtins.str]:
42
47
  """
43
48
  The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
44
49
  """
45
50
  return pulumi.get(self, "key")
46
51
 
47
52
  @key.setter
48
- def key(self, value: pulumi.Input[str]):
53
+ def key(self, value: pulumi.Input[_builtins.str]):
49
54
  pulumi.set(self, "key", value)
50
55
 
51
- @property
56
+ @_builtins.property
52
57
  @pulumi.getter
53
- def value(self) -> pulumi.Input[str]:
58
+ def value(self) -> pulumi.Input[_builtins.str]:
54
59
  """
55
60
  The secure credential's value.
56
61
  """
57
62
  return pulumi.get(self, "value")
58
63
 
59
64
  @value.setter
60
- def value(self, value: pulumi.Input[str]):
65
+ def value(self, value: pulumi.Input[_builtins.str]):
61
66
  pulumi.set(self, "value", value)
62
67
 
63
- @property
68
+ @_builtins.property
64
69
  @pulumi.getter(name="accountId")
65
- def account_id(self) -> Optional[pulumi.Input[int]]:
70
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
66
71
  """
67
72
  Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
68
73
  """
69
74
  return pulumi.get(self, "account_id")
70
75
 
71
76
  @account_id.setter
72
- def account_id(self, value: Optional[pulumi.Input[int]]):
77
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
73
78
  pulumi.set(self, "account_id", value)
74
79
 
75
- @property
80
+ @_builtins.property
76
81
  @pulumi.getter
77
- def description(self) -> Optional[pulumi.Input[str]]:
82
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
78
83
  """
79
84
  The secure credential's description.
80
85
  """
81
86
  return pulumi.get(self, "description")
82
87
 
83
88
  @description.setter
84
- def description(self, value: Optional[pulumi.Input[str]]):
89
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
85
90
  pulumi.set(self, "description", value)
86
91
 
87
- @property
92
+ @_builtins.property
88
93
  @pulumi.getter(name="lastUpdated")
89
- def last_updated(self) -> Optional[pulumi.Input[str]]:
94
+ def last_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
90
95
  """
91
96
  The time the secure credential was last updated.
92
97
  """
93
98
  return pulumi.get(self, "last_updated")
94
99
 
95
100
  @last_updated.setter
96
- def last_updated(self, value: Optional[pulumi.Input[str]]):
101
+ def last_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
97
102
  pulumi.set(self, "last_updated", value)
98
103
 
99
104
 
100
105
  @pulumi.input_type
101
106
  class _SecureCredentialState:
102
107
  def __init__(__self__, *,
103
- account_id: Optional[pulumi.Input[int]] = None,
104
- description: Optional[pulumi.Input[str]] = None,
105
- key: Optional[pulumi.Input[str]] = None,
106
- last_updated: Optional[pulumi.Input[str]] = None,
107
- value: Optional[pulumi.Input[str]] = None):
108
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
109
+ description: Optional[pulumi.Input[_builtins.str]] = None,
110
+ key: Optional[pulumi.Input[_builtins.str]] = None,
111
+ last_updated: Optional[pulumi.Input[_builtins.str]] = None,
112
+ value: Optional[pulumi.Input[_builtins.str]] = None):
108
113
  """
109
114
  Input properties used for looking up and filtering SecureCredential resources.
110
- :param pulumi.Input[int] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
111
- :param pulumi.Input[str] description: The secure credential's description.
112
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
113
- :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
114
- :param pulumi.Input[str] value: The secure credential's value.
115
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
116
+ :param pulumi.Input[_builtins.str] description: The secure credential's description.
117
+ :param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
118
+ :param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
119
+ :param pulumi.Input[_builtins.str] value: The secure credential's value.
115
120
  """
116
121
  if account_id is not None:
117
122
  pulumi.set(__self__, "account_id", account_id)
@@ -124,94 +129,93 @@ class _SecureCredentialState:
124
129
  if value is not None:
125
130
  pulumi.set(__self__, "value", value)
126
131
 
127
- @property
132
+ @_builtins.property
128
133
  @pulumi.getter(name="accountId")
129
- def account_id(self) -> Optional[pulumi.Input[int]]:
134
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
130
135
  """
131
136
  Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
132
137
  """
133
138
  return pulumi.get(self, "account_id")
134
139
 
135
140
  @account_id.setter
136
- def account_id(self, value: Optional[pulumi.Input[int]]):
141
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
137
142
  pulumi.set(self, "account_id", value)
138
143
 
139
- @property
144
+ @_builtins.property
140
145
  @pulumi.getter
141
- def description(self) -> Optional[pulumi.Input[str]]:
146
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
142
147
  """
143
148
  The secure credential's description.
144
149
  """
145
150
  return pulumi.get(self, "description")
146
151
 
147
152
  @description.setter
148
- def description(self, value: Optional[pulumi.Input[str]]):
153
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
149
154
  pulumi.set(self, "description", value)
150
155
 
151
- @property
156
+ @_builtins.property
152
157
  @pulumi.getter
153
- def key(self) -> Optional[pulumi.Input[str]]:
158
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
154
159
  """
155
160
  The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
156
161
  """
157
162
  return pulumi.get(self, "key")
158
163
 
159
164
  @key.setter
160
- def key(self, value: Optional[pulumi.Input[str]]):
165
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
161
166
  pulumi.set(self, "key", value)
162
167
 
163
- @property
168
+ @_builtins.property
164
169
  @pulumi.getter(name="lastUpdated")
165
- def last_updated(self) -> Optional[pulumi.Input[str]]:
170
+ def last_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
166
171
  """
167
172
  The time the secure credential was last updated.
168
173
  """
169
174
  return pulumi.get(self, "last_updated")
170
175
 
171
176
  @last_updated.setter
172
- def last_updated(self, value: Optional[pulumi.Input[str]]):
177
+ def last_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
173
178
  pulumi.set(self, "last_updated", value)
174
179
 
175
- @property
180
+ @_builtins.property
176
181
  @pulumi.getter
177
- def value(self) -> Optional[pulumi.Input[str]]:
182
+ def value(self) -> Optional[pulumi.Input[_builtins.str]]:
178
183
  """
179
184
  The secure credential's value.
180
185
  """
181
186
  return pulumi.get(self, "value")
182
187
 
183
188
  @value.setter
184
- def value(self, value: Optional[pulumi.Input[str]]):
189
+ def value(self, value: Optional[pulumi.Input[_builtins.str]]):
185
190
  pulumi.set(self, "value", value)
186
191
 
187
192
 
193
+ @pulumi.type_token("newrelic:synthetics/secureCredential:SecureCredential")
188
194
  class SecureCredential(pulumi.CustomResource):
189
195
  @overload
190
196
  def __init__(__self__,
191
197
  resource_name: str,
192
198
  opts: Optional[pulumi.ResourceOptions] = None,
193
- account_id: Optional[pulumi.Input[int]] = None,
194
- description: Optional[pulumi.Input[str]] = None,
195
- key: Optional[pulumi.Input[str]] = None,
196
- last_updated: Optional[pulumi.Input[str]] = None,
197
- value: Optional[pulumi.Input[str]] = None,
199
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
200
+ description: Optional[pulumi.Input[_builtins.str]] = None,
201
+ key: Optional[pulumi.Input[_builtins.str]] = None,
202
+ last_updated: Optional[pulumi.Input[_builtins.str]] = None,
203
+ value: Optional[pulumi.Input[_builtins.str]] = None,
198
204
  __props__=None):
199
205
  """
200
206
  Use this resource to create and manage New Relic Synthetic secure credentials.
201
207
 
202
208
  ## Example Usage
203
209
 
204
- <!--Start PulumiCodeChooser -->
205
210
  ```python
206
211
  import pulumi
207
212
  import pulumi_newrelic as newrelic
208
213
 
209
214
  foo = newrelic.synthetics.SecureCredential("foo",
210
- description="My description",
211
215
  key="MY_KEY",
212
- value="My value")
216
+ value="My value",
217
+ description="My description")
213
218
  ```
214
- <!--End PulumiCodeChooser -->
215
219
 
216
220
  ## Import
217
221
 
@@ -223,11 +227,11 @@ class SecureCredential(pulumi.CustomResource):
223
227
 
224
228
  :param str resource_name: The name of the resource.
225
229
  :param pulumi.ResourceOptions opts: Options for the resource.
226
- :param pulumi.Input[int] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
227
- :param pulumi.Input[str] description: The secure credential's description.
228
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
229
- :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
230
- :param pulumi.Input[str] value: The secure credential's value.
230
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
231
+ :param pulumi.Input[_builtins.str] description: The secure credential's description.
232
+ :param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
233
+ :param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
234
+ :param pulumi.Input[_builtins.str] value: The secure credential's value.
231
235
  """
232
236
  ...
233
237
  @overload
@@ -240,17 +244,15 @@ class SecureCredential(pulumi.CustomResource):
240
244
 
241
245
  ## Example Usage
242
246
 
243
- <!--Start PulumiCodeChooser -->
244
247
  ```python
245
248
  import pulumi
246
249
  import pulumi_newrelic as newrelic
247
250
 
248
251
  foo = newrelic.synthetics.SecureCredential("foo",
249
- description="My description",
250
252
  key="MY_KEY",
251
- value="My value")
253
+ value="My value",
254
+ description="My description")
252
255
  ```
253
- <!--End PulumiCodeChooser -->
254
256
 
255
257
  ## Import
256
258
 
@@ -275,11 +277,11 @@ class SecureCredential(pulumi.CustomResource):
275
277
  def _internal_init(__self__,
276
278
  resource_name: str,
277
279
  opts: Optional[pulumi.ResourceOptions] = None,
278
- account_id: Optional[pulumi.Input[int]] = None,
279
- description: Optional[pulumi.Input[str]] = None,
280
- key: Optional[pulumi.Input[str]] = None,
281
- last_updated: Optional[pulumi.Input[str]] = None,
282
- value: Optional[pulumi.Input[str]] = None,
280
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
281
+ description: Optional[pulumi.Input[_builtins.str]] = None,
282
+ key: Optional[pulumi.Input[_builtins.str]] = None,
283
+ last_updated: Optional[pulumi.Input[_builtins.str]] = None,
284
+ value: Optional[pulumi.Input[_builtins.str]] = None,
283
285
  __props__=None):
284
286
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
285
287
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -310,11 +312,11 @@ class SecureCredential(pulumi.CustomResource):
310
312
  def get(resource_name: str,
311
313
  id: pulumi.Input[str],
312
314
  opts: Optional[pulumi.ResourceOptions] = None,
313
- account_id: Optional[pulumi.Input[int]] = None,
314
- description: Optional[pulumi.Input[str]] = None,
315
- key: Optional[pulumi.Input[str]] = None,
316
- last_updated: Optional[pulumi.Input[str]] = None,
317
- value: Optional[pulumi.Input[str]] = None) -> 'SecureCredential':
315
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
316
+ description: Optional[pulumi.Input[_builtins.str]] = None,
317
+ key: Optional[pulumi.Input[_builtins.str]] = None,
318
+ last_updated: Optional[pulumi.Input[_builtins.str]] = None,
319
+ value: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecureCredential':
318
320
  """
319
321
  Get an existing SecureCredential resource's state with the given name, id, and optional extra
320
322
  properties used to qualify the lookup.
@@ -322,11 +324,11 @@ class SecureCredential(pulumi.CustomResource):
322
324
  :param str resource_name: The unique name of the resulting resource.
323
325
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
324
326
  :param pulumi.ResourceOptions opts: Options for the resource.
325
- :param pulumi.Input[int] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
326
- :param pulumi.Input[str] description: The secure credential's description.
327
- :param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
328
- :param pulumi.Input[str] last_updated: The time the secure credential was last updated.
329
- :param pulumi.Input[str] value: The secure credential's value.
327
+ :param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
328
+ :param pulumi.Input[_builtins.str] description: The secure credential's description.
329
+ :param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
330
+ :param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
331
+ :param pulumi.Input[_builtins.str] value: The secure credential's value.
330
332
  """
331
333
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
332
334
 
@@ -339,41 +341,41 @@ class SecureCredential(pulumi.CustomResource):
339
341
  __props__.__dict__["value"] = value
340
342
  return SecureCredential(resource_name, opts=opts, __props__=__props__)
341
343
 
342
- @property
344
+ @_builtins.property
343
345
  @pulumi.getter(name="accountId")
344
- def account_id(self) -> pulumi.Output[int]:
346
+ def account_id(self) -> pulumi.Output[_builtins.str]:
345
347
  """
346
348
  Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
347
349
  """
348
350
  return pulumi.get(self, "account_id")
349
351
 
350
- @property
352
+ @_builtins.property
351
353
  @pulumi.getter
352
- def description(self) -> pulumi.Output[Optional[str]]:
354
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
353
355
  """
354
356
  The secure credential's description.
355
357
  """
356
358
  return pulumi.get(self, "description")
357
359
 
358
- @property
360
+ @_builtins.property
359
361
  @pulumi.getter
360
- def key(self) -> pulumi.Output[str]:
362
+ def key(self) -> pulumi.Output[_builtins.str]:
361
363
  """
362
364
  The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
363
365
  """
364
366
  return pulumi.get(self, "key")
365
367
 
366
- @property
368
+ @_builtins.property
367
369
  @pulumi.getter(name="lastUpdated")
368
- def last_updated(self) -> pulumi.Output[str]:
370
+ def last_updated(self) -> pulumi.Output[_builtins.str]:
369
371
  """
370
372
  The time the secure credential was last updated.
371
373
  """
372
374
  return pulumi.get(self, "last_updated")
373
375
 
374
- @property
376
+ @_builtins.property
375
377
  @pulumi.getter
376
- def value(self) -> pulumi.Output[str]:
378
+ def value(self) -> pulumi.Output[_builtins.str]:
377
379
  """
378
380
  The secure credential's value.
379
381
  """