pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.24.1__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 (64) hide show
  1. pulumi_newrelic/_inputs.py +63 -63
  2. pulumi_newrelic/alert_channel.py +14 -14
  3. pulumi_newrelic/alert_condition.py +28 -28
  4. pulumi_newrelic/alert_muting_rule.py +14 -14
  5. pulumi_newrelic/alert_policy.py +24 -24
  6. pulumi_newrelic/alert_policy_channel.py +42 -42
  7. pulumi_newrelic/api_access_key.py +28 -28
  8. pulumi_newrelic/browser_application.py +14 -14
  9. pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
  10. pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
  11. pulumi_newrelic/cloud/aws_integrations.py +28 -28
  12. pulumi_newrelic/cloud/aws_link_account.py +14 -14
  13. pulumi_newrelic/cloud/azure_integrations.py +28 -28
  14. pulumi_newrelic/cloud/azure_link_account.py +14 -14
  15. pulumi_newrelic/cloud/gcp_integrations.py +28 -28
  16. pulumi_newrelic/cloud/gcp_link_account.py +14 -14
  17. pulumi_newrelic/config/__init__.pyi +1 -1
  18. pulumi_newrelic/config/vars.py +2 -2
  19. pulumi_newrelic/data_partition_rule.py +14 -14
  20. pulumi_newrelic/events_to_metrics_rule.py +16 -16
  21. pulumi_newrelic/get_account.py +7 -7
  22. pulumi_newrelic/get_alert_channel.py +8 -8
  23. pulumi_newrelic/get_alert_policy.py +7 -7
  24. pulumi_newrelic/get_application.py +2 -2
  25. pulumi_newrelic/get_cloud_account.py +9 -9
  26. pulumi_newrelic/get_entity.py +15 -15
  27. pulumi_newrelic/get_notification_destination.py +7 -7
  28. pulumi_newrelic/get_obfuscation_expression.py +9 -9
  29. pulumi_newrelic/get_service_level_alert_helper.py +10 -10
  30. pulumi_newrelic/get_test_grok_pattern.py +7 -7
  31. pulumi_newrelic/infra_alert_condition.py +14 -14
  32. pulumi_newrelic/log_parsing_rule.py +14 -14
  33. pulumi_newrelic/monitor_downtime.py +14 -14
  34. pulumi_newrelic/notification_channel.py +36 -36
  35. pulumi_newrelic/notification_destination.py +14 -14
  36. pulumi_newrelic/nrql_alert_condition.py +32 -32
  37. pulumi_newrelic/nrql_drop_rule.py +20 -20
  38. pulumi_newrelic/obfuscation_expression.py +16 -16
  39. pulumi_newrelic/obfuscation_rule.py +14 -14
  40. pulumi_newrelic/one_dashboard.py +14 -14
  41. pulumi_newrelic/one_dashboard_json.py +14 -14
  42. pulumi_newrelic/one_dashboard_raw.py +14 -14
  43. pulumi_newrelic/outputs.py +47 -47
  44. pulumi_newrelic/plugins/workload.py +55 -55
  45. pulumi_newrelic/provider.py +14 -9
  46. pulumi_newrelic/pulumi-plugin.json +2 -1
  47. pulumi_newrelic/service_level.py +6 -6
  48. pulumi_newrelic/synthetics/alert_condition.py +14 -14
  49. pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
  50. pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
  51. pulumi_newrelic/synthetics/get_private_location.py +11 -11
  52. pulumi_newrelic/synthetics/get_secure_credential.py +5 -5
  53. pulumi_newrelic/synthetics/monitor.py +18 -14
  54. pulumi_newrelic/synthetics/multi_location_alert_condition.py +14 -14
  55. pulumi_newrelic/synthetics/private_location.py +14 -14
  56. pulumi_newrelic/synthetics/script_monitor.py +18 -14
  57. pulumi_newrelic/synthetics/secure_credential.py +14 -14
  58. pulumi_newrelic/synthetics/step_monitor.py +32 -14
  59. pulumi_newrelic/workflow.py +14 -14
  60. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/METADATA +1 -1
  61. pulumi_newrelic-5.24.1.dist-info/RECORD +89 -0
  62. pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
  63. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/WHEEL +0 -0
  64. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/top_level.txt +0 -0
