pulumi-newrelic 5.48.0a1753156041__py3-none-any.whl → 5.49.0__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 -1
  2. pulumi_newrelic/_inputs.py +3759 -3760
  3. pulumi_newrelic/account_management.py +35 -36
  4. pulumi_newrelic/alert_channel.py +55 -56
  5. pulumi_newrelic/alert_condition.py +217 -218
  6. pulumi_newrelic/alert_muting_rule.py +92 -93
  7. pulumi_newrelic/alert_policy.py +69 -70
  8. pulumi_newrelic/alert_policy_channel.py +52 -53
  9. pulumi_newrelic/api_access_key.py +112 -113
  10. pulumi_newrelic/browser_application.py +113 -114
  11. pulumi_newrelic/cloud/__init__.py +1 -1
  12. pulumi_newrelic/cloud/_inputs.py +2129 -2130
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
  15. pulumi_newrelic/cloud/aws_integrations.py +194 -195
  16. pulumi_newrelic/cloud/aws_link_account.py +69 -70
  17. pulumi_newrelic/cloud/azure_integrations.py +131 -132
  18. pulumi_newrelic/cloud/azure_link_account.py +103 -104
  19. pulumi_newrelic/cloud/gcp_integrations.py +113 -114
  20. pulumi_newrelic/cloud/gcp_link_account.py +52 -53
  21. pulumi_newrelic/cloud/outputs.py +1417 -1418
  22. pulumi_newrelic/config/__init__.py +1 -1
  23. pulumi_newrelic/config/__init__.pyi +1 -2
  24. pulumi_newrelic/config/vars.py +14 -15
  25. pulumi_newrelic/data_partition_rule.py +112 -113
  26. pulumi_newrelic/entity_tags.py +21 -22
  27. pulumi_newrelic/events_to_metrics_rule.py +95 -96
  28. pulumi_newrelic/get_account.py +21 -22
  29. pulumi_newrelic/get_alert_channel.py +20 -21
  30. pulumi_newrelic/get_alert_policy.py +25 -26
  31. pulumi_newrelic/get_application.py +13 -14
  32. pulumi_newrelic/get_authentication_domain.py +9 -10
  33. pulumi_newrelic/get_cloud_account.py +21 -22
  34. pulumi_newrelic/get_entity.py +52 -53
  35. pulumi_newrelic/get_group.py +17 -18
  36. pulumi_newrelic/get_key_transaction.py +25 -26
  37. pulumi_newrelic/get_notification_destination.py +29 -30
  38. pulumi_newrelic/get_obfuscation_expression.py +15 -16
  39. pulumi_newrelic/get_service_level_alert_helper.py +53 -54
  40. pulumi_newrelic/get_test_grok_pattern.py +22 -23
  41. pulumi_newrelic/get_user.py +21 -22
  42. pulumi_newrelic/group.py +52 -53
  43. pulumi_newrelic/infra_alert_condition.py +255 -256
  44. pulumi_newrelic/insights/__init__.py +1 -1
  45. pulumi_newrelic/insights/_inputs.py +32 -33
  46. pulumi_newrelic/insights/event.py +4 -5
  47. pulumi_newrelic/insights/outputs.py +22 -23
  48. pulumi_newrelic/key_transaction.py +104 -105
  49. pulumi_newrelic/log_parsing_rule.py +146 -147
  50. pulumi_newrelic/monitor_downtime.py +143 -144
  51. pulumi_newrelic/notification_channel.py +115 -116
  52. pulumi_newrelic/notification_destination.py +111 -112
  53. pulumi_newrelic/nrql_alert_condition.py +430 -431
  54. pulumi_newrelic/nrql_drop_rule.py +78 -79
  55. pulumi_newrelic/obfuscation_expression.py +69 -70
  56. pulumi_newrelic/obfuscation_rule.py +89 -90
  57. pulumi_newrelic/one_dashboard.py +93 -94
  58. pulumi_newrelic/one_dashboard_json.py +62 -63
  59. pulumi_newrelic/one_dashboard_raw.py +90 -91
  60. pulumi_newrelic/outputs.py +2646 -2647
  61. pulumi_newrelic/plugins/__init__.py +1 -1
  62. pulumi_newrelic/plugins/_inputs.py +158 -159
  63. pulumi_newrelic/plugins/application_settings.py +167 -168
  64. pulumi_newrelic/plugins/outputs.py +108 -109
  65. pulumi_newrelic/plugins/workload.py +131 -132
  66. pulumi_newrelic/provider.py +106 -107
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +76 -77
  69. pulumi_newrelic/synthetics/__init__.py +1 -1
  70. pulumi_newrelic/synthetics/_inputs.py +127 -128
  71. pulumi_newrelic/synthetics/alert_condition.py +95 -96
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
  74. pulumi_newrelic/synthetics/get_private_location.py +21 -22
  75. pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
  76. pulumi_newrelic/synthetics/monitor.py +378 -379
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
  78. pulumi_newrelic/synthetics/outputs.py +85 -86
  79. pulumi_newrelic/synthetics/private_location.py +105 -106
  80. pulumi_newrelic/synthetics/script_monitor.py +302 -303
  81. pulumi_newrelic/synthetics/secure_credential.py +86 -87
  82. pulumi_newrelic/synthetics/step_monitor.py +220 -221
  83. pulumi_newrelic/user.py +69 -70
  84. pulumi_newrelic/workflow.py +139 -140
  85. {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.49.0.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.48.0a1753156041.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.48.0a1753156041.dist-info → pulumi_newrelic-5.49.0.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
2
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 builtins
5
+ import builtins as _builtins
6
6
  import sys
7
7
  from .vars import _ExportableConfig
8
8
 
@@ -2,8 +2,7 @@
2
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 builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -2,8 +2,7 @@
2
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 builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -21,58 +20,58 @@ __config__ = pulumi.Config('newrelic')
21
20
 
22
21
 
23
22
  class _ExportableConfig(types.ModuleType):
24
- @property
23
+ @_builtins.property
25
24
  def account_id(self) -> Optional[str]:
26
25
  return __config__.get('accountId') or _utilities.get_env('NEW_RELIC_ACCOUNT_ID')
27
26
 
28
- @property
27
+ @_builtins.property
29
28
  def admin_api_key(self) -> Optional[str]:
30
29
  return __config__.get('adminApiKey')
31
30
 
32
- @property
31
+ @_builtins.property
33
32
  def api_key(self) -> Optional[str]:
34
33
  return __config__.get('apiKey')
35
34
 
36
- @property
35
+ @_builtins.property
37
36
  def api_url(self) -> Optional[str]:
38
37
  return __config__.get('apiUrl')
39
38
 
40
- @property
39
+ @_builtins.property
41
40
  def cacert_file(self) -> Optional[str]:
42
41
  return __config__.get('cacertFile')
43
42
 
44
- @property
43
+ @_builtins.property
45
44
  def infrastructure_api_url(self) -> Optional[str]:
46
45
  return __config__.get('infrastructureApiUrl')
47
46
 
48
- @property
47
+ @_builtins.property
49
48
  def insecure_skip_verify(self) -> Optional[bool]:
50
49
  return __config__.get_bool('insecureSkipVerify')
51
50
 
52
- @property
51
+ @_builtins.property
53
52
  def insights_insert_key(self) -> Optional[str]:
54
53
  return __config__.get('insightsInsertKey')
55
54
 
56
- @property
55
+ @_builtins.property
57
56
  def insights_insert_url(self) -> Optional[str]:
58
57
  return __config__.get('insightsInsertUrl')
59
58
 
60
- @property
59
+ @_builtins.property
61
60
  def insights_query_url(self) -> Optional[str]:
62
61
  return __config__.get('insightsQueryUrl')
63
62
 
64
- @property
63
+ @_builtins.property
65
64
  def nerdgraph_api_url(self) -> Optional[str]:
66
65
  return __config__.get('nerdgraphApiUrl')
67
66
 
68
- @property
67
+ @_builtins.property
69
68
  def region(self) -> str:
70
69
  """
71
70
  The data center for which your New Relic account is configured. Only one region per provider block is permitted.
72
71
  """
73
72
  return __config__.get('region') or (_utilities.get_env('NEW_RELIC_REGION') or 'US')
74
73
 
75
- @property
74
+ @_builtins.property
76
75
  def synthetics_api_url(self) -> Optional[str]:
77
76
  return __config__.get('syntheticsApiUrl')
78
77
 
@@ -2,8 +2,7 @@
2
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 builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,20 +19,20 @@ __all__ = ['DataPartitionRuleArgs', 'DataPartitionRule']
20
19
  @pulumi.input_type
21
20
  class DataPartitionRuleArgs:
22
21
  def __init__(__self__, *,
23
- enabled: pulumi.Input[builtins.bool],
24
- nrql: pulumi.Input[builtins.str],
25
- retention_policy: pulumi.Input[builtins.str],
26
- target_data_partition: pulumi.Input[builtins.str],
27
- account_id: Optional[pulumi.Input[builtins.str]] = None,
28
- description: Optional[pulumi.Input[builtins.str]] = None):
22
+ enabled: pulumi.Input[_builtins.bool],
23
+ nrql: pulumi.Input[_builtins.str],
24
+ retention_policy: pulumi.Input[_builtins.str],
25
+ target_data_partition: pulumi.Input[_builtins.str],
26
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
27
+ description: Optional[pulumi.Input[_builtins.str]] = None):
29
28
  """
30
29
  The set of arguments for constructing a DataPartitionRule resource.
31
- :param pulumi.Input[builtins.bool] enabled: Whether or not this data partition rule is enabled.
32
- :param pulumi.Input[builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
33
- :param pulumi.Input[builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
34
- :param pulumi.Input[builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
35
- :param pulumi.Input[builtins.str] account_id: The account id associated with the data partition rule.
36
- :param pulumi.Input[builtins.str] description: The description of the data partition rule.
30
+ :param pulumi.Input[_builtins.bool] enabled: Whether or not this data partition rule is enabled.
31
+ :param pulumi.Input[_builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
32
+ :param pulumi.Input[_builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
33
+ :param pulumi.Input[_builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
34
+ :param pulumi.Input[_builtins.str] account_id: The account id associated with the data partition rule.
35
+ :param pulumi.Input[_builtins.str] description: The description of the data partition rule.
37
36
  """
