pulumi-newrelic 5.45.0a1743488085__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.0a1743488085.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.0a1743488085.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.45.0a1743488085.dist-info → pulumi_newrelic-5.45.0a1744183332.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.45.0a1743488085.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 sys
6
7
  from .vars import _ExportableConfig
7
8
 
@@ -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
@@ -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
@@ -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__ = ['DataPartitionRuleArgs', 'DataPartitionRule']
19
20
  @pulumi.input_type
20
21
  class DataPartitionRuleArgs:
21
22
  def __init__(__self__, *,
22
- enabled: pulumi.Input[bool],
23
- nrql: pulumi.Input[str],
24
- retention_policy: pulumi.Input[str],
25
- target_data_partition: pulumi.Input[str],
26
- account_id: Optional[pulumi.Input[str]] = None,
27
- description: Optional[pulumi.Input[str]] = None):
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):
28
29
  """
29
30
  The set of arguments for constructing a DataPartitionRule resource.
30
- :param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
31
- :param pulumi.Input[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[str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
33
- :param pulumi.Input[str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
34
- :param pulumi.Input[str] account_id: The account id associated with the data partition rule.
35
- :param pulumi.Input[str] description: The description of the data partition rule.
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.
36
37
  """
37
38
  pulumi.set(__self__, "enabled", enabled)
38
39
  pulumi.set(__self__, "nrql", nrql)
@@ -45,96 +46,96 @@ class DataPartitionRuleArgs:
45
46
 
46
47
  @property
47
48
  @pulumi.getter
48
- def enabled(self) -> pulumi.Input[bool]:
49
+ def enabled(self) -> pulumi.Input[builtins.bool]:
49
50
  """
50
51
  Whether or not this data partition rule is enabled.
51
52
  """
52
53
  return pulumi.get(self, "enabled")
53
54
 
54
55
  @enabled.setter
55
- def enabled(self, value: pulumi.Input[bool]):
56
+ def enabled(self, value: pulumi.Input[builtins.bool]):
56
57
  pulumi.set(self, "enabled", value)
57
58
 
58
59
  @property
59
60
  @pulumi.getter
60
- def nrql(self) -> pulumi.Input[str]:
61
+ def nrql(self) -> pulumi.Input[builtins.str]:
61
62
  """
62
63
  The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
63
64
  """
64
65
  return pulumi.get(self, "nrql")
65
66
 
66
67
  @nrql.setter
67
- def nrql(self, value: pulumi.Input[str]):
68
+ def nrql(self, value: pulumi.Input[builtins.str]):
68
69
  pulumi.set(self, "nrql", value)
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="retentionPolicy")
72
- def retention_policy(self) -> pulumi.Input[str]:
73
+ def retention_policy(self) -> pulumi.Input[builtins.str]:
73
74
  """
74
75
  The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
75
76
  """
76
77
  return pulumi.get(self, "retention_policy")
77
78
 
78
79
  @retention_policy.setter
79
- def retention_policy(self, value: pulumi.Input[str]):
80
+ def retention_policy(self, value: pulumi.Input[builtins.str]):
80
81
  pulumi.set(self, "retention_policy", value)
81
82
 
82
83
  @property
83
84
  @pulumi.getter(name="targetDataPartition")
84
- def target_data_partition(self) -> pulumi.Input[str]:
85
+ def target_data_partition(self) -> pulumi.Input[builtins.str]:
85
86
  """
86
87
  The name of the data partition where logs will be allocated once the rule is enabled.
87
88
  """
88
89
  return pulumi.get(self, "target_data_partition")
89
90
 
90
91
  @target_data_partition.setter
91
- def target_data_partition(self, value: pulumi.Input[str]):
92
+ def target_data_partition(self, value: pulumi.Input[builtins.str]):
92
93
  pulumi.set(self, "target_data_partition", value)
93
94
 
94
95
  @property
95
96
  @pulumi.getter(name="accountId")
96
- def account_id(self) -> Optional[pulumi.Input[str]]:
97
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
97
98
  """
98
99
  The account id associated with the data partition rule.
99
100
  """
100
101
  return pulumi.get(self, "account_id")
101
102
 
102
103
  @account_id.setter
103
- def account_id(self, value: Optional[pulumi.Input[str]]):
104
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
104
105
  pulumi.set(self, "account_id", value)
105
106
 
106
107
  @property
107
108
  @pulumi.getter
108
- def description(self) -> Optional[pulumi.Input[str]]:
109
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
109
110
  """
110
111
  The description of the data partition rule.
111
112
  """