@@ -2266,10 +2266,10 @@ class OneDashboardPageWidgetAreaNrqlQuery(dict):
2266
2266
 
2267
2267
  def __init__(__self__, *,
2268
2268
  query: str,
2269
- account_id: Optional[int] = None):
2269
+ account_id: Optional[str] = None):
2270
2270
  """
2271
2271
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
2272
- :param int account_id: The account id used for the NRQL query.
2272
+ :param str account_id: The account id used for the NRQL query.
2273
2273
  """
2274
2274
  pulumi.set(__self__, "query", query)
2275
2275
  if account_id is not None:
@@ -2285,7 +2285,7 @@ class OneDashboardPageWidgetAreaNrqlQuery(dict):
2285
2285
 
2286
2286
  @property
2287
2287
  @pulumi.getter(name="accountId")
2288
- def account_id(self) -> Optional[int]:
2288
+ def account_id(self) -> Optional[str]:
2289
2289
  """
2290
2290
  The account id used for the NRQL query.
2291
2291
  """
@@ -2841,10 +2841,10 @@ class OneDashboardPageWidgetBarNrqlQuery(dict):
2841
2841
 
2842
2842
  def __init__(__self__, *,
2843
2843
  query: str,
2844
- account_id: Optional[int] = None):
2844
+ account_id: Optional[str] = None):
2845
2845
  """
2846
2846
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
2847
- :param int account_id: The account id used for the NRQL query.
2847
+ :param str account_id: The account id used for the NRQL query.
2848
2848
  """
2849
2849
  pulumi.set(__self__, "query", query)
2850
2850
  if account_id is not None:
@@ -2860,7 +2860,7 @@ class OneDashboardPageWidgetBarNrqlQuery(dict):
2860
2860
 
2861
2861
  @property
2862
2862
  @pulumi.getter(name="accountId")
2863
- def account_id(self) -> Optional[int]:
2863
+ def account_id(self) -> Optional[str]:
2864
2864
  """
2865
2865
  The account id used for the NRQL query.
2866
2866
  """
@@ -3412,10 +3412,10 @@ class OneDashboardPageWidgetBillboardNrqlQuery(dict):
3412
3412
 
3413
3413
  def __init__(__self__, *,
3414
3414
  query: str,
3415
- account_id: Optional[int] = None):
3415
+ account_id: Optional[str] = None):
3416
3416
  """
3417
3417
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
3418
- :param int account_id: The account id used for the NRQL query.
3418
+ :param str account_id: The account id used for the NRQL query.
3419
3419
  """
3420
3420
  pulumi.set(__self__, "query", query)
3421
3421
  if account_id is not None:
@@ -3431,7 +3431,7 @@ class OneDashboardPageWidgetBillboardNrqlQuery(dict):
3431
3431
 
3432
3432
  @property
3433
3433
  @pulumi.getter(name="accountId")
3434
- def account_id(self) -> Optional[int]:
3434
+ def account_id(self) -> Optional[str]:
3435
3435
  """
3436
3436
  The account id used for the NRQL query.
3437
3437
  """
@@ -3970,10 +3970,10 @@ class OneDashboardPageWidgetBulletNrqlQuery(dict):
3970
3970
 
3971
3971
  def __init__(__self__, *,
3972
3972
  query: str,
3973
- account_id: Optional[int] = None):
3973
+ account_id: Optional[str] = None):
3974
3974
  """
3975
3975
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
3976
- :param int account_id: The account id used for the NRQL query.
3976
+ :param str account_id: The account id used for the NRQL query.
3977
3977
  """
3978
3978
  pulumi.set(__self__, "query", query)
3979
3979
  if account_id is not None:
@@ -3989,7 +3989,7 @@ class OneDashboardPageWidgetBulletNrqlQuery(dict):
3989
3989
 
3990
3990
  @property
3991
3991
  @pulumi.getter(name="accountId")
3992
- def account_id(self) -> Optional[int]:
3992
+ def account_id(self) -> Optional[str]:
3993
3993
  """
3994
3994
  The account id used for the NRQL query.
3995
3995
  """
