pulumi-newrelic 5.24.0a1715356536__py3-none-any.whl → 5.24.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. pulumi_newrelic/_inputs.py +63 -63
  2. pulumi_newrelic/alert_channel.py +14 -14
  3. pulumi_newrelic/alert_condition.py +28 -28
  4. pulumi_newrelic/alert_muting_rule.py +14 -14
  5. pulumi_newrelic/alert_policy.py +24 -24
  6. pulumi_newrelic/alert_policy_channel.py +42 -42
  7. pulumi_newrelic/api_access_key.py +28 -28
  8. pulumi_newrelic/browser_application.py +14 -14
  9. pulumi_newrelic/cloud/aws_govcloud_integrations.py +28 -28
  10. pulumi_newrelic/cloud/aws_govcloud_link_account.py +14 -14
  11. pulumi_newrelic/cloud/aws_integrations.py +28 -28
  12. pulumi_newrelic/cloud/aws_link_account.py +14 -14
  13. pulumi_newrelic/cloud/azure_integrations.py +28 -28
  14. pulumi_newrelic/cloud/azure_link_account.py +14 -14
  15. pulumi_newrelic/cloud/gcp_integrations.py +28 -28
  16. pulumi_newrelic/cloud/gcp_link_account.py +14 -14
  17. pulumi_newrelic/config/__init__.pyi +1 -1
  18. pulumi_newrelic/config/vars.py +2 -2
  19. pulumi_newrelic/data_partition_rule.py +14 -14
  20. pulumi_newrelic/events_to_metrics_rule.py +16 -16
  21. pulumi_newrelic/get_account.py +7 -7
  22. pulumi_newrelic/get_alert_channel.py +8 -8
  23. pulumi_newrelic/get_alert_policy.py +7 -7
  24. pulumi_newrelic/get_application.py +2 -2
  25. pulumi_newrelic/get_cloud_account.py +9 -9
  26. pulumi_newrelic/get_entity.py +15 -15
  27. pulumi_newrelic/get_notification_destination.py +7 -7
  28. pulumi_newrelic/get_obfuscation_expression.py +9 -9
  29. pulumi_newrelic/get_service_level_alert_helper.py +10 -10
  30. pulumi_newrelic/get_test_grok_pattern.py +7 -7
  31. pulumi_newrelic/infra_alert_condition.py +14 -14
  32. pulumi_newrelic/log_parsing_rule.py +14 -14
  33. pulumi_newrelic/monitor_downtime.py +14 -14
  34. pulumi_newrelic/notification_channel.py +36 -36
  35. pulumi_newrelic/notification_destination.py +14 -14
  36. pulumi_newrelic/nrql_alert_condition.py +32 -32
  37. pulumi_newrelic/nrql_drop_rule.py +20 -20
  38. pulumi_newrelic/obfuscation_expression.py +16 -16
  39. pulumi_newrelic/obfuscation_rule.py +14 -14
  40. pulumi_newrelic/one_dashboard.py +14 -14
  41. pulumi_newrelic/one_dashboard_json.py +14 -14
  42. pulumi_newrelic/one_dashboard_raw.py +14 -14
  43. pulumi_newrelic/outputs.py +47 -47
  44. pulumi_newrelic/plugins/workload.py +55 -55
  45. pulumi_newrelic/provider.py +14 -9
  46. pulumi_newrelic/pulumi-plugin.json +2 -1
  47. pulumi_newrelic/service_level.py +6 -6
  48. pulumi_newrelic/synthetics/alert_condition.py +14 -14
  49. pulumi_newrelic/synthetics/broken_links_monitor.py +32 -14
  50. pulumi_newrelic/synthetics/cert_check_monitor.py +32 -14
  51. pulumi_newrelic/synthetics/get_private_location.py +11 -11
  52. pulumi_newrelic/synthetics/get_secure_credential.py +5 -5
  53. pulumi_newrelic/synthetics/monitor.py +18 -14
  54. pulumi_newrelic/synthetics/multi_location_alert_condition.py +14 -14
  55. pulumi_newrelic/synthetics/private_location.py +14 -14
  56. pulumi_newrelic/synthetics/script_monitor.py +18 -14
  57. pulumi_newrelic/synthetics/secure_credential.py +14 -14
  58. pulumi_newrelic/synthetics/step_monitor.py +32 -14
  59. pulumi_newrelic/workflow.py +14 -14
  60. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/METADATA +1 -1
  61. pulumi_newrelic-5.24.1.dist-info/RECORD +89 -0
  62. pulumi_newrelic-5.24.0a1715356536.dist-info/RECORD +0 -89
  63. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/WHEEL +0 -0
  64. {pulumi_newrelic-5.24.0a1715356536.dist-info → pulumi_newrelic-5.24.1.dist-info}/top_level.txt +0 -0