38
37
  pulumi.set(__self__, "enabled", enabled)
39
38
  pulumi.set(__self__, "nrql", nrql)
@@ -44,98 +43,98 @@ class DataPartitionRuleArgs:
44
43
  if description is not None:
45
44
  pulumi.set(__self__, "description", description)
46
45
 
47
- @property
46
+ @_builtins.property
48
47
  @pulumi.getter
49
- def enabled(self) -> pulumi.Input[builtins.bool]:
48
+ def enabled(self) -> pulumi.Input[_builtins.bool]:
50
49
  """
51
50
  Whether or not this data partition rule is enabled.
52
51
  """
53
52
  return pulumi.get(self, "enabled")
54
53
 
55
54
  @enabled.setter
56
- def enabled(self, value: pulumi.Input[builtins.bool]):
55
+ def enabled(self, value: pulumi.Input[_builtins.bool]):
57
56
  pulumi.set(self, "enabled", value)
58
57
 
59
- @property
58
+ @_builtins.property
60
59
  @pulumi.getter
61
- def nrql(self) -> pulumi.Input[builtins.str]:
60
+ def nrql(self) -> pulumi.Input[_builtins.str]:
62
61
  """
63
62
  The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
64
63
  """
65
64
  return pulumi.get(self, "nrql")