@@ -4517,10 +4517,10 @@ class OneDashboardPageWidgetFunnelNrqlQuery(dict):
4517
4517
 
4518
4518
  def __init__(__self__, *,
4519
4519
  query: str,
4520
- account_id: Optional[int] = None):
4520
+ account_id: Optional[str] = None):
4521
4521
  """
4522
4522
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
4523
- :param int account_id: The account id used for the NRQL query.
4523
+ :param str account_id: The account id used for the NRQL query.
4524
4524
  """
4525
4525
  pulumi.set(__self__, "query", query)
4526
4526
  if account_id is not None:
@@ -4536,7 +4536,7 @@ class OneDashboardPageWidgetFunnelNrqlQuery(dict):
4536
4536
 
4537
4537
  @property
4538
4538
  @pulumi.getter(name="accountId")
4539
- def account_id(self) -> Optional[int]:
4539
+ def account_id(self) -> Optional[str]:
4540
4540
  """
4541
4541
  The account id used for the NRQL query.
4542
4542
  """
@@ -5092,10 +5092,10 @@ class OneDashboardPageWidgetHeatmapNrqlQuery(dict):
5092
5092
 
5093
5093
  def __init__(__self__, *,
5094
5094
  query: str,
5095
- account_id: Optional[int] = None):
5095
+ account_id: Optional[str] = None):
5096
5096
  """
5097
5097
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
5098
- :param int account_id: The account id used for the NRQL query.
5098
+ :param str account_id: The account id used for the NRQL query.
5099
5099
  """
5100
5100
  pulumi.set(__self__, "query", query)
5101
5101
  if account_id is not None:
@@ -5111,7 +5111,7 @@ class OneDashboardPageWidgetHeatmapNrqlQuery(dict):
5111
5111
 
5112
5112
  @property
5113
5113
  @pulumi.getter(name="accountId")
5114
- def account_id(self) -> Optional[int]:
5114
+ def account_id(self) -> Optional[str]:
5115
5115
  """
5116
5116
  The account id used for the NRQL query.
5117
5117
  """
@@ -5639,10 +5639,10 @@ class OneDashboardPageWidgetHistogramNrqlQuery(dict):
5639
5639
 
5640
5640
  def __init__(__self__, *,
5641
5641
  query: str,
5642
- account_id: Optional[int] = None):
5642
+ account_id: Optional[str] = None):
5643
5643
  """
5644
5644
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
5645
- :param int account_id: The account id used for the NRQL query.
5645
+ :param str account_id: The account id used for the NRQL query.
5646
5646
  """
5647
5647
  pulumi.set(__self__, "query", query)
5648
5648
  if account_id is not None:
@@ -5658,7 +5658,7 @@ class OneDashboardPageWidgetHistogramNrqlQuery(dict):
5658
5658
 
5659
5659
  @property
5660
5660
  @pulumi.getter(name="accountId")
5661
- def account_id(self) -> Optional[int]:
5661
+ def account_id(self) -> Optional[str]:
5662
5662
  """
5663
5663
  The account id used for the NRQL query.
5664
5664
  """
@@ -6186,10 +6186,10 @@ class OneDashboardPageWidgetJsonNrqlQuery(dict):
6186
6186
 
6187
6187
  def __init__(__self__, *,
6188
6188
  query: str,
6189
- account_id: Optional[int] = None):
6189
+ account_id: Optional[str] = None):
6190
6190
  """
6191
6191
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
6192
- :param int account_id: The account id used for the NRQL query.
6192
+ :param str account_id: The account id used for the NRQL query.
6193
6193
  """
6194
6194
  pulumi.set(__self__, "query", query)
6195
6195
  if account_id is not None:
@@ -6205,7 +6205,7 @@ class OneDashboardPageWidgetJsonNrqlQuery(dict):
6205
6205
 
6206
6206
  @property
6207
6207
  @pulumi.getter(name="accountId")
6208
- def account_id(self) -> Optional[int]:
6208
+ def account_id(self) -> Optional[str]:
6209
6209
  """
6210
6210
  The account id used for the NRQL query.
6211
6211
  """
@@ -6747,10 +6747,10 @@ class OneDashboardPageWidgetLineNrqlQuery(dict):
6747
6747
 