@@ -20,7 +20,7 @@ class NotificationChannelArgs:
20
20
  product: pulumi.Input[str],
21
21
  properties: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]],
22
22
  type: pulumi.Input[str],
23
- account_id: Optional[pulumi.Input[int]] = None,
23
+ account_id: Optional[pulumi.Input[str]] = None,
24
24
  active: Optional[pulumi.Input[bool]] = None,
25
25
  name: Optional[pulumi.Input[str]] = None):
26
26
  """
@@ -29,7 +29,7 @@ class NotificationChannelArgs:
29
29
  :param pulumi.Input[str] product: The type of product. One of: `DISCUSSIONS`, `ERROR_TRACKING` or `IINT` (workflows).
30
30
  :param pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]] properties: A nested block that describes a notification channel property. See Nested property blocks below for details.
31
31
  :param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
32
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
32
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
33
33
  :param pulumi.Input[bool] active: Indicates whether the channel is active.
34
34
  :param pulumi.Input[str] name: The name of the channel.
35
35
  """
@@ -94,14 +94,14 @@ class NotificationChannelArgs:
94
94
 
95
95
  @property
96
96
  @pulumi.getter(name="accountId")
97
- def account_id(self) -> Optional[pulumi.Input[int]]:
97
+ def account_id(self) -> Optional[pulumi.Input[str]]:
98
98
  """
99
99
  Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
100
100
  """
101
101
  return pulumi.get(self, "account_id")
102
102
 
103
103
  @account_id.setter
104
- def account_id(self, value: Optional[pulumi.Input[int]]):
104
+ def account_id(self, value: Optional[pulumi.Input[str]]):
105
105
  pulumi.set(self, "account_id", value)
106
106
 
107
107
  @property
@@ -132,7 +132,7 @@ class NotificationChannelArgs:
132
132
  @pulumi.input_type
133
133
  class _NotificationChannelState:
134
134
  def __init__(__self__, *,
135
- account_id: Optional[pulumi.Input[int]] = None,
135
+ account_id: Optional[pulumi.Input[str]] = None,
136
136
  active: Optional[pulumi.Input[bool]] = None,
137
137
  destination_id: Optional[pulumi.Input[str]] = None,
138
138
  name: Optional[pulumi.Input[str]] = None,
@@ -142,7 +142,7 @@ class _NotificationChannelState:
142
142
  type: Optional[pulumi.Input[str]] = None):
143
143
  """
144
144
  Input properties used for looking up and filtering NotificationChannel resources.
145
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
145
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
146
146
  :param pulumi.Input[bool] active: Indicates whether the channel is active.
147
147
  :param pulumi.Input[str] destination_id: The id of the destination.
148
148
  :param pulumi.Input[str] name: The name of the channel.
@@ -170,14 +170,14 @@ class _NotificationChannelState:
170
170
 
171
171
  @property
172
172
  @pulumi.getter(name="accountId")
173
- def account_id(self) -> Optional[pulumi.Input[int]]:
173
+ def account_id(self) -> Optional[pulumi.Input[str]]:
174
174
  """
175
175
  Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
