pulumi-newrelic 5.45.0a1743574084__py3-none-any.whl → 5.45.0a1744183332__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 +151 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +158 -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 +298 -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 +235 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +165 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.45.0a1744183332.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.45.0a1743574084.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.45.0a1743574084.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/top_level.txt +0 -0
@@ -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,14 +20,14 @@ __all__ = ['AlertPolicyChannelArgs', 'AlertPolicyChannel']
19
20
  @pulumi.input_type
20
21
  class AlertPolicyChannelArgs:
21
22
  def __init__(__self__, *,
22
- channel_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- policy_id: pulumi.Input[str],
24
- account_id: Optional[pulumi.Input[str]] = None):
23
+ channel_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
24
+ policy_id: pulumi.Input[builtins.str],
25
+ account_id: Optional[pulumi.Input[builtins.str]] = None):
25
26
  """
26
27
  The set of arguments for constructing a AlertPolicyChannel resource.
27
- :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
28
- :param pulumi.Input[str] policy_id: The ID of the policy.
29
- :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
28
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
29
+ :param pulumi.Input[builtins.str] policy_id: The ID of the policy.
30
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
30
31
  """
31
32
  pulumi.set(__self__, "channel_ids", channel_ids)
32
33
  pulumi.set(__self__, "policy_id", policy_id)
@@ -35,52 +36,52 @@ class AlertPolicyChannelArgs:
35
36
 
36
37
  @property
37
38
  @pulumi.getter(name="channelIds")
38
- def channel_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
39
+ def channel_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
39
40
  """
40
41
  Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
41
42
  """
42
43
  return pulumi.get(self, "channel_ids")
43
44
 
44
45
  @channel_ids.setter
45
- def channel_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
46
+ def channel_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
46
47
  pulumi.set(self, "channel_ids", value)
47
48
 
48
49
  @property
49
50
  @pulumi.getter(name="policyId")
50
- def policy_id(self) -> pulumi.Input[str]:
51
+ def policy_id(self) -> pulumi.Input[builtins.str]:
51
52
  """
52
53
  The ID of the policy.
53
54
  """
54
55
  return pulumi.get(self, "policy_id")
55
56
 
56
57
  @policy_id.setter
57
- def policy_id(self, value: pulumi.Input[str]):
58
+ def policy_id(self, value: pulumi.Input[builtins.str]):
58
59
  pulumi.set(self, "policy_id", value)
59
60
 
60
61
  @property
61
62
  @pulumi.getter(name="accountId")
62
- def account_id(self) -> Optional[pulumi.Input[str]]:
63
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
63
64
  """
64
65
  Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
65
66
  """
66
67
  return pulumi.get(self, "account_id")
67
68
 
68
69
  @account_id.setter
69
- def account_id(self, value: Optional[pulumi.Input[str]]):
70
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
70
71
  pulumi.set(self, "account_id", value)
71
72
 
72
73
 
73
74
  @pulumi.input_type
74
75
  class _AlertPolicyChannelState:
75
76
  def __init__(__self__, *,
76
- account_id: Optional[pulumi.Input[str]] = None,
77
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
78
- policy_id: Optional[pulumi.Input[str]] = None):
77
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
78
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
79
+ policy_id: Optional[pulumi.Input[builtins.str]] = None):
79
80
  """
80
81
  Input properties used for looking up and filtering AlertPolicyChannel resources.
81
- :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
82
- :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
83
- :param pulumi.Input[str] policy_id: The ID of the policy.
82
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
83
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
84
+ :param pulumi.Input[builtins.str] policy_id: The ID of the policy.
84
85
  """
85
86
  if account_id is not None:
86
87
  pulumi.set(__self__, "account_id", account_id)
@@ -91,38 +92,38 @@ class _AlertPolicyChannelState:
91
92
 
92
93
  @property
93
94
  @pulumi.getter(name="accountId")
94
- def account_id(self) -> Optional[pulumi.Input[str]]:
95
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
95
96
  """
96
97
  Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
97
98
  """
98
99
  return pulumi.get(self, "account_id")
99
100
 
100
101
  @account_id.setter
101
- def account_id(self, value: Optional[pulumi.Input[str]]):
102
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
102
103
  pulumi.set(self, "account_id", value)