66
65
 
67
66
  @nrql.setter
68
- def nrql(self, value: pulumi.Input[builtins.str]):
67
+ def nrql(self, value: pulumi.Input[_builtins.str]):
69
68
  pulumi.set(self, "nrql", value)
70
69
 
71
- @property
70
+ @_builtins.property
72
71
  @pulumi.getter(name="retentionPolicy")
73
- def retention_policy(self) -> pulumi.Input[builtins.str]:
72
+ def retention_policy(self) -> pulumi.Input[_builtins.str]:
74
73
  """
75
74
  The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
76
75
  """
77
76
  return pulumi.get(self, "retention_policy")
78
77
 
79
78
  @retention_policy.setter
80
- def retention_policy(self, value: pulumi.Input[builtins.str]):
79
+ def retention_policy(self, value: pulumi.Input[_builtins.str]):
81
80
  pulumi.set(self, "retention_policy", value)
82
81
 
83
- @property
82
+ @_builtins.property
84
83
  @pulumi.getter(name="targetDataPartition")
85
- def target_data_partition(self) -> pulumi.Input[builtins.str]:
84
+ def target_data_partition(self) -> pulumi.Input[_builtins.str]:
86
85
  """
87
86
  The name of the data partition where logs will be allocated once the rule is enabled.
88
87
  """