176
176
  """
177
177
  return pulumi.get(self, "account_id")
178
178
 
179
179
  @account_id.setter
180
- def account_id(self, value: Optional[pulumi.Input[int]]):
180
+ def account_id(self, value: Optional[pulumi.Input[str]]):
181
181
  pulumi.set(self, "account_id", value)
182
182
 
183
183
  @property
@@ -270,7 +270,7 @@ class NotificationChannel(pulumi.CustomResource):
270
270
  def __init__(__self__,
271
271
  resource_name: str,
272
272
  opts: Optional[pulumi.ResourceOptions] = None,
273
- account_id: Optional[pulumi.Input[int]] = None,
273
+ account_id: Optional[pulumi.Input[str]] = None,
274
274
  active: Optional[pulumi.Input[bool]] = None,
275
275
  destination_id: Optional[pulumi.Input[str]] = None,
276
276
  name: Optional[pulumi.Input[str]] = None,
@@ -291,7 +291,7 @@ class NotificationChannel(pulumi.CustomResource):
291
291
  import pulumi_newrelic as newrelic
292
292
 
293
293
  foo = newrelic.NotificationChannel("foo",
294
- account_id=12345678,
294
+ account_id="12345678",
295
295
  name="webhook-example",
296
296
  type="WEBHOOK",
297
297
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -316,7 +316,7 @@ class NotificationChannel(pulumi.CustomResource):
316
316
  import pulumi_newrelic as newrelic
317
317
 
318
318
  foo = newrelic.NotificationChannel("foo",
319
- account_id=12345678,
319
+ account_id="12345678",
320
320
  name="servicenow-incident-example",
321
321
  type="SERVICENOW_INCIDENTS",
322
322
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -339,7 +339,7 @@ class NotificationChannel(pulumi.CustomResource):
339
339
  import pulumi_newrelic as newrelic
340
340
 
341
341
  foo = newrelic.NotificationChannel("foo",
342
- account_id=12345678,
342
+ account_id="12345678",
343
343
  name="email-example",
344
344
  type="EMAIL",
345
345
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -362,7 +362,7 @@ class NotificationChannel(pulumi.CustomResource):
362
362
  import pulumi_newrelic as newrelic
363
363
 
364
364
  foo = newrelic.NotificationChannel("foo",
365
- account_id=12345678,
365
+ account_id="12345678",
366
366
  name="jira-example",
367
367
  type="JIRA_CLASSIC",
368
368
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -393,7 +393,7 @@ class NotificationChannel(pulumi.CustomResource):
393
393
  import pulumi_newrelic as newrelic
394
394
 
395
395
  foo = newrelic.NotificationChannel("foo",
396
- account_id=12345678,
396
+ account_id="12345678",
397
397
  name="pagerduty-account-example",
398
398
  type="PAGERDUTY_ACCOUNT_INTEGRATION",
399
399
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -438,7 +438,7 @@ class NotificationChannel(pulumi.CustomResource):
438
438
  import pulumi_newrelic as newrelic
439
439
 
440
440
  foo = newrelic.NotificationChannel("foo",
441
- account_id=12345678,
441
+ account_id="12345678",
442
442
  name="pagerduty-account-example",
443
443
  type="PAGERDUTY_SERVICE_INTEGRATION",
444
444
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -474,7 +474,7 @@ class NotificationChannel(pulumi.CustomResource):
474
474
  import pulumi_newrelic as newrelic
475
475
 
476
476
  foo = newrelic.NotificationChannel("foo",
477
- account_id=12345678,
477
+ account_id="12345678",
478
478
  name="mobile-push-example",
479
479
  type="MOBILE_PUSH",
480
480
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -487,7 +487,7 @@ class NotificationChannel(pulumi.CustomResource):
487
487
  import pulumi_newrelic as newrelic
488
488
 
489
489
  foo = newrelic.NotificationChannel("foo",
490
- account_id=12345678,
490
+ account_id="12345678",
491
491
  name="event-bridge-example",
492
492
  type="EVENT_BRIDGE",
493
493
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -510,7 +510,7 @@ class NotificationChannel(pulumi.CustomResource):
510
510
  import pulumi_newrelic as newrelic
511
511
 
512
512
  foo = newrelic.NotificationChannel("foo",
513
- account_id=12345678,
513
+ account_id="12345678",
514
514
  name="slack-example",
515
515
  type="SLACK",
516
516
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -539,7 +539,7 @@ class NotificationChannel(pulumi.CustomResource):
539
539
  import pulumi_newrelic as newrelic
540
540
 
541
541
  webhook_destination = newrelic.NotificationDestination("webhook-destination",
542
- account_id=12345678,
542
+ account_id="12345678",
543
543
  name="destination-webhook",
544
544
  type="WEBHOOK",
545
545
  properties=[newrelic.NotificationDestinationPropertyArgs(
@@ -558,7 +558,7 @@ class NotificationChannel(pulumi.CustomResource):
558
558
  import pulumi_newrelic as newrelic
559
559
 
560
560
  webhook_channel = newrelic.NotificationChannel("webhook-channel",
561
- account_id=12345678,
561
+ account_id="12345678",
562
562
  name="channel-webhook",
563
563
  type="WEBHOOK",
564
564
  destination_id=webhook_destination["id"],
@@ -590,7 +590,7 @@ class NotificationChannel(pulumi.CustomResource):
590
590
 
591
591
  :param str resource_name: The name of the resource.
592
592
  :param pulumi.ResourceOptions opts: Options for the resource.
593
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
593
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
594
594
  :param pulumi.Input[bool] active: Indicates whether the channel is active.
595
595
  :param pulumi.Input[str] destination_id: The id of the destination.
596
596
  :param pulumi.Input[str] name: The name of the channel.
@@ -617,7 +617,7 @@ class NotificationChannel(pulumi.CustomResource):
617
617
  import pulumi_newrelic as newrelic
618
618
 
619
619
  foo = newrelic.NotificationChannel("foo",
620
- account_id=12345678,
620
+ account_id="12345678",
621
621
  name="webhook-example",
622
622
  type="WEBHOOK",
623
623
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -642,7 +642,7 @@ class NotificationChannel(pulumi.CustomResource):
642
642
  import pulumi_newrelic as newrelic
643
643
 
644
644
  foo = newrelic.NotificationChannel("foo",
645
- account_id=12345678,
645
+ account_id="12345678",
646
646
  name="servicenow-incident-example",
647
647
  type="SERVICENOW_INCIDENTS",
648
648
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -665,7 +665,7 @@ class NotificationChannel(pulumi.CustomResource):
665
665
  import pulumi_newrelic as newrelic
666
666
 
667
667
  foo = newrelic.NotificationChannel("foo",
668
- account_id=12345678,
668
+ account_id="12345678",
669
669
  name="email-example",
670
670
  type="EMAIL",
671
671
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -688,7 +688,7 @@ class NotificationChannel(pulumi.CustomResource):
688
688
  import pulumi_newrelic as newrelic
689
689
 
690
690
  foo = newrelic.NotificationChannel("foo",
691
- account_id=12345678,
691
+ account_id="12345678",
692
692
  name="jira-example",
693
693
  type="JIRA_CLASSIC",
694
694
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -719,7 +719,7 @@ class NotificationChannel(pulumi.CustomResource):
719
719
  import pulumi_newrelic as newrelic
720
720
 
721
721
  foo = newrelic.NotificationChannel("foo",
722
- account_id=12345678,
722
+ account_id="12345678",
723
723
  name="pagerduty-account-example",
724
724
  type="PAGERDUTY_ACCOUNT_INTEGRATION",
725
725
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -764,7 +764,7 @@ class NotificationChannel(pulumi.CustomResource):
764
764
  import pulumi_newrelic as newrelic
765
765
 
766
766
  foo = newrelic.NotificationChannel("foo",
767
- account_id=12345678,
767
+ account_id="12345678",
768
768
  name="pagerduty-account-example",
769
769
  type="PAGERDUTY_SERVICE_INTEGRATION",
770
770
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -800,7 +800,7 @@ class NotificationChannel(pulumi.CustomResource):
800
800
  import pulumi_newrelic as newrelic
801
801
 
802
802
  foo = newrelic.NotificationChannel("foo",
803
- account_id=12345678,
803
+ account_id="12345678",
804
804
  name="mobile-push-example",
805
805
  type="MOBILE_PUSH",
806
806
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -813,7 +813,7 @@ class NotificationChannel(pulumi.CustomResource):
813
813
  import pulumi_newrelic as newrelic
814
814
 
815
815
  foo = newrelic.NotificationChannel("foo",
816
- account_id=12345678,
816
+ account_id="12345678",
817
817
  name="event-bridge-example",
818
818
  type="EVENT_BRIDGE",
819
819
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -836,7 +836,7 @@ class NotificationChannel(pulumi.CustomResource):
836
836
  import pulumi_newrelic as newrelic
837
837
 
838
838
  foo = newrelic.NotificationChannel("foo",
839
- account_id=12345678,
839
+ account_id="12345678",
840
840
  name="slack-example",
841
841
  type="SLACK",
842
842
  destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
@@ -865,7 +865,7 @@ class NotificationChannel(pulumi.CustomResource):
865
865
  import pulumi_newrelic as newrelic
866
866
 
867
867
  webhook_destination = newrelic.NotificationDestination("webhook-destination",
868
- account_id=12345678,
868
+ account_id="12345678",
869
869
  name="destination-webhook",
870
870
  type="WEBHOOK",
871
871
  properties=[newrelic.NotificationDestinationPropertyArgs(
@@ -884,7 +884,7 @@ class NotificationChannel(pulumi.CustomResource):
884
884
  import pulumi_newrelic as newrelic
885
885
 
886
886
  webhook_channel = newrelic.NotificationChannel("webhook-channel",
887
- account_id=12345678,
887
+ account_id="12345678",
888
888
  name="channel-webhook",
889
889
  type="WEBHOOK",
890
890
  destination_id=webhook_destination["id"],
@@ -929,7 +929,7 @@ class NotificationChannel(pulumi.CustomResource):
929
929
  def _internal_init(__self__,
930
930
  resource_name: str,
931
931
  opts: Optional[pulumi.ResourceOptions] = None,
932
- account_id: Optional[pulumi.Input[int]] = None,
932
+ account_id: Optional[pulumi.Input[str]] = None,
933
933
  active: Optional[pulumi.Input[bool]] = None,
934
934
  destination_id: Optional[pulumi.Input[str]] = None,
935
935
  name: Optional[pulumi.Input[str]] = None,
@@ -971,7 +971,7 @@ class NotificationChannel(pulumi.CustomResource):
971
971
  def get(resource_name: str,
972
972
  id: pulumi.Input[str],
973
973
  opts: Optional[pulumi.ResourceOptions] = None,
974
- account_id: Optional[pulumi.Input[int]] = None,
974
+ account_id: Optional[pulumi.Input[str]] = None,
975
975
  active: Optional[pulumi.Input[bool]] = None,
976
976
  destination_id: Optional[pulumi.Input[str]] = None,
977
977
  name: Optional[pulumi.Input[str]] = None,
@@ -986,7 +986,7 @@ class NotificationChannel(pulumi.CustomResource):
986
986
  :param str resource_name: The unique name of the resulting resource.
987
987
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
988
988
  :param pulumi.ResourceOptions opts: Options for the resource.
989
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
989
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
990
990
  :param pulumi.Input[bool] active: Indicates whether the channel is active.
991
991
  :param pulumi.Input[str] destination_id: The id of the destination.
992
992
  :param pulumi.Input[str] name: The name of the channel.
@@ -1011,7 +1011,7 @@ class NotificationChannel(pulumi.CustomResource):
1011
1011
 
1012
1012
  @property
1013
1013
  @pulumi.getter(name="accountId")
1014
- def account_id(self) -> pulumi.Output[int]:
1014
+ def account_id(self) -> pulumi.Output[str]:
1015
1015
  """