103
104
 
104
105
  @property
105
106
  @pulumi.getter(name="channelIds")
106
- def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
107
+ def channel_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
107
108
  """
108
109
  Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
109
110
  """
110
111
  return pulumi.get(self, "channel_ids")
111
112
 
112
113
  @channel_ids.setter
113
- def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
114
+ def channel_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
114
115
  pulumi.set(self, "channel_ids", value)
115
116
 
116
117
  @property
117
118
  @pulumi.getter(name="policyId")
118
- def policy_id(self) -> Optional[pulumi.Input[str]]:
119
+ def policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
119
120
  """
120
121
  The ID of the policy.
121
122
  """
122
123
  return pulumi.get(self, "policy_id")
123
124
 
124
125
  @policy_id.setter
125
- def policy_id(self, value: Optional[pulumi.Input[str]]):
126
+ def policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
126
127
  pulumi.set(self, "policy_id", value)
127
128
 
128
129
 
@@ -131,9 +132,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
131
132
  def __init__(__self__,
132
133
  resource_name: str,
133
134
  opts: Optional[pulumi.ResourceOptions] = None,
134
- account_id: Optional[pulumi.Input[str]] = None,
135
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
136
- policy_id: Optional[pulumi.Input[str]] = None,
135
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
136
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
137
+ policy_id: Optional[pulumi.Input[builtins.str]] = None,
137
138
  __props__=None):
138
139
  """
139
140
  Use this resource to map alert policies to alert channels in New Relic.
@@ -188,9 +189,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
188
189
 
189
190
  :param str resource_name: The name of the resource.
190
191
  :param pulumi.ResourceOptions opts: Options for the resource.
191
- :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
192
- :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
193
- :param pulumi.Input[str] policy_id: The ID of the policy.
192
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
193
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
194
+ :param pulumi.Input[builtins.str] policy_id: The ID of the policy.
194
195
  """
195
196
  ...
196
197
  @overload
@@ -264,9 +265,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
264
265
  def _internal_init(__self__,
265
266
  resource_name: str,
266
267
  opts: Optional[pulumi.ResourceOptions] = None,
267
- account_id: Optional[pulumi.Input[str]] = None,
268
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
269
- policy_id: Optional[pulumi.Input[str]] = None,
268
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
269
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
270
+ policy_id: Optional[pulumi.Input[builtins.str]] = None,
270
271
  __props__=None):
271
272
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
272
273
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -293,9 +294,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
293
294
  def get(resource_name: str,
294
295
  id: pulumi.Input[str],
295
296
  opts: Optional[pulumi.ResourceOptions] = None,
296
- account_id: Optional[pulumi.Input[str]] = None,
297
- channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
298
- policy_id: Optional[pulumi.Input[str]] = None) -> 'AlertPolicyChannel':
297
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
298
+ channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
299
+ policy_id: Optional[pulumi.Input[builtins.str]] = None) -> 'AlertPolicyChannel':
299
300
  """
300
301
  Get an existing AlertPolicyChannel resource's state with the given name, id, and optional extra
301
302
  properties used to qualify the lookup.
@@ -303,9 +304,9 @@ class AlertPolicyChannel(pulumi.CustomResource):
303
304
  :param str resource_name: The unique name of the resulting resource.
304
305
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
305
306
  :param pulumi.ResourceOptions opts: Options for the resource.
306
- :param pulumi.Input[str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
307
- :param pulumi.Input[Sequence[pulumi.Input[str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
308
- :param pulumi.Input[str] policy_id: The ID of the policy.
307
+ :param pulumi.Input[builtins.str] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
308
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
309
+ :param pulumi.Input[builtins.str] policy_id: The ID of the policy.
309
310
  """
310
311
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
311
312
 
@@ -318,7 +319,7 @@ class AlertPolicyChannel(pulumi.CustomResource):
318
319
 
319
320
  @property
320
321
  @pulumi.getter(name="accountId")
321
- def account_id(self) -> pulumi.Output[str]:
322
+ def account_id(self) -> pulumi.Output[builtins.str]:
322
323
  """
323
324
  Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
324
325
  """