112
113
  return pulumi.get(self, "description")
113
114
 
114
115
  @description.setter
115
- def description(self, value: Optional[pulumi.Input[str]]):
116
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
116
117
  pulumi.set(self, "description", value)
117
118
 
118
119
 
119
120
  @pulumi.input_type
120
121
  class _DataPartitionRuleState:
121
122
  def __init__(__self__, *,
122
- account_id: Optional[pulumi.Input[str]] = None,
123
- deleted: Optional[pulumi.Input[bool]] = None,
124
- description: Optional[pulumi.Input[str]] = None,
125
- enabled: Optional[pulumi.Input[bool]] = None,
126
- nrql: Optional[pulumi.Input[str]] = None,
127
- retention_policy: Optional[pulumi.Input[str]] = None,
128
- target_data_partition: Optional[pulumi.Input[str]] = None):
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):
129
130
  """
130
131
  Input properties used for looking up and filtering DataPartitionRule resources.
131
- :param pulumi.Input[str] account_id: The account id associated with the data partition rule.
132
- :param pulumi.Input[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[str] description: The description of the data partition rule.
134
- :param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
135
- :param pulumi.Input[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[str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
137
- :param pulumi.Input[str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled.
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.
138
139
  """
139
140
  if account_id is not None:
140
141
  pulumi.set(__self__, "account_id", account_id)
@@ -153,86 +154,86 @@ class _DataPartitionRuleState:
153
154
 
154
155
  @property
155
156
  @pulumi.getter(name="accountId")
156
- def account_id(self) -> Optional[pulumi.Input[str]]:
157
+ def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
157
158
  """
158
159
  The account id associated with the data partition rule.
159
160
  """
160
161
  return pulumi.get(self, "account_id")
161
162
 
162
163
  @account_id.setter
163
- def account_id(self, value: Optional[pulumi.Input[str]]):
164
+ def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
164
165
  pulumi.set(self, "account_id", value)
165
166
 
166
167
  @property
167
168
  @pulumi.getter
168
- def deleted(self) -> Optional[pulumi.Input[bool]]:
169
+ def deleted(self) -> Optional[pulumi.Input[builtins.bool]]:
169
170
  """
170
171
  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.
171
172
  """
172
173
  return pulumi.get(self, "deleted")
173
174
 
174
175
  @deleted.setter
175
- def deleted(self, value: Optional[pulumi.Input[bool]]):
176
+ def deleted(self, value: Optional[pulumi.Input[builtins.bool]]):
176
177
  pulumi.set(self, "deleted", value)
177
178
 
178
179
  @property
179
180
  @pulumi.getter
180
- def description(self) -> Optional[pulumi.Input[str]]:
181
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
181
182
  """
182
183
  The description of the data partition rule.
183
184
  """
184
185
  return pulumi.get(self, "description")
185
186
 
186
187
  @description.setter
187
- def description(self, value: Optional[pulumi.Input[str]]):
188
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
188
189
  pulumi.set(self, "description", value)
189
190
 
190
191
  @property
191
192
  @pulumi.getter
192
- def enabled(self) -> Optional[pulumi.Input[bool]]:
193
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
193
194
  """
194
195
  Whether or not this data partition rule is enabled.
195
196
  """
196
197
  return pulumi.get(self, "enabled")
197
198
 
198
199
  @enabled.setter
199
- def enabled(self, value: Optional[pulumi.Input[bool]]):
200
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
200
201
  pulumi.set(self, "enabled", value)
201
202
 
202
203
  @property
203
204
  @pulumi.getter
204
- def nrql(self) -> Optional[pulumi.Input[str]]:
205
+ def nrql(self) -> Optional[pulumi.Input[builtins.str]]:
205
206
  """
206
207
  The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
207
208
  """
208
209
  return pulumi.get(self, "nrql")
209
210
 
210
211
  @nrql.setter
211
- def nrql(self, value: Optional[pulumi.Input[str]]):
212
+ def nrql(self, value: Optional[pulumi.Input[builtins.str]]):
212
213
  pulumi.set(self, "nrql", value)
213
214
 
214
215
  @property
215
216
  @pulumi.getter(name="retentionPolicy")
216
- def retention_policy(self) -> Optional[pulumi.Input[str]]:
217
+ def retention_policy(self) -> Optional[pulumi.Input[builtins.str]]:
217
218
  """
218
219
  The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
219
220
  """
