pulumi-newrelic 5.23.0a1713561620__py3-none-any.whl → 5.23.0a1713984329__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/_inputs.py +183 -270
- pulumi_newrelic/account_management.py +14 -18
- pulumi_newrelic/alert_channel.py +28 -56
- pulumi_newrelic/alert_condition.py +84 -133
- pulumi_newrelic/alert_muting_rule.py +21 -25
- pulumi_newrelic/alert_policy.py +42 -33
- pulumi_newrelic/alert_policy_channel.py +0 -4
- pulumi_newrelic/cloud/_inputs.py +322 -1072
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +0 -4
- pulumi_newrelic/cloud/aws_integrations.py +7 -11
- pulumi_newrelic/cloud/aws_link_account.py +0 -4
- pulumi_newrelic/cloud/azure_integrations.py +0 -4
- pulumi_newrelic/cloud/azure_link_account.py +0 -4
- pulumi_newrelic/cloud/gcp_integrations.py +0 -4
- pulumi_newrelic/cloud/gcp_link_account.py +0 -4
- pulumi_newrelic/cloud/outputs.py +322 -1072
- pulumi_newrelic/data_partition_rule.py +0 -4
- pulumi_newrelic/entity_tags.py +7 -11
- pulumi_newrelic/events_to_metrics_rule.py +0 -4
- pulumi_newrelic/get_account.py +0 -4
- pulumi_newrelic/get_application.py +0 -4
- pulumi_newrelic/get_authentication_domain.py +0 -4
- pulumi_newrelic/get_cloud_account.py +0 -4
- pulumi_newrelic/get_entity.py +0 -16
- pulumi_newrelic/get_group.py +0 -8
- pulumi_newrelic/get_key_transaction.py +0 -4
- pulumi_newrelic/get_notification_destination.py +20 -1
- pulumi_newrelic/get_obfuscation_expression.py +0 -4
- pulumi_newrelic/get_service_level_alert_helper.py +0 -30
- pulumi_newrelic/get_test_grok_pattern.py +0 -4
- pulumi_newrelic/get_user.py +0 -4
- pulumi_newrelic/group.py +0 -12
- pulumi_newrelic/infra_alert_condition.py +126 -113
- pulumi_newrelic/insights/event.py +0 -17
- pulumi_newrelic/log_parsing_rule.py +0 -8
- pulumi_newrelic/monitor_downtime.py +70 -101
- pulumi_newrelic/notification_channel.py +0 -44
- pulumi_newrelic/notification_destination.py +95 -1
- pulumi_newrelic/nrql_alert_condition.py +0 -20
- pulumi_newrelic/nrql_drop_rule.py +28 -32
- pulumi_newrelic/obfuscation_expression.py +0 -4
- pulumi_newrelic/obfuscation_rule.py +0 -4
- pulumi_newrelic/one_dashboard.py +42 -48
- pulumi_newrelic/one_dashboard_raw.py +0 -4
- pulumi_newrelic/outputs.py +180 -270
- pulumi_newrelic/plugins/_inputs.py +16 -16
- pulumi_newrelic/plugins/application_settings.py +0 -4
- pulumi_newrelic/plugins/outputs.py +16 -16
- pulumi_newrelic/plugins/workload.py +28 -48
- pulumi_newrelic/service_level.py +0 -91
- pulumi_newrelic/synthetics/alert_condition.py +14 -50
- pulumi_newrelic/synthetics/broken_links_monitor.py +0 -8
- pulumi_newrelic/synthetics/cert_check_monitor.py +0 -8
- pulumi_newrelic/synthetics/get_private_location.py +0 -8
- pulumi_newrelic/synthetics/get_secure_credential.py +0 -12
- pulumi_newrelic/synthetics/monitor.py +0 -16
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +49 -71
- pulumi_newrelic/synthetics/private_location.py +0 -4
- pulumi_newrelic/synthetics/script_monitor.py +4 -20
- pulumi_newrelic/synthetics/secure_credential.py +21 -18
- pulumi_newrelic/synthetics/step_monitor.py +4 -12
- pulumi_newrelic/user.py +0 -4
- pulumi_newrelic/workflow.py +0 -16
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.23.0a1713984329.dist-info/RECORD +89 -0
- pulumi_newrelic-5.23.0a1713561620.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.23.0a1713561620.dist-info → pulumi_newrelic-5.23.0a1713984329.dist-info}/top_level.txt +0 -0
@@ -286,7 +286,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
286
286
|
## Example Usage
|
287
287
|
|
288
288
|
##### [Webhook](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#webhook)
|
289
|
-
<!--Start PulumiCodeChooser -->
|
290
289
|
```python
|
291
290
|
import pulumi
|
292
291
|
import pulumi_newrelic as newrelic
|
@@ -303,7 +302,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
303
302
|
label="Payload Template",
|
304
303
|
)])
|
305
304
|
```
|
306
|
-
<!--End PulumiCodeChooser -->
|
307
305
|
See additional examples.
|
308
306
|
|
309
307
|
## Additional Examples
|
@@ -313,7 +311,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
313
311
|
##### [ServiceNow](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#servicenow)
|
314
312
|
To see the properties’ keys for your account, check ServiceNow incidents table.
|
315
313
|
|
316
|
-
<!--Start PulumiCodeChooser -->
|
317
314
|
```python
|
318
315
|
import pulumi
|
319
316
|
import pulumi_newrelic as newrelic
|
@@ -335,10 +332,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
335
332
|
),
|
336
333
|
])
|
337
334
|
```
|
338
|
-
<!--End PulumiCodeChooser -->
|
339
335
|
|
340
336
|
##### [Email](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#email)
|
341
|
-
<!--Start PulumiCodeChooser -->
|
342
337
|
```python
|
343
338
|
import pulumi
|
344
339
|
import pulumi_newrelic as newrelic
|
@@ -360,10 +355,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
360
355
|
),
|
361
356
|
])
|
362
357
|
```
|
363
|
-
<!--End PulumiCodeChooser -->
|
364
358
|
|
365
359
|
##### [Jira Classic](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#jira)
|
366
|
-
<!--Start PulumiCodeChooser -->
|
367
360
|
```python
|
368
361
|
import pulumi
|
369
362
|
import pulumi_newrelic as newrelic
|
@@ -393,10 +386,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
393
386
|
),
|
394
387
|
])
|
395
388
|
```
|
396
|
-
<!--End PulumiCodeChooser -->
|
397
389
|
|
398
390
|
##### [PagerDuty with account integration](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#pagerduty)
|
399
|
-
<!--Start PulumiCodeChooser -->
|
400
391
|
```python
|
401
392
|
import pulumi
|
402
393
|
import pulumi_newrelic as newrelic
|
@@ -440,10 +431,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
440
431
|
),
|
441
432
|
])
|
442
433
|
```
|
443
|
-
<!--End PulumiCodeChooser -->
|
444
434
|
|
445
435
|
##### [PagerDuty with service integration](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#pagerduty)
|
446
|
-
<!--Start PulumiCodeChooser -->
|
447
436
|
```python
|
448
437
|
import pulumi
|
449
438
|
import pulumi_newrelic as newrelic
|
@@ -478,10 +467,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
478
467
|
),
|
479
468
|
])
|
480
469
|
```
|
481
|
-
<!--End PulumiCodeChooser -->
|
482
470
|
|
483
471
|
#### Mobile Push
|
484
|
-
<!--Start PulumiCodeChooser -->
|
485
472
|
```python
|
486
473
|
import pulumi
|
487
474
|
import pulumi_newrelic as newrelic
|
@@ -493,10 +480,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
493
480
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
494
481
|
product="IINT")
|
495
482
|
```
|
496
|
-
<!--End PulumiCodeChooser -->
|
497
483
|
|
498
484
|
#### [AWS Event Bridge](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#eventBridge)
|
499
|
-
<!--Start PulumiCodeChooser -->
|
500
485
|
```python
|
501
486
|
import pulumi
|
502
487
|
import pulumi_newrelic as newrelic
|
@@ -518,10 +503,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
518
503
|
),
|
519
504
|
])
|
520
505
|
```
|
521
|
-
<!--End PulumiCodeChooser -->
|
522
506
|
|
523
507
|
#### [SLACK](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#slack)
|
524
|
-
<!--Start PulumiCodeChooser -->
|
525
508
|
```python
|
526
509
|
import pulumi
|
527
510
|
import pulumi_newrelic as newrelic
|
@@ -543,7 +526,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
543
526
|
),
|
544
527
|
])
|
545
528
|
```
|
546
|
-
<!--End PulumiCodeChooser -->
|
547
529
|
|
548
530
|
> **NOTE:** Sensitive data such as channel API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.
|
549
531
|
|
@@ -552,7 +534,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
552
534
|
Create a destination resource and reference that destination to the channel resource:
|
553
535
|
|
554
536
|
### Create a destination
|
555
|
-
<!--Start PulumiCodeChooser -->
|
556
537
|
```python
|
557
538
|
import pulumi
|
558
539
|
import pulumi_newrelic as newrelic
|
@@ -570,10 +551,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
570
551
|
password="password",
|
571
552
|
))
|
572
553
|
```
|
573
|
-
<!--End PulumiCodeChooser -->
|
574
554
|
|
575
555
|
### Create a channel
|
576
|
-
<!--Start PulumiCodeChooser -->
|
577
556
|
```python
|
578
557
|
import pulumi
|
579
558
|
import pulumi_newrelic as newrelic
|
@@ -590,7 +569,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
590
569
|
label="Payload Template",
|
591
570
|
)])
|
592
571
|
```
|
593
|
-
<!--End PulumiCodeChooser -->
|
594
572
|
|
595
573
|
## Additional Information
|
596
574
|
|
@@ -634,7 +612,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
634
612
|
## Example Usage
|
635
613
|
|
636
614
|
##### [Webhook](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#webhook)
|
637
|
-
<!--Start PulumiCodeChooser -->
|
638
615
|
```python
|
639
616
|
import pulumi
|
640
617
|
import pulumi_newrelic as newrelic
|
@@ -651,7 +628,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
651
628
|
label="Payload Template",
|
652
629
|
)])
|
653
630
|
```
|
654
|
-
<!--End PulumiCodeChooser -->
|
655
631
|
See additional examples.
|
656
632
|
|
657
633
|
## Additional Examples
|
@@ -661,7 +637,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
661
637
|
##### [ServiceNow](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#servicenow)
|
662
638
|
To see the properties’ keys for your account, check ServiceNow incidents table.
|
663
639
|
|
664
|
-
<!--Start PulumiCodeChooser -->
|
665
640
|
```python
|
666
641
|
import pulumi
|
667
642
|
import pulumi_newrelic as newrelic
|
@@ -683,10 +658,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
683
658
|
),
|
684
659
|
])
|
685
660
|
```
|
686
|
-
<!--End PulumiCodeChooser -->
|
687
661
|
|
688
662
|
##### [Email](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#email)
|
689
|
-
<!--Start PulumiCodeChooser -->
|
690
663
|
```python
|
691
664
|
import pulumi
|
692
665
|
import pulumi_newrelic as newrelic
|
@@ -708,10 +681,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
708
681
|
),
|
709
682
|
])
|
710
683
|
```
|
711
|
-
<!--End PulumiCodeChooser -->
|
712
684
|
|
713
685
|
##### [Jira Classic](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#jira)
|
714
|
-
<!--Start PulumiCodeChooser -->
|
715
686
|
```python
|
716
687
|
import pulumi
|
717
688
|
import pulumi_newrelic as newrelic
|
@@ -741,10 +712,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
741
712
|
),
|
742
713
|
])
|
743
714
|
```
|
744
|
-
<!--End PulumiCodeChooser -->
|
745
715
|
|
746
716
|
##### [PagerDuty with account integration](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#pagerduty)
|
747
|
-
<!--Start PulumiCodeChooser -->
|
748
717
|
```python
|
749
718
|
import pulumi
|
750
719
|
import pulumi_newrelic as newrelic
|
@@ -788,10 +757,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
788
757
|
),
|
789
758
|
])
|
790
759
|
```
|
791
|
-
<!--End PulumiCodeChooser -->
|
792
760
|
|
793
761
|
##### [PagerDuty with service integration](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#pagerduty)
|
794
|
-
<!--Start PulumiCodeChooser -->
|
795
762
|
```python
|
796
763
|
import pulumi
|
797
764
|
import pulumi_newrelic as newrelic
|
@@ -826,10 +793,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
826
793
|
),
|
827
794
|
])
|
828
795
|
```
|
829
|
-
<!--End PulumiCodeChooser -->
|
830
796
|
|
831
797
|
#### Mobile Push
|
832
|
-
<!--Start PulumiCodeChooser -->
|
833
798
|
```python
|
834
799
|
import pulumi
|
835
800
|
import pulumi_newrelic as newrelic
|
@@ -841,10 +806,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
841
806
|
destination_id="00b6bd1d-ac06-4d3d-bd72-49551e70f7a8",
|
842
807
|
product="IINT")
|
843
808
|
```
|
844
|
-
<!--End PulumiCodeChooser -->
|
845
809
|
|
846
810
|
#### [AWS Event Bridge](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#eventBridge)
|
847
|
-
<!--Start PulumiCodeChooser -->
|
848
811
|
```python
|
849
812
|
import pulumi
|
850
813
|
import pulumi_newrelic as newrelic
|
@@ -866,10 +829,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
866
829
|
),
|
867
830
|
])
|
868
831
|
```
|
869
|
-
<!--End PulumiCodeChooser -->
|
870
832
|
|
871
833
|
#### [SLACK](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-api-notifications-channels/#slack)
|
872
|
-
<!--Start PulumiCodeChooser -->
|
873
834
|
```python
|
874
835
|
import pulumi
|
875
836
|
import pulumi_newrelic as newrelic
|
@@ -891,7 +852,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
891
852
|
),
|
892
853
|
])
|
893
854
|
```
|
894
|
-
<!--End PulumiCodeChooser -->
|
895
855
|
|
896
856
|
> **NOTE:** Sensitive data such as channel API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.
|
897
857
|
|
@@ -900,7 +860,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
900
860
|
Create a destination resource and reference that destination to the channel resource:
|
901
861
|
|
902
862
|
### Create a destination
|
903
|
-
<!--Start PulumiCodeChooser -->
|
904
863
|
```python
|
905
864
|
import pulumi
|
906
865
|
import pulumi_newrelic as newrelic
|
@@ -918,10 +877,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
918
877
|
password="password",
|
919
878
|
))
|
920
879
|
```
|
921
|
-
<!--End PulumiCodeChooser -->
|
922
880
|
|
923
881
|
### Create a channel
|
924
|
-
<!--Start PulumiCodeChooser -->
|
925
882
|
```python
|
926
883
|
import pulumi
|
927
884
|
import pulumi_newrelic as newrelic
|
@@ -938,7 +895,6 @@ class NotificationChannel(pulumi.CustomResource):
|
|
938
895
|
label="Payload Template",
|
939
896
|
)])
|
940
897
|
```
|
941
|
-
<!--End PulumiCodeChooser -->
|
942
898
|
|
943
899
|
## Additional Information
|
944
900
|
|
@@ -21,8 +21,10 @@ class NotificationDestinationArgs:
|
|
21
21
|
account_id: Optional[pulumi.Input[int]] = None,
|
22
22
|
active: Optional[pulumi.Input[bool]] = None,
|
23
23
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
24
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
24
25
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
25
|
-
name: Optional[pulumi.Input[str]] = None
|
26
|
+
name: Optional[pulumi.Input[str]] = None,
|
27
|
+
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None):
|
26
28
|
"""
|
27
29
|
The set of arguments for constructing a NotificationDestination resource.
|
28
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,8 +33,10 @@ class NotificationDestinationArgs:
|
|
31
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.
|
32
34
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
33
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
|
+
: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.
|
34
37
|
:param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
35
38
|
:param pulumi.Input[str] name: The name of the destination.
|
39
|
+
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
36
40
|
"""
|
37
41
|
pulumi.set(__self__, "properties", properties)
|
38
42
|
pulumi.set(__self__, "type", type)
|
@@ -42,10 +46,14 @@ class NotificationDestinationArgs:
|
|
42
46
|
pulumi.set(__self__, "active", active)
|
43
47
|
if auth_basic is not None:
|
44
48
|
pulumi.set(__self__, "auth_basic", auth_basic)
|
49
|
+
if auth_custom_headers is not None:
|
50
|
+
pulumi.set(__self__, "auth_custom_headers", auth_custom_headers)
|
45
51
|
if auth_token is not None:
|
46
52
|
pulumi.set(__self__, "auth_token", auth_token)
|
47
53
|
if name is not None:
|
48
54
|
pulumi.set(__self__, "name", name)
|
55
|
+
if secure_url is not None:
|
56
|
+
pulumi.set(__self__, "secure_url", secure_url)
|
49
57
|
|
50
58
|
@property
|
51
59
|
@pulumi.getter
|
@@ -108,6 +116,18 @@ class NotificationDestinationArgs:
|
|
108
116
|
def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
|
109
117
|
pulumi.set(self, "auth_basic", value)
|
110
118
|
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="authCustomHeaders")
|
121
|
+
def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
|
122
|
+
"""
|
123
|
+
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.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "auth_custom_headers")
|
126
|
+
|
127
|
+
@auth_custom_headers.setter
|
128
|
+
def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
|
129
|
+
pulumi.set(self, "auth_custom_headers", value)
|
130
|
+
|
111
131
|
@property
|
112
132
|
@pulumi.getter(name="authToken")
|
113
133
|
def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
|
@@ -132,6 +152,18 @@ class NotificationDestinationArgs:
|
|
132
152
|
def name(self, value: Optional[pulumi.Input[str]]):
|
133
153
|
pulumi.set(self, "name", value)
|
134
154
|
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="secureUrl")
|
157
|
+
def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
|
158
|
+
"""
|
159
|
+
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "secure_url")
|
162
|
+
|
163
|
+
@secure_url.setter
|
164
|
+
def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
|
165
|
+
pulumi.set(self, "secure_url", value)
|
166
|
+
|
135
167
|
|
136
168
|
@pulumi.input_type
|
137
169
|
class _NotificationDestinationState:
|
@@ -139,11 +171,13 @@ class _NotificationDestinationState:
|
|
139
171
|
account_id: Optional[pulumi.Input[int]] = None,
|
140
172
|
active: Optional[pulumi.Input[bool]] = None,
|
141
173
|
auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
|
174
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]] = None,
|
142
175
|
auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
|
143
176
|
guid: Optional[pulumi.Input[str]] = None,
|
144
177
|
last_sent: Optional[pulumi.Input[str]] = None,
|
145
178
|
name: Optional[pulumi.Input[str]] = None,
|
146
179
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
|
180
|
+
secure_url: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']] = None,
|
147
181
|
status: Optional[pulumi.Input[str]] = None,
|
148
182
|
type: Optional[pulumi.Input[str]] = None):
|
149
183
|
"""
|
@@ -151,11 +185,13 @@ class _NotificationDestinationState:
|
|
151
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.
|
152
186
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
153
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
|
+
: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.
|
154
189
|
:param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
155
190
|
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
156
191
|
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
157
192
|
:param pulumi.Input[str] name: The name of the destination.
|
158
193
|
:param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
194
|
+
:param pulumi.Input['NotificationDestinationSecureUrlArgs'] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
159
195
|
:param pulumi.Input[str] status: The status of the destination.
|
160
196
|
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
|
161
197
|
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
|
@@ -166,6 +202,8 @@ class _NotificationDestinationState:
|
|
166
202
|
pulumi.set(__self__, "active", active)
|
167
203
|
if auth_basic is not None:
|
168
204
|
pulumi.set(__self__, "auth_basic", auth_basic)
|
205
|
+
if auth_custom_headers is not None:
|
206
|
+
pulumi.set(__self__, "auth_custom_headers", auth_custom_headers)
|
169
207
|
if auth_token is not None:
|
170
208
|
pulumi.set(__self__, "auth_token", auth_token)
|
171
209
|
if guid is not None:
|
@@ -176,6 +214,8 @@ class _NotificationDestinationState:
|
|
176
214
|
pulumi.set(__self__, "name", name)
|
177
215
|
if properties is not None:
|
178
216
|
pulumi.set(__self__, "properties", properties)
|
217
|
+
if secure_url is not None:
|
218
|
+
pulumi.set(__self__, "secure_url", secure_url)
|
179
219
|
if status is not None:
|
180
220
|
pulumi.set(__self__, "status", status)
|
181
221
|
if type is not None:
|
@@ -217,6 +257,18 @@ class _NotificationDestinationState:
|
|
217
257
|
def auth_basic(self, value: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']]):
|
218
258
|
pulumi.set(self, "auth_basic", value)
|
219
259
|
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="authCustomHeaders")
|
262
|
+
def auth_custom_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]:
|
263
|
+
"""
|
264
|
+
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.
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "auth_custom_headers")
|
267
|
+
|
268
|
+
@auth_custom_headers.setter
|
269
|
+
def auth_custom_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationAuthCustomHeaderArgs']]]]):
|
270
|
+
pulumi.set(self, "auth_custom_headers", value)
|
271
|
+
|
220
272
|
@property
|
221
273
|
@pulumi.getter(name="authToken")
|
222
274
|
def auth_token(self) -> Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]:
|
@@ -277,6 +329,18 @@ class _NotificationDestinationState:
|
|
277
329
|
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]]):
|
278
330
|
pulumi.set(self, "properties", value)
|
279
331
|
|
332
|
+
@property
|
333
|
+
@pulumi.getter(name="secureUrl")
|
334
|
+
def secure_url(self) -> Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]:
|
335
|
+
"""
|
336
|
+
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
337
|
+
"""
|
338
|
+
return pulumi.get(self, "secure_url")
|
339
|
+
|
340
|
+
@secure_url.setter
|
341
|
+
def secure_url(self, value: Optional[pulumi.Input['NotificationDestinationSecureUrlArgs']]):
|
342
|
+
pulumi.set(self, "secure_url", value)
|
343
|
+
|
280
344
|
@property
|
281
345
|
@pulumi.getter
|
282
346
|
def status(self) -> Optional[pulumi.Input[str]]:
|
@@ -311,9 +375,11 @@ class NotificationDestination(pulumi.CustomResource):
|
|
311
375
|
account_id: Optional[pulumi.Input[int]] = None,
|
312
376
|
active: Optional[pulumi.Input[bool]] = None,
|
313
377
|
auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
|
378
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
|
314
379
|
auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
|
315
380
|
name: Optional[pulumi.Input[str]] = None,
|
316
381
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
|
382
|
+
secure_url: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']]] = None,
|
317
383
|
type: Optional[pulumi.Input[str]] = None,
|
318
384
|
__props__=None):
|
319
385
|
"""
|
@@ -388,9 +454,11 @@ class NotificationDestination(pulumi.CustomResource):
|
|
388
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.
|
389
455
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
390
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
|
+
: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.
|
391
458
|
:param pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
392
459
|
:param pulumi.Input[str] name: The name of the destination.
|
393
460
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
461
|
+
:param pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
394
462
|
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
|
395
463
|
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
|
396
464
|
"""
|
@@ -485,9 +553,11 @@ class NotificationDestination(pulumi.CustomResource):
|
|
485
553
|
account_id: Optional[pulumi.Input[int]] = None,
|
486
554
|
active: Optional[pulumi.Input[bool]] = None,
|
487
555
|
auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
|
556
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
|
488
557
|
auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
|
489
558
|
name: Optional[pulumi.Input[str]] = None,
|
490
559
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
|
560
|
+
secure_url: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']]] = None,
|
491
561
|
type: Optional[pulumi.Input[str]] = None,
|
492
562
|
__props__=None):
|
493
563
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -501,11 +571,13 @@ class NotificationDestination(pulumi.CustomResource):
|
|
501
571
|
__props__.__dict__["account_id"] = account_id
|
502
572
|
__props__.__dict__["active"] = active
|
503
573
|
__props__.__dict__["auth_basic"] = auth_basic
|
574
|
+
__props__.__dict__["auth_custom_headers"] = auth_custom_headers
|
504
575
|
__props__.__dict__["auth_token"] = auth_token
|
505
576
|
__props__.__dict__["name"] = name
|
506
577
|
if properties is None and not opts.urn:
|
507
578
|
raise TypeError("Missing required property 'properties'")
|
508
579
|
__props__.__dict__["properties"] = properties
|
580
|
+
__props__.__dict__["secure_url"] = secure_url
|
509
581
|
if type is None and not opts.urn:
|
510
582
|
raise TypeError("Missing required property 'type'")
|
511
583
|
__props__.__dict__["type"] = type
|
@@ -525,11 +597,13 @@ class NotificationDestination(pulumi.CustomResource):
|
|
525
597
|
account_id: Optional[pulumi.Input[int]] = None,
|
526
598
|
active: Optional[pulumi.Input[bool]] = None,
|
527
599
|
auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
|
600
|
+
auth_custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationAuthCustomHeaderArgs']]]]] = None,
|
528
601
|
auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
|
529
602
|
guid: Optional[pulumi.Input[str]] = None,
|
530
603
|
last_sent: Optional[pulumi.Input[str]] = None,
|
531
604
|
name: Optional[pulumi.Input[str]] = None,
|
532
605
|
properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
|
606
|
+
secure_url: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']]] = None,
|
533
607
|
status: Optional[pulumi.Input[str]] = None,
|
534
608
|
type: Optional[pulumi.Input[str]] = None) -> 'NotificationDestination':
|
535
609
|
"""
|
@@ -542,11 +616,13 @@ class NotificationDestination(pulumi.CustomResource):
|
|
542
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.
|
543
617
|
:param pulumi.Input[bool] active: Indicates whether the destination is active.
|
544
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
|
+
: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.
|
545
620
|
:param pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
|
546
621
|
:param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
|
547
622
|
:param pulumi.Input[str] last_sent: The last time a notification was sent.
|
548
623
|
:param pulumi.Input[str] name: The name of the destination.
|
549
624
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
|
625
|
+
:param pulumi.Input[pulumi.InputType['NotificationDestinationSecureUrlArgs']] secure_url: A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
550
626
|
:param pulumi.Input[str] status: The status of the destination.
|
551
627
|
:param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
|
552
628
|
PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE).
|
@@ -558,11 +634,13 @@ class NotificationDestination(pulumi.CustomResource):
|
|
558
634
|
__props__.__dict__["account_id"] = account_id
|
559
635
|
__props__.__dict__["active"] = active
|
560
636
|
__props__.__dict__["auth_basic"] = auth_basic
|
637
|
+
__props__.__dict__["auth_custom_headers"] = auth_custom_headers
|
561
638
|
__props__.__dict__["auth_token"] = auth_token
|
562
639
|
__props__.__dict__["guid"] = guid
|
563
640
|
__props__.__dict__["last_sent"] = last_sent
|
564
641
|
__props__.__dict__["name"] = name
|
565
642
|
__props__.__dict__["properties"] = properties
|
643
|
+
__props__.__dict__["secure_url"] = secure_url
|
566
644
|
__props__.__dict__["status"] = status
|
567
645
|
__props__.__dict__["type"] = type
|
568
646
|
return NotificationDestination(resource_name, opts=opts, __props__=__props__)
|
@@ -591,6 +669,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
591
669
|
"""
|
592
670
|
return pulumi.get(self, "auth_basic")
|
593
671
|
|
672
|
+
@property
|
673
|
+
@pulumi.getter(name="authCustomHeaders")
|
674
|
+
def auth_custom_headers(self) -> pulumi.Output[Optional[Sequence['outputs.NotificationDestinationAuthCustomHeader']]]:
|
675
|
+
"""
|
676
|
+
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.
|
677
|
+
"""
|
678
|
+
return pulumi.get(self, "auth_custom_headers")
|
679
|
+
|
594
680
|
@property
|
595
681
|
@pulumi.getter(name="authToken")
|
596
682
|
def auth_token(self) -> pulumi.Output[Optional['outputs.NotificationDestinationAuthToken']]:
|
@@ -631,6 +717,14 @@ class NotificationDestination(pulumi.CustomResource):
|
|
631
717
|
"""
|
632
718
|
return pulumi.get(self, "properties")
|
633
719
|
|
720
|
+
@property
|
721
|
+
@pulumi.getter(name="secureUrl")
|
722
|
+
def secure_url(self) -> pulumi.Output[Optional['outputs.NotificationDestinationSecureUrl']]:
|
723
|
+
"""
|
724
|
+
A nested block that describes a URL that contains sensitive data at the path or parameters. Only one secure_url block is permitted per notification destination definition. See Nested secure_url blocks below for details.
|
725
|
+
"""
|
726
|
+
return pulumi.get(self, "secure_url")
|
727
|
+
|
634
728
|
@property
|
635
729
|
@pulumi.getter
|
636
730
|
def status(self) -> pulumi.Output[str]:
|