@@ -326,7 +327,7 @@ class AlertPolicyChannel(pulumi.CustomResource):
326
327
 
327
328
  @property
328
329
  @pulumi.getter(name="channelIds")
329
- def channel_ids(self) -> pulumi.Output[Sequence[str]]:
330
+ def channel_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
330
331
  """
331
332
  Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
332
333
  """
@@ -334,7 +335,7 @@ class AlertPolicyChannel(pulumi.CustomResource):
334
335
 
335
336
  @property
336
337
  @pulumi.getter(name="policyId")
337
- def policy_id(self) -> pulumi.Output[str]:
338
+ def policy_id(self) -> pulumi.Output[builtins.str]:
338
339
  """
339
340
  The ID of the policy.
340
341
  """
@@ -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,20 +20,20 @@ __all__ = ['ApiAccessKeyArgs', 'ApiAccessKey']
19
20
  @pulumi.input_type
20
21
  class ApiAccessKeyArgs:
21
22
  def __init__(__self__, *,
22
- account_id: pulumi.Input[str],
23
- key_type: pulumi.Input[str],
24
- ingest_type: Optional[pulumi.Input[str]] = None,
25
- name: Optional[pulumi.Input[str]] = None,
26
- notes: Optional[pulumi.Input[str]] = None,
27
- user_id: Optional[pulumi.Input[str]] = None):
23
+ account_id: pulumi.Input[builtins.str],
24
+ key_type: pulumi.Input[builtins.str],
25
+ ingest_type: Optional[pulumi.Input[builtins.str]] = None,
26
+ name: Optional[pulumi.Input[builtins.str]] = None,
27
+ notes: Optional[pulumi.Input[builtins.str]] = None,
28
+ user_id: Optional[pulumi.Input[builtins.str]] = None):
28
29
  """
29
30
  The set of arguments for constructing a ApiAccessKey resource.
30
- :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
31
- :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
32
- :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
33
- :param pulumi.Input[str] name: The name of the key.
34
- :param pulumi.Input[str] notes: Any notes about this ingest key.
35
- :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
31
+ :param pulumi.Input[builtins.str] account_id: The New Relic account ID of the account you wish to create the API access key.
32
+ :param pulumi.Input[builtins.str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
33
+ :param pulumi.Input[builtins.str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
34
+ :param pulumi.Input[builtins.str] name: The name of the key.
35
+ :param pulumi.Input[builtins.str] notes: Any notes about this ingest key.
36
+ :param pulumi.Input[builtins.str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
36
37
  """
37
38
  pulumi.set(__self__, "account_id", account_id)
38
39
  pulumi.set(__self__, "key_type", key_type)
@@ -47,96 +48,96 @@ class ApiAccessKeyArgs:
47
48
 
48
49
  @property
49
50
  @pulumi.getter(name="accountId")
50
- def account_id(self) -> pulumi.Input[str]:
51
+ def account_id(self) -> pulumi.Input[builtins.str]:
51
52
  """
52
53
  The New Relic account ID of the account you wish to create the API access key.
53
54
  """
54
55
  return pulumi.get(self, "account_id")
55
56
 
56
57
  @account_id.setter
57
- def account_id(self, value: pulumi.Input[str]):
58
+ def account_id(self, value: pulumi.Input[builtins.str]):
58
59
  pulumi.set(self, "account_id", value)
59
60
 
60
61
  @property
61
62
  @pulumi.getter(name="keyType")
62
- def key_type(self) -> pulumi.Input[str]:
63
+ def key_type(self) -> pulumi.Input[builtins.str]:
63
64
  """
64
65
  What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
65
66
  """
66
67
  return pulumi.get(self, "key_type")
67
68
 
68
69
  @key_type.setter
69
- def key_type(self, value: pulumi.Input[str]):
70
+ def key_type(self, value: pulumi.Input[builtins.str]):
70
71
  pulumi.set(self, "key_type", value)
71
72
 
72
73
  @property
73
74
  @pulumi.getter(name="ingestType")
74
- def ingest_type(self) -> Optional[pulumi.Input[str]]:
75
+ def ingest_type(self) -> Optional[pulumi.Input[builtins.str]]:
75
76
  """
76
77
  Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
77
78
  """
