pulumi-newrelic 5.20.0a1709643785__py3-none-any.whl → 5.39.0a1736834464__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. pulumi_newrelic/__init__.py +9 -0
  2. pulumi_newrelic/_inputs.py +7153 -461
  3. pulumi_newrelic/_utilities.py +41 -5
  4. pulumi_newrelic/account_management.py +13 -4
  5. pulumi_newrelic/alert_channel.py +122 -101
  6. pulumi_newrelic/alert_condition.py +120 -109
  7. pulumi_newrelic/alert_muting_rule.py +130 -74
  8. pulumi_newrelic/alert_policy.py +88 -67
  9. pulumi_newrelic/alert_policy_channel.py +81 -68
  10. pulumi_newrelic/api_access_key.py +49 -52
  11. pulumi_newrelic/browser_application.py +79 -76
  12. pulumi_newrelic/cloud/_inputs.py +2527 -1082
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +135 -130
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +25 -18
  15. pulumi_newrelic/cloud/aws_integrations.py +300 -1324
  16. pulumi_newrelic/cloud/aws_link_account.py +25 -18
  17. pulumi_newrelic/cloud/azure_integrations.py +523 -481
  18. pulumi_newrelic/cloud/azure_link_account.py +36 -29
  19. pulumi_newrelic/cloud/gcp_integrations.py +343 -320
  20. pulumi_newrelic/cloud/gcp_link_account.py +25 -18
  21. pulumi_newrelic/cloud/outputs.py +327 -1072
  22. pulumi_newrelic/config/__init__.pyi +6 -1
  23. pulumi_newrelic/config/vars.py +7 -2
  24. pulumi_newrelic/data_partition_rule.py +23 -16
  25. pulumi_newrelic/entity_tags.py +36 -31
  26. pulumi_newrelic/events_to_metrics_rule.py +27 -20
  27. pulumi_newrelic/get_account.py +24 -12
  28. pulumi_newrelic/get_alert_channel.py +26 -13
  29. pulumi_newrelic/get_alert_policy.py +35 -12
  30. pulumi_newrelic/get_application.py +39 -27
  31. pulumi_newrelic/get_authentication_domain.py +17 -9
  32. pulumi_newrelic/get_cloud_account.py +26 -14
  33. pulumi_newrelic/get_entity.py +90 -85
  34. pulumi_newrelic/get_group.py +58 -9
  35. pulumi_newrelic/get_key_transaction.py +109 -30
  36. pulumi_newrelic/get_notification_destination.py +64 -14
  37. pulumi_newrelic/get_obfuscation_expression.py +36 -24
  38. pulumi_newrelic/get_service_level_alert_helper.py +135 -105
  39. pulumi_newrelic/get_test_grok_pattern.py +29 -14
  40. pulumi_newrelic/get_user.py +17 -5
  41. pulumi_newrelic/group.py +5 -132
  42. pulumi_newrelic/infra_alert_condition.py +157 -140
  43. pulumi_newrelic/insights/_inputs.py +43 -0
  44. pulumi_newrelic/insights/event.py +50 -43
  45. pulumi_newrelic/insights/outputs.py +5 -0
  46. pulumi_newrelic/key_transaction.py +464 -0
  47. pulumi_newrelic/log_parsing_rule.py +29 -18
  48. pulumi_newrelic/monitor_downtime.py +215 -203
  49. pulumi_newrelic/notification_channel.py +387 -326
  50. pulumi_newrelic/notification_destination.py +248 -118
  51. pulumi_newrelic/nrql_alert_condition.py +353 -246
  52. pulumi_newrelic/nrql_drop_rule.py +57 -30
  53. pulumi_newrelic/obfuscation_expression.py +25 -18
  54. pulumi_newrelic/obfuscation_rule.py +40 -31
  55. pulumi_newrelic/one_dashboard.py +31 -26
  56. pulumi_newrelic/one_dashboard_json.py +21 -16
  57. pulumi_newrelic/one_dashboard_raw.py +112 -101
  58. pulumi_newrelic/outputs.py +2446 -245
  59. pulumi_newrelic/plugins/_inputs.py +145 -10
  60. pulumi_newrelic/plugins/application_settings.py +29 -20
  61. pulumi_newrelic/plugins/outputs.py +15 -10
  62. pulumi_newrelic/plugins/workload.py +285 -54
  63. pulumi_newrelic/provider.py +27 -33
  64. pulumi_newrelic/pulumi-plugin.json +2 -1
  65. pulumi_newrelic/service_level.py +193 -180
  66. pulumi_newrelic/synthetics/_inputs.py +159 -2
  67. pulumi_newrelic/synthetics/alert_condition.py +91 -78
  68. pulumi_newrelic/synthetics/broken_links_monitor.py +220 -93
  69. pulumi_newrelic/synthetics/cert_check_monitor.py +223 -94
  70. pulumi_newrelic/synthetics/get_private_location.py +34 -22
  71. pulumi_newrelic/synthetics/get_secure_credential.py +24 -12
  72. pulumi_newrelic/synthetics/monitor.py +352 -179
  73. pulumi_newrelic/synthetics/multi_location_alert_condition.py +109 -96
  74. pulumi_newrelic/synthetics/outputs.py +7 -2
  75. pulumi_newrelic/synthetics/private_location.py +27 -18
  76. pulumi_newrelic/synthetics/script_monitor.py +321 -168
  77. pulumi_newrelic/synthetics/secure_credential.py +25 -20
  78. pulumi_newrelic/synthetics/step_monitor.py +409 -98
  79. pulumi_newrelic/user.py +13 -6
  80. pulumi_newrelic/workflow.py +215 -184
  81. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/METADATA +7 -6
  82. pulumi_newrelic-5.39.0a1736834464.dist-info/RECORD +90 -0
  83. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/WHEEL +1 -1
  84. pulumi_newrelic-5.20.0a1709643785.dist-info/RECORD +0 -89
  85. {pulumi_newrelic-5.20.0a1709643785.dist-info → pulumi_newrelic-5.39.0a1736834464.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -16,8 +21,8 @@ __all__ = ['AzureIntegrationsArgs', 'AzureIntegrations']
16
21
  @pulumi.input_type
17
22
  class AzureIntegrationsArgs:
18
23
  def __init__(__self__, *,
19
- linked_account_id: pulumi.Input[int],
20
- account_id: Optional[pulumi.Input[int]] = None,
24
+ linked_account_id: pulumi.Input[str],
25
+ account_id: Optional[pulumi.Input[str]] = None,
21
26
  api_management: Optional[pulumi.Input['AzureIntegrationsApiManagementArgs']] = None,
22
27
  app_gateway: Optional[pulumi.Input['AzureIntegrationsAppGatewayArgs']] = None,
23
28
  app_service: Optional[pulumi.Input['AzureIntegrationsAppServiceArgs']] = None,
@@ -52,8 +57,11 @@ class AzureIntegrationsArgs:
52
57
  vpn_gateway: Optional[pulumi.Input['AzureIntegrationsVpnGatewayArgs']] = None):
53
58
  """
54
59
  The set of arguments for constructing a AzureIntegrations resource.
55
- :param pulumi.Input[int] linked_account_id: The ID of the linked Azure account in New Relic.
56
- :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`.
60
+ :param pulumi.Input[str] linked_account_id: The ID of the linked Azure account in New Relic.
61
+
62
+
63
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
64
+ :param pulumi.Input[str] 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`.
57
65
  :param pulumi.Input['AzureIntegrationsApiManagementArgs'] api_management: Azure API Management. See Integration blocks below for details.
58
66
  :param pulumi.Input['AzureIntegrationsAppGatewayArgs'] app_gateway: Azure App Gateway. See Integration blocks below for details.
59
67
  :param pulumi.Input['AzureIntegrationsAppServiceArgs'] app_service: Azure App Service. See Integration blocks below for details.
@@ -72,6 +80,8 @@ class AzureIntegrationsArgs:
72
80
  :param pulumi.Input['AzureIntegrationsMachineLearningArgs'] machine_learning: Azure Machine Learning. See Integration blocks below for details.
73
81
  :param pulumi.Input['AzureIntegrationsMariaDbArgs'] maria_db: Azure MariaDB. See Integration blocks below for details.
74
82
  :param pulumi.Input['AzureIntegrationsMonitorArgs'] monitor: Azure Monitor. See Integration blocks below for details.
83
+
84
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
75
85
  :param pulumi.Input['AzureIntegrationsMysqlArgs'] mysql: Azure MySQL. See Integration blocks below for details.
76
86
  :param pulumi.Input['AzureIntegrationsMysqlFlexibleArgs'] mysql_flexible: Azure MySQL Flexible Server. See Integration blocks below for details.
77
87
  :param pulumi.Input['AzureIntegrationsPostgresqlArgs'] postgresql: Azure PostgreSQL. See Integration blocks below for details.
@@ -82,14 +92,14 @@ class AzureIntegrationsArgs:
82
92
  :param pulumi.Input['AzureIntegrationsSqlArgs'] sql: Azure SQL. See Integration blocks below for details.
83
93
  :param pulumi.Input['AzureIntegrationsSqlManagedArgs'] sql_managed: Azure SQL Managed. See Integration blocks below for details.
84
94
  :param pulumi.Input['AzureIntegrationsStorageArgs'] storage: for Azure Storage. See Integration blocks below for details.
95
+
96
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
85
97
  :param pulumi.Input['AzureIntegrationsVirtualMachineArgs'] virtual_machine: Azure Virtual machine. See Integration blocks below for details.
86
98
  :param pulumi.Input['AzureIntegrationsVirtualNetworksArgs'] virtual_networks: for Azure Virtual networks. See Integration blocks below for details.
87
-
88
- Below argument supports the minimum metric polling interval of 3600 seconds
89
99
  :param pulumi.Input['AzureIntegrationsVmsArgs'] vms: Azure VMs. See Integration blocks below for details.
90
100
  :param pulumi.Input['AzureIntegrationsVpnGatewayArgs'] vpn_gateway: Azure VPN Gateway. See Integration blocks below for details.
91
101
 
92
- Below arguments supports the minimum metric polling interval of 900 seconds
102
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
93
103
  """
94
104
  pulumi.set(__self__, "linked_account_id", linked_account_id)
95
105
  if account_id is not None:
@@ -161,26 +171,29 @@ class AzureIntegrationsArgs:
161
171
 
162
172
  @property
163
173
  @pulumi.getter(name="linkedAccountId")
164
- def linked_account_id(self) -> pulumi.Input[int]:
174
+ def linked_account_id(self) -> pulumi.Input[str]:
165
175
  """
166
176
  The ID of the linked Azure account in New Relic.
177
+
178
+
179
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
167
180
  """
168
181
  return pulumi.get(self, "linked_account_id")
169
182
 
170
183
  @linked_account_id.setter
171
- def linked_account_id(self, value: pulumi.Input[int]):
184
+ def linked_account_id(self, value: pulumi.Input[str]):
172
185
  pulumi.set(self, "linked_account_id", value)
173
186
 
174
187
  @property
175
188
  @pulumi.getter(name="accountId")
176
- def account_id(self) -> Optional[pulumi.Input[int]]:
189
+ def account_id(self) -> Optional[pulumi.Input[str]]:
177
190
  """
178
191
  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`.
179
192
  """
180
193
  return pulumi.get(self, "account_id")
181
194
 
182
195
  @account_id.setter
183
- def account_id(self, value: Optional[pulumi.Input[int]]):
196
+ def account_id(self, value: Optional[pulumi.Input[str]]):
184
197
  pulumi.set(self, "account_id", value)
185
198
 
186
199
  @property
@@ -392,6 +405,8 @@ class AzureIntegrationsArgs:
392
405
  def monitor(self) -> Optional[pulumi.Input['AzureIntegrationsMonitorArgs']]:
393
406
  """
394
407
  Azure Monitor. See Integration blocks below for details.
408
+
409
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
395
410
  """
396
411
  return pulumi.get(self, "monitor")
397
412
 
@@ -512,6 +527,8 @@ class AzureIntegrationsArgs:
512
527
  def storage(self) -> Optional[pulumi.Input['AzureIntegrationsStorageArgs']]:
513
528
  """
514
529
  for Azure Storage. See Integration blocks below for details.
530
+
531
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
515
532
  """
516
533
  return pulumi.get(self, "storage")
517
534
 
@@ -536,8 +553,6 @@ class AzureIntegrationsArgs:
536
553
  def virtual_networks(self) -> Optional[pulumi.Input['AzureIntegrationsVirtualNetworksArgs']]:
537
554
  """
538
555
  for Azure Virtual networks. See Integration blocks below for details.
539
-
540
- Below argument supports the minimum metric polling interval of 3600 seconds
541
556
  """
542
557
  return pulumi.get(self, "virtual_networks")
543
558
 
@@ -563,7 +578,7 @@ class AzureIntegrationsArgs:
563
578
  """
564
579
  Azure VPN Gateway. See Integration blocks below for details.
565
580
 
566
- Below arguments supports the minimum metric polling interval of 900 seconds
581
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
567
582
  """
568
583
  return pulumi.get(self, "vpn_gateway")
569
584
 
@@ -575,7 +590,7 @@ class AzureIntegrationsArgs:
575
590
  @pulumi.input_type
576
591
  class _AzureIntegrationsState:
577
592
  def __init__(__self__, *,
578
- account_id: Optional[pulumi.Input[int]] = None,
593
+ account_id: Optional[pulumi.Input[str]] = None,
579
594
  api_management: Optional[pulumi.Input['AzureIntegrationsApiManagementArgs']] = None,
580
595
  app_gateway: Optional[pulumi.Input['AzureIntegrationsAppGatewayArgs']] = None,
581
596
  app_service: Optional[pulumi.Input['AzureIntegrationsAppServiceArgs']] = None,
@@ -589,7 +604,7 @@ class _AzureIntegrationsState:
589
604
  front_door: Optional[pulumi.Input['AzureIntegrationsFrontDoorArgs']] = None,
590
605
  functions: Optional[pulumi.Input['AzureIntegrationsFunctionsArgs']] = None,
591
606
  key_vault: Optional[pulumi.Input['AzureIntegrationsKeyVaultArgs']] = None,
592
- linked_account_id: Optional[pulumi.Input[int]] = None,
607
+ linked_account_id: Optional[pulumi.Input[str]] = None,
593
608
  load_balancer: Optional[pulumi.Input['AzureIntegrationsLoadBalancerArgs']] = None,
594
609
  logic_apps: Optional[pulumi.Input['AzureIntegrationsLogicAppsArgs']] = None,
595
610
  machine_learning: Optional[pulumi.Input['AzureIntegrationsMachineLearningArgs']] = None,
@@ -611,7 +626,7 @@ class _AzureIntegrationsState:
611
626
  vpn_gateway: Optional[pulumi.Input['AzureIntegrationsVpnGatewayArgs']] = None):
612
627
  """
613
628
  Input properties used for looking up and filtering AzureIntegrations resources.
614
- :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`.
629
+ :param pulumi.Input[str] 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`.
615
630
  :param pulumi.Input['AzureIntegrationsApiManagementArgs'] api_management: Azure API Management. See Integration blocks below for details.
616
631
  :param pulumi.Input['AzureIntegrationsAppGatewayArgs'] app_gateway: Azure App Gateway. See Integration blocks below for details.
617
632
  :param pulumi.Input['AzureIntegrationsAppServiceArgs'] app_service: Azure App Service. See Integration blocks below for details.
@@ -625,12 +640,17 @@ class _AzureIntegrationsState:
625
640
  :param pulumi.Input['AzureIntegrationsFrontDoorArgs'] front_door: Azure Front Door. See Integration blocks below for details.
626
641
  :param pulumi.Input['AzureIntegrationsFunctionsArgs'] functions: Azure Functions. See Integration blocks below for details.
627
642
  :param pulumi.Input['AzureIntegrationsKeyVaultArgs'] key_vault: Azure Key Vault. See Integration blocks below for details.
628
- :param pulumi.Input[int] linked_account_id: The ID of the linked Azure account in New Relic.
643
+ :param pulumi.Input[str] linked_account_id: The ID of the linked Azure account in New Relic.
644
+
645
+
646
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
629
647
  :param pulumi.Input['AzureIntegrationsLoadBalancerArgs'] load_balancer: Azure Load Balancer. See Integration blocks below for details.
630
648
  :param pulumi.Input['AzureIntegrationsLogicAppsArgs'] logic_apps: Azure Logic Apps. See Integration blocks below for details.
631
649
  :param pulumi.Input['AzureIntegrationsMachineLearningArgs'] machine_learning: Azure Machine Learning. See Integration blocks below for details.
632
650
  :param pulumi.Input['AzureIntegrationsMariaDbArgs'] maria_db: Azure MariaDB. See Integration blocks below for details.
633
651
  :param pulumi.Input['AzureIntegrationsMonitorArgs'] monitor: Azure Monitor. See Integration blocks below for details.
652
+
653
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
634
654
  :param pulumi.Input['AzureIntegrationsMysqlArgs'] mysql: Azure MySQL. See Integration blocks below for details.
635
655
  :param pulumi.Input['AzureIntegrationsMysqlFlexibleArgs'] mysql_flexible: Azure MySQL Flexible Server. See Integration blocks below for details.
636
656
  :param pulumi.Input['AzureIntegrationsPostgresqlArgs'] postgresql: Azure PostgreSQL. See Integration blocks below for details.
@@ -641,14 +661,14 @@ class _AzureIntegrationsState:
641
661
  :param pulumi.Input['AzureIntegrationsSqlArgs'] sql: Azure SQL. See Integration blocks below for details.
642
662
  :param pulumi.Input['AzureIntegrationsSqlManagedArgs'] sql_managed: Azure SQL Managed. See Integration blocks below for details.
643
663
  :param pulumi.Input['AzureIntegrationsStorageArgs'] storage: for Azure Storage. See Integration blocks below for details.
664
+
665
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
644
666
  :param pulumi.Input['AzureIntegrationsVirtualMachineArgs'] virtual_machine: Azure Virtual machine. See Integration blocks below for details.
645
667
  :param pulumi.Input['AzureIntegrationsVirtualNetworksArgs'] virtual_networks: for Azure Virtual networks. See Integration blocks below for details.
646
-
647
- Below argument supports the minimum metric polling interval of 3600 seconds
648
668
  :param pulumi.Input['AzureIntegrationsVmsArgs'] vms: Azure VMs. See Integration blocks below for details.
649
669
  :param pulumi.Input['AzureIntegrationsVpnGatewayArgs'] vpn_gateway: Azure VPN Gateway. See Integration blocks below for details.
650
670
 
651
- Below arguments supports the minimum metric polling interval of 900 seconds
671
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
652
672
  """
653
673
  if account_id is not None:
654
674
  pulumi.set(__self__, "account_id", account_id)
@@ -721,14 +741,14 @@ class _AzureIntegrationsState:
721
741
 
722
742
  @property
723
743
  @pulumi.getter(name="accountId")
724
- def account_id(self) -> Optional[pulumi.Input[int]]:
744
+ def account_id(self) -> Optional[pulumi.Input[str]]:
725
745
  """
726
746
  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`.
727
747
  """
728
748
  return pulumi.get(self, "account_id")
729
749
 
730
750
  @account_id.setter
731
- def account_id(self, value: Optional[pulumi.Input[int]]):
751
+ def account_id(self, value: Optional[pulumi.Input[str]]):
732
752
  pulumi.set(self, "account_id", value)
733
753
 
734
754
  @property
@@ -889,14 +909,17 @@ class _AzureIntegrationsState:
889
909
 
890
910
  @property
891
911
  @pulumi.getter(name="linkedAccountId")
892
- def linked_account_id(self) -> Optional[pulumi.Input[int]]:
912
+ def linked_account_id(self) -> Optional[pulumi.Input[str]]:
893
913
  """
894
914
  The ID of the linked Azure account in New Relic.
915
+
916
+
917
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
895
918
  """
896
919
  return pulumi.get(self, "linked_account_id")
897
920
 
898
921
  @linked_account_id.setter
899
- def linked_account_id(self, value: Optional[pulumi.Input[int]]):
922
+ def linked_account_id(self, value: Optional[pulumi.Input[str]]):
900
923
  pulumi.set(self, "linked_account_id", value)
901
924
 
902
925
  @property
@@ -952,6 +975,8 @@ class _AzureIntegrationsState:
952
975
  def monitor(self) -> Optional[pulumi.Input['AzureIntegrationsMonitorArgs']]:
953
976
  """
954
977
  Azure Monitor. See Integration blocks below for details.
978
+
979
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
955
980
  """
956
981
  return pulumi.get(self, "monitor")
957
982
 
@@ -1072,6 +1097,8 @@ class _AzureIntegrationsState:
1072
1097
  def storage(self) -> Optional[pulumi.Input['AzureIntegrationsStorageArgs']]:
1073
1098
  """
1074
1099
  for Azure Storage. See Integration blocks below for details.
1100
+
1101
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
1075
1102
  """
1076
1103
  return pulumi.get(self, "storage")
1077
1104
 
@@ -1096,8 +1123,6 @@ class _AzureIntegrationsState:
1096
1123
  def virtual_networks(self) -> Optional[pulumi.Input['AzureIntegrationsVirtualNetworksArgs']]:
1097
1124
  """
1098
1125
  for Azure Virtual networks. See Integration blocks below for details.
1099
-
1100
- Below argument supports the minimum metric polling interval of 3600 seconds
1101
1126
  """
1102
1127
  return pulumi.get(self, "virtual_networks")
1103
1128
 
@@ -1123,7 +1148,7 @@ class _AzureIntegrationsState:
1123
1148
  """
1124
1149
  Azure VPN Gateway. See Integration blocks below for details.
1125
1150
 
1126
- Below arguments supports the minimum metric polling interval of 900 seconds
1151
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
1127
1152
  """
1128
1153
  return pulumi.get(self, "vpn_gateway")
1129
1154
 
@@ -1137,40 +1162,40 @@ class AzureIntegrations(pulumi.CustomResource):
1137
1162
  def __init__(__self__,
1138
1163
  resource_name: str,
1139
1164
  opts: Optional[pulumi.ResourceOptions] = None,
1140
- account_id: Optional[pulumi.Input[int]] = None,
1141
- api_management: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsApiManagementArgs']]] = None,
1142
- app_gateway: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsAppGatewayArgs']]] = None,
1143
- app_service: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsAppServiceArgs']]] = None,
1144
- containers: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsContainersArgs']]] = None,
1145
- cosmos_db: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsCosmosDbArgs']]] = None,
1146
- cost_management: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsCostManagementArgs']]] = None,
1147
- data_factory: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsDataFactoryArgs']]] = None,
1148
- event_hub: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsEventHubArgs']]] = None,
1149
- express_route: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsExpressRouteArgs']]] = None,
1150
- firewalls: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFirewallsArgs']]] = None,
1151
- front_door: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFrontDoorArgs']]] = None,
1152
- functions: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFunctionsArgs']]] = None,
1153
- key_vault: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsKeyVaultArgs']]] = None,
1154
- linked_account_id: Optional[pulumi.Input[int]] = None,
1155
- load_balancer: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsLoadBalancerArgs']]] = None,
1156
- logic_apps: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsLogicAppsArgs']]] = None,
1157
- machine_learning: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMachineLearningArgs']]] = None,
1158
- maria_db: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMariaDbArgs']]] = None,
1159
- monitor: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMonitorArgs']]] = None,
1160
- mysql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlArgs']]] = None,
1161
- mysql_flexible: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlFlexibleArgs']]] = None,
1162
- postgresql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlArgs']]] = None,
1163
- postgresql_flexible: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlFlexibleArgs']]] = None,
1164
- power_bi_dedicated: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPowerBiDedicatedArgs']]] = None,
1165
- redis_cache: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsRedisCacheArgs']]] = None,
1166
- service_bus: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsServiceBusArgs']]] = None,
1167
- sql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsSqlArgs']]] = None,
1168
- sql_managed: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsSqlManagedArgs']]] = None,
1169
- storage: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsStorageArgs']]] = None,
1170
- virtual_machine: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualMachineArgs']]] = None,
1171
- virtual_networks: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualNetworksArgs']]] = None,
1172
- vms: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVmsArgs']]] = None,
1173
- vpn_gateway: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVpnGatewayArgs']]] = None,
1165
+ account_id: Optional[pulumi.Input[str]] = None,
1166
+ api_management: Optional[pulumi.Input[Union['AzureIntegrationsApiManagementArgs', 'AzureIntegrationsApiManagementArgsDict']]] = None,
1167
+ app_gateway: Optional[pulumi.Input[Union['AzureIntegrationsAppGatewayArgs', 'AzureIntegrationsAppGatewayArgsDict']]] = None,
1168
+ app_service: Optional[pulumi.Input[Union['AzureIntegrationsAppServiceArgs', 'AzureIntegrationsAppServiceArgsDict']]] = None,
1169
+ containers: Optional[pulumi.Input[Union['AzureIntegrationsContainersArgs', 'AzureIntegrationsContainersArgsDict']]] = None,
1170
+ cosmos_db: Optional[pulumi.Input[Union['AzureIntegrationsCosmosDbArgs', 'AzureIntegrationsCosmosDbArgsDict']]] = None,
1171
+ cost_management: Optional[pulumi.Input[Union['AzureIntegrationsCostManagementArgs', 'AzureIntegrationsCostManagementArgsDict']]] = None,
1172
+ data_factory: Optional[pulumi.Input[Union['AzureIntegrationsDataFactoryArgs', 'AzureIntegrationsDataFactoryArgsDict']]] = None,
1173
+ event_hub: Optional[pulumi.Input[Union['AzureIntegrationsEventHubArgs', 'AzureIntegrationsEventHubArgsDict']]] = None,
1174
+ express_route: Optional[pulumi.Input[Union['AzureIntegrationsExpressRouteArgs', 'AzureIntegrationsExpressRouteArgsDict']]] = None,
1175
+ firewalls: Optional[pulumi.Input[Union['AzureIntegrationsFirewallsArgs', 'AzureIntegrationsFirewallsArgsDict']]] = None,
1176
+ front_door: Optional[pulumi.Input[Union['AzureIntegrationsFrontDoorArgs', 'AzureIntegrationsFrontDoorArgsDict']]] = None,
1177
+ functions: Optional[pulumi.Input[Union['AzureIntegrationsFunctionsArgs', 'AzureIntegrationsFunctionsArgsDict']]] = None,
1178
+ key_vault: Optional[pulumi.Input[Union['AzureIntegrationsKeyVaultArgs', 'AzureIntegrationsKeyVaultArgsDict']]] = None,
1179
+ linked_account_id: Optional[pulumi.Input[str]] = None,
1180
+ load_balancer: Optional[pulumi.Input[Union['AzureIntegrationsLoadBalancerArgs', 'AzureIntegrationsLoadBalancerArgsDict']]] = None,
1181
+ logic_apps: Optional[pulumi.Input[Union['AzureIntegrationsLogicAppsArgs', 'AzureIntegrationsLogicAppsArgsDict']]] = None,
1182
+ machine_learning: Optional[pulumi.Input[Union['AzureIntegrationsMachineLearningArgs', 'AzureIntegrationsMachineLearningArgsDict']]] = None,
1183
+ maria_db: Optional[pulumi.Input[Union['AzureIntegrationsMariaDbArgs', 'AzureIntegrationsMariaDbArgsDict']]] = None,
1184
+ monitor: Optional[pulumi.Input[Union['AzureIntegrationsMonitorArgs', 'AzureIntegrationsMonitorArgsDict']]] = None,
1185
+ mysql: Optional[pulumi.Input[Union['AzureIntegrationsMysqlArgs', 'AzureIntegrationsMysqlArgsDict']]] = None,
1186
+ mysql_flexible: Optional[pulumi.Input[Union['AzureIntegrationsMysqlFlexibleArgs', 'AzureIntegrationsMysqlFlexibleArgsDict']]] = None,
1187
+ postgresql: Optional[pulumi.Input[Union['AzureIntegrationsPostgresqlArgs', 'AzureIntegrationsPostgresqlArgsDict']]] = None,
1188
+ postgresql_flexible: Optional[pulumi.Input[Union['AzureIntegrationsPostgresqlFlexibleArgs', 'AzureIntegrationsPostgresqlFlexibleArgsDict']]] = None,
1189
+ power_bi_dedicated: Optional[pulumi.Input[Union['AzureIntegrationsPowerBiDedicatedArgs', 'AzureIntegrationsPowerBiDedicatedArgsDict']]] = None,
1190
+ redis_cache: Optional[pulumi.Input[Union['AzureIntegrationsRedisCacheArgs', 'AzureIntegrationsRedisCacheArgsDict']]] = None,
1191
+ service_bus: Optional[pulumi.Input[Union['AzureIntegrationsServiceBusArgs', 'AzureIntegrationsServiceBusArgsDict']]] = None,
1192
+ sql: Optional[pulumi.Input[Union['AzureIntegrationsSqlArgs', 'AzureIntegrationsSqlArgsDict']]] = None,
1193
+ sql_managed: Optional[pulumi.Input[Union['AzureIntegrationsSqlManagedArgs', 'AzureIntegrationsSqlManagedArgsDict']]] = None,
1194
+ storage: Optional[pulumi.Input[Union['AzureIntegrationsStorageArgs', 'AzureIntegrationsStorageArgsDict']]] = None,
1195
+ virtual_machine: Optional[pulumi.Input[Union['AzureIntegrationsVirtualMachineArgs', 'AzureIntegrationsVirtualMachineArgsDict']]] = None,
1196
+ virtual_networks: Optional[pulumi.Input[Union['AzureIntegrationsVirtualNetworksArgs', 'AzureIntegrationsVirtualNetworksArgsDict']]] = None,
1197
+ vms: Optional[pulumi.Input[Union['AzureIntegrationsVmsArgs', 'AzureIntegrationsVmsArgsDict']]] = None,
1198
+ vpn_gateway: Optional[pulumi.Input[Union['AzureIntegrationsVpnGatewayArgs', 'AzureIntegrationsVpnGatewayArgsDict']]] = None,
1174
1199
  __props__=None):
1175
1200
  """
1176
1201
  Use this resource to integrate Azure services with New Relic.
@@ -1191,157 +1216,158 @@ class AzureIntegrations(pulumi.CustomResource):
1191
1216
  import pulumi
1192
1217
  import pulumi_newrelic as newrelic
1193
1218
 
1194
- foo_azure_link_account = newrelic.cloud.AzureLinkAccount("fooAzureLinkAccount",
1219
+ foo = newrelic.cloud.AzureLinkAccount("foo",
1195
1220
  account_id="The New Relic account ID where you want to link the Azure account",
1196
1221
  application_id="ID of the application",
1197
1222
  client_secret="Secret value of client's Azure account",
1198
1223
  subscription_id="Subscription ID of Azure",
1199
- tenant_id="Tenant ID of the Azure")
1200
- foo_azure_integrations = newrelic.cloud.AzureIntegrations("fooAzureIntegrations",
1201
- linked_account_id=foo_azure_link_account.id,
1224
+ tenant_id="Tenant ID of the Azure",
1225
+ name="Name of the linked account")
1226
+ foo_azure_integrations = newrelic.cloud.AzureIntegrations("foo",
1227
+ linked_account_id=foo.id,
1202
1228
  account_id="The New Relic account ID",
1203
- api_management=newrelic.cloud.AzureIntegrationsApiManagementArgs(
1204
- metrics_polling_interval=1200,
1205
- resource_groups=["resource_groups"],
1206
- ),
1207
- app_gateway=newrelic.cloud.AzureIntegrationsAppGatewayArgs(
1208
- metrics_polling_interval=1200,
1209
- resource_groups=["resource_groups"],
1210
- ),
1211
- app_service=newrelic.cloud.AzureIntegrationsAppServiceArgs(
1212
- metrics_polling_interval=1200,
1213
- resource_groups=["resource_groups"],
1214
- ),
1215
- containers=newrelic.cloud.AzureIntegrationsContainersArgs(
1216
- metrics_polling_interval=1200,
1217
- resource_groups=["resource_groups"],
1218
- ),
1219
- cosmos_db=newrelic.cloud.AzureIntegrationsCosmosDbArgs(
1220
- metrics_polling_interval=1200,
1221
- resource_groups=["resource_groups"],
1222
- ),
1223
- cost_management=newrelic.cloud.AzureIntegrationsCostManagementArgs(
1224
- metrics_polling_interval=3600,
1225
- tag_keys=["tag_keys"],
1226
- ),
1227
- data_factory=newrelic.cloud.AzureIntegrationsDataFactoryArgs(
1228
- metrics_polling_interval=1200,
1229
- resource_groups=["resource_groups"],
1230
- ),
1231
- event_hub=newrelic.cloud.AzureIntegrationsEventHubArgs(
1232
- metrics_polling_interval=1200,
1233
- resource_groups=["resource_groups"],
1234
- ),
1235
- express_route=newrelic.cloud.AzureIntegrationsExpressRouteArgs(
1236
- metrics_polling_interval=1200,
1237
- resource_groups=["resource_groups"],
1238
- ),
1239
- firewalls=newrelic.cloud.AzureIntegrationsFirewallsArgs(
1240
- metrics_polling_interval=1200,
1241
- resource_groups=["resource_groups"],
1242
- ),
1243
- front_door=newrelic.cloud.AzureIntegrationsFrontDoorArgs(
1244
- metrics_polling_interval=1200,
1245
- resource_groups=["resource_groups"],
1246
- ),
1247
- functions=newrelic.cloud.AzureIntegrationsFunctionsArgs(
1248
- metrics_polling_interval=1200,
1249
- resource_groups=["resource_groups"],
1250
- ),
1251
- key_vault=newrelic.cloud.AzureIntegrationsKeyVaultArgs(
1252
- metrics_polling_interval=1200,
1253
- resource_groups=["resource_groups"],
1254
- ),
1255
- load_balancer=newrelic.cloud.AzureIntegrationsLoadBalancerArgs(
1256
- metrics_polling_interval=1200,
1257
- resource_groups=["resource_groups"],
1258
- ),
1259
- logic_apps=newrelic.cloud.AzureIntegrationsLogicAppsArgs(
1260
- metrics_polling_interval=1200,
1261
- resource_groups=["resource_groups"],
1262
- ),
1263
- machine_learning=newrelic.cloud.AzureIntegrationsMachineLearningArgs(
1264
- metrics_polling_interval=1200,
1265
- resource_groups=["resource_groups"],
1266
- ),
1267
- maria_db=newrelic.cloud.AzureIntegrationsMariaDbArgs(
1268
- metrics_polling_interval=1200,
1269
- resource_groups=["resource_groups"],
1270
- ),
1271
- monitor=newrelic.cloud.AzureIntegrationsMonitorArgs(
1272
- metrics_polling_interval=1200,
1273
- resource_groups=["resource_groups"],
1274
- include_tags=["env:production"],
1275
- exclude_tags=[
1229
+ api_management={
1230
+ "metrics_polling_interval": 300,
1231
+ "resource_groups": ["resource_groups"],
1232
+ },
1233
+ app_gateway={
1234
+ "metrics_polling_interval": 300,
1235
+ "resource_groups": ["resource_groups"],
1236
+ },
1237
+ app_service={
1238
+ "metrics_polling_interval": 300,
1239
+ "resource_groups": ["resource_groups"],
1240
+ },
1241
+ containers={
1242
+ "metrics_polling_interval": 300,
1243
+ "resource_groups": ["resource_groups"],
1244
+ },
1245
+ cosmos_db={
1246
+ "metrics_polling_interval": 300,
1247
+ "resource_groups": ["resource_groups"],
1248
+ },
1249
+ cost_management={
1250
+ "metrics_polling_interval": 3600,
1251
+ "tag_keys": ["tag_keys"],
1252
+ },
1253
+ data_factory={
1254
+ "metrics_polling_interval": 300,
1255
+ "resource_groups": ["resource_groups"],
1256
+ },
1257
+ event_hub={
1258
+ "metrics_polling_interval": 300,
1259
+ "resource_groups": ["resource_groups"],
1260
+ },
1261
+ express_route={
1262
+ "metrics_polling_interval": 300,
1263
+ "resource_groups": ["resource_groups"],
1264
+ },
1265
+ firewalls={
1266
+ "metrics_polling_interval": 300,
1267
+ "resource_groups": ["resource_groups"],
1268
+ },
1269
+ front_door={
1270
+ "metrics_polling_interval": 300,
1271
+ "resource_groups": ["resource_groups"],
1272
+ },
1273
+ functions={
1274
+ "metrics_polling_interval": 300,
1275
+ "resource_groups": ["resource_groups"],
1276
+ },
1277
+ key_vault={
1278
+ "metrics_polling_interval": 300,
1279
+ "resource_groups": ["resource_groups"],
1280
+ },
1281
+ load_balancer={
1282
+ "metrics_polling_interval": 300,
1283
+ "resource_groups": ["resource_groups"],
1284
+ },
1285
+ logic_apps={
1286
+ "metrics_polling_interval": 300,
1287
+ "resource_groups": ["resource_groups"],
1288
+ },
1289
+ machine_learning={
1290
+ "metrics_polling_interval": 300,
1291
+ "resource_groups": ["resource_groups"],
1292
+ },
1293
+ maria_db={
1294
+ "metrics_polling_interval": 3600,
1295
+ "resource_groups": ["resource_groups"],
1296
+ },
1297
+ monitor={
1298
+ "metrics_polling_interval": 60,
1299
+ "resource_groups": ["resource_groups"],
1300
+ "include_tags": ["env:production"],
1301
+ "exclude_tags": [
1276
1302
  "env:staging",
1277
1303
  "env:testing",
1278
1304
  ],
1279
- enabled=True,
1280
- resource_types=["microsoft.datashare/accounts"],
1281
- ),
1282
- mysql=newrelic.cloud.AzureIntegrationsMysqlArgs(
1283
- metrics_polling_interval=1200,
1284
- resource_groups=["resource_groups"],
1285
- ),
1286
- mysql_flexible=newrelic.cloud.AzureIntegrationsMysqlFlexibleArgs(
1287
- metrics_polling_interval=1200,
1288
- resource_groups=["resource_groups"],
1289
- ),
1290
- postgresql=newrelic.cloud.AzureIntegrationsPostgresqlArgs(
1291
- metrics_polling_interval=1200,
1292
- resource_groups=["resource_groups"],
1293
- ),
1294
- postgresql_flexible=newrelic.cloud.AzureIntegrationsPostgresqlFlexibleArgs(
1295
- metrics_polling_interval=1200,
1296
- resource_groups=["resource_groups"],
1297
- ),
1298
- power_bi_dedicated=newrelic.cloud.AzureIntegrationsPowerBiDedicatedArgs(
1299
- metrics_polling_interval=1200,
1300
- resource_groups=["resource_groups"],
1301
- ),
1302
- redis_cache=newrelic.cloud.AzureIntegrationsRedisCacheArgs(
1303
- metrics_polling_interval=1200,
1304
- resource_groups=["resource_groups"],
1305
- ),
1306
- service_bus=newrelic.cloud.AzureIntegrationsServiceBusArgs(
1307
- metrics_polling_interval=1200,
1308
- resource_groups=["resource_groups"],
1309
- ),
1310
- sql=newrelic.cloud.AzureIntegrationsSqlArgs(
1311
- metrics_polling_interval=1200,
1312
- resource_groups=["resource_groups"],
1313
- ),
1314
- sql_managed=newrelic.cloud.AzureIntegrationsSqlManagedArgs(
1315
- metrics_polling_interval=1200,
1316
- resource_groups=["resource_groups"],
1317
- ),
1318
- storage=newrelic.cloud.AzureIntegrationsStorageArgs(
1319
- metrics_polling_interval=1200,
1320
- resource_groups=["resource_groups"],
1321
- ),
1322
- virtual_machine=newrelic.cloud.AzureIntegrationsVirtualMachineArgs(
1323
- metrics_polling_interval=1200,
1324
- resource_groups=["resource_groups"],
1325
- ),
1326
- virtual_networks=newrelic.cloud.AzureIntegrationsVirtualNetworksArgs(
1327
- metrics_polling_interval=1200,
1328
- resource_groups=["resource_groups"],
1329
- ),
1330
- vms=newrelic.cloud.AzureIntegrationsVmsArgs(
1331
- metrics_polling_interval=1200,
1332
- resource_groups=["resource_groups"],
1333
- ),
1334
- vpn_gateway=newrelic.cloud.AzureIntegrationsVpnGatewayArgs(
1335
- metrics_polling_interval=1200,
1336
- resource_groups=["resource_groups"],
1337
- ))
1305
+ "enabled": True,
1306
+ "resource_types": ["microsoft.datashare/accounts"],
1307
+ },
1308
+ mysql={
1309
+ "metrics_polling_interval": 3600,
1310
+ "resource_groups": ["resource_groups"],
1311
+ },
1312
+ mysql_flexible={
1313
+ "metrics_polling_interval": 3600,
1314
+ "resource_groups": ["resource_groups"],
1315
+ },
1316
+ postgresql={
1317
+ "metrics_polling_interval": 3600,
1318
+ "resource_groups": ["resource_groups"],
1319
+ },
1320
+ postgresql_flexible={
1321
+ "metrics_polling_interval": 3600,
1322
+ "resource_groups": ["resource_groups"],
1323
+ },
1324
+ power_bi_dedicated={
1325
+ "metrics_polling_interval": 300,
1326
+ "resource_groups": ["resource_groups"],
1327
+ },
1328
+ redis_cache={
1329
+ "metrics_polling_interval": 300,
1330
+ "resource_groups": ["resource_groups"],
1331
+ },
1332
+ service_bus={
1333
+ "metrics_polling_interval": 300,
1334
+ "resource_groups": ["resource_groups"],
1335
+ },
1336
+ sql={
1337
+ "metrics_polling_interval": 300,
1338
+ "resource_groups": ["resource_groups"],
1339
+ },
1340
+ sql_managed={
1341
+ "metrics_polling_interval": 300,
1342
+ "resource_groups": ["resource_groups"],
1343
+ },
1344
+ storage={
1345
+ "metrics_polling_interval": 1800,
1346
+ "resource_groups": ["resource_groups"],
1347
+ },
1348
+ virtual_machine={
1349
+ "metrics_polling_interval": 300,
1350
+ "resource_groups": ["resource_groups"],
1351
+ },
1352
+ virtual_networks={
1353
+ "metrics_polling_interval": 300,
1354
+ "resource_groups": ["resource_groups"],
1355
+ },
1356
+ vms={
1357
+ "metrics_polling_interval": 300,
1358
+ "resource_groups": ["resource_groups"],
1359
+ },
1360
+ vpn_gateway={
1361
+ "metrics_polling_interval": 300,
1362
+ "resource_groups": ["resource_groups"],
1363
+ })
1338
1364
  ```
1339
1365
 
1340
1366
  ## Import
1341
1367
 
1342
1368
  Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic.
1343
1369
 
1344
- bash
1370
+ bash
1345
1371
 
1346
1372
  ```sh
1347
1373
  $ pulumi import newrelic:cloud/azureIntegrations:AzureIntegrations foo <id>
@@ -1349,44 +1375,49 @@ class AzureIntegrations(pulumi.CustomResource):
1349
1375
 
1350
1376
  :param str resource_name: The name of the resource.
1351
1377
  :param pulumi.ResourceOptions opts: Options for the resource.
1352
- :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`.
1353
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsApiManagementArgs']] api_management: Azure API Management. See Integration blocks below for details.
1354
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsAppGatewayArgs']] app_gateway: Azure App Gateway. See Integration blocks below for details.
1355
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsAppServiceArgs']] app_service: Azure App Service. See Integration blocks below for details.
1356
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsContainersArgs']] containers: Azure Containers. See Integration blocks below for details.
1357
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsCosmosDbArgs']] cosmos_db: Azure CosmosDB. See Integration blocks below for details.
1358
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsCostManagementArgs']] cost_management: Azure Cost Management. See Integration blocks below for details.
1359
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsDataFactoryArgs']] data_factory: Azure Data Factory. See Integration blocks below for details.
1360
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsEventHubArgs']] event_hub: Azure Event Hub. See Integration blocks below for details.
1361
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsExpressRouteArgs']] express_route: Azure Express Route. See Integration blocks below for details.
1362
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsFirewallsArgs']] firewalls: Azure Firewalls. See Integration blocks below for details.
1363
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsFrontDoorArgs']] front_door: Azure Front Door. See Integration blocks below for details.
1364
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsFunctionsArgs']] functions: Azure Functions. See Integration blocks below for details.
1365
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsKeyVaultArgs']] key_vault: Azure Key Vault. See Integration blocks below for details.
1366
- :param pulumi.Input[int] linked_account_id: The ID of the linked Azure account in New Relic.
1367
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsLoadBalancerArgs']] load_balancer: Azure Load Balancer. See Integration blocks below for details.
1368
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsLogicAppsArgs']] logic_apps: Azure Logic Apps. See Integration blocks below for details.
1369
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMachineLearningArgs']] machine_learning: Azure Machine Learning. See Integration blocks below for details.
1370
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMariaDbArgs']] maria_db: Azure MariaDB. See Integration blocks below for details.
1371
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMonitorArgs']] monitor: Azure Monitor. See Integration blocks below for details.
1372
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlArgs']] mysql: Azure MySQL. See Integration blocks below for details.
1373
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlFlexibleArgs']] mysql_flexible: Azure MySQL Flexible Server. See Integration blocks below for details.
1374
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlArgs']] postgresql: Azure PostgreSQL. See Integration blocks below for details.
1375
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlFlexibleArgs']] postgresql_flexible: Azure PostgreSQL Flexible Server. See Integration blocks below for details.
1376
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsPowerBiDedicatedArgs']] power_bi_dedicated: Azure Power BI Dedicated. See Integration blocks below for details.
1377
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsRedisCacheArgs']] redis_cache: Azure Redis Cache. See Integration blocks below for details.
1378
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsServiceBusArgs']] service_bus: Azure Service Bus. See Integration blocks below for details.
1379
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsSqlArgs']] sql: Azure SQL. See Integration blocks below for details.
1380
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsSqlManagedArgs']] sql_managed: Azure SQL Managed. See Integration blocks below for details.
1381
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsStorageArgs']] storage: for Azure Storage. See Integration blocks below for details.
1382
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualMachineArgs']] virtual_machine: Azure Virtual machine. See Integration blocks below for details.
1383
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualNetworksArgs']] virtual_networks: for Azure Virtual networks. See Integration blocks below for details.
1378
+ :param pulumi.Input[str] 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`.
1379
+ :param pulumi.Input[Union['AzureIntegrationsApiManagementArgs', 'AzureIntegrationsApiManagementArgsDict']] api_management: Azure API Management. See Integration blocks below for details.
1380
+ :param pulumi.Input[Union['AzureIntegrationsAppGatewayArgs', 'AzureIntegrationsAppGatewayArgsDict']] app_gateway: Azure App Gateway. See Integration blocks below for details.
1381
+ :param pulumi.Input[Union['AzureIntegrationsAppServiceArgs', 'AzureIntegrationsAppServiceArgsDict']] app_service: Azure App Service. See Integration blocks below for details.
1382
+ :param pulumi.Input[Union['AzureIntegrationsContainersArgs', 'AzureIntegrationsContainersArgsDict']] containers: Azure Containers. See Integration blocks below for details.
1383
+ :param pulumi.Input[Union['AzureIntegrationsCosmosDbArgs', 'AzureIntegrationsCosmosDbArgsDict']] cosmos_db: Azure CosmosDB. See Integration blocks below for details.
1384
+ :param pulumi.Input[Union['AzureIntegrationsCostManagementArgs', 'AzureIntegrationsCostManagementArgsDict']] cost_management: Azure Cost Management. See Integration blocks below for details.
1385
+ :param pulumi.Input[Union['AzureIntegrationsDataFactoryArgs', 'AzureIntegrationsDataFactoryArgsDict']] data_factory: Azure Data Factory. See Integration blocks below for details.
1386
+ :param pulumi.Input[Union['AzureIntegrationsEventHubArgs', 'AzureIntegrationsEventHubArgsDict']] event_hub: Azure Event Hub. See Integration blocks below for details.
1387
+ :param pulumi.Input[Union['AzureIntegrationsExpressRouteArgs', 'AzureIntegrationsExpressRouteArgsDict']] express_route: Azure Express Route. See Integration blocks below for details.
1388
+ :param pulumi.Input[Union['AzureIntegrationsFirewallsArgs', 'AzureIntegrationsFirewallsArgsDict']] firewalls: Azure Firewalls. See Integration blocks below for details.
1389
+ :param pulumi.Input[Union['AzureIntegrationsFrontDoorArgs', 'AzureIntegrationsFrontDoorArgsDict']] front_door: Azure Front Door. See Integration blocks below for details.
1390
+ :param pulumi.Input[Union['AzureIntegrationsFunctionsArgs', 'AzureIntegrationsFunctionsArgsDict']] functions: Azure Functions. See Integration blocks below for details.
1391
+ :param pulumi.Input[Union['AzureIntegrationsKeyVaultArgs', 'AzureIntegrationsKeyVaultArgsDict']] key_vault: Azure Key Vault. See Integration blocks below for details.
1392
+ :param pulumi.Input[str] linked_account_id: The ID of the linked Azure account in New Relic.
1384
1393
 
1385
- Below argument supports the minimum metric polling interval of 3600 seconds
1386
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVmsArgs']] vms: Azure VMs. See Integration blocks below for details.
1387
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVpnGatewayArgs']] vpn_gateway: Azure VPN Gateway. See Integration blocks below for details.
1388
1394
 
1389
- Below arguments supports the minimum metric polling interval of 900 seconds
1395
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
1396
+ :param pulumi.Input[Union['AzureIntegrationsLoadBalancerArgs', 'AzureIntegrationsLoadBalancerArgsDict']] load_balancer: Azure Load Balancer. See Integration blocks below for details.
1397
+ :param pulumi.Input[Union['AzureIntegrationsLogicAppsArgs', 'AzureIntegrationsLogicAppsArgsDict']] logic_apps: Azure Logic Apps. See Integration blocks below for details.
1398
+ :param pulumi.Input[Union['AzureIntegrationsMachineLearningArgs', 'AzureIntegrationsMachineLearningArgsDict']] machine_learning: Azure Machine Learning. See Integration blocks below for details.
1399
+ :param pulumi.Input[Union['AzureIntegrationsMariaDbArgs', 'AzureIntegrationsMariaDbArgsDict']] maria_db: Azure MariaDB. See Integration blocks below for details.
1400
+ :param pulumi.Input[Union['AzureIntegrationsMonitorArgs', 'AzureIntegrationsMonitorArgsDict']] monitor: Azure Monitor. See Integration blocks below for details.
1401
+
1402
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
1403
+ :param pulumi.Input[Union['AzureIntegrationsMysqlArgs', 'AzureIntegrationsMysqlArgsDict']] mysql: Azure MySQL. See Integration blocks below for details.
1404
+ :param pulumi.Input[Union['AzureIntegrationsMysqlFlexibleArgs', 'AzureIntegrationsMysqlFlexibleArgsDict']] mysql_flexible: Azure MySQL Flexible Server. See Integration blocks below for details.
1405
+ :param pulumi.Input[Union['AzureIntegrationsPostgresqlArgs', 'AzureIntegrationsPostgresqlArgsDict']] postgresql: Azure PostgreSQL. See Integration blocks below for details.
1406
+ :param pulumi.Input[Union['AzureIntegrationsPostgresqlFlexibleArgs', 'AzureIntegrationsPostgresqlFlexibleArgsDict']] postgresql_flexible: Azure PostgreSQL Flexible Server. See Integration blocks below for details.
1407
+ :param pulumi.Input[Union['AzureIntegrationsPowerBiDedicatedArgs', 'AzureIntegrationsPowerBiDedicatedArgsDict']] power_bi_dedicated: Azure Power BI Dedicated. See Integration blocks below for details.
1408
+ :param pulumi.Input[Union['AzureIntegrationsRedisCacheArgs', 'AzureIntegrationsRedisCacheArgsDict']] redis_cache: Azure Redis Cache. See Integration blocks below for details.
1409
+ :param pulumi.Input[Union['AzureIntegrationsServiceBusArgs', 'AzureIntegrationsServiceBusArgsDict']] service_bus: Azure Service Bus. See Integration blocks below for details.
1410
+ :param pulumi.Input[Union['AzureIntegrationsSqlArgs', 'AzureIntegrationsSqlArgsDict']] sql: Azure SQL. See Integration blocks below for details.
1411
+ :param pulumi.Input[Union['AzureIntegrationsSqlManagedArgs', 'AzureIntegrationsSqlManagedArgsDict']] sql_managed: Azure SQL Managed. See Integration blocks below for details.
1412
+ :param pulumi.Input[Union['AzureIntegrationsStorageArgs', 'AzureIntegrationsStorageArgsDict']] storage: for Azure Storage. See Integration blocks below for details.
1413
+
1414
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
1415
+ :param pulumi.Input[Union['AzureIntegrationsVirtualMachineArgs', 'AzureIntegrationsVirtualMachineArgsDict']] virtual_machine: Azure Virtual machine. See Integration blocks below for details.
1416
+ :param pulumi.Input[Union['AzureIntegrationsVirtualNetworksArgs', 'AzureIntegrationsVirtualNetworksArgsDict']] virtual_networks: for Azure Virtual networks. See Integration blocks below for details.
1417
+ :param pulumi.Input[Union['AzureIntegrationsVmsArgs', 'AzureIntegrationsVmsArgsDict']] vms: Azure VMs. See Integration blocks below for details.
1418
+ :param pulumi.Input[Union['AzureIntegrationsVpnGatewayArgs', 'AzureIntegrationsVpnGatewayArgsDict']] vpn_gateway: Azure VPN Gateway. See Integration blocks below for details.
1419
+
1420
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
1390
1421
  """
1391
1422
  ...
1392
1423
  @overload
@@ -1413,157 +1444,158 @@ class AzureIntegrations(pulumi.CustomResource):
1413
1444
  import pulumi
1414
1445
  import pulumi_newrelic as newrelic
1415
1446
 
1416
- foo_azure_link_account = newrelic.cloud.AzureLinkAccount("fooAzureLinkAccount",
1447
+ foo = newrelic.cloud.AzureLinkAccount("foo",
1417
1448
  account_id="The New Relic account ID where you want to link the Azure account",
1418
1449
  application_id="ID of the application",
1419
1450
  client_secret="Secret value of client's Azure account",
1420
1451
  subscription_id="Subscription ID of Azure",
1421
- tenant_id="Tenant ID of the Azure")
1422
- foo_azure_integrations = newrelic.cloud.AzureIntegrations("fooAzureIntegrations",
1423
- linked_account_id=foo_azure_link_account.id,
1452
+ tenant_id="Tenant ID of the Azure",
1453
+ name="Name of the linked account")
1454
+ foo_azure_integrations = newrelic.cloud.AzureIntegrations("foo",
1455
+ linked_account_id=foo.id,
1424
1456
  account_id="The New Relic account ID",
1425
- api_management=newrelic.cloud.AzureIntegrationsApiManagementArgs(
1426
- metrics_polling_interval=1200,
1427
- resource_groups=["resource_groups"],
1428
- ),
1429
- app_gateway=newrelic.cloud.AzureIntegrationsAppGatewayArgs(
1430
- metrics_polling_interval=1200,
1431
- resource_groups=["resource_groups"],
1432
- ),
1433
- app_service=newrelic.cloud.AzureIntegrationsAppServiceArgs(
1434
- metrics_polling_interval=1200,
1435
- resource_groups=["resource_groups"],
1436
- ),
1437
- containers=newrelic.cloud.AzureIntegrationsContainersArgs(
1438
- metrics_polling_interval=1200,
1439
- resource_groups=["resource_groups"],
1440
- ),
1441
- cosmos_db=newrelic.cloud.AzureIntegrationsCosmosDbArgs(
1442
- metrics_polling_interval=1200,
1443
- resource_groups=["resource_groups"],
1444
- ),
1445
- cost_management=newrelic.cloud.AzureIntegrationsCostManagementArgs(
1446
- metrics_polling_interval=3600,
1447
- tag_keys=["tag_keys"],
1448
- ),
1449
- data_factory=newrelic.cloud.AzureIntegrationsDataFactoryArgs(
1450
- metrics_polling_interval=1200,
1451
- resource_groups=["resource_groups"],
1452
- ),
1453
- event_hub=newrelic.cloud.AzureIntegrationsEventHubArgs(
1454
- metrics_polling_interval=1200,
1455
- resource_groups=["resource_groups"],
1456
- ),
1457
- express_route=newrelic.cloud.AzureIntegrationsExpressRouteArgs(
1458
- metrics_polling_interval=1200,
1459
- resource_groups=["resource_groups"],
1460
- ),
1461
- firewalls=newrelic.cloud.AzureIntegrationsFirewallsArgs(
1462
- metrics_polling_interval=1200,
1463
- resource_groups=["resource_groups"],
1464
- ),
1465
- front_door=newrelic.cloud.AzureIntegrationsFrontDoorArgs(
1466
- metrics_polling_interval=1200,
1467
- resource_groups=["resource_groups"],
1468
- ),
1469
- functions=newrelic.cloud.AzureIntegrationsFunctionsArgs(
1470
- metrics_polling_interval=1200,
1471
- resource_groups=["resource_groups"],
1472
- ),
1473
- key_vault=newrelic.cloud.AzureIntegrationsKeyVaultArgs(
1474
- metrics_polling_interval=1200,
1475
- resource_groups=["resource_groups"],
1476
- ),
1477
- load_balancer=newrelic.cloud.AzureIntegrationsLoadBalancerArgs(
1478
- metrics_polling_interval=1200,
1479
- resource_groups=["resource_groups"],
1480
- ),
1481
- logic_apps=newrelic.cloud.AzureIntegrationsLogicAppsArgs(
1482
- metrics_polling_interval=1200,
1483
- resource_groups=["resource_groups"],
1484
- ),
1485
- machine_learning=newrelic.cloud.AzureIntegrationsMachineLearningArgs(
1486
- metrics_polling_interval=1200,
1487
- resource_groups=["resource_groups"],
1488
- ),
1489
- maria_db=newrelic.cloud.AzureIntegrationsMariaDbArgs(
1490
- metrics_polling_interval=1200,
1491
- resource_groups=["resource_groups"],
1492
- ),
1493
- monitor=newrelic.cloud.AzureIntegrationsMonitorArgs(
1494
- metrics_polling_interval=1200,
1495
- resource_groups=["resource_groups"],
1496
- include_tags=["env:production"],
1497
- exclude_tags=[
1457
+ api_management={
1458
+ "metrics_polling_interval": 300,
1459
+ "resource_groups": ["resource_groups"],
1460
+ },
1461
+ app_gateway={
1462
+ "metrics_polling_interval": 300,
1463
+ "resource_groups": ["resource_groups"],
1464
+ },
1465
+ app_service={
1466
+ "metrics_polling_interval": 300,
1467
+ "resource_groups": ["resource_groups"],
1468
+ },
1469
+ containers={
1470
+ "metrics_polling_interval": 300,
1471
+ "resource_groups": ["resource_groups"],
1472
+ },
1473
+ cosmos_db={
1474
+ "metrics_polling_interval": 300,
1475
+ "resource_groups": ["resource_groups"],
1476
+ },
1477
+ cost_management={
1478
+ "metrics_polling_interval": 3600,
1479
+ "tag_keys": ["tag_keys"],
1480
+ },
1481
+ data_factory={
1482
+ "metrics_polling_interval": 300,
1483
+ "resource_groups": ["resource_groups"],
1484
+ },
1485
+ event_hub={
1486
+ "metrics_polling_interval": 300,
1487
+ "resource_groups": ["resource_groups"],
1488
+ },
1489
+ express_route={
1490
+ "metrics_polling_interval": 300,
1491
+ "resource_groups": ["resource_groups"],
1492
+ },
1493
+ firewalls={
1494
+ "metrics_polling_interval": 300,
1495
+ "resource_groups": ["resource_groups"],
1496
+ },
1497
+ front_door={
1498
+ "metrics_polling_interval": 300,
1499
+ "resource_groups": ["resource_groups"],
1500
+ },
1501
+ functions={
1502
+ "metrics_polling_interval": 300,
1503
+ "resource_groups": ["resource_groups"],
1504
+ },
1505
+ key_vault={
1506
+ "metrics_polling_interval": 300,
1507
+ "resource_groups": ["resource_groups"],
1508
+ },
1509
+ load_balancer={
1510
+ "metrics_polling_interval": 300,
1511
+ "resource_groups": ["resource_groups"],
1512
+ },
1513
+ logic_apps={
1514
+ "metrics_polling_interval": 300,
1515
+ "resource_groups": ["resource_groups"],
1516
+ },
1517
+ machine_learning={
1518
+ "metrics_polling_interval": 300,
1519
+ "resource_groups": ["resource_groups"],
1520
+ },
1521
+ maria_db={
1522
+ "metrics_polling_interval": 3600,
1523
+ "resource_groups": ["resource_groups"],
1524
+ },
1525
+ monitor={
1526
+ "metrics_polling_interval": 60,
1527
+ "resource_groups": ["resource_groups"],
1528
+ "include_tags": ["env:production"],
1529
+ "exclude_tags": [
1498
1530
  "env:staging",
1499
1531
  "env:testing",
1500
1532
  ],
1501
- enabled=True,
1502
- resource_types=["microsoft.datashare/accounts"],
1503
- ),
1504
- mysql=newrelic.cloud.AzureIntegrationsMysqlArgs(
1505
- metrics_polling_interval=1200,
1506
- resource_groups=["resource_groups"],
1507
- ),
1508
- mysql_flexible=newrelic.cloud.AzureIntegrationsMysqlFlexibleArgs(
1509
- metrics_polling_interval=1200,
1510
- resource_groups=["resource_groups"],
1511
- ),
1512
- postgresql=newrelic.cloud.AzureIntegrationsPostgresqlArgs(
1513
- metrics_polling_interval=1200,
1514
- resource_groups=["resource_groups"],
1515
- ),
1516
- postgresql_flexible=newrelic.cloud.AzureIntegrationsPostgresqlFlexibleArgs(
1517
- metrics_polling_interval=1200,
1518
- resource_groups=["resource_groups"],
1519
- ),
1520
- power_bi_dedicated=newrelic.cloud.AzureIntegrationsPowerBiDedicatedArgs(
1521
- metrics_polling_interval=1200,
1522
- resource_groups=["resource_groups"],
1523
- ),
1524
- redis_cache=newrelic.cloud.AzureIntegrationsRedisCacheArgs(
1525
- metrics_polling_interval=1200,
1526
- resource_groups=["resource_groups"],
1527
- ),
1528
- service_bus=newrelic.cloud.AzureIntegrationsServiceBusArgs(
1529
- metrics_polling_interval=1200,
1530
- resource_groups=["resource_groups"],
1531
- ),
1532
- sql=newrelic.cloud.AzureIntegrationsSqlArgs(
1533
- metrics_polling_interval=1200,
1534
- resource_groups=["resource_groups"],
1535
- ),
1536
- sql_managed=newrelic.cloud.AzureIntegrationsSqlManagedArgs(
1537
- metrics_polling_interval=1200,
1538
- resource_groups=["resource_groups"],
1539
- ),
1540
- storage=newrelic.cloud.AzureIntegrationsStorageArgs(
1541
- metrics_polling_interval=1200,
1542
- resource_groups=["resource_groups"],
1543
- ),
1544
- virtual_machine=newrelic.cloud.AzureIntegrationsVirtualMachineArgs(
1545
- metrics_polling_interval=1200,
1546
- resource_groups=["resource_groups"],
1547
- ),
1548
- virtual_networks=newrelic.cloud.AzureIntegrationsVirtualNetworksArgs(
1549
- metrics_polling_interval=1200,
1550
- resource_groups=["resource_groups"],
1551
- ),
1552
- vms=newrelic.cloud.AzureIntegrationsVmsArgs(
1553
- metrics_polling_interval=1200,
1554
- resource_groups=["resource_groups"],
1555
- ),
1556
- vpn_gateway=newrelic.cloud.AzureIntegrationsVpnGatewayArgs(
1557
- metrics_polling_interval=1200,
1558
- resource_groups=["resource_groups"],
1559
- ))
1533
+ "enabled": True,
1534
+ "resource_types": ["microsoft.datashare/accounts"],
1535
+ },
1536
+ mysql={
1537
+ "metrics_polling_interval": 3600,
1538
+ "resource_groups": ["resource_groups"],
1539
+ },
1540
+ mysql_flexible={
1541
+ "metrics_polling_interval": 3600,
1542
+ "resource_groups": ["resource_groups"],
1543
+ },
1544
+ postgresql={
1545
+ "metrics_polling_interval": 3600,
1546
+ "resource_groups": ["resource_groups"],
1547
+ },
1548
+ postgresql_flexible={
1549
+ "metrics_polling_interval": 3600,
1550
+ "resource_groups": ["resource_groups"],
1551
+ },
1552
+ power_bi_dedicated={
1553
+ "metrics_polling_interval": 300,
1554
+ "resource_groups": ["resource_groups"],
1555
+ },
1556
+ redis_cache={
1557
+ "metrics_polling_interval": 300,
1558
+ "resource_groups": ["resource_groups"],
1559
+ },
1560
+ service_bus={
1561
+ "metrics_polling_interval": 300,
1562
+ "resource_groups": ["resource_groups"],
1563
+ },
1564
+ sql={
1565
+ "metrics_polling_interval": 300,
1566
+ "resource_groups": ["resource_groups"],
1567
+ },
1568
+ sql_managed={
1569
+ "metrics_polling_interval": 300,
1570
+ "resource_groups": ["resource_groups"],
1571
+ },
1572
+ storage={
1573
+ "metrics_polling_interval": 1800,
1574
+ "resource_groups": ["resource_groups"],
1575
+ },
1576
+ virtual_machine={
1577
+ "metrics_polling_interval": 300,
1578
+ "resource_groups": ["resource_groups"],
1579
+ },
1580
+ virtual_networks={
1581
+ "metrics_polling_interval": 300,
1582
+ "resource_groups": ["resource_groups"],
1583
+ },
1584
+ vms={
1585
+ "metrics_polling_interval": 300,
1586
+ "resource_groups": ["resource_groups"],
1587
+ },
1588
+ vpn_gateway={
1589
+ "metrics_polling_interval": 300,
1590
+ "resource_groups": ["resource_groups"],
1591
+ })
1560
1592
  ```
1561
1593
 
1562
1594
  ## Import
1563
1595
 
1564
1596
  Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic.
1565
1597
 
1566
- bash
1598
+ bash
1567
1599
 
1568
1600
  ```sh
1569
1601
  $ pulumi import newrelic:cloud/azureIntegrations:AzureIntegrations foo <id>
@@ -1584,40 +1616,40 @@ class AzureIntegrations(pulumi.CustomResource):
1584
1616
  def _internal_init(__self__,
1585
1617
  resource_name: str,
1586
1618
  opts: Optional[pulumi.ResourceOptions] = None,
1587
- account_id: Optional[pulumi.Input[int]] = None,
1588
- api_management: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsApiManagementArgs']]] = None,
1589
- app_gateway: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsAppGatewayArgs']]] = None,
1590
- app_service: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsAppServiceArgs']]] = None,
1591
- containers: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsContainersArgs']]] = None,
1592
- cosmos_db: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsCosmosDbArgs']]] = None,
1593
- cost_management: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsCostManagementArgs']]] = None,
1594
- data_factory: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsDataFactoryArgs']]] = None,
1595
- event_hub: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsEventHubArgs']]] = None,
1596
- express_route: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsExpressRouteArgs']]] = None,
1597
- firewalls: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFirewallsArgs']]] = None,
1598
- front_door: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFrontDoorArgs']]] = None,
1599
- functions: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFunctionsArgs']]] = None,
1600
- key_vault: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsKeyVaultArgs']]] = None,
1601
- linked_account_id: Optional[pulumi.Input[int]] = None,
1602
- load_balancer: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsLoadBalancerArgs']]] = None,
1603
- logic_apps: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsLogicAppsArgs']]] = None,
1604
- machine_learning: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMachineLearningArgs']]] = None,
1605
- maria_db: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMariaDbArgs']]] = None,
1606
- monitor: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMonitorArgs']]] = None,
1607
- mysql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlArgs']]] = None,
1608
- mysql_flexible: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlFlexibleArgs']]] = None,
1609
- postgresql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlArgs']]] = None,
1610
- postgresql_flexible: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlFlexibleArgs']]] = None,
1611
- power_bi_dedicated: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPowerBiDedicatedArgs']]] = None,
1612
- redis_cache: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsRedisCacheArgs']]] = None,
1613
- service_bus: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsServiceBusArgs']]] = None,
1614
- sql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsSqlArgs']]] = None,
1615
- sql_managed: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsSqlManagedArgs']]] = None,
1616
- storage: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsStorageArgs']]] = None,
1617
- virtual_machine: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualMachineArgs']]] = None,
1618
- virtual_networks: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualNetworksArgs']]] = None,
1619
- vms: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVmsArgs']]] = None,
1620
- vpn_gateway: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVpnGatewayArgs']]] = None,
1619
+ account_id: Optional[pulumi.Input[str]] = None,
1620
+ api_management: Optional[pulumi.Input[Union['AzureIntegrationsApiManagementArgs', 'AzureIntegrationsApiManagementArgsDict']]] = None,
1621
+ app_gateway: Optional[pulumi.Input[Union['AzureIntegrationsAppGatewayArgs', 'AzureIntegrationsAppGatewayArgsDict']]] = None,
1622
+ app_service: Optional[pulumi.Input[Union['AzureIntegrationsAppServiceArgs', 'AzureIntegrationsAppServiceArgsDict']]] = None,
1623
+ containers: Optional[pulumi.Input[Union['AzureIntegrationsContainersArgs', 'AzureIntegrationsContainersArgsDict']]] = None,
1624
+ cosmos_db: Optional[pulumi.Input[Union['AzureIntegrationsCosmosDbArgs', 'AzureIntegrationsCosmosDbArgsDict']]] = None,
1625
+ cost_management: Optional[pulumi.Input[Union['AzureIntegrationsCostManagementArgs', 'AzureIntegrationsCostManagementArgsDict']]] = None,
1626
+ data_factory: Optional[pulumi.Input[Union['AzureIntegrationsDataFactoryArgs', 'AzureIntegrationsDataFactoryArgsDict']]] = None,
1627
+ event_hub: Optional[pulumi.Input[Union['AzureIntegrationsEventHubArgs', 'AzureIntegrationsEventHubArgsDict']]] = None,
1628
+ express_route: Optional[pulumi.Input[Union['AzureIntegrationsExpressRouteArgs', 'AzureIntegrationsExpressRouteArgsDict']]] = None,
1629
+ firewalls: Optional[pulumi.Input[Union['AzureIntegrationsFirewallsArgs', 'AzureIntegrationsFirewallsArgsDict']]] = None,
1630
+ front_door: Optional[pulumi.Input[Union['AzureIntegrationsFrontDoorArgs', 'AzureIntegrationsFrontDoorArgsDict']]] = None,
1631
+ functions: Optional[pulumi.Input[Union['AzureIntegrationsFunctionsArgs', 'AzureIntegrationsFunctionsArgsDict']]] = None,
1632
+ key_vault: Optional[pulumi.Input[Union['AzureIntegrationsKeyVaultArgs', 'AzureIntegrationsKeyVaultArgsDict']]] = None,
1633
+ linked_account_id: Optional[pulumi.Input[str]] = None,
1634
+ load_balancer: Optional[pulumi.Input[Union['AzureIntegrationsLoadBalancerArgs', 'AzureIntegrationsLoadBalancerArgsDict']]] = None,
1635
+ logic_apps: Optional[pulumi.Input[Union['AzureIntegrationsLogicAppsArgs', 'AzureIntegrationsLogicAppsArgsDict']]] = None,
1636
+ machine_learning: Optional[pulumi.Input[Union['AzureIntegrationsMachineLearningArgs', 'AzureIntegrationsMachineLearningArgsDict']]] = None,
1637
+ maria_db: Optional[pulumi.Input[Union['AzureIntegrationsMariaDbArgs', 'AzureIntegrationsMariaDbArgsDict']]] = None,
1638
+ monitor: Optional[pulumi.Input[Union['AzureIntegrationsMonitorArgs', 'AzureIntegrationsMonitorArgsDict']]] = None,
1639
+ mysql: Optional[pulumi.Input[Union['AzureIntegrationsMysqlArgs', 'AzureIntegrationsMysqlArgsDict']]] = None,
1640
+ mysql_flexible: Optional[pulumi.Input[Union['AzureIntegrationsMysqlFlexibleArgs', 'AzureIntegrationsMysqlFlexibleArgsDict']]] = None,
1641
+ postgresql: Optional[pulumi.Input[Union['AzureIntegrationsPostgresqlArgs', 'AzureIntegrationsPostgresqlArgsDict']]] = None,
1642
+ postgresql_flexible: Optional[pulumi.Input[Union['AzureIntegrationsPostgresqlFlexibleArgs', 'AzureIntegrationsPostgresqlFlexibleArgsDict']]] = None,
1643
+ power_bi_dedicated: Optional[pulumi.Input[Union['AzureIntegrationsPowerBiDedicatedArgs', 'AzureIntegrationsPowerBiDedicatedArgsDict']]] = None,
1644
+ redis_cache: Optional[pulumi.Input[Union['AzureIntegrationsRedisCacheArgs', 'AzureIntegrationsRedisCacheArgsDict']]] = None,
1645
+ service_bus: Optional[pulumi.Input[Union['AzureIntegrationsServiceBusArgs', 'AzureIntegrationsServiceBusArgsDict']]] = None,
1646
+ sql: Optional[pulumi.Input[Union['AzureIntegrationsSqlArgs', 'AzureIntegrationsSqlArgsDict']]] = None,
1647
+ sql_managed: Optional[pulumi.Input[Union['AzureIntegrationsSqlManagedArgs', 'AzureIntegrationsSqlManagedArgsDict']]] = None,
1648
+ storage: Optional[pulumi.Input[Union['AzureIntegrationsStorageArgs', 'AzureIntegrationsStorageArgsDict']]] = None,
1649
+ virtual_machine: Optional[pulumi.Input[Union['AzureIntegrationsVirtualMachineArgs', 'AzureIntegrationsVirtualMachineArgsDict']]] = None,
1650
+ virtual_networks: Optional[pulumi.Input[Union['AzureIntegrationsVirtualNetworksArgs', 'AzureIntegrationsVirtualNetworksArgsDict']]] = None,
1651
+ vms: Optional[pulumi.Input[Union['AzureIntegrationsVmsArgs', 'AzureIntegrationsVmsArgsDict']]] = None,
1652
+ vpn_gateway: Optional[pulumi.Input[Union['AzureIntegrationsVpnGatewayArgs', 'AzureIntegrationsVpnGatewayArgsDict']]] = None,
1621
1653
  __props__=None):
1622
1654
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1623
1655
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1673,40 +1705,40 @@ class AzureIntegrations(pulumi.CustomResource):
1673
1705
  def get(resource_name: str,
1674
1706
  id: pulumi.Input[str],
1675
1707
  opts: Optional[pulumi.ResourceOptions] = None,
1676
- account_id: Optional[pulumi.Input[int]] = None,
1677
- api_management: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsApiManagementArgs']]] = None,
1678
- app_gateway: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsAppGatewayArgs']]] = None,
1679
- app_service: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsAppServiceArgs']]] = None,
1680
- containers: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsContainersArgs']]] = None,
1681
- cosmos_db: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsCosmosDbArgs']]] = None,
1682
- cost_management: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsCostManagementArgs']]] = None,
1683
- data_factory: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsDataFactoryArgs']]] = None,
1684
- event_hub: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsEventHubArgs']]] = None,
1685
- express_route: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsExpressRouteArgs']]] = None,
1686
- firewalls: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFirewallsArgs']]] = None,
1687
- front_door: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFrontDoorArgs']]] = None,
1688
- functions: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsFunctionsArgs']]] = None,
1689
- key_vault: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsKeyVaultArgs']]] = None,
1690
- linked_account_id: Optional[pulumi.Input[int]] = None,
1691
- load_balancer: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsLoadBalancerArgs']]] = None,
1692
- logic_apps: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsLogicAppsArgs']]] = None,
1693
- machine_learning: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMachineLearningArgs']]] = None,
1694
- maria_db: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMariaDbArgs']]] = None,
1695
- monitor: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMonitorArgs']]] = None,
1696
- mysql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlArgs']]] = None,
1697
- mysql_flexible: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlFlexibleArgs']]] = None,
1698
- postgresql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlArgs']]] = None,
1699
- postgresql_flexible: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlFlexibleArgs']]] = None,
1700
- power_bi_dedicated: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsPowerBiDedicatedArgs']]] = None,
1701
- redis_cache: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsRedisCacheArgs']]] = None,
1702
- service_bus: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsServiceBusArgs']]] = None,
1703
- sql: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsSqlArgs']]] = None,
1704
- sql_managed: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsSqlManagedArgs']]] = None,
1705
- storage: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsStorageArgs']]] = None,
1706
- virtual_machine: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualMachineArgs']]] = None,
1707
- virtual_networks: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualNetworksArgs']]] = None,
1708
- vms: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVmsArgs']]] = None,
1709
- vpn_gateway: Optional[pulumi.Input[pulumi.InputType['AzureIntegrationsVpnGatewayArgs']]] = None) -> 'AzureIntegrations':
1708
+ account_id: Optional[pulumi.Input[str]] = None,
1709
+ api_management: Optional[pulumi.Input[Union['AzureIntegrationsApiManagementArgs', 'AzureIntegrationsApiManagementArgsDict']]] = None,
1710
+ app_gateway: Optional[pulumi.Input[Union['AzureIntegrationsAppGatewayArgs', 'AzureIntegrationsAppGatewayArgsDict']]] = None,
1711
+ app_service: Optional[pulumi.Input[Union['AzureIntegrationsAppServiceArgs', 'AzureIntegrationsAppServiceArgsDict']]] = None,
1712
+ containers: Optional[pulumi.Input[Union['AzureIntegrationsContainersArgs', 'AzureIntegrationsContainersArgsDict']]] = None,
1713
+ cosmos_db: Optional[pulumi.Input[Union['AzureIntegrationsCosmosDbArgs', 'AzureIntegrationsCosmosDbArgsDict']]] = None,
1714
+ cost_management: Optional[pulumi.Input[Union['AzureIntegrationsCostManagementArgs', 'AzureIntegrationsCostManagementArgsDict']]] = None,
1715
+ data_factory: Optional[pulumi.Input[Union['AzureIntegrationsDataFactoryArgs', 'AzureIntegrationsDataFactoryArgsDict']]] = None,
1716
+ event_hub: Optional[pulumi.Input[Union['AzureIntegrationsEventHubArgs', 'AzureIntegrationsEventHubArgsDict']]] = None,
1717
+ express_route: Optional[pulumi.Input[Union['AzureIntegrationsExpressRouteArgs', 'AzureIntegrationsExpressRouteArgsDict']]] = None,
1718
+ firewalls: Optional[pulumi.Input[Union['AzureIntegrationsFirewallsArgs', 'AzureIntegrationsFirewallsArgsDict']]] = None,
1719
+ front_door: Optional[pulumi.Input[Union['AzureIntegrationsFrontDoorArgs', 'AzureIntegrationsFrontDoorArgsDict']]] = None,
1720
+ functions: Optional[pulumi.Input[Union['AzureIntegrationsFunctionsArgs', 'AzureIntegrationsFunctionsArgsDict']]] = None,
1721
+ key_vault: Optional[pulumi.Input[Union['AzureIntegrationsKeyVaultArgs', 'AzureIntegrationsKeyVaultArgsDict']]] = None,
1722
+ linked_account_id: Optional[pulumi.Input[str]] = None,
1723
+ load_balancer: Optional[pulumi.Input[Union['AzureIntegrationsLoadBalancerArgs', 'AzureIntegrationsLoadBalancerArgsDict']]] = None,
1724
+ logic_apps: Optional[pulumi.Input[Union['AzureIntegrationsLogicAppsArgs', 'AzureIntegrationsLogicAppsArgsDict']]] = None,
1725
+ machine_learning: Optional[pulumi.Input[Union['AzureIntegrationsMachineLearningArgs', 'AzureIntegrationsMachineLearningArgsDict']]] = None,
1726
+ maria_db: Optional[pulumi.Input[Union['AzureIntegrationsMariaDbArgs', 'AzureIntegrationsMariaDbArgsDict']]] = None,
1727
+ monitor: Optional[pulumi.Input[Union['AzureIntegrationsMonitorArgs', 'AzureIntegrationsMonitorArgsDict']]] = None,
1728
+ mysql: Optional[pulumi.Input[Union['AzureIntegrationsMysqlArgs', 'AzureIntegrationsMysqlArgsDict']]] = None,
1729
+ mysql_flexible: Optional[pulumi.Input[Union['AzureIntegrationsMysqlFlexibleArgs', 'AzureIntegrationsMysqlFlexibleArgsDict']]] = None,
1730
+ postgresql: Optional[pulumi.Input[Union['AzureIntegrationsPostgresqlArgs', 'AzureIntegrationsPostgresqlArgsDict']]] = None,
1731
+ postgresql_flexible: Optional[pulumi.Input[Union['AzureIntegrationsPostgresqlFlexibleArgs', 'AzureIntegrationsPostgresqlFlexibleArgsDict']]] = None,
1732
+ power_bi_dedicated: Optional[pulumi.Input[Union['AzureIntegrationsPowerBiDedicatedArgs', 'AzureIntegrationsPowerBiDedicatedArgsDict']]] = None,
1733
+ redis_cache: Optional[pulumi.Input[Union['AzureIntegrationsRedisCacheArgs', 'AzureIntegrationsRedisCacheArgsDict']]] = None,
1734
+ service_bus: Optional[pulumi.Input[Union['AzureIntegrationsServiceBusArgs', 'AzureIntegrationsServiceBusArgsDict']]] = None,
1735
+ sql: Optional[pulumi.Input[Union['AzureIntegrationsSqlArgs', 'AzureIntegrationsSqlArgsDict']]] = None,
1736
+ sql_managed: Optional[pulumi.Input[Union['AzureIntegrationsSqlManagedArgs', 'AzureIntegrationsSqlManagedArgsDict']]] = None,
1737
+ storage: Optional[pulumi.Input[Union['AzureIntegrationsStorageArgs', 'AzureIntegrationsStorageArgsDict']]] = None,
1738
+ virtual_machine: Optional[pulumi.Input[Union['AzureIntegrationsVirtualMachineArgs', 'AzureIntegrationsVirtualMachineArgsDict']]] = None,
1739
+ virtual_networks: Optional[pulumi.Input[Union['AzureIntegrationsVirtualNetworksArgs', 'AzureIntegrationsVirtualNetworksArgsDict']]] = None,
1740
+ vms: Optional[pulumi.Input[Union['AzureIntegrationsVmsArgs', 'AzureIntegrationsVmsArgsDict']]] = None,
1741
+ vpn_gateway: Optional[pulumi.Input[Union['AzureIntegrationsVpnGatewayArgs', 'AzureIntegrationsVpnGatewayArgsDict']]] = None) -> 'AzureIntegrations':
1710
1742
  """
1711
1743
  Get an existing AzureIntegrations resource's state with the given name, id, and optional extra
1712
1744
  properties used to qualify the lookup.
@@ -1714,44 +1746,49 @@ class AzureIntegrations(pulumi.CustomResource):
1714
1746
  :param str resource_name: The unique name of the resulting resource.
1715
1747
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1716
1748
  :param pulumi.ResourceOptions opts: Options for the resource.
1717
- :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`.
1718
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsApiManagementArgs']] api_management: Azure API Management. See Integration blocks below for details.
1719
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsAppGatewayArgs']] app_gateway: Azure App Gateway. See Integration blocks below for details.
1720
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsAppServiceArgs']] app_service: Azure App Service. See Integration blocks below for details.
1721
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsContainersArgs']] containers: Azure Containers. See Integration blocks below for details.
1722
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsCosmosDbArgs']] cosmos_db: Azure CosmosDB. See Integration blocks below for details.
1723
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsCostManagementArgs']] cost_management: Azure Cost Management. See Integration blocks below for details.
1724
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsDataFactoryArgs']] data_factory: Azure Data Factory. See Integration blocks below for details.
1725
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsEventHubArgs']] event_hub: Azure Event Hub. See Integration blocks below for details.
1726
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsExpressRouteArgs']] express_route: Azure Express Route. See Integration blocks below for details.
1727
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsFirewallsArgs']] firewalls: Azure Firewalls. See Integration blocks below for details.
1728
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsFrontDoorArgs']] front_door: Azure Front Door. See Integration blocks below for details.
1729
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsFunctionsArgs']] functions: Azure Functions. See Integration blocks below for details.
1730
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsKeyVaultArgs']] key_vault: Azure Key Vault. See Integration blocks below for details.
1731
- :param pulumi.Input[int] linked_account_id: The ID of the linked Azure account in New Relic.
1732
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsLoadBalancerArgs']] load_balancer: Azure Load Balancer. See Integration blocks below for details.
1733
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsLogicAppsArgs']] logic_apps: Azure Logic Apps. See Integration blocks below for details.
1734
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMachineLearningArgs']] machine_learning: Azure Machine Learning. See Integration blocks below for details.
1735
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMariaDbArgs']] maria_db: Azure MariaDB. See Integration blocks below for details.
1736
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMonitorArgs']] monitor: Azure Monitor. See Integration blocks below for details.
1737
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlArgs']] mysql: Azure MySQL. See Integration blocks below for details.
1738
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsMysqlFlexibleArgs']] mysql_flexible: Azure MySQL Flexible Server. See Integration blocks below for details.
1739
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlArgs']] postgresql: Azure PostgreSQL. See Integration blocks below for details.
1740
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsPostgresqlFlexibleArgs']] postgresql_flexible: Azure PostgreSQL Flexible Server. See Integration blocks below for details.
1741
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsPowerBiDedicatedArgs']] power_bi_dedicated: Azure Power BI Dedicated. See Integration blocks below for details.
1742
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsRedisCacheArgs']] redis_cache: Azure Redis Cache. See Integration blocks below for details.
1743
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsServiceBusArgs']] service_bus: Azure Service Bus. See Integration blocks below for details.
1744
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsSqlArgs']] sql: Azure SQL. See Integration blocks below for details.
1745
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsSqlManagedArgs']] sql_managed: Azure SQL Managed. See Integration blocks below for details.
1746
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsStorageArgs']] storage: for Azure Storage. See Integration blocks below for details.
1747
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualMachineArgs']] virtual_machine: Azure Virtual machine. See Integration blocks below for details.
1748
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVirtualNetworksArgs']] virtual_networks: for Azure Virtual networks. See Integration blocks below for details.
1749
+ :param pulumi.Input[str] 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`.
1750
+ :param pulumi.Input[Union['AzureIntegrationsApiManagementArgs', 'AzureIntegrationsApiManagementArgsDict']] api_management: Azure API Management. See Integration blocks below for details.
1751
+ :param pulumi.Input[Union['AzureIntegrationsAppGatewayArgs', 'AzureIntegrationsAppGatewayArgsDict']] app_gateway: Azure App Gateway. See Integration blocks below for details.
1752
+ :param pulumi.Input[Union['AzureIntegrationsAppServiceArgs', 'AzureIntegrationsAppServiceArgsDict']] app_service: Azure App Service. See Integration blocks below for details.
1753
+ :param pulumi.Input[Union['AzureIntegrationsContainersArgs', 'AzureIntegrationsContainersArgsDict']] containers: Azure Containers. See Integration blocks below for details.
1754
+ :param pulumi.Input[Union['AzureIntegrationsCosmosDbArgs', 'AzureIntegrationsCosmosDbArgsDict']] cosmos_db: Azure CosmosDB. See Integration blocks below for details.
1755
+ :param pulumi.Input[Union['AzureIntegrationsCostManagementArgs', 'AzureIntegrationsCostManagementArgsDict']] cost_management: Azure Cost Management. See Integration blocks below for details.
1756
+ :param pulumi.Input[Union['AzureIntegrationsDataFactoryArgs', 'AzureIntegrationsDataFactoryArgsDict']] data_factory: Azure Data Factory. See Integration blocks below for details.
1757
+ :param pulumi.Input[Union['AzureIntegrationsEventHubArgs', 'AzureIntegrationsEventHubArgsDict']] event_hub: Azure Event Hub. See Integration blocks below for details.
1758
+ :param pulumi.Input[Union['AzureIntegrationsExpressRouteArgs', 'AzureIntegrationsExpressRouteArgsDict']] express_route: Azure Express Route. See Integration blocks below for details.
1759
+ :param pulumi.Input[Union['AzureIntegrationsFirewallsArgs', 'AzureIntegrationsFirewallsArgsDict']] firewalls: Azure Firewalls. See Integration blocks below for details.
1760
+ :param pulumi.Input[Union['AzureIntegrationsFrontDoorArgs', 'AzureIntegrationsFrontDoorArgsDict']] front_door: Azure Front Door. See Integration blocks below for details.
1761
+ :param pulumi.Input[Union['AzureIntegrationsFunctionsArgs', 'AzureIntegrationsFunctionsArgsDict']] functions: Azure Functions. See Integration blocks below for details.
1762
+ :param pulumi.Input[Union['AzureIntegrationsKeyVaultArgs', 'AzureIntegrationsKeyVaultArgsDict']] key_vault: Azure Key Vault. See Integration blocks below for details.
1763
+ :param pulumi.Input[str] linked_account_id: The ID of the linked Azure account in New Relic.
1764
+
1749
1765
 
1750
- Below argument supports the minimum metric polling interval of 3600 seconds
1751
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVmsArgs']] vms: Azure VMs. See Integration blocks below for details.
1752
- :param pulumi.Input[pulumi.InputType['AzureIntegrationsVpnGatewayArgs']] vpn_gateway: Azure VPN Gateway. See Integration blocks below for details.
1766
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
1767
+ :param pulumi.Input[Union['AzureIntegrationsLoadBalancerArgs', 'AzureIntegrationsLoadBalancerArgsDict']] load_balancer: Azure Load Balancer. See Integration blocks below for details.
1768
+ :param pulumi.Input[Union['AzureIntegrationsLogicAppsArgs', 'AzureIntegrationsLogicAppsArgsDict']] logic_apps: Azure Logic Apps. See Integration blocks below for details.
1769
+ :param pulumi.Input[Union['AzureIntegrationsMachineLearningArgs', 'AzureIntegrationsMachineLearningArgsDict']] machine_learning: Azure Machine Learning. See Integration blocks below for details.
1770
+ :param pulumi.Input[Union['AzureIntegrationsMariaDbArgs', 'AzureIntegrationsMariaDbArgsDict']] maria_db: Azure MariaDB. See Integration blocks below for details.
1771
+ :param pulumi.Input[Union['AzureIntegrationsMonitorArgs', 'AzureIntegrationsMonitorArgsDict']] monitor: Azure Monitor. See Integration blocks below for details.
1753
1772
 
1754
- Below arguments supports the minimum metric polling interval of 900 seconds
1773
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
1774
+ :param pulumi.Input[Union['AzureIntegrationsMysqlArgs', 'AzureIntegrationsMysqlArgsDict']] mysql: Azure MySQL. See Integration blocks below for details.
1775
+ :param pulumi.Input[Union['AzureIntegrationsMysqlFlexibleArgs', 'AzureIntegrationsMysqlFlexibleArgsDict']] mysql_flexible: Azure MySQL Flexible Server. See Integration blocks below for details.
1776
+ :param pulumi.Input[Union['AzureIntegrationsPostgresqlArgs', 'AzureIntegrationsPostgresqlArgsDict']] postgresql: Azure PostgreSQL. See Integration blocks below for details.
1777
+ :param pulumi.Input[Union['AzureIntegrationsPostgresqlFlexibleArgs', 'AzureIntegrationsPostgresqlFlexibleArgsDict']] postgresql_flexible: Azure PostgreSQL Flexible Server. See Integration blocks below for details.
1778
+ :param pulumi.Input[Union['AzureIntegrationsPowerBiDedicatedArgs', 'AzureIntegrationsPowerBiDedicatedArgsDict']] power_bi_dedicated: Azure Power BI Dedicated. See Integration blocks below for details.
1779
+ :param pulumi.Input[Union['AzureIntegrationsRedisCacheArgs', 'AzureIntegrationsRedisCacheArgsDict']] redis_cache: Azure Redis Cache. See Integration blocks below for details.
1780
+ :param pulumi.Input[Union['AzureIntegrationsServiceBusArgs', 'AzureIntegrationsServiceBusArgsDict']] service_bus: Azure Service Bus. See Integration blocks below for details.
1781
+ :param pulumi.Input[Union['AzureIntegrationsSqlArgs', 'AzureIntegrationsSqlArgsDict']] sql: Azure SQL. See Integration blocks below for details.
1782
+ :param pulumi.Input[Union['AzureIntegrationsSqlManagedArgs', 'AzureIntegrationsSqlManagedArgsDict']] sql_managed: Azure SQL Managed. See Integration blocks below for details.
1783
+ :param pulumi.Input[Union['AzureIntegrationsStorageArgs', 'AzureIntegrationsStorageArgsDict']] storage: for Azure Storage. See Integration blocks below for details.
1784
+
1785
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
1786
+ :param pulumi.Input[Union['AzureIntegrationsVirtualMachineArgs', 'AzureIntegrationsVirtualMachineArgsDict']] virtual_machine: Azure Virtual machine. See Integration blocks below for details.
1787
+ :param pulumi.Input[Union['AzureIntegrationsVirtualNetworksArgs', 'AzureIntegrationsVirtualNetworksArgsDict']] virtual_networks: for Azure Virtual networks. See Integration blocks below for details.
1788
+ :param pulumi.Input[Union['AzureIntegrationsVmsArgs', 'AzureIntegrationsVmsArgsDict']] vms: Azure VMs. See Integration blocks below for details.
1789
+ :param pulumi.Input[Union['AzureIntegrationsVpnGatewayArgs', 'AzureIntegrationsVpnGatewayArgsDict']] vpn_gateway: Azure VPN Gateway. See Integration blocks below for details.
1790
+
1791
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
1755
1792
  """
1756
1793
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1757
1794
 
@@ -1795,7 +1832,7 @@ class AzureIntegrations(pulumi.CustomResource):
1795
1832
 
1796
1833
  @property
1797
1834
  @pulumi.getter(name="accountId")
1798
- def account_id(self) -> pulumi.Output[int]:
1835
+ def account_id(self) -> pulumi.Output[str]:
1799
1836
  """
1800
1837
  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`.
1801
1838
  """
@@ -1907,9 +1944,12 @@ class AzureIntegrations(pulumi.CustomResource):
1907
1944
 
1908
1945
  @property
1909
1946
  @pulumi.getter(name="linkedAccountId")
1910
- def linked_account_id(self) -> pulumi.Output[int]:
1947
+ def linked_account_id(self) -> pulumi.Output[str]:
1911
1948
  """
1912
1949
  The ID of the linked Azure account in New Relic.
1950
+
1951
+
1952
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 60 seconds.
1913
1953
  """
1914
1954
  return pulumi.get(self, "linked_account_id")
1915
1955
 
@@ -1950,6 +1990,8 @@ class AzureIntegrations(pulumi.CustomResource):
1950
1990
  def monitor(self) -> pulumi.Output[Optional['outputs.AzureIntegrationsMonitor']]:
1951
1991
  """
1952
1992
  Azure Monitor. See Integration blocks below for details.
1993
+
1994
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 300 seconds.
1953
1995
  """
1954
1996
  return pulumi.get(self, "monitor")
1955
1997
 
@@ -2030,6 +2072,8 @@ class AzureIntegrations(pulumi.CustomResource):
2030
2072
  def storage(self) -> pulumi.Output[Optional['outputs.AzureIntegrationsStorage']]:
2031
2073
  """
2032
2074
  for Azure Storage. See Integration blocks below for details.
2075
+
2076
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 3600 seconds.
2033
2077
  """
2034
2078
  return pulumi.get(self, "storage")
2035
2079
 
@@ -2046,8 +2090,6 @@ class AzureIntegrations(pulumi.CustomResource):
2046
2090
  def virtual_networks(self) -> pulumi.Output[Optional['outputs.AzureIntegrationsVirtualNetworks']]:
2047
2091
  """
2048
2092
  for Azure Virtual networks. See Integration blocks below for details.
2049
-
2050
- Below argument supports the minimum metric polling interval of 3600 seconds
2051
2093
  """
2052
2094
  return pulumi.get(self, "virtual_networks")
2053
2095
 
@@ -2065,7 +2107,7 @@ class AzureIntegrations(pulumi.CustomResource):
2065
2107
  """
2066
2108
  Azure VPN Gateway. See Integration blocks below for details.
2067
2109
 
2068
- Below arguments supports the minimum metric polling interval of 900 seconds
2110
+ The following arguments/integration blocks are intended to be used with a minimum `metrics_polling_interval` of 1800 seconds.
2069
2111
  """
2070
2112
  return pulumi.get(self, "vpn_gateway")
2071
2113