pulumi-cloudamqp 3.18.0a1713331232__py3-none-any.whl → 3.18.0a1713460700__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.
Potentially problematic release.
This version of pulumi-cloudamqp might be problematic. Click here for more details.
- pulumi_cloudamqp/alarm.py +26 -22
- pulumi_cloudamqp/custom_domain.py +2 -2
- pulumi_cloudamqp/extra_disk_size.py +32 -8
- pulumi_cloudamqp/get_account.py +0 -72
- pulumi_cloudamqp/get_alarm.py +2 -2
- pulumi_cloudamqp/get_credentials.py +2 -2
- pulumi_cloudamqp/get_nodes.py +2 -2
- pulumi_cloudamqp/get_notification.py +2 -2
- pulumi_cloudamqp/get_plugins.py +2 -2
- pulumi_cloudamqp/get_plugins_community.py +2 -2
- pulumi_cloudamqp/get_upgradable_versions.py +2 -2
- pulumi_cloudamqp/get_vpc_gcp_info.py +4 -4
- pulumi_cloudamqp/get_vpc_info.py +4 -4
- pulumi_cloudamqp/instance.py +38 -108
- pulumi_cloudamqp/integration_aws_eventbridge.py +4 -2
- pulumi_cloudamqp/integration_log.py +94 -74
- pulumi_cloudamqp/node_actions.py +36 -36
- pulumi_cloudamqp/notification.py +50 -36
- pulumi_cloudamqp/privatelink_aws.py +12 -36
- pulumi_cloudamqp/privatelink_azure.py +12 -36
- pulumi_cloudamqp/upgrade_rabbitmq.py +16 -10
- pulumi_cloudamqp/vpc.py +8 -2
- pulumi_cloudamqp/vpc_connect.py +26 -60
- pulumi_cloudamqp/vpc_gcp_peering.py +158 -48
- pulumi_cloudamqp/webhook.py +4 -4
- {pulumi_cloudamqp-3.18.0a1713331232.dist-info → pulumi_cloudamqp-3.18.0a1713460700.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.18.0a1713460700.dist-info/RECORD +48 -0
- pulumi_cloudamqp-3.18.0a1713331232.dist-info/RECORD +0 -48
- {pulumi_cloudamqp-3.18.0a1713331232.dist-info → pulumi_cloudamqp-3.18.0a1713460700.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.18.0a1713331232.dist-info → pulumi_cloudamqp-3.18.0a1713460700.dist-info}/top_level.txt +0 -0
pulumi_cloudamqp/instance.py
CHANGED
|
@@ -602,17 +602,20 @@ class Instance(pulumi.CustomResource):
|
|
|
602
602
|
import pulumi_cloudamqp as cloudamqp
|
|
603
603
|
|
|
604
604
|
# Minimum free lemur instance running RabbitMQ
|
|
605
|
-
lemur_instance = cloudamqp.Instance("
|
|
605
|
+
lemur_instance = cloudamqp.Instance("lemur_instance",
|
|
606
|
+
name="cloudamqp-free-instance",
|
|
606
607
|
plan="lemur",
|
|
607
608
|
region="amazon-web-services::us-west-1",
|
|
608
609
|
tags=["rabbitmq"])
|
|
609
610
|
# Minimum free lemming instance running LavinMQ
|
|
610
|
-
lemming_instance = cloudamqp.Instance("
|
|
611
|
+
lemming_instance = cloudamqp.Instance("lemming_instance",
|
|
612
|
+
name="cloudamqp-free-instance",
|
|
611
613
|
plan="lemming",
|
|
612
614
|
region="amazon-web-services::us-west-1",
|
|
613
615
|
tags=["lavinmq"])
|
|
614
616
|
# New dedicated bunny instance running RabbitMQ
|
|
615
617
|
instance = cloudamqp.Instance("instance",
|
|
618
|
+
name="terraform-cloudamqp-instance",
|
|
616
619
|
plan="bunny-1",
|
|
617
620
|
region="amazon-web-services::us-west-1",
|
|
618
621
|
tags=["terraform"])
|
|
@@ -633,6 +636,7 @@ class Instance(pulumi.CustomResource):
|
|
|
633
636
|
import pulumi_cloudamqp as cloudamqp
|
|
634
637
|
|
|
635
638
|
instance = cloudamqp.Instance("instance",
|
|
639
|
+
name="terraform-cloudamqp-instance",
|
|
636
640
|
plan="bunny-1",
|
|
637
641
|
region="amazon-web-services::us-west-1",
|
|
638
642
|
tags=["terraform"],
|
|
@@ -654,7 +658,8 @@ class Instance(pulumi.CustomResource):
|
|
|
654
658
|
import pulumi_cloudamqp as cloudamqp
|
|
655
659
|
|
|
656
660
|
# Dedicated instance that also creates VPC
|
|
657
|
-
instance01 = cloudamqp.Instance("
|
|
661
|
+
instance01 = cloudamqp.Instance("instance_01",
|
|
662
|
+
name="terraform-cloudamqp-instance-01",
|
|
658
663
|
plan="bunny-1",
|
|
659
664
|
region="amazon-web-services::us-west-1",
|
|
660
665
|
tags=["terraform"],
|
|
@@ -673,11 +678,13 @@ class Instance(pulumi.CustomResource):
|
|
|
673
678
|
|
|
674
679
|
# Imported managed VPC
|
|
675
680
|
vpc = cloudamqp.Vpc("vpc",
|
|
681
|
+
name="<vpc-name>",
|
|
676
682
|
region="amazon-web-services::us-east-1",
|
|
677
683
|
subnet="10.56.72.0/24",
|
|
678
684
|
tags=[])
|
|
679
685
|
# Add vpc_id and keep_associated_vpc attributes
|
|
680
|
-
instance01 = cloudamqp.Instance("
|
|
686
|
+
instance01 = cloudamqp.Instance("instance_01",
|
|
687
|
+
name="terraform-cloudamqp-instance-01",
|
|
681
688
|
plan="bunny-1",
|
|
682
689
|
region="amazon-web-services::us-west-1",
|
|
683
690
|
tags=["terraform"],
|
|
@@ -701,18 +708,21 @@ class Instance(pulumi.CustomResource):
|
|
|
701
708
|
|
|
702
709
|
# Managed VPC
|
|
703
710
|
vpc = cloudamqp.Vpc("vpc",
|
|
711
|
+
name="<vpc-name>",
|
|
704
712
|
region="amazon-web-services::us-east-1",
|
|
705
713
|
subnet="10.56.72.0/24",
|
|
706
714
|
tags=[])
|
|
707
715
|
# First instance added to managed VPC
|
|
708
|
-
instance01 = cloudamqp.Instance("
|
|
716
|
+
instance01 = cloudamqp.Instance("instance_01",
|
|
717
|
+
name="terraform-cloudamqp-instance-01",
|
|
709
718
|
plan="bunny-1",
|
|
710
719
|
region="amazon-web-services::us-west-1",
|
|
711
720
|
tags=["terraform"],
|
|
712
721
|
vpc_id=vpc.id,
|
|
713
722
|
keep_associated_vpc=True)
|
|
714
723
|
# Second instance added to managed VPC
|
|
715
|
-
instance02 = cloudamqp.Instance("
|
|
724
|
+
instance02 = cloudamqp.Instance("instance_02",
|
|
725
|
+
name="terraform-cloudamqp-instance-02",
|
|
716
726
|
plan="bunny-1",
|
|
717
727
|
region="amazon-web-services::us-west-1",
|
|
718
728
|
tags=["terraform"],
|
|
@@ -724,52 +734,6 @@ class Instance(pulumi.CustomResource):
|
|
|
724
734
|
Set attribute `keep_associated_vpc` to true, will keep managed VPC when deleting the instances.
|
|
725
735
|
</details>
|
|
726
736
|
|
|
727
|
-
## Upgrade and downgrade
|
|
728
|
-
|
|
729
|
-
It's possible to upgrade or downgrade your subscription plan, this will either increase or decrease the underlying resource used for by the CloudAMQP instance. To do this, change the argument `plan` in the configuration and apply the changes. See available plans.
|
|
730
|
-
|
|
731
|
-
<details>
|
|
732
|
-
<summary>
|
|
733
|
-
<b>
|
|
734
|
-
<i>Upgrade the subscription plan</i>
|
|
735
|
-
</b>
|
|
736
|
-
</summary>
|
|
737
|
-
|
|
738
|
-
<!--Start PulumiCodeChooser -->
|
|
739
|
-
```python
|
|
740
|
-
import pulumi
|
|
741
|
-
import pulumi_cloudamqp as cloudamqp
|
|
742
|
-
|
|
743
|
-
# Upgraded CloudAMQP instance configuration
|
|
744
|
-
instance = cloudamqp.Instance("instance",
|
|
745
|
-
plan="bunny-1",
|
|
746
|
-
region="amazon-web-services::us-west-1",
|
|
747
|
-
tags=["terraform"])
|
|
748
|
-
```
|
|
749
|
-
<!--End PulumiCodeChooser -->
|
|
750
|
-
</details>
|
|
751
|
-
|
|
752
|
-
<details>
|
|
753
|
-
<summary>
|
|
754
|
-
<b>
|
|
755
|
-
<i>Downgrade number of nodes from 3 to 1</i>
|
|
756
|
-
</b>
|
|
757
|
-
</summary>
|
|
758
|
-
|
|
759
|
-
<!--Start PulumiCodeChooser -->
|
|
760
|
-
```python
|
|
761
|
-
import pulumi
|
|
762
|
-
import pulumi_cloudamqp as cloudamqp
|
|
763
|
-
|
|
764
|
-
# Downgraded CloudAMQP instance configuration
|
|
765
|
-
instance = cloudamqp.Instance("instance",
|
|
766
|
-
plan="bunny-1",
|
|
767
|
-
region="amazon-web-services::us-west-1",
|
|
768
|
-
tags=["terraform"])
|
|
769
|
-
```
|
|
770
|
-
<!--End PulumiCodeChooser -->
|
|
771
|
-
</details>
|
|
772
|
-
|
|
773
737
|
## Copy settings to a new dedicated instance
|
|
774
738
|
|
|
775
739
|
With copy settings it's possible to create a new dedicated instance with settings such as alarms, config, etc. from another dedicated instance. This can be done by adding the `copy_settings` block to this resource and populate `subscription_id` with a CloudAMQP instance identifier from another already existing instance.
|
|
@@ -790,13 +754,14 @@ class Instance(pulumi.CustomResource):
|
|
|
790
754
|
import pulumi
|
|
791
755
|
import pulumi_cloudamqp as cloudamqp
|
|
792
756
|
|
|
793
|
-
instance02 = cloudamqp.Instance("
|
|
757
|
+
instance02 = cloudamqp.Instance("instance_02",
|
|
758
|
+
name="terraform-cloudamqp-instance-02",
|
|
794
759
|
plan="squirrel-1",
|
|
795
760
|
region="amazon-web-services::us-west-1",
|
|
796
761
|
rmq_version="3.12.2",
|
|
797
762
|
tags=["terraform"],
|
|
798
763
|
copy_settings=[cloudamqp.InstanceCopySettingArgs(
|
|
799
|
-
subscription_id=
|
|
764
|
+
subscription_id=instance_id,
|
|
800
765
|
settings=[
|
|
801
766
|
"alarms",
|
|
802
767
|
"config",
|
|
@@ -877,17 +842,20 @@ class Instance(pulumi.CustomResource):
|
|
|
877
842
|
import pulumi_cloudamqp as cloudamqp
|
|
878
843
|
|
|
879
844
|
# Minimum free lemur instance running RabbitMQ
|
|
880
|
-
lemur_instance = cloudamqp.Instance("
|
|
845
|
+
lemur_instance = cloudamqp.Instance("lemur_instance",
|
|
846
|
+
name="cloudamqp-free-instance",
|
|
881
847
|
plan="lemur",
|
|
882
848
|
region="amazon-web-services::us-west-1",
|
|
883
849
|
tags=["rabbitmq"])
|
|
884
850
|
# Minimum free lemming instance running LavinMQ
|
|
885
|
-
lemming_instance = cloudamqp.Instance("
|
|
851
|
+
lemming_instance = cloudamqp.Instance("lemming_instance",
|
|
852
|
+
name="cloudamqp-free-instance",
|
|
886
853
|
plan="lemming",
|
|
887
854
|
region="amazon-web-services::us-west-1",
|
|
888
855
|
tags=["lavinmq"])
|
|
889
856
|
# New dedicated bunny instance running RabbitMQ
|
|
890
857
|
instance = cloudamqp.Instance("instance",
|
|
858
|
+
name="terraform-cloudamqp-instance",
|
|
891
859
|
plan="bunny-1",
|
|
892
860
|
region="amazon-web-services::us-west-1",
|
|
893
861
|
tags=["terraform"])
|
|
@@ -908,6 +876,7 @@ class Instance(pulumi.CustomResource):
|
|
|
908
876
|
import pulumi_cloudamqp as cloudamqp
|
|
909
877
|
|
|
910
878
|
instance = cloudamqp.Instance("instance",
|
|
879
|
+
name="terraform-cloudamqp-instance",
|
|
911
880
|
plan="bunny-1",
|
|
912
881
|
region="amazon-web-services::us-west-1",
|
|
913
882
|
tags=["terraform"],
|
|
@@ -929,7 +898,8 @@ class Instance(pulumi.CustomResource):
|
|
|
929
898
|
import pulumi_cloudamqp as cloudamqp
|
|
930
899
|
|
|
931
900
|
# Dedicated instance that also creates VPC
|
|
932
|
-
instance01 = cloudamqp.Instance("
|
|
901
|
+
instance01 = cloudamqp.Instance("instance_01",
|
|
902
|
+
name="terraform-cloudamqp-instance-01",
|
|
933
903
|
plan="bunny-1",
|
|
934
904
|
region="amazon-web-services::us-west-1",
|
|
935
905
|
tags=["terraform"],
|
|
@@ -948,11 +918,13 @@ class Instance(pulumi.CustomResource):
|
|
|
948
918
|
|
|
949
919
|
# Imported managed VPC
|
|
950
920
|
vpc = cloudamqp.Vpc("vpc",
|
|
921
|
+
name="<vpc-name>",
|
|
951
922
|
region="amazon-web-services::us-east-1",
|
|
952
923
|
subnet="10.56.72.0/24",
|
|
953
924
|
tags=[])
|
|
954
925
|
# Add vpc_id and keep_associated_vpc attributes
|
|
955
|
-
instance01 = cloudamqp.Instance("
|
|
926
|
+
instance01 = cloudamqp.Instance("instance_01",
|
|
927
|
+
name="terraform-cloudamqp-instance-01",
|
|
956
928
|
plan="bunny-1",
|
|
957
929
|
region="amazon-web-services::us-west-1",
|
|
958
930
|
tags=["terraform"],
|
|
@@ -976,18 +948,21 @@ class Instance(pulumi.CustomResource):
|
|
|
976
948
|
|
|
977
949
|
# Managed VPC
|
|
978
950
|
vpc = cloudamqp.Vpc("vpc",
|
|
951
|
+
name="<vpc-name>",
|
|
979
952
|
region="amazon-web-services::us-east-1",
|
|
980
953
|
subnet="10.56.72.0/24",
|
|
981
954
|
tags=[])
|
|
982
955
|
# First instance added to managed VPC
|
|
983
|
-
instance01 = cloudamqp.Instance("
|
|
956
|
+
instance01 = cloudamqp.Instance("instance_01",
|
|
957
|
+
name="terraform-cloudamqp-instance-01",
|
|
984
958
|
plan="bunny-1",
|
|
985
959
|
region="amazon-web-services::us-west-1",
|
|
986
960
|
tags=["terraform"],
|
|
987
961
|
vpc_id=vpc.id,
|
|
988
962
|
keep_associated_vpc=True)
|
|
989
963
|
# Second instance added to managed VPC
|
|
990
|
-
instance02 = cloudamqp.Instance("
|
|
964
|
+
instance02 = cloudamqp.Instance("instance_02",
|
|
965
|
+
name="terraform-cloudamqp-instance-02",
|
|
991
966
|
plan="bunny-1",
|
|
992
967
|
region="amazon-web-services::us-west-1",
|
|
993
968
|
tags=["terraform"],
|
|
@@ -999,52 +974,6 @@ class Instance(pulumi.CustomResource):
|
|
|
999
974
|
Set attribute `keep_associated_vpc` to true, will keep managed VPC when deleting the instances.
|
|
1000
975
|
</details>
|
|
1001
976
|
|
|
1002
|
-
## Upgrade and downgrade
|
|
1003
|
-
|
|
1004
|
-
It's possible to upgrade or downgrade your subscription plan, this will either increase or decrease the underlying resource used for by the CloudAMQP instance. To do this, change the argument `plan` in the configuration and apply the changes. See available plans.
|
|
1005
|
-
|
|
1006
|
-
<details>
|
|
1007
|
-
<summary>
|
|
1008
|
-
<b>
|
|
1009
|
-
<i>Upgrade the subscription plan</i>
|
|
1010
|
-
</b>
|
|
1011
|
-
</summary>
|
|
1012
|
-
|
|
1013
|
-
<!--Start PulumiCodeChooser -->
|
|
1014
|
-
```python
|
|
1015
|
-
import pulumi
|
|
1016
|
-
import pulumi_cloudamqp as cloudamqp
|
|
1017
|
-
|
|
1018
|
-
# Upgraded CloudAMQP instance configuration
|
|
1019
|
-
instance = cloudamqp.Instance("instance",
|
|
1020
|
-
plan="bunny-1",
|
|
1021
|
-
region="amazon-web-services::us-west-1",
|
|
1022
|
-
tags=["terraform"])
|
|
1023
|
-
```
|
|
1024
|
-
<!--End PulumiCodeChooser -->
|
|
1025
|
-
</details>
|
|
1026
|
-
|
|
1027
|
-
<details>
|
|
1028
|
-
<summary>
|
|
1029
|
-
<b>
|
|
1030
|
-
<i>Downgrade number of nodes from 3 to 1</i>
|
|
1031
|
-
</b>
|
|
1032
|
-
</summary>
|
|
1033
|
-
|
|
1034
|
-
<!--Start PulumiCodeChooser -->
|
|
1035
|
-
```python
|
|
1036
|
-
import pulumi
|
|
1037
|
-
import pulumi_cloudamqp as cloudamqp
|
|
1038
|
-
|
|
1039
|
-
# Downgraded CloudAMQP instance configuration
|
|
1040
|
-
instance = cloudamqp.Instance("instance",
|
|
1041
|
-
plan="bunny-1",
|
|
1042
|
-
region="amazon-web-services::us-west-1",
|
|
1043
|
-
tags=["terraform"])
|
|
1044
|
-
```
|
|
1045
|
-
<!--End PulumiCodeChooser -->
|
|
1046
|
-
</details>
|
|
1047
|
-
|
|
1048
977
|
## Copy settings to a new dedicated instance
|
|
1049
978
|
|
|
1050
979
|
With copy settings it's possible to create a new dedicated instance with settings such as alarms, config, etc. from another dedicated instance. This can be done by adding the `copy_settings` block to this resource and populate `subscription_id` with a CloudAMQP instance identifier from another already existing instance.
|
|
@@ -1065,13 +994,14 @@ class Instance(pulumi.CustomResource):
|
|
|
1065
994
|
import pulumi
|
|
1066
995
|
import pulumi_cloudamqp as cloudamqp
|
|
1067
996
|
|
|
1068
|
-
instance02 = cloudamqp.Instance("
|
|
997
|
+
instance02 = cloudamqp.Instance("instance_02",
|
|
998
|
+
name="terraform-cloudamqp-instance-02",
|
|
1069
999
|
plan="squirrel-1",
|
|
1070
1000
|
region="amazon-web-services::us-west-1",
|
|
1071
1001
|
rmq_version="3.12.2",
|
|
1072
1002
|
tags=["terraform"],
|
|
1073
1003
|
copy_settings=[cloudamqp.InstanceCopySettingArgs(
|
|
1074
|
-
subscription_id=
|
|
1004
|
+
subscription_id=instance_id,
|
|
1075
1005
|
settings=[
|
|
1076
1006
|
"alarms",
|
|
1077
1007
|
"config",
|
|
@@ -258,11 +258,12 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
258
258
|
import pulumi_cloudamqp as cloudamqp
|
|
259
259
|
|
|
260
260
|
instance = cloudamqp.Instance("instance",
|
|
261
|
+
name="Test instance",
|
|
261
262
|
plan="squirrel-1",
|
|
262
263
|
region="amazon-web-services::us-west-1",
|
|
263
264
|
rmq_version="3.11.5",
|
|
264
265
|
tags=["aws"])
|
|
265
|
-
aws_eventbridge = cloudamqp.IntegrationAwsEventbridge("
|
|
266
|
+
aws_eventbridge = cloudamqp.IntegrationAwsEventbridge("aws_eventbridge",
|
|
266
267
|
instance_id=instance.id,
|
|
267
268
|
vhost=instance.vhost,
|
|
268
269
|
queue="<QUEUE-NAME>",
|
|
@@ -326,11 +327,12 @@ class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
|
326
327
|
import pulumi_cloudamqp as cloudamqp
|
|
327
328
|
|
|
328
329
|
instance = cloudamqp.Instance("instance",
|
|
330
|
+
name="Test instance",
|
|
329
331
|
plan="squirrel-1",
|
|
330
332
|
region="amazon-web-services::us-west-1",
|
|
331
333
|
rmq_version="3.11.5",
|
|
332
334
|
tags=["aws"])
|
|
333
|
-
aws_eventbridge = cloudamqp.IntegrationAwsEventbridge("
|
|
335
|
+
aws_eventbridge = cloudamqp.IntegrationAwsEventbridge("aws_eventbridge",
|
|
334
336
|
instance_id=instance.id,
|
|
335
337
|
vhost=instance.vhost,
|
|
336
338
|
queue="<QUEUE-NAME>",
|
|
@@ -922,14 +922,15 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
922
922
|
import pulumi
|
|
923
923
|
import pulumi_cloudamqp as cloudamqp
|
|
924
924
|
|
|
925
|
-
azure_monitor = cloudamqp.IntegrationLog("
|
|
926
|
-
instance_id=
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
925
|
+
azure_monitor = cloudamqp.IntegrationLog("azure_monitor",
|
|
926
|
+
instance_id=instance["id"],
|
|
927
|
+
name="azure_monitor",
|
|
928
|
+
tenant_id=azm_tentant_id,
|
|
929
|
+
application_id=azm_application_id,
|
|
930
|
+
application_secret=azm_application_secret,
|
|
931
|
+
dce_uri=azm_dce_uri,
|
|
932
|
+
table=azm_table,
|
|
933
|
+
dcr_id=azm_dcr_id)
|
|
933
934
|
```
|
|
934
935
|
<!--End PulumiCodeChooser -->
|
|
935
936
|
|
|
@@ -948,10 +949,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
948
949
|
import pulumi_cloudamqp as cloudamqp
|
|
949
950
|
|
|
950
951
|
cloudwatch = cloudamqp.IntegrationLog("cloudwatch",
|
|
951
|
-
instance_id=
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
952
|
+
instance_id=instance["id"],
|
|
953
|
+
name="cloudwatchlog",
|
|
954
|
+
access_key_id=aws_access_key_id,
|
|
955
|
+
secret_access_key=aws_secret_access_key,
|
|
956
|
+
region=aws_region)
|
|
955
957
|
```
|
|
956
958
|
<!--End PulumiCodeChooser -->
|
|
957
959
|
|
|
@@ -970,11 +972,12 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
970
972
|
import pulumi_cloudamqp as cloudamqp
|
|
971
973
|
|
|
972
974
|
coralogix = cloudamqp.IntegrationLog("coralogix",
|
|
973
|
-
instance_id=
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
975
|
+
instance_id=instance["id"],
|
|
976
|
+
name="coralogix",
|
|
977
|
+
private_key=coralogix_send_data_key,
|
|
978
|
+
endpoint=coralogix_endpoint,
|
|
979
|
+
application=coralogix_application,
|
|
980
|
+
subsystem=instance["host"])
|
|
978
981
|
```
|
|
979
982
|
<!--End PulumiCodeChooser -->
|
|
980
983
|
|
|
@@ -993,10 +996,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
993
996
|
import pulumi_cloudamqp as cloudamqp
|
|
994
997
|
|
|
995
998
|
datadog = cloudamqp.IntegrationLog("datadog",
|
|
996
|
-
instance_id=
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
999
|
+
instance_id=instance["id"],
|
|
1000
|
+
name="datadog",
|
|
1001
|
+
region=datadog_region,
|
|
1002
|
+
api_key=datadog_api_key,
|
|
1003
|
+
tags=datadog_tags)
|
|
1000
1004
|
```
|
|
1001
1005
|
<!--End PulumiCodeChooser -->
|
|
1002
1006
|
|
|
@@ -1015,8 +1019,9 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1015
1019
|
import pulumi_cloudamqp as cloudamqp
|
|
1016
1020
|
|
|
1017
1021
|
logentries = cloudamqp.IntegrationLog("logentries",
|
|
1018
|
-
instance_id=
|
|
1019
|
-
|
|
1022
|
+
instance_id=instance["id"],
|
|
1023
|
+
name="logentries",
|
|
1024
|
+
token=logentries_token)
|
|
1020
1025
|
```
|
|
1021
1026
|
<!--End PulumiCodeChooser -->
|
|
1022
1027
|
|
|
@@ -1035,8 +1040,9 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1035
1040
|
import pulumi_cloudamqp as cloudamqp
|
|
1036
1041
|
|
|
1037
1042
|
loggly = cloudamqp.IntegrationLog("loggly",
|
|
1038
|
-
instance_id=
|
|
1039
|
-
|
|
1043
|
+
instance_id=instance["id"],
|
|
1044
|
+
name="loggly",
|
|
1045
|
+
token=loggly_token)
|
|
1040
1046
|
```
|
|
1041
1047
|
<!--End PulumiCodeChooser -->
|
|
1042
1048
|
</details>
|
|
@@ -1054,8 +1060,9 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1054
1060
|
import pulumi_cloudamqp as cloudamqp
|
|
1055
1061
|
|
|
1056
1062
|
papertrail = cloudamqp.IntegrationLog("papertrail",
|
|
1057
|
-
instance_id=
|
|
1058
|
-
|
|
1063
|
+
instance_id=instance["id"],
|
|
1064
|
+
name="papertrail",
|
|
1065
|
+
url=papertrail_url)
|
|
1059
1066
|
```
|
|
1060
1067
|
<!--End PulumiCodeChooser -->
|
|
1061
1068
|
|
|
@@ -1074,9 +1081,10 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1074
1081
|
import pulumi_cloudamqp as cloudamqp
|
|
1075
1082
|
|
|
1076
1083
|
scalyr = cloudamqp.IntegrationLog("scalyr",
|
|
1077
|
-
instance_id=
|
|
1078
|
-
|
|
1079
|
-
|
|
1084
|
+
instance_id=instance["id"],
|
|
1085
|
+
name="scalyr",
|
|
1086
|
+
token=scalyr_token,
|
|
1087
|
+
host=scalyr_host)
|
|
1080
1088
|
```
|
|
1081
1089
|
<!--End PulumiCodeChooser -->
|
|
1082
1090
|
|
|
@@ -1093,9 +1101,10 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1093
1101
|
import pulumi_cloudamqp as cloudamqp
|
|
1094
1102
|
|
|
1095
1103
|
splunk = cloudamqp.IntegrationLog("splunk",
|
|
1096
|
-
instance_id=
|
|
1097
|
-
|
|
1098
|
-
|
|
1104
|
+
instance_id=instance["id"],
|
|
1105
|
+
name="splunk",
|
|
1106
|
+
token=splunk_token,
|
|
1107
|
+
host_port=splunk_host_port,
|
|
1099
1108
|
source_type="generic_single_line")
|
|
1100
1109
|
```
|
|
1101
1110
|
<!--End PulumiCodeChooser -->
|
|
@@ -1119,10 +1128,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1119
1128
|
import pulumi_cloudamqp as cloudamqp
|
|
1120
1129
|
|
|
1121
1130
|
stackdriver = cloudamqp.IntegrationLog("stackdriver",
|
|
1122
|
-
instance_id=
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1131
|
+
instance_id=instance["id"],
|
|
1132
|
+
name="stackdriver",
|
|
1133
|
+
project_id=stackdriver_project_id,
|
|
1134
|
+
private_key=stackdriver_private_key,
|
|
1135
|
+
client_email=stackdriver_client_email)
|
|
1126
1136
|
```
|
|
1127
1137
|
<!--End PulumiCodeChooser -->
|
|
1128
1138
|
|
|
@@ -1194,14 +1204,15 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1194
1204
|
import pulumi
|
|
1195
1205
|
import pulumi_cloudamqp as cloudamqp
|
|
1196
1206
|
|
|
1197
|
-
azure_monitor = cloudamqp.IntegrationLog("
|
|
1198
|
-
instance_id=
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1207
|
+
azure_monitor = cloudamqp.IntegrationLog("azure_monitor",
|
|
1208
|
+
instance_id=instance["id"],
|
|
1209
|
+
name="azure_monitor",
|
|
1210
|
+
tenant_id=azm_tentant_id,
|
|
1211
|
+
application_id=azm_application_id,
|
|
1212
|
+
application_secret=azm_application_secret,
|
|
1213
|
+
dce_uri=azm_dce_uri,
|
|
1214
|
+
table=azm_table,
|
|
1215
|
+
dcr_id=azm_dcr_id)
|
|
1205
1216
|
```
|
|
1206
1217
|
<!--End PulumiCodeChooser -->
|
|
1207
1218
|
|
|
@@ -1220,10 +1231,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1220
1231
|
import pulumi_cloudamqp as cloudamqp
|
|
1221
1232
|
|
|
1222
1233
|
cloudwatch = cloudamqp.IntegrationLog("cloudwatch",
|
|
1223
|
-
instance_id=
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1234
|
+
instance_id=instance["id"],
|
|
1235
|
+
name="cloudwatchlog",
|
|
1236
|
+
access_key_id=aws_access_key_id,
|
|
1237
|
+
secret_access_key=aws_secret_access_key,
|
|
1238
|
+
region=aws_region)
|
|
1227
1239
|
```
|
|
1228
1240
|
<!--End PulumiCodeChooser -->
|
|
1229
1241
|
|
|
@@ -1242,11 +1254,12 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1242
1254
|
import pulumi_cloudamqp as cloudamqp
|
|
1243
1255
|
|
|
1244
1256
|
coralogix = cloudamqp.IntegrationLog("coralogix",
|
|
1245
|
-
instance_id=
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1257
|
+
instance_id=instance["id"],
|
|
1258
|
+
name="coralogix",
|
|
1259
|
+
private_key=coralogix_send_data_key,
|
|
1260
|
+
endpoint=coralogix_endpoint,
|
|
1261
|
+
application=coralogix_application,
|
|
1262
|
+
subsystem=instance["host"])
|
|
1250
1263
|
```
|
|
1251
1264
|
<!--End PulumiCodeChooser -->
|
|
1252
1265
|
|
|
@@ -1265,10 +1278,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1265
1278
|
import pulumi_cloudamqp as cloudamqp
|
|
1266
1279
|
|
|
1267
1280
|
datadog = cloudamqp.IntegrationLog("datadog",
|
|
1268
|
-
instance_id=
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1281
|
+
instance_id=instance["id"],
|
|
1282
|
+
name="datadog",
|
|
1283
|
+
region=datadog_region,
|
|
1284
|
+
api_key=datadog_api_key,
|
|
1285
|
+
tags=datadog_tags)
|
|
1272
1286
|
```
|
|
1273
1287
|
<!--End PulumiCodeChooser -->
|
|
1274
1288
|
|
|
@@ -1287,8 +1301,9 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1287
1301
|
import pulumi_cloudamqp as cloudamqp
|
|
1288
1302
|
|
|
1289
1303
|
logentries = cloudamqp.IntegrationLog("logentries",
|
|
1290
|
-
instance_id=
|
|
1291
|
-
|
|
1304
|
+
instance_id=instance["id"],
|
|
1305
|
+
name="logentries",
|
|
1306
|
+
token=logentries_token)
|
|
1292
1307
|
```
|
|
1293
1308
|
<!--End PulumiCodeChooser -->
|
|
1294
1309
|
|
|
@@ -1307,8 +1322,9 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1307
1322
|
import pulumi_cloudamqp as cloudamqp
|
|
1308
1323
|
|
|
1309
1324
|
loggly = cloudamqp.IntegrationLog("loggly",
|
|
1310
|
-
instance_id=
|
|
1311
|
-
|
|
1325
|
+
instance_id=instance["id"],
|
|
1326
|
+
name="loggly",
|
|
1327
|
+
token=loggly_token)
|
|
1312
1328
|
```
|
|
1313
1329
|
<!--End PulumiCodeChooser -->
|
|
1314
1330
|
</details>
|
|
@@ -1326,8 +1342,9 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1326
1342
|
import pulumi_cloudamqp as cloudamqp
|
|
1327
1343
|
|
|
1328
1344
|
papertrail = cloudamqp.IntegrationLog("papertrail",
|
|
1329
|
-
instance_id=
|
|
1330
|
-
|
|
1345
|
+
instance_id=instance["id"],
|
|
1346
|
+
name="papertrail",
|
|
1347
|
+
url=papertrail_url)
|
|
1331
1348
|
```
|
|
1332
1349
|
<!--End PulumiCodeChooser -->
|
|
1333
1350
|
|
|
@@ -1346,9 +1363,10 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1346
1363
|
import pulumi_cloudamqp as cloudamqp
|
|
1347
1364
|
|
|
1348
1365
|
scalyr = cloudamqp.IntegrationLog("scalyr",
|
|
1349
|
-
instance_id=
|
|
1350
|
-
|
|
1351
|
-
|
|
1366
|
+
instance_id=instance["id"],
|
|
1367
|
+
name="scalyr",
|
|
1368
|
+
token=scalyr_token,
|
|
1369
|
+
host=scalyr_host)
|
|
1352
1370
|
```
|
|
1353
1371
|
<!--End PulumiCodeChooser -->
|
|
1354
1372
|
|
|
@@ -1365,9 +1383,10 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1365
1383
|
import pulumi_cloudamqp as cloudamqp
|
|
1366
1384
|
|
|
1367
1385
|
splunk = cloudamqp.IntegrationLog("splunk",
|
|
1368
|
-
instance_id=
|
|
1369
|
-
|
|
1370
|
-
|
|
1386
|
+
instance_id=instance["id"],
|
|
1387
|
+
name="splunk",
|
|
1388
|
+
token=splunk_token,
|
|
1389
|
+
host_port=splunk_host_port,
|
|
1371
1390
|
source_type="generic_single_line")
|
|
1372
1391
|
```
|
|
1373
1392
|
<!--End PulumiCodeChooser -->
|
|
@@ -1391,10 +1410,11 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
1391
1410
|
import pulumi_cloudamqp as cloudamqp
|
|
1392
1411
|
|
|
1393
1412
|
stackdriver = cloudamqp.IntegrationLog("stackdriver",
|
|
1394
|
-
instance_id=
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1413
|
+
instance_id=instance["id"],
|
|
1414
|
+
name="stackdriver",
|
|
1415
|
+
project_id=stackdriver_project_id,
|
|
1416
|
+
private_key=stackdriver_private_key,
|
|
1417
|
+
client_email=stackdriver_client_email)
|
|
1398
1418
|
```
|
|
1399
1419
|
<!--End PulumiCodeChooser -->
|
|
1400
1420
|
|