89
88
  return pulumi.get(self, "target_data_partition")
90
89
 
91
90
  @target_data_partition.setter
92
- def target_data_partition(self, value: pulumi.Input[builtins.str]):
91
+ def target_data_partition(self, value: pulumi.Input[_builtins.str]):
93
92
  pulumi.set(self, "target_data_partition", value)
94
93
 
95
- @property
94
+ @_builtins.property
96
95
  @pulumi.getter(name="accountId")
97
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
96
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
98
97
  """
99
98
  The account id associated with the data partition rule.
100
99
  """
101
100
  return pulumi.get(self, "account_id")
102
101
 
103
102
  @account_id.setter
104
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
103
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
105
104
  pulumi.set(self, "account_id", value)
106
105
 
107
- @property
106
+ @_builtins.property
108
107
  @pulumi.getter
109
- def description(self) -> Optional[pulumi.Input[builtins.str]]:
108
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
110
109
  """
111
110
  The description of the data partition rule.
112
111
  """
113
112
  return pulumi.get(self, "description")
114
113
 
115
114
  @description.setter
116
- def description(self, value: Optional[pulumi.Input[builtins.str]]):
115
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
117
116
  pulumi.set(self, "description", value)
118
117
 
119
118
 
120
119
  @pulumi.input_type
121
120
  class _DataPartitionRuleState:
122
121
  def __init__(__self__, *,
123
- account_id: Optional[pulumi.Input[builtins.str]] = None,
124
- deleted: Optional[pulumi.Input[builtins.bool]] = None,
125
- description: Optional[pulumi.Input[builtins.str]] = None,
126
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
127
- nrql: Optional[pulumi.Input[builtins.str]] = None,
128
- retention_policy: Optional[pulumi.Input[builtins.str]] = None,
129
- target_data_partition: Optional[pulumi.Input[builtins.str]] = None):
122
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
123
+ deleted: Optional[pulumi.Input[_builtins.bool]] = None,
124
+ description: Optional[pulumi.Input[_builtins.str]] = None,
125
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
126
+ nrql: Optional[pulumi.Input[_builtins.str]] = None,
127
+ retention_policy: Optional[pulumi.Input[_builtins.str]] = None,
128
+ target_data_partition: Optional[pulumi.Input[_builtins.str]] = None):
130
129
  """
131
130
  Input properties used for looking up and filtering DataPartitionRule resources.
132
- :param pulumi.Input[builtins.str] account_id: The account id associated with the data partition rule.
133
- :param pulumi.Input[builtins.bool] deleted: Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
134
- :param pulumi.Input[builtins.str] description: The description of the data partition rule.
135
- :param pulumi.Input[builtins.bool] enabled: Whether or not this data partition rule is enabled.
136
- :param pulumi.Input[builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
137
- :param pulumi.Input[builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
138
- :param pulumi.Input[builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
131
+ :param pulumi.Input[_builtins.str] account_id: The account id associated with the data partition rule.
132
+ :param pulumi.Input[_builtins.bool] deleted: Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
133
+ :param pulumi.Input[_builtins.str] description: The description of the data partition rule.
134
+ :param pulumi.Input[_builtins.bool] enabled: Whether or not this data partition rule is enabled.
135
+ :param pulumi.Input[_builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
136
+ :param pulumi.Input[_builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
137
+ :param pulumi.Input[_builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
139
138
  """
140
139
  if account_id is not None:
141
140
  pulumi.set(__self__, "account_id", account_id)
@@ -152,88 +151,88 @@ class _DataPartitionRuleState:
152
151
  if target_data_partition is not None:
153
152
  pulumi.set(__self__, "target_data_partition", target_data_partition)
154
153
 
155
- @property
154
+ @_builtins.property
156
155
  @pulumi.getter(name="accountId")
157
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
156
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
158
157
  """
159
158
  The account id associated with the data partition rule.
160
159
  """
