pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713984329__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 (68) hide show
  1. pulumi_newrelic/_inputs.py +183 -270
  2. pulumi_newrelic/account_management.py +14 -18
  3. pulumi_newrelic/alert_channel.py +28 -56
  4. pulumi_newrelic/alert_condition.py +84 -133
  5. pulumi_newrelic/alert_muting_rule.py +21 -25
  6. pulumi_newrelic/alert_policy.py +42 -33
  7. pulumi_newrelic/alert_policy_channel.py +0 -4
  8. pulumi_newrelic/cloud/_inputs.py +322 -1072
  9. pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -4
  10. pulumi_newrelic/cloud/aws_integrations.py +7 -11
  11. pulumi_newrelic/cloud/aws_link_account.py +0 -4
  12. pulumi_newrelic/cloud/azure_integrations.py +0 -4
  13. pulumi_newrelic/cloud/azure_link_account.py +0 -4
  14. pulumi_newrelic/cloud/gcp_integrations.py +0 -4
  15. pulumi_newrelic/cloud/gcp_link_account.py +0 -4
  16. pulumi_newrelic/cloud/outputs.py +322 -1072
  17. pulumi_newrelic/data_partition_rule.py +0 -4
  18. pulumi_newrelic/entity_tags.py +7 -11
  19. pulumi_newrelic/events_to_metrics_rule.py +0 -4
  20. pulumi_newrelic/get_account.py +0 -4
  21. pulumi_newrelic/get_application.py +0 -4
  22. pulumi_newrelic/get_authentication_domain.py +0 -4
  23. pulumi_newrelic/get_cloud_account.py +0 -4
  24. pulumi_newrelic/get_entity.py +0 -16
  25. pulumi_newrelic/get_group.py +0 -8
  26. pulumi_newrelic/get_key_transaction.py +0 -4
  27. pulumi_newrelic/get_notification_destination.py +20 -1
  28. pulumi_newrelic/get_obfuscation_expression.py +0 -4
  29. pulumi_newrelic/get_service_level_alert_helper.py +0 -30
  30. pulumi_newrelic/get_test_grok_pattern.py +0 -4
  31. pulumi_newrelic/get_user.py +0 -4
  32. pulumi_newrelic/group.py +0 -12
  33. pulumi_newrelic/infra_alert_condition.py +126 -113
  34. pulumi_newrelic/insights/event.py +0 -17
  35. pulumi_newrelic/log_parsing_rule.py +0 -8
  36. pulumi_newrelic/monitor_downtime.py +70 -101
  37. pulumi_newrelic/notification_channel.py +0 -44
  38. pulumi_newrelic/notification_destination.py +95 -1
  39. pulumi_newrelic/nrql_alert_condition.py +0 -20
  40. pulumi_newrelic/nrql_drop_rule.py +28 -32
  41. pulumi_newrelic/obfuscation_expression.py +0 -4
  42. pulumi_newrelic/obfuscation_rule.py +0 -4
  43. pulumi_newrelic/one_dashboard.py +42 -48
  44. pulumi_newrelic/one_dashboard_raw.py +0 -4
  45. pulumi_newrelic/outputs.py +180 -270
  46. pulumi_newrelic/plugins/_inputs.py +16 -16
  47. pulumi_newrelic/plugins/application_settings.py +0 -4
  48. pulumi_newrelic/plugins/outputs.py +16 -16
  49. pulumi_newrelic/plugins/workload.py +28 -48
  50. pulumi_newrelic/service_level.py +0 -91
  51. pulumi_newrelic/synthetics/alert_condition.py +14 -50
  52. pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
  53. pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
  54. pulumi_newrelic/synthetics/get_private_location.py +0 -8
  55. pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
  56. pulumi_newrelic/synthetics/monitor.py +0 -16
  57. pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
  58. pulumi_newrelic/synthetics/private_location.py +0 -4
  59. pulumi_newrelic/synthetics/script_monitor.py +4 -20
  60. pulumi_newrelic/synthetics/secure_credential.py +21 -18
  61. pulumi_newrelic/synthetics/step_monitor.py +4 -12
  62. pulumi_newrelic/user.py +0 -4
  63. pulumi_newrelic/workflow.py +0 -16
  64. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/METADATA +1 -1
  65. pulumi_newrelic-5.23.0a1713984329.dist-info/RECORD +89 -0
  66. pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
  67. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/WHEEL +0 -0
  68. {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/top_level.txt +0 -0
@@ -243,7 +243,6 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
243
243
 
244
244
  ## Example Usage
245
245
 
246
- <!--Start PulumiCodeChooser -->
247
246
  ```python
248
247
  import pulumi
249
248
  import pulumi_newrelic as newrelic
@@ -256,7 +255,6 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
256
255
  name="account name",
257
256
  secret_access_key="secret access key of the aws govcloud account")
258
257
  ```
259
- <!--End PulumiCodeChooser -->
260
258
 
261
259
  ## Import
262
260
 
@@ -298,7 +296,6 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
298
296
 
299
297
  ## Example Usage
300
298
 
301
- <!--Start PulumiCodeChooser -->
302
299
  ```python
303
300
  import pulumi
304
301
  import pulumi_newrelic as newrelic
@@ -311,7 +308,6 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
311
308
  name="account name",
312
309
  secret_access_key="secret access key of the aws govcloud account")
313
310
  ```
314
- <!--End PulumiCodeChooser -->
315
311
 
316
312
  ## Import
317
313
 
@@ -137,7 +137,7 @@ class AwsIntegrationsArgs:
137
137
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
138
138
  :param pulumi.Input['AwsIntegrationsAlbArgs'] alb: ALB integration
139
139
  :param pulumi.Input['AwsIntegrationsApiGatewayArgs'] api_gateway: API Gateway integration
140
- :param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
140
+ :param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling: AutoScaling integration
141
141
  :param pulumi.Input['AwsIntegrationsAwsAppSyncArgs'] aws_app_sync: Aws Appsync integration
142
142
  :param pulumi.Input['AwsIntegrationsAwsAthenaArgs'] aws_athena: Aws Athena integration
143
143
  :param pulumi.Input['AwsIntegrationsAwsCognitoArgs'] aws_cognito: Aws Cognito integration
@@ -409,7 +409,7 @@ class AwsIntegrationsArgs:
409
409
  @pulumi.getter(name="autoScaling")
410
410
  def auto_scaling(self) -> Optional[pulumi.Input['AwsIntegrationsAutoScalingArgs']]:
411
411
  """
412
- ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
412
+ AutoScaling integration
413
413
  """
414
414
  return pulumi.get(self, "auto_scaling")
415
415
 
@@ -1068,7 +1068,7 @@ class _AwsIntegrationsState:
1068
1068
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
1069
1069
  :param pulumi.Input['AwsIntegrationsAlbArgs'] alb: ALB integration
1070
1070
  :param pulumi.Input['AwsIntegrationsApiGatewayArgs'] api_gateway: API Gateway integration
1071
- :param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
1071
+ :param pulumi.Input['AwsIntegrationsAutoScalingArgs'] auto_scaling: AutoScaling integration
1072
1072
  :param pulumi.Input['AwsIntegrationsAwsAppSyncArgs'] aws_app_sync: Aws Appsync integration
1073
1073
  :param pulumi.Input['AwsIntegrationsAwsAthenaArgs'] aws_athena: Aws Athena integration
1074
1074
  :param pulumi.Input['AwsIntegrationsAwsCognitoArgs'] aws_cognito: Aws Cognito integration
@@ -1330,7 +1330,7 @@ class _AwsIntegrationsState:
1330
1330
  @pulumi.getter(name="autoScaling")
1331
1331
  def auto_scaling(self) -> Optional[pulumi.Input['AwsIntegrationsAutoScalingArgs']]:
1332
1332
  """
1333
- ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
1333
+ AutoScaling integration
1334
1334
  """
1335
1335
  return pulumi.get(self, "auto_scaling")
1336
1336
 
@@ -2075,7 +2075,6 @@ class AwsIntegrations(pulumi.CustomResource):
2075
2075
 
2076
2076
  Leave an integration block empty to use its default configuration. You can also use the full example, including the AWS set up, found in our guides.
2077
2077
 
2078
- <!--Start PulumiCodeChooser -->
2079
2078
  ```python
2080
2079
  import pulumi
2081
2080
  import pulumi_newrelic as newrelic
@@ -2363,7 +2362,6 @@ class AwsIntegrations(pulumi.CustomResource):
2363
2362
  metrics_polling_interval=6000,
2364
2363
  ))
2365
2364
  ```
2366
- <!--End PulumiCodeChooser -->
2367
2365
 
2368
2366
  ## Import
2369
2367
 
@@ -2380,7 +2378,7 @@ class AwsIntegrations(pulumi.CustomResource):
2380
2378
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
2381
2379
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAlbArgs']] alb: ALB integration
2382
2380
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsApiGatewayArgs']] api_gateway: API Gateway integration
2383
- :param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
2381
+ :param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: AutoScaling integration
2384
2382
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAppSyncArgs']] aws_app_sync: Aws Appsync integration
2385
2383
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAthenaArgs']] aws_athena: Aws Athena integration
2386
2384
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsCognitoArgs']] aws_cognito: Aws Cognito integration
@@ -2514,7 +2512,6 @@ class AwsIntegrations(pulumi.CustomResource):
2514
2512
 
2515
2513
  Leave an integration block empty to use its default configuration. You can also use the full example, including the AWS set up, found in our guides.
2516
2514
 
2517
- <!--Start PulumiCodeChooser -->
2518
2515
  ```python
2519
2516
  import pulumi
2520
2517
  import pulumi_newrelic as newrelic
@@ -2802,7 +2799,6 @@ class AwsIntegrations(pulumi.CustomResource):
2802
2799
  metrics_polling_interval=6000,
2803
2800
  ))
2804
2801
  ```
2805
- <!--End PulumiCodeChooser -->
2806
2802
 
2807
2803
  ## Import
2808
2804
 
@@ -3022,7 +3018,7 @@ class AwsIntegrations(pulumi.CustomResource):
3022
3018
  :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
3023
3019
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAlbArgs']] alb: ALB integration
3024
3020
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsApiGatewayArgs']] api_gateway: API Gateway integration
3025
- :param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
3021
+ :param pulumi.Input[pulumi.InputType['AwsIntegrationsAutoScalingArgs']] auto_scaling: AutoScaling integration
3026
3022
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAppSyncArgs']] aws_app_sync: Aws Appsync integration
3027
3023
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsAthenaArgs']] aws_athena: Aws Athena integration
3028
3024
  :param pulumi.Input[pulumi.InputType['AwsIntegrationsAwsCognitoArgs']] aws_cognito: Aws Cognito integration
@@ -3223,7 +3219,7 @@ class AwsIntegrations(pulumi.CustomResource):
3223
3219
  @pulumi.getter(name="autoScaling")
3224
3220
  def auto_scaling(self) -> pulumi.Output[Optional['outputs.AwsIntegrationsAutoScaling']]:
3225
3221
  """
3226
- ,`aws_app_sync`,`aws_athena`,`aws_cognito`,`aws_connect`,`aws_direct_connect`,`aws_fsx`,`aws_glue`,`aws_kinesis_analytics`,`aws_media_convert`,`aws_media_package_vod`,`aws_mq`,`aws_msk`,`aws_neptune`,`aws_qldb`,`aws_route53resolver`,`aws_states`,`aws_transit_gateway`,`aws_waf`,`aws_wafv2`,`iot`,`kinesis_firehose` and `ses`.
3222
+ AutoScaling integration
3227
3223
  """
3228
3224
  return pulumi.get(self, "auto_scaling")
3229
3225
 
@@ -179,7 +179,6 @@ class AwsLinkAccount(pulumi.CustomResource):
179
179
 
180
180
  You can also use the full example, including the AWS set up, found in our guides.
181
181
 
182
- <!--Start PulumiCodeChooser -->
183
182
  ```python
184
183
  import pulumi
185
184
  import pulumi_newrelic as newrelic
@@ -189,7 +188,6 @@ class AwsLinkAccount(pulumi.CustomResource):
189
188
  metric_collection_mode="PUSH",
190
189
  name="account name")
191
190
  ```
192
- <!--End PulumiCodeChooser -->
193
191
 
194
192
  ## Import
195
193
 
@@ -229,7 +227,6 @@ class AwsLinkAccount(pulumi.CustomResource):
229
227
 
230
228
  You can also use the full example, including the AWS set up, found in our guides.
231
229
 
232
- <!--Start PulumiCodeChooser -->
233
230
  ```python
234
231
  import pulumi
235
232
  import pulumi_newrelic as newrelic
@@ -239,7 +236,6 @@ class AwsLinkAccount(pulumi.CustomResource):
239
236
  metric_collection_mode="PUSH",
240
237
  name="account name")
241
238
  ```
242
- <!--End PulumiCodeChooser -->
243
239
 
244
240
  ## Import
245
241
 
@@ -1187,7 +1187,6 @@ class AzureIntegrations(pulumi.CustomResource):
1187
1187
 
1188
1188
  Leave an integration block empty to use its default configuration. You can also use the full example, including the Azure set up, found in our guides.
1189
1189
 
1190
- <!--Start PulumiCodeChooser -->
1191
1190
  ```python
1192
1191
  import pulumi
1193
1192
  import pulumi_newrelic as newrelic
@@ -1338,7 +1337,6 @@ class AzureIntegrations(pulumi.CustomResource):
1338
1337
  resource_groups=["resource_groups"],
1339
1338
  ))
1340
1339
  ```
1341
- <!--End PulumiCodeChooser -->
1342
1340
 
1343
1341
  ## Import
1344
1342
 
@@ -1412,7 +1410,6 @@ class AzureIntegrations(pulumi.CustomResource):
1412
1410
 
1413
1411
  Leave an integration block empty to use its default configuration. You can also use the full example, including the Azure set up, found in our guides.
1414
1412
 
1415
- <!--Start PulumiCodeChooser -->
1416
1413
  ```python
1417
1414
  import pulumi
1418
1415
  import pulumi_newrelic as newrelic
@@ -1563,7 +1560,6 @@ class AzureIntegrations(pulumi.CustomResource):
1563
1560
  resource_groups=["resource_groups"],
1564
1561
  ))
1565
1562
  ```
1566
- <!--End PulumiCodeChooser -->
1567
1563
 
1568
1564
  ## Import
1569
1565
 
@@ -242,7 +242,6 @@ class AzureLinkAccount(pulumi.CustomResource):
242
242
 
243
243
  You can also use the full example, including the Azure set up, found in our guides.
244
244
 
245
- <!--Start PulumiCodeChooser -->
246
245
  ```python
247
246
  import pulumi
248
247
  import pulumi_newrelic as newrelic
@@ -255,7 +254,6 @@ class AzureLinkAccount(pulumi.CustomResource):
255
254
  tenant_id="Tenant ID of the Azure",
256
255
  name="Name of the linked account")
257
256
  ```
258
- <!--End PulumiCodeChooser -->
259
257
 
260
258
  ## Import
261
259
 
@@ -297,7 +295,6 @@ class AzureLinkAccount(pulumi.CustomResource):
297
295
 
298
296
  You can also use the full example, including the Azure set up, found in our guides.
299
297
 
300
- <!--Start PulumiCodeChooser -->
301
298
  ```python
302
299
  import pulumi
303
300
  import pulumi_newrelic as newrelic
@@ -310,7 +307,6 @@ class AzureLinkAccount(pulumi.CustomResource):
310
307
  tenant_id="Tenant ID of the Azure",
311
308
  name="Name of the linked account")
312
309
  ```
313
- <!--End PulumiCodeChooser -->
314
310
 
315
311
  ## Import
316
312
 
@@ -971,7 +971,6 @@ class GcpIntegrations(pulumi.CustomResource):
971
971
 
972
972
  Leave an integration block empty to use its default configuration. You can also use the full example, including the GCP set up, found in our guides.
973
973
 
974
- <!--Start PulumiCodeChooser -->
975
974
  ```python
976
975
  import pulumi
977
976
  import pulumi_newrelic as newrelic
@@ -1061,7 +1060,6 @@ class GcpIntegrations(pulumi.CustomResource):
1061
1060
  metrics_polling_interval=400,
1062
1061
  ))
1063
1062
  ```
1064
- <!--End PulumiCodeChooser -->
1065
1063
 
1066
1064
  ## Import
1067
1065
 
@@ -1123,7 +1121,6 @@ class GcpIntegrations(pulumi.CustomResource):
1123
1121
 
1124
1122
  Leave an integration block empty to use its default configuration. You can also use the full example, including the GCP set up, found in our guides.
1125
1123
 
1126
- <!--Start PulumiCodeChooser -->
1127
1124
  ```python
1128
1125
  import pulumi
1129
1126
  import pulumi_newrelic as newrelic
@@ -1213,7 +1210,6 @@ class GcpIntegrations(pulumi.CustomResource):
1213
1210
  metrics_polling_interval=400,
1214
1211
  ))
1215
1212
  ```
1216
- <!--End PulumiCodeChooser -->
1217
1213
 
1218
1214
  ## Import
1219
1215
 
@@ -150,7 +150,6 @@ class GcpLinkAccount(pulumi.CustomResource):
150
150
 
151
151
  You can also use the full example, including the GCP set up, found in our guides.
152
152
 
153
- <!--Start PulumiCodeChooser -->
154
153
  ```python
155
154
  import pulumi
156
155
  import pulumi_newrelic as newrelic
@@ -160,7 +159,6 @@ class GcpLinkAccount(pulumi.CustomResource):
160
159
  project_id="id of the Project",
161
160
  name="account name")
162
161
  ```
163
- <!--End PulumiCodeChooser -->
164
162
 
165
163
  ## Import
166
164
 
@@ -203,7 +201,6 @@ class GcpLinkAccount(pulumi.CustomResource):
203
201
 
204
202
  You can also use the full example, including the GCP set up, found in our guides.
205
203
 
206
- <!--Start PulumiCodeChooser -->
207
204
  ```python
208
205
  import pulumi
209
206
  import pulumi_newrelic as newrelic
@@ -213,7 +210,6 @@ class GcpLinkAccount(pulumi.CustomResource):
213
210
  project_id="id of the Project",
214
211
  name="account name")
215
212
  ```
216
- <!--End PulumiCodeChooser -->
217
213
 
218
214
  ## Import
219
215