78
79
  return pulumi.get(self, "ingest_type")
79
80
 
80
81
  @ingest_type.setter
81
- def ingest_type(self, value: Optional[pulumi.Input[str]]):
82
+ def ingest_type(self, value: Optional[pulumi.Input[builtins.str]]):
82
83
  pulumi.set(self, "ingest_type", value)
83
84
 
84
85
  @property
85
86
  @pulumi.getter
86
- def name(self) -> Optional[pulumi.Input[str]]:
87
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
87
88
  """
88
89
  The name of the key.
89
90
  """
90
91
  return pulumi.get(self, "name")
91
92
 
92
93
  @name.setter
93
- def name(self, value: Optional[pulumi.Input[str]]):
94
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
94
95
  pulumi.set(self, "name", value)
95
96
 
96
97
  @property
97
98
  @pulumi.getter
98
- def notes(self) -> Optional[pulumi.Input[str]]:
99
+ def notes(self) -> Optional[pulumi.Input[builtins.str]]:
99
100
  """
100
101
  Any notes about this ingest key.
101
102
  """
102
103
  return pulumi.get(self, "notes")
103
104
 
104
105
  @notes.setter
105
- def notes(self, value: Optional[pulumi.Input[str]]):
106
+ def notes(self, value: Optional[pulumi.Input[builtins.str]]):
106
107
  pulumi.set(self, "notes", value)
107
108
 
108
109
  @property
109
110
  @pulumi.getter(name="userId")
110
- def user_id(self) -> Optional[pulumi.Input[str]]:
111
+ def user_id(self) -> Optional[pulumi.Input[builtins.str]]:
111
112
  """
112
113
  Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
113
114
  """
114
115
  return pulumi.get(self, "user_id")
115
116
 
116
117
  @user_id.setter
117
- def user_id(self, value: Optional[pulumi.Input[str]]):
118
+ def user_id(self, value: Optional[pulumi.Input[builtins.str]]):
118
119
  pulumi.set(self, "user_id", value)
119
120
 
120
121
 
121
122
  @pulumi.input_type
122
123
  class _ApiAccessKeyState:
123
124
  def __init__(__self__, *,
124
- account_id: Optional[pulumi.Input[str]] = None,
125
- ingest_type: Optional[pulumi.Input[str]] = None,
126
- key: Optional[pulumi.Input[str]] = None,
127
- key_type: Optional[pulumi.Input[str]] = None,
128
- name: Optional[pulumi.Input[str]] = None,
129
- notes: Optional[pulumi.Input[str]] = None,
130
- user_id: Optional[pulumi.Input[str]] = None):
125
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
126
+ ingest_type: Optional[pulumi.Input[builtins.str]] = None,
127
+ key: Optional[pulumi.Input[builtins.str]] = None,
128
+ key_type: Optional[pulumi.Input[builtins.str]] = None,
129
+ name: Optional[pulumi.Input[builtins.str]] = None,
130
+ notes: Optional[pulumi.Input[builtins.str]] = None,
131
+ user_id: Optional[pulumi.Input[builtins.str]] = None):
131
132
  """
132
133
  Input properties used for looking up and filtering ApiAccessKey resources.
133
- :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
134
- :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
135
- :param pulumi.Input[str] key: The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
136
- :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
137
- :param pulumi.Input[str] name: The name of the key.
138
- :param pulumi.Input[str] notes: Any notes about this ingest key.
139
- :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
134
+ :param pulumi.Input[builtins.str] account_id: The New Relic account ID of the account you wish to create the API access key.
135
+ :param pulumi.Input[builtins.str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
136
+ :param pulumi.Input[builtins.str] key: The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
137
+ :param pulumi.Input[builtins.str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
138
+ :param pulumi.Input[builtins.str] name: The name of the key.
139
+ :param pulumi.Input[builtins.str] notes: Any notes about this ingest key.
140
+ :param pulumi.Input[builtins.str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
140
141
  """
141
142
  if account_id is not None:
142
143
  pulumi.set(__self__, "account_id", account_id)
@@ -155,86 +156,86 @@ class _ApiAccessKeyState:
155
156
 