6748
6748
  def __init__(__self__, *,
6749
6749
  query: str,
6750
- account_id: Optional[int] = None):
6750
+ account_id: Optional[str] = None):
6751
6751
  """
6752
6752
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
6753
- :param int account_id: The account id used for the NRQL query.
6753
+ :param str account_id: The account id used for the NRQL query.
6754
6754
  """
6755
6755
  pulumi.set(__self__, "query", query)
6756
6756
  if account_id is not None:
@@ -6766,7 +6766,7 @@ class OneDashboardPageWidgetLineNrqlQuery(dict):
6766
6766
 
6767
6767
  @property
6768
6768
  @pulumi.getter(name="accountId")
6769
- def account_id(self) -> Optional[int]:
6769
+ def account_id(self) -> Optional[str]:
6770
6770
  """
6771
6771
  The account id used for the NRQL query.
6772
6772
  """
@@ -7294,10 +7294,10 @@ class OneDashboardPageWidgetLogTableNrqlQuery(dict):
7294
7294
 
7295
7295
  def __init__(__self__, *,
7296
7296
  query: str,
7297
- account_id: Optional[int] = None):
7297
+ account_id: Optional[str] = None):
7298
7298
  """
7299
7299
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
7300
- :param int account_id: The account id used for the NRQL query.
7300
+ :param str account_id: The account id used for the NRQL query.
7301
7301
  """
7302
7302
  pulumi.set(__self__, "query", query)
7303
7303
  if account_id is not None:
@@ -7313,7 +7313,7 @@ class OneDashboardPageWidgetLogTableNrqlQuery(dict):
7313
7313
 
7314
7314
  @property
7315
7315
  @pulumi.getter(name="accountId")
7316
- def account_id(self) -> Optional[int]:
7316
+ def account_id(self) -> Optional[str]:
7317
7317
  """
7318
7318
  The account id used for the NRQL query.
7319
7319
  """
@@ -8367,10 +8367,10 @@ class OneDashboardPageWidgetPyNrqlQuery(dict):
8367
8367
 
8368
8368
  def __init__(__self__, *,
8369
8369
  query: str,
8370
- account_id: Optional[int] = None):
8370
+ account_id: Optional[str] = None):
8371
8371
  """
8372
8372
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
8373
- :param int account_id: The account id used for the NRQL query.
8373
+ :param str account_id: The account id used for the NRQL query.
8374
8374
  """
8375
8375
  pulumi.set(__self__, "query", query)
8376
8376
  if account_id is not None:
@@ -8386,7 +8386,7 @@ class OneDashboardPageWidgetPyNrqlQuery(dict):
8386
8386
 
8387
8387
  @property
8388
8388
  @pulumi.getter(name="accountId")
8389
- def account_id(self) -> Optional[int]:
8389
+ def account_id(self) -> Optional[str]:
8390
8390
  """
8391
8391
  The account id used for the NRQL query.
8392
8392
  """
@@ -8914,10 +8914,10 @@ class OneDashboardPageWidgetStackedBarNrqlQuery(dict):
8914
8914
 
8915
8915
  def __init__(__self__, *,
8916
8916
  query: str,
8917
- account_id: Optional[int] = None):
8917
+ account_id: Optional[str] = None):
8918
8918
  """
8919
8919
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
8920
- :param int account_id: The account id used for the NRQL query.
8920
+ :param str account_id: The account id used for the NRQL query.
8921
8921
  """
8922
8922
  pulumi.set(__self__, "query", query)
8923
8923
  if account_id is not None:
@@ -8933,7 +8933,7 @@ class OneDashboardPageWidgetStackedBarNrqlQuery(dict):
8933
8933
 
8934
8934
  @property
8935
8935
  @pulumi.getter(name="accountId")
8936
- def account_id(self) -> Optional[int]:
8936
+ def account_id(self) -> Optional[str]:
8937
8937
  """
8938
8938
  The account id used for the NRQL query.
8939
8939
  """
@@ -9489,10 +9489,10 @@ class OneDashboardPageWidgetTableNrqlQuery(dict):
9489
9489
 