161
160
  return pulumi.get(self, "account_id")
162
161
 
163
162
  @account_id.setter
164
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
163
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
165
164
  pulumi.set(self, "account_id", value)
166
165
 
167
- @property
166
+ @_builtins.property
168
167
  @pulumi.getter
169
- def deleted(self) -> Optional[pulumi.Input[builtins.bool]]:
168
+ def deleted(self) -> Optional[pulumi.Input[_builtins.bool]]:
170
169
  """
171
170
  Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
172
171
  """
173
172
  return pulumi.get(self, "deleted")
174
173
 
175
174
  @deleted.setter
176
- def deleted(self, value: Optional[pulumi.Input[builtins.bool]]):
175
+ def deleted(self, value: Optional[pulumi.Input[_builtins.bool]]):
177
176
  pulumi.set(self, "deleted", value)
178
177
 
179
- @property
178
+ @_builtins.property
180
179
  @pulumi.getter
181
- def description(self) -> Optional[pulumi.Input[builtins.str]]:
180
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
182
181
  """
183
182
  The description of the data partition rule.
184
183
  """
185
184
  return pulumi.get(self, "description")
186
185
 
187
186
  @description.setter
188
- def description(self, value: Optional[pulumi.Input[builtins.str]]):
187
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
189
188
  pulumi.set(self, "description", value)
190
189
 
191
- @property
190
+ @_builtins.property
192
191
  @pulumi.getter
193
- def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
192
+ def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
194
193
  """
195
194
  Whether or not this data partition rule is enabled.
196
195
  """
197
196
  return pulumi.get(self, "enabled")
198
197
 
199
198
  @enabled.setter
200
- def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
199
+ def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
201
200
  pulumi.set(self, "enabled", value)
202
201
 
203
- @property
202
+ @_builtins.property
204
203
  @pulumi.getter
205
- def nrql(self) -> Optional[pulumi.Input[builtins.str]]:
204
+ def nrql(self) -> Optional[pulumi.Input[_builtins.str]]:
206
205
  """
207
206
  The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
208
207
  """
209
208
  return pulumi.get(self, "nrql")
210
209
 
211
210
  @nrql.setter
212
- def nrql(self, value: Optional[pulumi.Input[builtins.str]]):
211
+ def nrql(self, value: Optional[pulumi.Input[_builtins.str]]):
213
212
  pulumi.set(self, "nrql", value)
214
213
 
215
- @property
214
+ @_builtins.property
216
215
  @pulumi.getter(name="retentionPolicy")
217
- def retention_policy(self) -> Optional[pulumi.Input[builtins.str]]:
216
+ def retention_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
218
217
  """
219
218
  The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
220
219
  """
221
220
  return pulumi.get(self, "retention_policy")
222
221
 
223
222
  @retention_policy.setter
224
- def retention_policy(self, value: Optional[pulumi.Input[builtins.str]]):
223
+ def retention_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
225
224
  pulumi.set(self, "retention_policy", value)
226
225
 
227
- @property
226
+ @_builtins.property
228
227
  @pulumi.getter(name="targetDataPartition")
229
- def target_data_partition(self) -> Optional[pulumi.Input[builtins.str]]:
228
+ def target_data_partition(self) -> Optional[pulumi.Input[_builtins.str]]:
230
229
  """
231
230
  The name of the data partition where logs will be allocated once the rule is enabled.
232
231
  """
233
232
  return pulumi.get(self, "target_data_partition")
234
233
 
235
234
  @target_data_partition.setter
236
- def target_data_partition(self, value: Optional[pulumi.Input[builtins.str]]):
235
+ def target_data_partition(self, value: Optional[pulumi.Input[_builtins.str]]):
237
236
  pulumi.set(self, "target_data_partition", value)
238
237
 
239
238
 
@@ -243,12 +242,12 @@ class DataPartitionRule(pulumi.CustomResource):
243
242
  def __init__(__self__,
244
243
  resource_name: str,
245
244
  opts: Optional[pulumi.ResourceOptions] = None,
246
- account_id: Optional[pulumi.Input[builtins.str]] = None,
247
- description: Optional[pulumi.Input[builtins.str]] = None,
248
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
249
- nrql: Optional[pulumi.Input[builtins.str]] = None,
250
- retention_policy: Optional[pulumi.Input[builtins.str]] = None,
251
- target_data_partition: Optional[pulumi.Input[builtins.str]] = None,
245
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
246
+ description: Optional[pulumi.Input[_builtins.str]] = None,
247
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
248
+ nrql: Optional[pulumi.Input[_builtins.str]] = None,
249
+ retention_policy: Optional[pulumi.Input[_builtins.str]] = None,
250
+ target_data_partition: Optional[pulumi.Input[_builtins.str]] = None,
252
251
  __props__=None):