156
157
  @property
157
158
  @pulumi.getter(name="accountId")
158
- def account_id(self) -> Optional[pulumi.Input[str]]:
159
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
159
160
  """
160
161
  The New Relic account ID of the account you wish to create the API access key.
161
162
  """
162
163
  return pulumi.get(self, "account_id")
163
164
 
164
165
  @account_id.setter
165
- def account_id(self, value: Optional[pulumi.Input[str]]):
166
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
166
167
  pulumi.set(self, "account_id", value)
167
168
 
168
169
  @property
169
170
  @pulumi.getter(name="ingestType")
170
- def ingest_type(self) -> Optional[pulumi.Input[str]]:
171
+ def ingest_type(self) -> Optional[pulumi.Input[builtins.str]]:
171
172
  """
172
173
  Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
173
174
  """
174
175
  return pulumi.get(self, "ingest_type")
175
176
 
176
177
  @ingest_type.setter
177
- def ingest_type(self, value: Optional[pulumi.Input[str]]):
178
+ def ingest_type(self, value: Optional[pulumi.Input[builtins.str]]):
178
179
  pulumi.set(self, "ingest_type", value)
179
180
 
180
181
  @property
181
182
  @pulumi.getter
182
- def key(self) -> Optional[pulumi.Input[str]]:
183
+ def key(self) -> Optional[pulumi.Input[builtins.str]]:
183
184
  """
184
185
  The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
185
186
  """
186
187
  return pulumi.get(self, "key")
187
188
 
188
189
  @key.setter
189
- def key(self, value: Optional[pulumi.Input[str]]):
190
+ def key(self, value: Optional[pulumi.Input[builtins.str]]):
190
191
  pulumi.set(self, "key", value)
191
192
 
192
193
  @property
193
194
  @pulumi.getter(name="keyType")
194
- def key_type(self) -> Optional[pulumi.Input[str]]:
195
+ def key_type(self) -> Optional[pulumi.Input[builtins.str]]:
195
196
  """
196
197
  What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
197
198
  """
198
199
  return pulumi.get(self, "key_type")
199
200
 
200
201
  @key_type.setter
201
- def key_type(self, value: Optional[pulumi.Input[str]]):
202
+ def key_type(self, value: Optional[pulumi.Input[builtins.str]]):
202
203
  pulumi.set(self, "key_type", value)
203
204
 
204
205
  @property
205
206
  @pulumi.getter
206
- def name(self) -> Optional[pulumi.Input[str]]:
207
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
207
208
  """
208
209
  The name of the key.
209
210
  """
210
211
  return pulumi.get(self, "name")
211
212
 
212
213
  @name.setter
213
- def name(self, value: Optional[pulumi.Input[str]]):
214
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
214
215
  pulumi.set(self, "name", value)
215
216
 
216
217
  @property
217
218
  @pulumi.getter
218
- def notes(self) -> Optional[pulumi.Input[str]]:
219
+ def notes(self) -> Optional[pulumi.Input[builtins.str]]:
219
220
  """
220
221
  Any notes about this ingest key.
221
222
  """
222
223
  return pulumi.get(self, "notes")
223
224
 
224
225
  @notes.setter
225
- def notes(self, value: Optional[pulumi.Input[str]]):
226
+ def notes(self, value: Optional[pulumi.Input[builtins.str]]):
226
227
  pulumi.set(self, "notes", value)
227
228
 
228
229
  @property
229
230
  @pulumi.getter(name="userId")
230
- def user_id(self) -> Optional[pulumi.Input[str]]:
231
+ def user_id(self) -> Optional[pulumi.Input[builtins.str]]:
231
232
  """
232
233
  Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
233
234
  """
234
235
  return pulumi.get(self, "user_id")
235
236
 
236
237
  @user_id.setter
237
- def user_id(self, value: Optional[pulumi.Input[str]]):
238
+ def user_id(self, value: Optional[pulumi.Input[builtins.str]]):
238
239
  pulumi.set(self, "user_id", value)
239
240
 
240
241
 