1016
1016
  Determines the New Relic account where the notification channel will be created. Defaults to the account associated with the API key used.
1017
1017
  """
@@ -18,7 +18,7 @@ class NotificationDestinationArgs:
18
18
  def __init__(__self__, *,
19
19
  properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]],
20
20
  type: pulumi.Input[str],
21
- account_id: Optional[pulumi.Input[int]] = None,
21
+ account_id: Optional[pulumi.Input[str]] = None,
22
22
  active: Optional[pulumi.Input[bool]] = None,
23
23
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
24
24
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
@@ -30,7 +30,7 @@ class NotificationDestinationArgs:
30
30
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
31
31
  :param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
32
32
  PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
33
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
33
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
34
34
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
35
35
  :param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
36
36
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
@@ -82,14 +82,14 @@ class NotificationDestinationArgs:
82
82
 
83
83
  @property
84
84
  @pulumi.getter(name="accountId")
85
- def account_id(self) -> Optional[pulumi.Input[int]]:
85
+ def account_id(self) -> Optional[pulumi.Input[str]]:
86
86
  """
87
87
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
88
88
  """
89
89
  return pulumi.get(self, "account_id")
90
90
 
91
91
  @account_id.setter
92
- def account_id(self, value: Optional[pulumi.Input[int]]):
92
+ def account_id(self, value: Optional[pulumi.Input[str]]):
93
93
  pulumi.set(self, "account_id", value)
94
94
 
95
95
  @property
@@ -168,7 +168,7 @@ class NotificationDestinationArgs:
168
168
  @pulumi.input_type
169
169
  class _NotificationDestinationState:
170
170
  def __init__(__self__, *,
171
- account_id: Optional[pulumi.Input[int]] = None,
171
+ account_id: Optional[pulumi.Input[str]] = None,
172
172
  active: Optional[pulumi.Input[bool]] = None,
173
173
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
174
174
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
@@ -182,7 +182,7 @@ class _NotificationDestinationState:
182
182
  type: Optional[pulumi.Input[str]] = None):
183
183
  """