253
252
  """
254
253
  Use this resource to create, update and delete New Relic Data partition rule.
@@ -283,12 +282,12 @@ class DataPartitionRule(pulumi.CustomResource):
283
282
 
284
283
  :param str resource_name: The name of the resource.
285
284
  :param pulumi.ResourceOptions opts: Options for the resource.
286
- :param pulumi.Input[builtins.str] account_id: The account id associated with the data partition rule.
287
- :param pulumi.Input[builtins.str] description: The description of the data partition rule.
288
- :param pulumi.Input[builtins.bool] enabled: Whether or not this data partition rule is enabled.
289
- :param pulumi.Input[builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
290
- :param pulumi.Input[builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
291
- :param pulumi.Input[builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
285
+ :param pulumi.Input[_builtins.str] account_id: The account id associated with the data partition rule.
286
+ :param pulumi.Input[_builtins.str] description: The description of the data partition rule.
287
+ :param pulumi.Input[_builtins.bool] enabled: Whether or not this data partition rule is enabled.
288
+ :param pulumi.Input[_builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
289
+ :param pulumi.Input[_builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
290
+ :param pulumi.Input[_builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
292
291
  """
293
292
  ...
294
293
  @overload
@@ -342,12 +341,12 @@ class DataPartitionRule(pulumi.CustomResource):
342
341
  def _internal_init(__self__,
343
342
  resource_name: str,
344
343
  opts: Optional[pulumi.ResourceOptions] = None,
345
- account_id: Optional[pulumi.Input[builtins.str]] = None,
346
- description: Optional[pulumi.Input[builtins.str]] = None,
347
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
348
- nrql: Optional[pulumi.Input[builtins.str]] = None,
349
- retention_policy: Optional[pulumi.Input[builtins.str]] = None,
350
- target_data_partition: Optional[pulumi.Input[builtins.str]] = None,
344
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
345
+ description: Optional[pulumi.Input[_builtins.str]] = None,
346
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
347
+ nrql: Optional[pulumi.Input[_builtins.str]] = None,
348
+ retention_policy: Optional[pulumi.Input[_builtins.str]] = None,
349
+ target_data_partition: Optional[pulumi.Input[_builtins.str]] = None,
351
350
  __props__=None):
352
351
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
353
352
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -382,13 +381,13 @@ class DataPartitionRule(pulumi.CustomResource):
382
381
  def get(resource_name: str,
383
382
  id: pulumi.Input[str],
384
383
  opts: Optional[pulumi.ResourceOptions] = None,
385
- account_id: Optional[pulumi.Input[builtins.str]] = None,
386
- deleted: Optional[pulumi.Input[builtins.bool]] = None,
387
- description: Optional[pulumi.Input[builtins.str]] = None,
388
- enabled: Optional[pulumi.Input[builtins.bool]] = None,
389
- nrql: Optional[pulumi.Input[builtins.str]] = None,
390
- retention_policy: Optional[pulumi.Input[builtins.str]] = None,
391
- target_data_partition: Optional[pulumi.Input[builtins.str]] = None) -> 'DataPartitionRule':
384
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
385
+ deleted: Optional[pulumi.Input[_builtins.bool]] = None,
386
+ description: Optional[pulumi.Input[_builtins.str]] = None,
387
+ enabled: Optional[pulumi.Input[_builtins.bool]] = None,
388
+ nrql: Optional[pulumi.Input[_builtins.str]] = None,
389
+ retention_policy: Optional[pulumi.Input[_builtins.str]] = None,
390
+ target_data_partition: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataPartitionRule':
392
391
  """
393
392
  Get an existing DataPartitionRule resource's state with the given name, id, and optional extra
394
393
  properties used to qualify the lookup.
@@ -396,13 +395,13 @@ class DataPartitionRule(pulumi.CustomResource):
396
395
  :param str resource_name: The unique name of the resulting resource.
397
396
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
398
397
  :param pulumi.ResourceOptions opts: Options for the resource.
399
- :param pulumi.Input[builtins.str] account_id: The account id associated with the data partition rule.
400
- :param pulumi.Input[builtins.bool] deleted: Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
401
- :param pulumi.Input[builtins.str] description: The description of the data partition rule.
402
- :param pulumi.Input[builtins.bool] enabled: Whether or not this data partition rule is enabled.
403
- :param pulumi.Input[builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
404
- :param pulumi.Input[builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
405
- :param pulumi.Input[builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
398
+ :param pulumi.Input[_builtins.str] account_id: The account id associated with the data partition rule.
399
+ :param pulumi.Input[_builtins.bool] deleted: Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
400
+ :param pulumi.Input[_builtins.str] description: The description of the data partition rule.
401
+ :param pulumi.Input[_builtins.bool] enabled: Whether or not this data partition rule is enabled.
402
+ :param pulumi.Input[_builtins.str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
403
+ :param pulumi.Input[_builtins.str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
404
+ :param pulumi.Input[_builtins.str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
406
405
  """
