pulumi-cloudamqp 3.17.4__py3-none-any.whl → 3.17.6__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 +116 -16
- pulumi_cloudamqp/custom_domain.py +4 -2
- pulumi_cloudamqp/extra_disk_size.py +34 -8
- pulumi_cloudamqp/get_account.py +0 -66
- pulumi_cloudamqp/get_account_vpcs.py +2 -0
- pulumi_cloudamqp/get_alarm.py +4 -2
- pulumi_cloudamqp/get_credentials.py +4 -2
- pulumi_cloudamqp/get_instance.py +0 -42
- pulumi_cloudamqp/get_nodes.py +4 -2
- pulumi_cloudamqp/get_notification.py +4 -2
- pulumi_cloudamqp/get_plugins.py +4 -2
- pulumi_cloudamqp/get_plugins_community.py +4 -2
- pulumi_cloudamqp/get_upgradable_versions.py +4 -2
- pulumi_cloudamqp/get_vpc_gcp_info.py +6 -4
- pulumi_cloudamqp/get_vpc_info.py +6 -4
- pulumi_cloudamqp/instance.py +40 -100
- pulumi_cloudamqp/integration_aws_eventbridge.py +6 -2
- pulumi_cloudamqp/integration_log.py +406 -36
- pulumi_cloudamqp/node_actions.py +38 -36
- pulumi_cloudamqp/notification.py +56 -40
- pulumi_cloudamqp/plugin_community.py +2 -2
- pulumi_cloudamqp/privatelink_aws.py +18 -34
- pulumi_cloudamqp/privatelink_azure.py +18 -34
- pulumi_cloudamqp/provider.py +0 -5
- pulumi_cloudamqp/pulumi-plugin.json +2 -1
- pulumi_cloudamqp/upgrade_rabbitmq.py +16 -10
- pulumi_cloudamqp/vpc.py +12 -6
- pulumi_cloudamqp/vpc_connect.py +32 -54
- pulumi_cloudamqp/vpc_gcp_peering.py +202 -30
- pulumi_cloudamqp/webhook.py +6 -4
- {pulumi_cloudamqp-3.17.4.dist-info → pulumi_cloudamqp-3.17.6.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.17.6.dist-info/RECORD +48 -0
- {pulumi_cloudamqp-3.17.4.dist-info → pulumi_cloudamqp-3.17.6.dist-info}/WHEEL +1 -1
- pulumi_cloudamqp-3.17.4.dist-info/RECORD +0 -48
- {pulumi_cloudamqp-3.17.4.dist-info → pulumi_cloudamqp-3.17.6.dist-info}/top_level.txt +0 -0
|
@@ -908,30 +908,215 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
908
908
|
|
|
909
909
|
Only available for dedicated subscription plans.
|
|
910
910
|
|
|
911
|
-
##
|
|
911
|
+
## Example Usage
|
|
912
|
+
|
|
913
|
+
<details>
|
|
914
|
+
<summary>
|
|
915
|
+
<b>
|
|
916
|
+
<i>Azure monitor log integration</i>
|
|
917
|
+
</b>
|
|
918
|
+
</summary>
|
|
919
|
+
|
|
920
|
+
```python
|
|
921
|
+
import pulumi
|
|
922
|
+
import pulumi_cloudamqp as cloudamqp
|
|
923
|
+
|
|
924
|
+
azure_monitor = cloudamqp.IntegrationLog("azure_monitor",
|
|
925
|
+
instance_id=instance["id"],
|
|
926
|
+
name="azure_monitor",
|
|
927
|
+
tenant_id=azm_tentant_id,
|
|
928
|
+
application_id=azm_application_id,
|
|
929
|
+
application_secret=azm_application_secret,
|
|
930
|
+
dce_uri=azm_dce_uri,
|
|
931
|
+
table=azm_table,
|
|
932
|
+
dcr_id=azm_dcr_id)
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
</details>
|
|
936
|
+
|
|
937
|
+
<details>
|
|
938
|
+
<summary>
|
|
939
|
+
<b>
|
|
940
|
+
<i>Cloudwatch log integration</i>
|
|
941
|
+
</b>
|
|
942
|
+
</summary>
|
|
943
|
+
|
|
944
|
+
```python
|
|
945
|
+
import pulumi
|
|
946
|
+
import pulumi_cloudamqp as cloudamqp
|
|
947
|
+
|
|
948
|
+
cloudwatch = cloudamqp.IntegrationLog("cloudwatch",
|
|
949
|
+
instance_id=instance["id"],
|
|
950
|
+
name="cloudwatchlog",
|
|
951
|
+
access_key_id=aws_access_key_id,
|
|
952
|
+
secret_access_key=aws_secret_access_key,
|
|
953
|
+
region=aws_region)
|
|
954
|
+
```
|
|
955
|
+
|
|
956
|
+
</details>
|
|
957
|
+
|
|
958
|
+
<details>
|
|
959
|
+
<summary>
|
|
960
|
+
<b>
|
|
961
|
+
<i>Coralogix log integration</i>
|
|
962
|
+
</b>
|
|
963
|
+
</summary>
|
|
964
|
+
|
|
965
|
+
```python
|
|
966
|
+
import pulumi
|
|
967
|
+
import pulumi_cloudamqp as cloudamqp
|
|
968
|
+
|
|
969
|
+
coralogix = cloudamqp.IntegrationLog("coralogix",
|
|
970
|
+
instance_id=instance["id"],
|
|
971
|
+
name="coralogix",
|
|
972
|
+
private_key=coralogix_send_data_key,
|
|
973
|
+
endpoint=coralogix_endpoint,
|
|
974
|
+
application=coralogix_application,
|
|
975
|
+
subsystem=instance["host"])
|
|
976
|
+
```
|
|
977
|
+
|
|
978
|
+
</details>
|
|
979
|
+
|
|
980
|
+
<details>
|
|
981
|
+
<summary>
|
|
982
|
+
<b>
|
|
983
|
+
<i>Datadog log integration</i>
|
|
984
|
+
</b>
|
|
985
|
+
</summary>
|
|
986
|
+
|
|
987
|
+
```python
|
|
988
|
+
import pulumi
|
|
989
|
+
import pulumi_cloudamqp as cloudamqp
|
|
990
|
+
|
|
991
|
+
datadog = cloudamqp.IntegrationLog("datadog",
|
|
992
|
+
instance_id=instance["id"],
|
|
993
|
+
name="datadog",
|
|
994
|
+
region=datadog_region,
|
|
995
|
+
api_key=datadog_api_key,
|
|
996
|
+
tags=datadog_tags)
|
|
997
|
+
```
|
|
912
998
|
|
|
913
|
-
|
|
999
|
+
</details>
|
|
914
1000
|
|
|
915
|
-
|
|
1001
|
+
<details>
|
|
1002
|
+
<summary>
|
|
1003
|
+
<b>
|
|
1004
|
+
<i>Logentries log integration</i>
|
|
1005
|
+
</b>
|
|
1006
|
+
</summary>
|
|
916
1007
|
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
| CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region |
|
|
921
|
-
| Coralogix | coralogix | private_key, endpoint, application, subsystem |
|
|
922
|
-
| Data Dog | datadog | region, api_keys, tags |
|
|
923
|
-
| Log Entries | logentries | token |
|
|
924
|
-
| Loggly | loggly | token |
|
|
925
|
-
| Papertrail | papertrail | url |
|
|
926
|
-
| Scalyr | scalyr | token, host |
|
|
927
|
-
| Splunk | splunk | token, host_port, sourcetype |
|
|
928
|
-
| Stackdriver | stackdriver | credentials |
|
|
1008
|
+
```python
|
|
1009
|
+
import pulumi
|
|
1010
|
+
import pulumi_cloudamqp as cloudamqp
|
|
929
1011
|
|
|
930
|
-
|
|
1012
|
+
logentries = cloudamqp.IntegrationLog("logentries",
|
|
1013
|
+
instance_id=instance["id"],
|
|
1014
|
+
name="logentries",
|
|
1015
|
+
token=logentries_token)
|
|
1016
|
+
```
|
|
1017
|
+
|
|
1018
|
+
</details>
|
|
1019
|
+
|
|
1020
|
+
<details>
|
|
1021
|
+
<summary>
|
|
1022
|
+
<b>
|
|
1023
|
+
<i>Loggly log integration</i>
|
|
1024
|
+
</b>
|
|
1025
|
+
</summary>
|
|
1026
|
+
|
|
1027
|
+
```python
|
|
1028
|
+
import pulumi
|
|
1029
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1030
|
+
|
|
1031
|
+
loggly = cloudamqp.IntegrationLog("loggly",
|
|
1032
|
+
instance_id=instance["id"],
|
|
1033
|
+
name="loggly",
|
|
1034
|
+
token=loggly_token)
|
|
1035
|
+
```
|
|
1036
|
+
</details>
|
|
1037
|
+
|
|
1038
|
+
<details>
|
|
1039
|
+
<summary>
|
|
1040
|
+
<b>
|
|
1041
|
+
<i>Papertrail log integration</i>
|
|
1042
|
+
</b>
|
|
1043
|
+
</summary>
|
|
1044
|
+
|
|
1045
|
+
```python
|
|
1046
|
+
import pulumi
|
|
1047
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1048
|
+
|
|
1049
|
+
papertrail = cloudamqp.IntegrationLog("papertrail",
|
|
1050
|
+
instance_id=instance["id"],
|
|
1051
|
+
name="papertrail",
|
|
1052
|
+
url=papertrail_url)
|
|
1053
|
+
```
|
|
931
1054
|
|
|
932
|
-
|
|
1055
|
+
</details>
|
|
1056
|
+
|
|
1057
|
+
<details>
|
|
1058
|
+
<summary>
|
|
1059
|
+
<b>
|
|
1060
|
+
<i>Scalyr log integration</i>
|
|
1061
|
+
</b>
|
|
1062
|
+
</summary>
|
|
1063
|
+
|
|
1064
|
+
```python
|
|
1065
|
+
import pulumi
|
|
1066
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1067
|
+
|
|
1068
|
+
scalyr = cloudamqp.IntegrationLog("scalyr",
|
|
1069
|
+
instance_id=instance["id"],
|
|
1070
|
+
name="scalyr",
|
|
1071
|
+
token=scalyr_token,
|
|
1072
|
+
host=scalyr_host)
|
|
1073
|
+
```
|
|
1074
|
+
|
|
1075
|
+
<details>
|
|
1076
|
+
<summary>
|
|
1077
|
+
<b>
|
|
1078
|
+
<i>Splunk log integration</i>
|
|
1079
|
+
</b>
|
|
1080
|
+
</summary>
|
|
1081
|
+
|
|
1082
|
+
```python
|
|
1083
|
+
import pulumi
|
|
1084
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1085
|
+
|
|
1086
|
+
splunk = cloudamqp.IntegrationLog("splunk",
|
|
1087
|
+
instance_id=instance["id"],
|
|
1088
|
+
name="splunk",
|
|
1089
|
+
token=splunk_token,
|
|
1090
|
+
host_port=splunk_host_port,
|
|
1091
|
+
source_type="generic_single_line")
|
|
1092
|
+
```
|
|
1093
|
+
|
|
1094
|
+
</details>
|
|
1095
|
+
|
|
1096
|
+
</details>
|
|
1097
|
+
|
|
1098
|
+
<details>
|
|
1099
|
+
<summary>
|
|
1100
|
+
<b>
|
|
1101
|
+
<i>Stackdriver log integration (v1.20.2 or older versions)</i>
|
|
1102
|
+
</b>
|
|
1103
|
+
</summary>
|
|
1104
|
+
|
|
1105
|
+
Use variable file populated with project_id, private_key and client_email
|
|
1106
|
+
|
|
1107
|
+
```python
|
|
1108
|
+
import pulumi
|
|
1109
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1110
|
+
|
|
1111
|
+
stackdriver = cloudamqp.IntegrationLog("stackdriver",
|
|
1112
|
+
instance_id=instance["id"],
|
|
1113
|
+
name="stackdriver",
|
|
1114
|
+
project_id=stackdriver_project_id,
|
|
1115
|
+
private_key=stackdriver_private_key,
|
|
1116
|
+
client_email=stackdriver_client_email)
|
|
1117
|
+
```
|
|
933
1118
|
|
|
934
|
-
|
|
1119
|
+
or by using google_service_account_key resource from Google provider
|
|
935
1120
|
|
|
936
1121
|
## Import
|
|
937
1122
|
|
|
@@ -985,30 +1170,215 @@ class IntegrationLog(pulumi.CustomResource):
|
|
|
985
1170
|
|
|
986
1171
|
Only available for dedicated subscription plans.
|
|
987
1172
|
|
|
988
|
-
##
|
|
1173
|
+
## Example Usage
|
|
1174
|
+
|
|
1175
|
+
<details>
|
|
1176
|
+
<summary>
|
|
1177
|
+
<b>
|
|
1178
|
+
<i>Azure monitor log integration</i>
|
|
1179
|
+
</b>
|
|
1180
|
+
</summary>
|
|
1181
|
+
|
|
1182
|
+
```python
|
|
1183
|
+
import pulumi
|
|
1184
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1185
|
+
|
|
1186
|
+
azure_monitor = cloudamqp.IntegrationLog("azure_monitor",
|
|
1187
|
+
instance_id=instance["id"],
|
|
1188
|
+
name="azure_monitor",
|
|
1189
|
+
tenant_id=azm_tentant_id,
|
|
1190
|
+
application_id=azm_application_id,
|
|
1191
|
+
application_secret=azm_application_secret,
|
|
1192
|
+
dce_uri=azm_dce_uri,
|
|
1193
|
+
table=azm_table,
|
|
1194
|
+
dcr_id=azm_dcr_id)
|
|
1195
|
+
```
|
|
1196
|
+
|
|
1197
|
+
</details>
|
|
1198
|
+
|
|
1199
|
+
<details>
|
|
1200
|
+
<summary>
|
|
1201
|
+
<b>
|
|
1202
|
+
<i>Cloudwatch log integration</i>
|
|
1203
|
+
</b>
|
|
1204
|
+
</summary>
|
|
1205
|
+
|
|
1206
|
+
```python
|
|
1207
|
+
import pulumi
|
|
1208
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1209
|
+
|
|
1210
|
+
cloudwatch = cloudamqp.IntegrationLog("cloudwatch",
|
|
1211
|
+
instance_id=instance["id"],
|
|
1212
|
+
name="cloudwatchlog",
|
|
1213
|
+
access_key_id=aws_access_key_id,
|
|
1214
|
+
secret_access_key=aws_secret_access_key,
|
|
1215
|
+
region=aws_region)
|
|
1216
|
+
```
|
|
1217
|
+
|
|
1218
|
+
</details>
|
|
1219
|
+
|
|
1220
|
+
<details>
|
|
1221
|
+
<summary>
|
|
1222
|
+
<b>
|
|
1223
|
+
<i>Coralogix log integration</i>
|
|
1224
|
+
</b>
|
|
1225
|
+
</summary>
|
|
1226
|
+
|
|
1227
|
+
```python
|
|
1228
|
+
import pulumi
|
|
1229
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1230
|
+
|
|
1231
|
+
coralogix = cloudamqp.IntegrationLog("coralogix",
|
|
1232
|
+
instance_id=instance["id"],
|
|
1233
|
+
name="coralogix",
|
|
1234
|
+
private_key=coralogix_send_data_key,
|
|
1235
|
+
endpoint=coralogix_endpoint,
|
|
1236
|
+
application=coralogix_application,
|
|
1237
|
+
subsystem=instance["host"])
|
|
1238
|
+
```
|
|
1239
|
+
|
|
1240
|
+
</details>
|
|
1241
|
+
|
|
1242
|
+
<details>
|
|
1243
|
+
<summary>
|
|
1244
|
+
<b>
|
|
1245
|
+
<i>Datadog log integration</i>
|
|
1246
|
+
</b>
|
|
1247
|
+
</summary>
|
|
1248
|
+
|
|
1249
|
+
```python
|
|
1250
|
+
import pulumi
|
|
1251
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1252
|
+
|
|
1253
|
+
datadog = cloudamqp.IntegrationLog("datadog",
|
|
1254
|
+
instance_id=instance["id"],
|
|
1255
|
+
name="datadog",
|
|
1256
|
+
region=datadog_region,
|
|
1257
|
+
api_key=datadog_api_key,
|
|
1258
|
+
tags=datadog_tags)
|
|
1259
|
+
```
|
|
989
1260
|
|
|
990
|
-
|
|
1261
|
+
</details>
|
|
991
1262
|
|
|
992
|
-
|
|
1263
|
+
<details>
|
|
1264
|
+
<summary>
|
|
1265
|
+
<b>
|
|
1266
|
+
<i>Logentries log integration</i>
|
|
1267
|
+
</b>
|
|
1268
|
+
</summary>
|
|
993
1269
|
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
| CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region |
|
|
998
|
-
| Coralogix | coralogix | private_key, endpoint, application, subsystem |
|
|
999
|
-
| Data Dog | datadog | region, api_keys, tags |
|
|
1000
|
-
| Log Entries | logentries | token |
|
|
1001
|
-
| Loggly | loggly | token |
|
|
1002
|
-
| Papertrail | papertrail | url |
|
|
1003
|
-
| Scalyr | scalyr | token, host |
|
|
1004
|
-
| Splunk | splunk | token, host_port, sourcetype |
|
|
1005
|
-
| Stackdriver | stackdriver | credentials |
|
|
1270
|
+
```python
|
|
1271
|
+
import pulumi
|
|
1272
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1006
1273
|
|
|
1007
|
-
|
|
1274
|
+
logentries = cloudamqp.IntegrationLog("logentries",
|
|
1275
|
+
instance_id=instance["id"],
|
|
1276
|
+
name="logentries",
|
|
1277
|
+
token=logentries_token)
|
|
1278
|
+
```
|
|
1279
|
+
|
|
1280
|
+
</details>
|
|
1281
|
+
|
|
1282
|
+
<details>
|
|
1283
|
+
<summary>
|
|
1284
|
+
<b>
|
|
1285
|
+
<i>Loggly log integration</i>
|
|
1286
|
+
</b>
|
|
1287
|
+
</summary>
|
|
1288
|
+
|
|
1289
|
+
```python
|
|
1290
|
+
import pulumi
|
|
1291
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1292
|
+
|
|
1293
|
+
loggly = cloudamqp.IntegrationLog("loggly",
|
|
1294
|
+
instance_id=instance["id"],
|
|
1295
|
+
name="loggly",
|
|
1296
|
+
token=loggly_token)
|
|
1297
|
+
```
|
|
1298
|
+
</details>
|
|
1299
|
+
|
|
1300
|
+
<details>
|
|
1301
|
+
<summary>
|
|
1302
|
+
<b>
|
|
1303
|
+
<i>Papertrail log integration</i>
|
|
1304
|
+
</b>
|
|
1305
|
+
</summary>
|
|
1306
|
+
|
|
1307
|
+
```python
|
|
1308
|
+
import pulumi
|
|
1309
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1310
|
+
|
|
1311
|
+
papertrail = cloudamqp.IntegrationLog("papertrail",
|
|
1312
|
+
instance_id=instance["id"],
|
|
1313
|
+
name="papertrail",
|
|
1314
|
+
url=papertrail_url)
|
|
1315
|
+
```
|
|
1008
1316
|
|
|
1009
|
-
|
|
1317
|
+
</details>
|
|
1318
|
+
|
|
1319
|
+
<details>
|
|
1320
|
+
<summary>
|
|
1321
|
+
<b>
|
|
1322
|
+
<i>Scalyr log integration</i>
|
|
1323
|
+
</b>
|
|
1324
|
+
</summary>
|
|
1325
|
+
|
|
1326
|
+
```python
|
|
1327
|
+
import pulumi
|
|
1328
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1329
|
+
|
|
1330
|
+
scalyr = cloudamqp.IntegrationLog("scalyr",
|
|
1331
|
+
instance_id=instance["id"],
|
|
1332
|
+
name="scalyr",
|
|
1333
|
+
token=scalyr_token,
|
|
1334
|
+
host=scalyr_host)
|
|
1335
|
+
```
|
|
1336
|
+
|
|
1337
|
+
<details>
|
|
1338
|
+
<summary>
|
|
1339
|
+
<b>
|
|
1340
|
+
<i>Splunk log integration</i>
|
|
1341
|
+
</b>
|
|
1342
|
+
</summary>
|
|
1343
|
+
|
|
1344
|
+
```python
|
|
1345
|
+
import pulumi
|
|
1346
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1347
|
+
|
|
1348
|
+
splunk = cloudamqp.IntegrationLog("splunk",
|
|
1349
|
+
instance_id=instance["id"],
|
|
1350
|
+
name="splunk",
|
|
1351
|
+
token=splunk_token,
|
|
1352
|
+
host_port=splunk_host_port,
|
|
1353
|
+
source_type="generic_single_line")
|
|
1354
|
+
```
|
|
1355
|
+
|
|
1356
|
+
</details>
|
|
1357
|
+
|
|
1358
|
+
</details>
|
|
1359
|
+
|
|
1360
|
+
<details>
|
|
1361
|
+
<summary>
|
|
1362
|
+
<b>
|
|
1363
|
+
<i>Stackdriver log integration (v1.20.2 or older versions)</i>
|
|
1364
|
+
</b>
|
|
1365
|
+
</summary>
|
|
1366
|
+
|
|
1367
|
+
Use variable file populated with project_id, private_key and client_email
|
|
1368
|
+
|
|
1369
|
+
```python
|
|
1370
|
+
import pulumi
|
|
1371
|
+
import pulumi_cloudamqp as cloudamqp
|
|
1372
|
+
|
|
1373
|
+
stackdriver = cloudamqp.IntegrationLog("stackdriver",
|
|
1374
|
+
instance_id=instance["id"],
|
|
1375
|
+
name="stackdriver",
|
|
1376
|
+
project_id=stackdriver_project_id,
|
|
1377
|
+
private_key=stackdriver_private_key,
|
|
1378
|
+
client_email=stackdriver_client_email)
|
|
1379
|
+
```
|
|
1010
1380
|
|
|
1011
|
-
|
|
1381
|
+
or by using google_service_account_key resource from Google provider
|
|
1012
1382
|
|
|
1013
1383
|
## Import
|
|
1014
1384
|
|
pulumi_cloudamqp/node_actions.py
CHANGED
|
@@ -164,8 +164,8 @@ class NodeActions(pulumi.CustomResource):
|
|
|
164
164
|
import pulumi_cloudamqp as cloudamqp
|
|
165
165
|
|
|
166
166
|
# New recipient to receieve notifications
|
|
167
|
-
node_action = cloudamqp.NodeActions("
|
|
168
|
-
instance_id=
|
|
167
|
+
node_action = cloudamqp.NodeActions("node_action",
|
|
168
|
+
instance_id=instance["id"],
|
|
169
169
|
node_name="<node name>",
|
|
170
170
|
action="restart")
|
|
171
171
|
```
|
|
@@ -185,18 +185,18 @@ class NodeActions(pulumi.CustomResource):
|
|
|
185
185
|
import pulumi
|
|
186
186
|
import pulumi_cloudamqp as cloudamqp
|
|
187
187
|
|
|
188
|
-
list_nodes = cloudamqp.get_nodes(instance_id=
|
|
189
|
-
restart01 = cloudamqp.NodeActions("
|
|
190
|
-
instance_id=
|
|
188
|
+
list_nodes = cloudamqp.get_nodes(instance_id=instance["id"])
|
|
189
|
+
restart01 = cloudamqp.NodeActions("restart_01",
|
|
190
|
+
instance_id=instance["id"],
|
|
191
191
|
action="restart",
|
|
192
192
|
node_name=list_nodes.nodes[0].name)
|
|
193
|
-
restart02 = cloudamqp.NodeActions("
|
|
194
|
-
instance_id=
|
|
193
|
+
restart02 = cloudamqp.NodeActions("restart_02",
|
|
194
|
+
instance_id=instance["id"],
|
|
195
195
|
action="restart",
|
|
196
196
|
node_name=list_nodes.nodes[1].name,
|
|
197
197
|
opts=pulumi.ResourceOptions(depends_on=[restart01]))
|
|
198
|
-
restart03 = cloudamqp.NodeActions("
|
|
199
|
-
instance_id=
|
|
198
|
+
restart03 = cloudamqp.NodeActions("restart_03",
|
|
199
|
+
instance_id=instance["id"],
|
|
200
200
|
action="restart",
|
|
201
201
|
node_name=list_nodes.nodes[2].name,
|
|
202
202
|
opts=pulumi.ResourceOptions(depends_on=[
|
|
@@ -217,25 +217,25 @@ class NodeActions(pulumi.CustomResource):
|
|
|
217
217
|
import pulumi
|
|
218
218
|
import pulumi_cloudamqp as cloudamqp
|
|
219
219
|
|
|
220
|
-
list_nodes = cloudamqp.get_nodes(instance_id=
|
|
221
|
-
rabbitmq_config = cloudamqp.RabbitConfiguration("
|
|
222
|
-
instance_id=
|
|
220
|
+
list_nodes = cloudamqp.get_nodes(instance_id=instance["id"])
|
|
221
|
+
rabbitmq_config = cloudamqp.RabbitConfiguration("rabbitmq_config",
|
|
222
|
+
instance_id=instance["id"],
|
|
223
223
|
log_exchange_level="info")
|
|
224
|
-
restart01 = cloudamqp.NodeActions("
|
|
225
|
-
instance_id=
|
|
224
|
+
restart01 = cloudamqp.NodeActions("restart_01",
|
|
225
|
+
instance_id=instance["id"],
|
|
226
226
|
action="restart",
|
|
227
227
|
node_name=list_nodes.nodes[0].name,
|
|
228
228
|
opts=pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
|
|
229
|
-
restart02 = cloudamqp.NodeActions("
|
|
230
|
-
instance_id=
|
|
229
|
+
restart02 = cloudamqp.NodeActions("restart_02",
|
|
230
|
+
instance_id=instance["id"],
|
|
231
231
|
action="restart",
|
|
232
232
|
node_name=list_nodes.nodes[1].name,
|
|
233
233
|
opts=pulumi.ResourceOptions(depends_on=[
|
|
234
234
|
rabbitmq_config,
|
|
235
235
|
restart01,
|
|
236
236
|
]))
|
|
237
|
-
restart03 = cloudamqp.NodeActions("
|
|
238
|
-
instance_id=
|
|
237
|
+
restart03 = cloudamqp.NodeActions("restart_03",
|
|
238
|
+
instance_id=instance["id"],
|
|
239
239
|
action="restart",
|
|
240
240
|
node_name=list_nodes.nodes[2].name,
|
|
241
241
|
opts=pulumi.ResourceOptions(depends_on=[
|
|
@@ -245,6 +245,7 @@ class NodeActions(pulumi.CustomResource):
|
|
|
245
245
|
]))
|
|
246
246
|
```
|
|
247
247
|
</details>
|
|
248
|
+
|
|
248
249
|
## Action reference
|
|
249
250
|
|
|
250
251
|
Valid options for action.
|
|
@@ -296,8 +297,8 @@ class NodeActions(pulumi.CustomResource):
|
|
|
296
297
|
import pulumi_cloudamqp as cloudamqp
|
|
297
298
|
|
|
298
299
|
# New recipient to receieve notifications
|
|
299
|
-
node_action = cloudamqp.NodeActions("
|
|
300
|
-
instance_id=
|
|
300
|
+
node_action = cloudamqp.NodeActions("node_action",
|
|
301
|
+
instance_id=instance["id"],
|
|
301
302
|
node_name="<node name>",
|
|
302
303
|
action="restart")
|
|
303
304
|
```
|
|
@@ -317,18 +318,18 @@ class NodeActions(pulumi.CustomResource):
|
|
|
317
318
|
import pulumi
|
|
318
319
|
import pulumi_cloudamqp as cloudamqp
|
|
319
320
|
|
|
320
|
-
list_nodes = cloudamqp.get_nodes(instance_id=
|
|
321
|
-
restart01 = cloudamqp.NodeActions("
|
|
322
|
-
instance_id=
|
|
321
|
+
list_nodes = cloudamqp.get_nodes(instance_id=instance["id"])
|
|
322
|
+
restart01 = cloudamqp.NodeActions("restart_01",
|
|
323
|
+
instance_id=instance["id"],
|
|
323
324
|
action="restart",
|
|
324
325
|
node_name=list_nodes.nodes[0].name)
|
|
325
|
-
restart02 = cloudamqp.NodeActions("
|
|
326
|
-
instance_id=
|
|
326
|
+
restart02 = cloudamqp.NodeActions("restart_02",
|
|
327
|
+
instance_id=instance["id"],
|
|
327
328
|
action="restart",
|
|
328
329
|
node_name=list_nodes.nodes[1].name,
|
|
329
330
|
opts=pulumi.ResourceOptions(depends_on=[restart01]))
|
|
330
|
-
restart03 = cloudamqp.NodeActions("
|
|
331
|
-
instance_id=
|
|
331
|
+
restart03 = cloudamqp.NodeActions("restart_03",
|
|
332
|
+
instance_id=instance["id"],
|
|
332
333
|
action="restart",
|
|
333
334
|
node_name=list_nodes.nodes[2].name,
|
|
334
335
|
opts=pulumi.ResourceOptions(depends_on=[
|
|
@@ -349,25 +350,25 @@ class NodeActions(pulumi.CustomResource):
|
|
|
349
350
|
import pulumi
|
|
350
351
|
import pulumi_cloudamqp as cloudamqp
|
|
351
352
|
|
|
352
|
-
list_nodes = cloudamqp.get_nodes(instance_id=
|
|
353
|
-
rabbitmq_config = cloudamqp.RabbitConfiguration("
|
|
354
|
-
instance_id=
|
|
353
|
+
list_nodes = cloudamqp.get_nodes(instance_id=instance["id"])
|
|
354
|
+
rabbitmq_config = cloudamqp.RabbitConfiguration("rabbitmq_config",
|
|
355
|
+
instance_id=instance["id"],
|
|
355
356
|
log_exchange_level="info")
|
|
356
|
-
restart01 = cloudamqp.NodeActions("
|
|
357
|
-
instance_id=
|
|
357
|
+
restart01 = cloudamqp.NodeActions("restart_01",
|
|
358
|
+
instance_id=instance["id"],
|
|
358
359
|
action="restart",
|
|
359
360
|
node_name=list_nodes.nodes[0].name,
|
|
360
361
|
opts=pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
|
|
361
|
-
restart02 = cloudamqp.NodeActions("
|
|
362
|
-
instance_id=
|
|
362
|
+
restart02 = cloudamqp.NodeActions("restart_02",
|
|
363
|
+
instance_id=instance["id"],
|
|
363
364
|
action="restart",
|
|
364
365
|
node_name=list_nodes.nodes[1].name,
|
|
365
366
|
opts=pulumi.ResourceOptions(depends_on=[
|
|
366
367
|
rabbitmq_config,
|
|
367
368
|
restart01,
|
|
368
369
|
]))
|
|
369
|
-
restart03 = cloudamqp.NodeActions("
|
|
370
|
-
instance_id=
|
|
370
|
+
restart03 = cloudamqp.NodeActions("restart_03",
|
|
371
|
+
instance_id=instance["id"],
|
|
371
372
|
action="restart",
|
|
372
373
|
node_name=list_nodes.nodes[2].name,
|
|
373
374
|
opts=pulumi.ResourceOptions(depends_on=[
|
|
@@ -377,6 +378,7 @@ class NodeActions(pulumi.CustomResource):
|
|
|
377
378
|
]))
|
|
378
379
|
```
|
|
379
380
|
</details>
|
|
381
|
+
|
|
380
382
|
## Action reference
|
|
381
383
|
|
|
382
384
|
Valid options for action.
|