9490
9490
  def __init__(__self__, *,
9491
9491
  query: str,
9492
- account_id: Optional[int] = None):
9492
+ account_id: Optional[str] = None):
9493
9493
  """
9494
9494
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
9495
- :param int account_id: The account id used for the NRQL query.
9495
+ :param str account_id: The account id used for the NRQL query.
9496
9496
  """
9497
9497
  pulumi.set(__self__, "query", query)
9498
9498
  if account_id is not None:
@@ -9508,7 +9508,7 @@ class OneDashboardPageWidgetTableNrqlQuery(dict):
9508
9508
 
9509
9509
  @property
9510
9510
  @pulumi.getter(name="accountId")
9511
- def account_id(self) -> Optional[int]:
9511
+ def account_id(self) -> Optional[str]:
9512
9512
  """
9513
9513
  The account id used for the NRQL query.
9514
9514
  """
@@ -10079,10 +10079,10 @@ class OneDashboardVariableNrqlQuery(dict):
10079
10079
 
10080
10080
  def __init__(__self__, *,
10081
10081
  query: str,
10082
- account_ids: Optional[Sequence[int]] = None):
10082
+ account_ids: Optional[Sequence[str]] = None):
10083
10083
  """
10084
10084
  :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
10085
- :param Sequence[int] account_ids: New Relic account ID(s) to issue the query against.
10085
+ :param Sequence[str] account_ids: New Relic account ID(s) to issue the query against.
10086
10086
  """
10087
10087
  pulumi.set(__self__, "query", query)
10088
10088
  if account_ids is not None:
@@ -10098,7 +10098,7 @@ class OneDashboardVariableNrqlQuery(dict):
10098
10098
 
10099
10099
  @property
10100
10100
  @pulumi.getter(name="accountIds")
10101
- def account_ids(self) -> Optional[Sequence[int]]:
10101
+ def account_ids(self) -> Optional[Sequence[str]]:
10102
10102
  """
10103
10103
  New Relic account ID(s) to issue the query against.
10104
10104
  """
@@ -10167,7 +10167,7 @@ class ServiceLevelEvents(dict):
10167
10167
  return super().get(key, default)
10168
10168
 
10169
10169
  def __init__(__self__, *,
10170
- account_id: int,
10170
+ account_id: str,
10171
10171
  valid_events: 'outputs.ServiceLevelEventsValidEvents',
10172
10172
  bad_events: Optional['outputs.ServiceLevelEventsBadEvents'] = None,
10173
10173
  good_events: Optional['outputs.ServiceLevelEventsGoodEvents'] = None):
@@ -10180,7 +10180,7 @@ class ServiceLevelEvents(dict):
10180
10180
 
10181
10181
  @property
10182
10182
  @pulumi.getter(name="accountId")
10183
- def account_id(self) -> int:
10183
+ def account_id(self) -> str:
10184
10184
  return pulumi.get(self, "account_id")
10185
10185
 
10186
10186
  @property
@@ -10634,13 +10634,13 @@ class WorkflowEnrichmentsNrql(dict):
10634
10634
  def __init__(__self__, *,
10635
10635
  configurations: Sequence['outputs.WorkflowEnrichmentsNrqlConfiguration'],
10636
10636
  name: str,
10637
- account_id: Optional[int] = None,
10637
+ account_id: Optional[str] = None,
10638
10638
  enrichment_id: Optional[str] = None,
10639
10639
  type: Optional[str] = None):
10640
10640
  """
10641
10641
  :param Sequence['WorkflowEnrichmentsNrqlConfigurationArgs'] configurations: A set of key-value pairs to represent a enrichment configuration.
10642
10642
  :param str name: The name of the workflow.
10643
- :param int account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
10643
+ :param str account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
10644
10644
  :param str enrichment_id: Enrichment's id.
10645
10645
  :param str type: The type of the enrichment. One of: (NRQL).
10646
10646
  """
@@ -10671,7 +10671,7 @@ class WorkflowEnrichmentsNrql(dict):
10671
10671
 
10672
10672
  @property
10673
10673
  @pulumi.getter(name="accountId")
10674
- def account_id(self) -> Optional[int]:
10674
+ def account_id(self) -> Optional[str]:
10675
10675
  """
10676
10676
  Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
10677
10677
  """