@@ -243,12 +244,12 @@ class ApiAccessKey(pulumi.CustomResource):
243
244
  def __init__(__self__,
244
245
  resource_name: str,
245
246
  opts: Optional[pulumi.ResourceOptions] = None,
246
- account_id: Optional[pulumi.Input[str]] = None,
247
- ingest_type: Optional[pulumi.Input[str]] = None,
248
- key_type: Optional[pulumi.Input[str]] = None,
249
- name: Optional[pulumi.Input[str]] = None,
250
- notes: Optional[pulumi.Input[str]] = None,
251
- user_id: Optional[pulumi.Input[str]] = None,
247
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
248
+ ingest_type: Optional[pulumi.Input[builtins.str]] = None,
249
+ key_type: Optional[pulumi.Input[builtins.str]] = None,
250
+ name: Optional[pulumi.Input[builtins.str]] = None,
251
+ notes: Optional[pulumi.Input[builtins.str]] = None,
252
+ user_id: Optional[pulumi.Input[builtins.str]] = None,
252
253
  __props__=None):
253
254
  """
254
255
  Use this resource to programmatically create and manage the following types of keys:
@@ -288,12 +289,12 @@ class ApiAccessKey(pulumi.CustomResource):
288
289
 
289
290
  :param str resource_name: The name of the resource.
290
291
  :param pulumi.ResourceOptions opts: Options for the resource.
291
- :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
292
- :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
293
- :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
294
- :param pulumi.Input[str] name: The name of the key.
295
- :param pulumi.Input[str] notes: Any notes about this ingest key.
296
- :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
292
+ :param pulumi.Input[builtins.str] account_id: The New Relic account ID of the account you wish to create the API access key.
293
+ :param pulumi.Input[builtins.str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
294
+ :param pulumi.Input[builtins.str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
295
+ :param pulumi.Input[builtins.str] name: The name of the key.
296
+ :param pulumi.Input[builtins.str] notes: Any notes about this ingest key.
297
+ :param pulumi.Input[builtins.str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
297
298
  """
298
299
  ...
299
300
  @overload
@@ -352,12 +353,12 @@ class ApiAccessKey(pulumi.CustomResource):
352
353
  def _internal_init(__self__,
353
354
  resource_name: str,
354
355
  opts: Optional[pulumi.ResourceOptions] = None,
355
- account_id: Optional[pulumi.Input[str]] = None,
356
- ingest_type: Optional[pulumi.Input[str]] = None,
357
- key_type: Optional[pulumi.Input[str]] = None,
358
- name: Optional[pulumi.Input[str]] = None,
359
- notes: Optional[pulumi.Input[str]] = None,
360
- user_id: Optional[pulumi.Input[str]] = None,
356
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
357
+ ingest_type: Optional[pulumi.Input[builtins.str]] = None,
358
+ key_type: Optional[pulumi.Input[builtins.str]] = None,
359
+ name: Optional[pulumi.Input[builtins.str]] = None,
360
+ notes: Optional[pulumi.Input[builtins.str]] = None,
361
+ user_id: Optional[pulumi.Input[builtins.str]] = None,
361
362
  __props__=None):