184
184
  Input properties used for looking up and filtering NotificationDestination resources.
185
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
185
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
186
186
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
187
187
  :param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
188
188
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
@@ -223,14 +223,14 @@ class _NotificationDestinationState:
223
223
 
224
224
  @property
225
225
  @pulumi.getter(name="accountId")
226
- def account_id(self) -> Optional[pulumi.Input[int]]:
226
+ def account_id(self) -> Optional[pulumi.Input[str]]:
227
227
  """
228
228
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
229
229
  """
230
230
  return pulumi.get(self, "account_id")
231
231
 
232
232
  @account_id.setter
233
- def account_id(self, value: Optional[pulumi.Input[int]]):
233
+ def account_id(self, value: Optional[pulumi.Input[str]]):
234
234
  pulumi.set(self, "account_id", value)
235
235
 
236
236
  @property
@@ -372,7 +372,7 @@ class NotificationDestination(pulumi.CustomResource):
372
372
  def __init__(__self__,
373
373
  resource_name: str,
374
374
  opts: Optional[pulumi.ResourceOptions] = None,
375
- account_id: Optional[pulumi.Input[int]] = None,
375
+ account_id: Optional[pulumi.Input[str]] = None,
376
376
  active: Optional[pulumi.Input[bool]] = None,
377
377
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
378
378
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
@@ -451,7 +451,7 @@ class NotificationDestination(pulumi.CustomResource):
451
451
 
452
452
  :param str resource_name: The name of the resource.
453
453
  :param pulumi.ResourceOptions opts: Options for the resource.
454
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
454
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
455
455
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
456
456
  :param pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
457
457
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
@@ -550,7 +550,7 @@ class NotificationDestination(pulumi.CustomResource):
550
550
  def _internal_init(__self__,
551
551
  resource_name: str,
552
552
  opts: Optional[pulumi.ResourceOptions] = None,
553
- account_id: Optional[pulumi.Input[int]] = None,
553
+ account_id: Optional[pulumi.Input[str]] = None,
554
554
  active: Optional[pulumi.Input[bool]] = None,
555
555
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
556
556
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
@@ -594,7 +594,7 @@ class NotificationDestination(pulumi.CustomResource):
594
594
  def get(resource_name: str,
595
595
  id: pulumi.Input[str],
596
596
  opts: Optional[pulumi.ResourceOptions] = None,
597
- account_id: Optional[pulumi.Input[int]] = None,
597
+ account_id: Optional[pulumi.Input[str]] = None,
598
598
  active: Optional[pulumi.Input[bool]] = None,
599
599
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
600
600
  auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
@@ -613,7 +613,7 @@ class NotificationDestination(pulumi.CustomResource):
613
613
  :param str resource_name: The unique name of the resulting resource.
614
614
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
615
615
  :param pulumi.ResourceOptions opts: Options for the resource.
616
- :param pulumi.Input[int] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
616
+ :param pulumi.Input[str] account_id: Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
617
617
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
618
618
  :param pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
619
619
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]] auth_custom_headers: A nested block that describes a custom header authentication credentials. Multiple blocks are permitted per notification destination definition. Nested auth_custom_header blocks below for details.
@@ -647,7 +647,7 @@ class NotificationDestination(pulumi.CustomResource):
647
647
 
648
648
  @property
649
649
  @pulumi.getter(name="accountId")
650
- def account_id(self) -> pulumi.Output[int]:
650
+ def account_id(self) -> pulumi.Output[str]:
651
651
  """
652
652
  Determines the New Relic account where the notification destination will be created. Defaults to the account associated with the API key used.
653
653
  """