220
221
  return pulumi.get(self, "retention_policy")
221
222
 
222
223
  @retention_policy.setter
223
- def retention_policy(self, value: Optional[pulumi.Input[str]]):
224
+ def retention_policy(self, value: Optional[pulumi.Input[builtins.str]]):
224
225
  pulumi.set(self, "retention_policy", value)
225
226
 
226
227
  @property
227
228
  @pulumi.getter(name="targetDataPartition")
228
- def target_data_partition(self) -> Optional[pulumi.Input[str]]:
229
+ def target_data_partition(self) -> Optional[pulumi.Input[builtins.str]]:
229
230
  """
230
231
  The name of the data partition where logs will be allocated once the rule is enabled.
231
232
  """
232
233
  return pulumi.get(self, "target_data_partition")
233
234
 
234
235
  @target_data_partition.setter
235
- def target_data_partition(self, value: Optional[pulumi.Input[str]]):
236
+ def target_data_partition(self, value: Optional[pulumi.Input[builtins.str]]):
236
237
  pulumi.set(self, "target_data_partition", value)
237
238
 
238
239
 
@@ -241,12 +242,12 @@ class DataPartitionRule(pulumi.CustomResource):
241
242
  def __init__(__self__,
242
243
  resource_name: str,
243
244
  opts: Optional[pulumi.ResourceOptions] = None,
244
- account_id: Optional[pulumi.Input[str]] = None,
245
- description: Optional[pulumi.Input[str]] = None,
246
- enabled: Optional[pulumi.Input[bool]] = None,
247
- nrql: Optional[pulumi.Input[str]] = None,
248
- retention_policy: Optional[pulumi.Input[str]] = None,
249
- target_data_partition: Optional[pulumi.Input[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,
250
251
  __props__=None):
251
252
  """
252
253
  Use this resource to create, update and delete New Relic Data partition rule.
@@ -281,12 +282,12 @@ class DataPartitionRule(pulumi.CustomResource):
281
282
 
282
283
  :param str resource_name: The name of the resource.
283
284
  :param pulumi.ResourceOptions opts: Options for the resource.
284
- :param pulumi.Input[str] account_id: The account id associated with the data partition rule.
285
- :param pulumi.Input[str] description: The description of the data partition rule.
286
- :param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
287
- :param pulumi.Input[str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
288
- :param pulumi.Input[str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
289
- :param pulumi.Input[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.
290
291
  """
291
292
  ...
292
293
  @overload
@@ -340,12 +341,12 @@ class DataPartitionRule(pulumi.CustomResource):
340
341
  def _internal_init(__self__,
341
342
  resource_name: str,
342
343
  opts: Optional[pulumi.ResourceOptions] = None,
343
- account_id: Optional[pulumi.Input[str]] = None,
344
- description: Optional[pulumi.Input[str]] = None,
345
- enabled: Optional[pulumi.Input[bool]] = None,
346
- nrql: Optional[pulumi.Input[str]] = None,
347
- retention_policy: Optional[pulumi.Input[str]] = None,
348
- target_data_partition: Optional[pulumi.Input[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,
349
350
  __props__=None):
350
351
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
351
352
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -380,13 +381,13 @@ class DataPartitionRule(pulumi.CustomResource):
380
381
  def get(resource_name: str,
381
382
  id: pulumi.Input[str],
382
383
  opts: Optional[pulumi.ResourceOptions] = None,
383
- account_id: Optional[pulumi.Input[str]] = None,
384
- deleted: Optional[pulumi.Input[bool]] = None,
385
- description: Optional[pulumi.Input[str]] = None,
386
- enabled: Optional[pulumi.Input[bool]] = None,
387
- nrql: Optional[pulumi.Input[str]] = None,
388
- retention_policy: Optional[pulumi.Input[str]] = None,
389
- target_data_partition: Optional[pulumi.Input[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':
390
391
  """
391
392
  Get an existing DataPartitionRule resource's state with the given name, id, and optional extra
392
393
  properties used to qualify the lookup.
@@ -394,13 +395,13 @@ class DataPartitionRule(pulumi.CustomResource):
394
395
  :param str resource_name: The unique name of the resulting resource.
395
396
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
396
397
  :param pulumi.ResourceOptions opts: Options for the resource.
397
- :param pulumi.Input[str] account_id: The account id associated with the data partition rule.
398
- :param pulumi.Input[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.
399
- :param pulumi.Input[str] description: The description of the data partition rule.
400
- :param pulumi.Input[bool] enabled: Whether or not this data partition rule is enabled.
401
- :param pulumi.Input[str] nrql: The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
402
- :param pulumi.Input[str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
403
- :param pulumi.Input[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.
404
405
  """
405
406
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
406
407
 
@@ -417,7 +418,7 @@ class DataPartitionRule(pulumi.CustomResource):
417
418
 
418
419
  @property
419
420
  @pulumi.getter(name="accountId")
420
- def account_id(self) -> pulumi.Output[str]:
421
+ def account_id(self) -> pulumi.Output[builtins.str]:
421
422
  """
422
423
  The account id associated with the data partition rule.
423
424
  """
@@ -425,7 +426,7 @@ class DataPartitionRule(pulumi.CustomResource):
425
426
 
426
427
  @property
427
428
  @pulumi.getter
428
- def deleted(self) -> pulumi.Output[bool]:
429
+ def deleted(self) -> pulumi.Output[builtins.bool]:
429
430
  """
430
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.
431
432
  """
@@ -433,7 +434,7 @@ class DataPartitionRule(pulumi.CustomResource):
433
434
 
434
435
  @property
435
436
  @pulumi.getter
436
- def description(self) -> pulumi.Output[Optional[str]]:
437
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
437
438
  """
438
439
  The description of the data partition rule.
439
440
  """
@@ -441,7 +442,7 @@ class DataPartitionRule(pulumi.CustomResource):
441
442
 
442
443
  @property
443
444
  @pulumi.getter
444
- def enabled(self) -> pulumi.Output[bool]:
445
+ def enabled(self) -> pulumi.Output[builtins.bool]:
445
446
  """
446
447
  Whether or not this data partition rule is enabled.
447
448
  """
@@ -449,7 +450,7 @@ class DataPartitionRule(pulumi.CustomResource):
449
450
 
450
451
  @property
451
452
  @pulumi.getter
452
- def nrql(self) -> pulumi.Output[str]:
453
+ def nrql(self) -> pulumi.Output[builtins.str]:
453
454
  """
454
455
  The NRQL to match events for this data partition rule. Logs matching this criteria will be routed to the specified data partition.
455
456
  """
@@ -457,7 +458,7 @@ class DataPartitionRule(pulumi.CustomResource):
457
458
 
458
459
  @property
459
460
  @pulumi.getter(name="retentionPolicy")
460
- def retention_policy(self) -> pulumi.Output[str]:
461
+ def retention_policy(self) -> pulumi.Output[builtins.str]:
461
462
  """
462
463
  The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`.
463
464
  """
@@ -465,7 +466,7 @@ class DataPartitionRule(pulumi.CustomResource):
465
466
 
466
467
  @property
467
468
  @pulumi.getter(name="targetDataPartition")
468
- def target_data_partition(self) -> pulumi.Output[str]:
469
+ def target_data_partition(self) -> pulumi.Output[builtins.str]:
469
470
  """
470
471
  The name of the data partition where logs will be allocated once the rule is enabled.
471
472
  """
@@ -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
@@ -21,11 +22,11 @@ __all__ = ['EntityTagsArgs', 'EntityTags']
21
22
  @pulumi.input_type
22
23
  class EntityTagsArgs:
23
24
  def __init__(__self__, *,
24
- guid: pulumi.Input[str],
25
+ guid: pulumi.Input[builtins.str],
25
26
  tags: pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]]):
26
27
  """
27
28
  The set of arguments for constructing a EntityTags resource.
28
- :param pulumi.Input[str] guid: The guid of the entity to tag.
29
+ :param pulumi.Input[builtins.str] guid: The guid of the entity to tag.
29
30
  :param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
30
31
  """
31
32
  pulumi.set(__self__, "guid", guid)
@@ -33,14 +34,14 @@ class EntityTagsArgs:
33
34
 
34
35
  @property
35
36
  @pulumi.getter
36
- def guid(self) -> pulumi.Input[str]:
37
+ def guid(self) -> pulumi.Input[builtins.str]:
37
38
  """
38
39
  The guid of the entity to tag.
39
40
  """
40
41
  return pulumi.get(self, "guid")
41
42
 
42
43
  @guid.setter
43
- def guid(self, value: pulumi.Input[str]):
44
+ def guid(self, value: pulumi.Input[builtins.str]):
44
45
  pulumi.set(self, "guid", value)
45
46
 
46
47
  @property
@@ -59,11 +60,11 @@ class EntityTagsArgs:
59
60
  @pulumi.input_type
60
61
  class _EntityTagsState:
61
62
  def __init__(__self__, *,
62
- guid: Optional[pulumi.Input[str]] = None,
63
+ guid: Optional[pulumi.Input[builtins.str]] = None,
63
64
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]]] = None):
64
65
  """
65
66
  Input properties used for looking up and filtering EntityTags resources.
66
- :param pulumi.Input[str] guid: The guid of the entity to tag.
67
+ :param pulumi.Input[builtins.str] guid: The guid of the entity to tag.
67
68
  :param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
68
69
  """
69
70
  if guid is not None:
@@ -73,14 +74,14 @@ class _EntityTagsState:
73
74
 
74
75
  @property
75
76
  @pulumi.getter
76
- def guid(self) -> Optional[pulumi.Input[str]]:
77
+ def guid(self) -> Optional[pulumi.Input[builtins.str]]:
77
78
  """
78
79
  The guid of the entity to tag.
79
80
  """
80
81
  return pulumi.get(self, "guid")
81
82
 
82
83
  @guid.setter
83
- def guid(self, value: Optional[pulumi.Input[str]]):
84
+ def guid(self, value: Optional[pulumi.Input[builtins.str]]):
84
85
  pulumi.set(self, "guid", value)
85
86
 
86
87
  @property
@@ -101,7 +102,7 @@ class EntityTags(pulumi.CustomResource):
101
102
  def __init__(__self__,
102
103
  resource_name: str,
103
104
  opts: Optional[pulumi.ResourceOptions] = None,
104
- guid: Optional[pulumi.Input[str]] = None,
105
+ guid: Optional[pulumi.Input[builtins.str]] = None,
105
106
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityTagsTagArgs', 'EntityTagsTagArgsDict']]]]] = None,
106
107
  __props__=None):
107
108
  """
@@ -147,7 +148,7 @@ class EntityTags(pulumi.CustomResource):
147
148
 
148
149
  :param str resource_name: The name of the resource.
149
150
  :param pulumi.ResourceOptions opts: Options for the resource.
150
- :param pulumi.Input[str] guid: The guid of the entity to tag.
151
+ :param pulumi.Input[builtins.str] guid: The guid of the entity to tag.
151
152
  :param pulumi.Input[Sequence[pulumi.Input[Union['EntityTagsTagArgs', 'EntityTagsTagArgsDict']]]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
152
153
  """
153
154
  ...
@@ -212,7 +213,7 @@ class EntityTags(pulumi.CustomResource):
212
213
  def _internal_init(__self__,
213
214
  resource_name: str,
214
215
  opts: Optional[pulumi.ResourceOptions] = None,
215
- guid: Optional[pulumi.Input[str]] = None,
216
+ guid: Optional[pulumi.Input[builtins.str]] = None,
216
217
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityTagsTagArgs', 'EntityTagsTagArgsDict']]]]] = None,
217
218
  __props__=None):
218
219
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -239,7 +240,7 @@ class EntityTags(pulumi.CustomResource):
239
240
  def get(resource_name: str,
240
241
  id: pulumi.Input[str],
241
242
  opts: Optional[pulumi.ResourceOptions] = None,
242
- guid: Optional[pulumi.Input[str]] = None,
243
+ guid: Optional[pulumi.Input[builtins.str]] = None,
243
244
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['EntityTagsTagArgs', 'EntityTagsTagArgsDict']]]]] = None) -> 'EntityTags':
244
245
  """
245
246
  Get an existing EntityTags resource's state with the given name, id, and optional extra
@@ -248,7 +249,7 @@ class EntityTags(pulumi.CustomResource):
248
249
  :param str resource_name: The unique name of the resulting resource.
249
250
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
250
251
  :param pulumi.ResourceOptions opts: Options for the resource.
251
- :param pulumi.Input[str] guid: The guid of the entity to tag.
252
+ :param pulumi.Input[builtins.str] guid: The guid of the entity to tag.
252
253
  :param pulumi.Input[Sequence[pulumi.Input[Union['EntityTagsTagArgs', 'EntityTagsTagArgsDict']]]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details.
253
254
  """
254
255
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -261,7 +262,7 @@ class EntityTags(pulumi.CustomResource):
261
262
 
262
263
  @property
263
264
  @pulumi.getter
264
- def guid(self) -> pulumi.Output[str]:
265
+ def guid(self) -> pulumi.Output[builtins.str]:
265
266
  """
266
267
  The guid of the entity to tag.
267
268
  """