362
363
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
363
364
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -390,13 +391,13 @@ class ApiAccessKey(pulumi.CustomResource):
390
391
  def get(resource_name: str,
391
392
  id: pulumi.Input[str],
392
393
  opts: Optional[pulumi.ResourceOptions] = None,
393
- account_id: Optional[pulumi.Input[str]] = None,
394
- ingest_type: Optional[pulumi.Input[str]] = None,
395
- key: Optional[pulumi.Input[str]] = None,
396
- key_type: Optional[pulumi.Input[str]] = None,
397
- name: Optional[pulumi.Input[str]] = None,
398
- notes: Optional[pulumi.Input[str]] = None,
399
- user_id: Optional[pulumi.Input[str]] = None) -> 'ApiAccessKey':
394
+ account_id: Optional[pulumi.Input[builtins.str]] = None,
395
+ ingest_type: Optional[pulumi.Input[builtins.str]] = None,
396
+ key: Optional[pulumi.Input[builtins.str]] = None,
397
+ key_type: Optional[pulumi.Input[builtins.str]] = None,
398
+ name: Optional[pulumi.Input[builtins.str]] = None,
399
+ notes: Optional[pulumi.Input[builtins.str]] = None,
400
+ user_id: Optional[pulumi.Input[builtins.str]] = None) -> 'ApiAccessKey':
400
401
  """
401
402
  Get an existing ApiAccessKey resource's state with the given name, id, and optional extra
402
403
  properties used to qualify the lookup.
@@ -404,13 +405,13 @@ class ApiAccessKey(pulumi.CustomResource):
404
405
  :param str resource_name: The unique name of the resulting resource.
405
406
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
406
407
  :param pulumi.ResourceOptions opts: Options for the resource.
407
- :param pulumi.Input[str] account_id: The New Relic account ID of the account you wish to create the API access key.
408
- :param pulumi.Input[str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
409
- :param pulumi.Input[str] key: The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
410
- :param pulumi.Input[str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
411
- :param pulumi.Input[str] name: The name of the key.
412
- :param pulumi.Input[str] notes: Any notes about this ingest key.
413
- :param pulumi.Input[str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
408
+ :param pulumi.Input[builtins.str] account_id: The New Relic account ID of the account you wish to create the API access key.
409
+ :param pulumi.Input[builtins.str] ingest_type: Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
410
+ :param pulumi.Input[builtins.str] key: The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
411
+ :param pulumi.Input[builtins.str] key_type: What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
412
+ :param pulumi.Input[builtins.str] name: The name of the key.
413
+ :param pulumi.Input[builtins.str] notes: Any notes about this ingest key.
414
+ :param pulumi.Input[builtins.str] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
414
415
  """
415
416
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
416
417
 
@@ -427,7 +428,7 @@ class ApiAccessKey(pulumi.CustomResource):
427
428
 
428
429
  @property
429
430
  @pulumi.getter(name="accountId")
430
- def account_id(self) -> pulumi.Output[str]:
431
+ def account_id(self) -> pulumi.Output[builtins.str]:
431
432
  """
432
433
  The New Relic account ID of the account you wish to create the API access key.
433
434
  """
@@ -435,7 +436,7 @@ class ApiAccessKey(pulumi.CustomResource):
435
436
 
436
437
  @property
437
438
  @pulumi.getter(name="ingestType")
438
- def ingest_type(self) -> pulumi.Output[str]:
439
+ def ingest_type(self) -> pulumi.Output[builtins.str]:
439
440
  """
440
441
  Required if `key_type = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
441
442
  """
@@ -443,7 +444,7 @@ class ApiAccessKey(pulumi.CustomResource):
443
444
 
444
445
  @property
445
446
  @pulumi.getter
446
- def key(self) -> pulumi.Output[str]:
447
+ def key(self) -> pulumi.Output[builtins.str]:
447
448
  """
448
449
  The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
449
450
  """
@@ -451,7 +452,7 @@ class ApiAccessKey(pulumi.CustomResource):
451
452
 
452
453
  @property
453
454
  @pulumi.getter(name="keyType")
454
- def key_type(self) -> pulumi.Output[str]:
455
+ def key_type(self) -> pulumi.Output[builtins.str]:
455
456
  """
456
457
  What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
457
458
  """
@@ -459,7 +460,7 @@ class ApiAccessKey(pulumi.CustomResource):
459
460
 
460
461
  @property
461
462
  @pulumi.getter
462
- def name(self) -> pulumi.Output[str]:
463
+ def name(self) -> pulumi.Output[builtins.str]:
463
464
  """
464
465
  The name of the key.
465
466
  """
@@ -467,7 +468,7 @@ class ApiAccessKey(pulumi.CustomResource):
467
468
 
468
469
  @property
469
470
  @pulumi.getter
470
- def notes(self) -> pulumi.Output[str]:
471
+ def notes(self) -> pulumi.Output[builtins.str]:
471
472
  """
472
473
  Any notes about this ingest key.
473
474
  """
@@ -475,7 +476,7 @@ class ApiAccessKey(pulumi.CustomResource):
475
476
 
476
477
  @property
477
478
  @pulumi.getter(name="userId")
478
- def user_id(self) -> pulumi.Output[str]:
479
+ def user_id(self) -> pulumi.Output[builtins.str]:
479
480
  """
480
481
  Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account.
481
482
  """