407
406
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
408
407
 
@@ -417,57 +416,57 @@ class DataPartitionRule(pulumi.CustomResource):
417
416
  __props__.__dict__["target_data_partition"] = target_data_partition
418
417
  return DataPartitionRule(resource_name, opts=opts, __props__=__props__)
419
418
 
420
- @property
419
+ @_builtins.property
421
420
  @pulumi.getter(name="accountId")
422
- def account_id(self) -> pulumi.Output[builtins.str]:
421
+ def account_id(self) -> pulumi.Output[_builtins.str]:
423
422
  """
424
423
  The account id associated with the data partition rule.
425
424
  """
426
425
  return pulumi.get(self, "account_id")
427
426
 
428
- @property
427
+ @_builtins.property
429
428
  @pulumi.getter
430
- def deleted(self) -> pulumi.Output[builtins.bool]:
429
+ def deleted(self) -> pulumi.Output[_builtins.bool]:
431
430
  """
432
431
  Whether or not this data partition rule is deleted. Deleting a data partition rule does not delete the already persisted data. This data will be retained for a given period of time specified in the retention policy field.
433
432
  """
434
433
  return pulumi.get(self, "deleted")
435
434
 
436
- @property
435
+ @_builtins.property
437
436
  @pulumi.getter
438
- def description(self) -> pulumi.Output[Optional[builtins.str]]:
437
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
439
438
  """
440
439
  The description of the data partition rule.
441
440
  """
442
441
  return pulumi.get(self, "description")
443
442
 
444
- @property
443
+ @_builtins.property
445
444
  @pulumi.getter
446
- def enabled(self) -> pulumi.Output[builtins.bool]:
445
+ def enabled(self) -> pulumi.Output[_builtins.bool]:
447
446
  """
448
447
  Whether or not this data partition rule is enabled.
449
448
  """
450
449
  return pulumi.get(self, "enabled")
451
450
 
452
- @property
451
+ @_builtins.property
453
452
  @pulumi.getter
454
- def nrql(self) -> pulumi.Output[builtins.str]:
453
+ def nrql(self) -> pulumi.Output[_builtins.str]:
455
454
  """
456
455
  The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
457
456
  """
458
457
  return pulumi.get(self, "nrql")
459
458
 
460
- @property
459
+ @_builtins.property
461
460
  @pulumi.getter(name="retentionPolicy")
462
- def retention_policy(self) -> pulumi.Output[builtins.str]:
461
+ def retention_policy(self) -> pulumi.Output[_builtins.str]:
463
462
  """
464
463
  The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
465
464
  """
466
465
  return pulumi.get(self, "retention_policy")
467
466
 
468
- @property
467
+ @_builtins.property
469
468
  @pulumi.getter(name="targetDataPartition")
470
- def target_data_partition(self) -> pulumi.Output[builtins.str]:
469
+ def target_data_partition(self) -> pulumi.Output[_builtins.str]:
471
470
  """
472
471
  The name of the data partition where logs will be allocated once the rule is enabled.
473
472
  """