pulumi-cloudamqp 3.18.0a1709359306__py3-none-any.whl → 3.18.0a1710914595__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.

Files changed (33) hide show
  1. pulumi_cloudamqp/alarm.py +6 -0
  2. pulumi_cloudamqp/custom_domain.py +6 -0
  3. pulumi_cloudamqp/extra_disk_size.py +18 -0
  4. pulumi_cloudamqp/get_account.py +6 -0
  5. pulumi_cloudamqp/get_account_vpcs.py +6 -0
  6. pulumi_cloudamqp/get_alarm.py +6 -0
  7. pulumi_cloudamqp/get_credentials.py +6 -0
  8. pulumi_cloudamqp/get_instance.py +0 -42
  9. pulumi_cloudamqp/get_nodes.py +6 -0
  10. pulumi_cloudamqp/get_notification.py +6 -0
  11. pulumi_cloudamqp/get_plugins.py +6 -0
  12. pulumi_cloudamqp/get_plugins_community.py +6 -0
  13. pulumi_cloudamqp/get_upgradable_versions.py +6 -0
  14. pulumi_cloudamqp/get_vpc_gcp_info.py +10 -0
  15. pulumi_cloudamqp/get_vpc_info.py +10 -0
  16. pulumi_cloudamqp/instance.py +36 -2
  17. pulumi_cloudamqp/integration_aws_eventbridge.py +6 -0
  18. pulumi_cloudamqp/integration_log.py +426 -36
  19. pulumi_cloudamqp/node_actions.py +14 -0
  20. pulumi_cloudamqp/notification.py +34 -4
  21. pulumi_cloudamqp/plugin_community.py +2 -2
  22. pulumi_cloudamqp/privatelink_aws.py +22 -2
  23. pulumi_cloudamqp/privatelink_azure.py +22 -2
  24. pulumi_cloudamqp/upgrade_rabbitmq.py +12 -0
  25. pulumi_cloudamqp/vpc.py +8 -4
  26. pulumi_cloudamqp/vpc_connect.py +30 -2
  27. pulumi_cloudamqp/vpc_gcp_peering.py +86 -0
  28. pulumi_cloudamqp/webhook.py +6 -0
  29. {pulumi_cloudamqp-3.18.0a1709359306.dist-info → pulumi_cloudamqp-3.18.0a1710914595.dist-info}/METADATA +1 -1
  30. pulumi_cloudamqp-3.18.0a1710914595.dist-info/RECORD +48 -0
  31. {pulumi_cloudamqp-3.18.0a1709359306.dist-info → pulumi_cloudamqp-3.18.0a1710914595.dist-info}/WHEEL +1 -1
  32. pulumi_cloudamqp-3.18.0a1709359306.dist-info/RECORD +0 -48
  33. {pulumi_cloudamqp-3.18.0a1709359306.dist-info → pulumi_cloudamqp-3.18.0a1710914595.dist-info}/top_level.txt +0 -0
@@ -264,6 +264,7 @@ class Notification(pulumi.CustomResource):
264
264
  <b>Email recipient</b>
265
265
  </summary>
266
266
 
267
+ <!--Start PulumiCodeChooser -->
267
268
  ```python
268
269
  import pulumi
269
270
  import pulumi_cloudamqp as cloudamqp
@@ -273,6 +274,7 @@ class Notification(pulumi.CustomResource):
273
274
  type="email",
274
275
  value="alarm@example.com")
275
276
  ```
277
+ <!--End PulumiCodeChooser -->
276
278
 
277
279
  </details>
278
280
 
@@ -281,6 +283,7 @@ class Notification(pulumi.CustomResource):
281
283
  <b>OpsGenie recipient with optional responders</b>
282
284
  </summary>
283
285
 
286
+ <!--Start PulumiCodeChooser -->
284
287
  ```python
285
288
  import pulumi
286
289
  import pulumi_cloudamqp as cloudamqp
@@ -300,6 +303,7 @@ class Notification(pulumi.CustomResource):
300
303
  ),
301
304
  ])
302
305
  ```
306
+ <!--End PulumiCodeChooser -->
303
307
 
304
308
  </details>
305
309
 
@@ -308,6 +312,7 @@ class Notification(pulumi.CustomResource):
308
312
  <b>Pagerduty recipient with optional dedup key</b>
309
313
  </summary>
310
314
 
315
+ <!--Start PulumiCodeChooser -->
311
316
  ```python
312
317
  import pulumi
313
318
  import pulumi_cloudamqp as cloudamqp
@@ -320,6 +325,7 @@ class Notification(pulumi.CustomResource):
320
325
  "dedupkey": "DEDUPKEY",
321
326
  })
322
327
  ```
328
+ <!--End PulumiCodeChooser -->
323
329
 
324
330
  </details>
325
331
 
@@ -328,6 +334,7 @@ class Notification(pulumi.CustomResource):
328
334
  <b>Signl4 recipient</b>
329
335
  </summary>
330
336
 
337
+ <!--Start PulumiCodeChooser -->
331
338
  ```python
332
339
  import pulumi
333
340
  import pulumi_cloudamqp as cloudamqp
@@ -337,6 +344,7 @@ class Notification(pulumi.CustomResource):
337
344
  type="signl4",
338
345
  value="<team-secret>")
339
346
  ```
347
+ <!--End PulumiCodeChooser -->
340
348
 
341
349
  </details>
342
350
 
@@ -345,6 +353,7 @@ class Notification(pulumi.CustomResource):
345
353
  <b>Teams recipient</b>
346
354
  </summary>
347
355
 
356
+ <!--Start PulumiCodeChooser -->
348
357
  ```python
349
358
  import pulumi
350
359
  import pulumi_cloudamqp as cloudamqp
@@ -354,6 +363,7 @@ class Notification(pulumi.CustomResource):
354
363
  type="teams",
355
364
  value="<teams-webhook-url>")
356
365
  ```
366
+ <!--End PulumiCodeChooser -->
357
367
 
358
368
  </details>
359
369
 
@@ -362,6 +372,7 @@ class Notification(pulumi.CustomResource):
362
372
  <b>Victorops recipient with optional routing key (rk)</b>
363
373
  </summary>
364
374
 
375
+ <!--Start PulumiCodeChooser -->
365
376
  ```python
366
377
  import pulumi
367
378
  import pulumi_cloudamqp as cloudamqp
@@ -374,6 +385,7 @@ class Notification(pulumi.CustomResource):
374
385
  "rk": "ROUTINGKEY",
375
386
  })
376
387
  ```
388
+ <!--End PulumiCodeChooser -->
377
389
 
378
390
  </details>
379
391
 
@@ -382,6 +394,7 @@ class Notification(pulumi.CustomResource):
382
394
  <b>Webhook recipient</b>
383
395
  </summary>
384
396
 
397
+ <!--Start PulumiCodeChooser -->
385
398
  ```python
386
399
  import pulumi
387
400
  import pulumi_cloudamqp as cloudamqp
@@ -391,8 +404,10 @@ class Notification(pulumi.CustomResource):
391
404
  type="webhook",
392
405
  value="<webhook-url>")
393
406
  ```
407
+ <!--End PulumiCodeChooser -->
394
408
 
395
409
  </details>
410
+
396
411
  ## Notification Type reference
397
412
 
398
413
  Valid options for notification type.
@@ -422,9 +437,9 @@ class Notification(pulumi.CustomResource):
422
437
 
423
438
  `cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together
424
439
 
425
- (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
440
+ (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
426
441
 
427
- [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
442
+ [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
428
443
 
429
444
  ```sh
430
445
  $ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
@@ -464,6 +479,7 @@ class Notification(pulumi.CustomResource):
464
479
  <b>Email recipient</b>
465
480
  </summary>
466
481
 
482
+ <!--Start PulumiCodeChooser -->
467
483
  ```python
468
484
  import pulumi
469
485
  import pulumi_cloudamqp as cloudamqp
@@ -473,6 +489,7 @@ class Notification(pulumi.CustomResource):
473
489
  type="email",
474
490
  value="alarm@example.com")
475
491
  ```
492
+ <!--End PulumiCodeChooser -->
476
493
 
477
494
  </details>
478
495
 
@@ -481,6 +498,7 @@ class Notification(pulumi.CustomResource):
481
498
  <b>OpsGenie recipient with optional responders</b>
482
499
  </summary>
483
500
 
501
+ <!--Start PulumiCodeChooser -->
484
502
  ```python
485
503
  import pulumi
486
504
  import pulumi_cloudamqp as cloudamqp
@@ -500,6 +518,7 @@ class Notification(pulumi.CustomResource):
500
518
  ),
501
519
  ])
502
520
  ```
521
+ <!--End PulumiCodeChooser -->
503
522
 
504
523
  </details>
505
524
 
@@ -508,6 +527,7 @@ class Notification(pulumi.CustomResource):
508
527
  <b>Pagerduty recipient with optional dedup key</b>
509
528
  </summary>
510
529
 
530
+ <!--Start PulumiCodeChooser -->
511
531
  ```python
512
532
  import pulumi
513
533
  import pulumi_cloudamqp as cloudamqp
@@ -520,6 +540,7 @@ class Notification(pulumi.CustomResource):
520
540
  "dedupkey": "DEDUPKEY",
521
541
  })
522
542
  ```
543
+ <!--End PulumiCodeChooser -->
523
544
 
524
545
  </details>
525
546
 
@@ -528,6 +549,7 @@ class Notification(pulumi.CustomResource):
528
549
  <b>Signl4 recipient</b>
529
550
  </summary>
530
551
 
552
+ <!--Start PulumiCodeChooser -->
531
553
  ```python
532
554
  import pulumi
533
555
  import pulumi_cloudamqp as cloudamqp
@@ -537,6 +559,7 @@ class Notification(pulumi.CustomResource):
537
559
  type="signl4",
538
560
  value="<team-secret>")
539
561
  ```
562
+ <!--End PulumiCodeChooser -->
540
563
 
541
564
  </details>
542
565
 
@@ -545,6 +568,7 @@ class Notification(pulumi.CustomResource):
545
568
  <b>Teams recipient</b>
546
569
  </summary>
547
570
 
571
+ <!--Start PulumiCodeChooser -->
548
572
  ```python
549
573
  import pulumi
550
574
  import pulumi_cloudamqp as cloudamqp
@@ -554,6 +578,7 @@ class Notification(pulumi.CustomResource):
554
578
  type="teams",
555
579
  value="<teams-webhook-url>")
556
580
  ```
581
+ <!--End PulumiCodeChooser -->
557
582
 
558
583
  </details>
559
584
 
@@ -562,6 +587,7 @@ class Notification(pulumi.CustomResource):
562
587
  <b>Victorops recipient with optional routing key (rk)</b>
563
588
  </summary>
564
589
 
590
+ <!--Start PulumiCodeChooser -->
565
591
  ```python
566
592
  import pulumi
567
593
  import pulumi_cloudamqp as cloudamqp
@@ -574,6 +600,7 @@ class Notification(pulumi.CustomResource):
574
600
  "rk": "ROUTINGKEY",
575
601
  })
576
602
  ```
603
+ <!--End PulumiCodeChooser -->
577
604
 
578
605
  </details>
579
606
 
@@ -582,6 +609,7 @@ class Notification(pulumi.CustomResource):
582
609
  <b>Webhook recipient</b>
583
610
  </summary>
584
611
 
612
+ <!--Start PulumiCodeChooser -->
585
613
  ```python
586
614
  import pulumi
587
615
  import pulumi_cloudamqp as cloudamqp
@@ -591,8 +619,10 @@ class Notification(pulumi.CustomResource):
591
619
  type="webhook",
592
620
  value="<webhook-url>")
593
621
  ```
622
+ <!--End PulumiCodeChooser -->
594
623
 
595
624
  </details>
625
+
596
626
  ## Notification Type reference
597
627
 
598
628
  Valid options for notification type.
@@ -622,9 +652,9 @@ class Notification(pulumi.CustomResource):
622
652
 
623
653
  `cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together
624
654
 
625
- (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
655
+ (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
626
656
 
627
- [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
657
+ [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
628
658
 
629
659
  ```sh
630
660
  $ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
@@ -233,7 +233,7 @@ class PluginCommunity(pulumi.CustomResource):
233
233
 
234
234
  `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP
235
235
 
236
- instance identifier. The name and identifier are CSV separated, see example below.
236
+ instance identifier. The name and identifier are CSV separated, see example below.
237
237
 
238
238
  ```sh
239
239
  $ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
@@ -258,7 +258,7 @@ class PluginCommunity(pulumi.CustomResource):
258
258
 
259
259
  `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP
260
260
 
261
- instance identifier. The name and identifier are CSV separated, see example below.
261
+ instance identifier. The name and identifier are CSV separated, see example below.
262
262
 
263
263
  ```sh
264
264
  $ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
@@ -249,9 +249,11 @@ class PrivatelinkAws(pulumi.CustomResource):
249
249
  <i>Default PrivateLink firewall rule</i>
250
250
  </summary>
251
251
 
252
+ <!--Start PulumiCodeChooser -->
252
253
  ```python
253
254
  import pulumi
254
255
  ```
256
+ <!--End PulumiCodeChooser -->
255
257
 
256
258
  </details>
257
259
 
@@ -273,6 +275,7 @@ class PrivatelinkAws(pulumi.CustomResource):
273
275
  </b>
274
276
  </summary>
275
277
 
278
+ <!--Start PulumiCodeChooser -->
276
279
  ```python
277
280
  import pulumi
278
281
  import pulumi_cloudamqp as cloudamqp
@@ -285,6 +288,7 @@ class PrivatelinkAws(pulumi.CustomResource):
285
288
  instance_id=instance.id,
286
289
  allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
287
290
  ```
291
+ <!--End PulumiCodeChooser -->
288
292
 
289
293
  </details>
290
294
 
@@ -295,6 +299,7 @@ class PrivatelinkAws(pulumi.CustomResource):
295
299
  </b>
296
300
  </summary>
297
301
 
302
+ <!--Start PulumiCodeChooser -->
298
303
  ```python
299
304
  import pulumi
300
305
  import pulumi_cloudamqp as cloudamqp
@@ -313,8 +318,10 @@ class PrivatelinkAws(pulumi.CustomResource):
313
318
  instance_id=instance.id,
314
319
  allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
315
320
  ```
321
+ <!--End PulumiCodeChooser -->
316
322
 
317
323
  </details>
324
+
318
325
  ### With Additional Firewall Rules
319
326
 
320
327
  <details>
@@ -324,6 +331,7 @@ class PrivatelinkAws(pulumi.CustomResource):
324
331
  </b>
325
332
  </summary>
326
333
 
334
+ <!--Start PulumiCodeChooser -->
327
335
  ```python
328
336
  import pulumi
329
337
  import pulumi_cloudamqp as cloudamqp
@@ -365,8 +373,10 @@ class PrivatelinkAws(pulumi.CustomResource):
365
373
  ],
366
374
  opts=pulumi.ResourceOptions(depends_on=[privatelink]))
367
375
  ```
376
+ <!--End PulumiCodeChooser -->
368
377
 
369
378
  </details>
379
+
370
380
  ## Depedency
371
381
 
372
382
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -388,7 +398,7 @@ class PrivatelinkAws(pulumi.CustomResource):
388
398
  $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
389
399
  ```
390
400
 
391
- The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
401
+ The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
392
402
 
393
403
  :param str resource_name: The name of the resource.
394
404
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -420,9 +430,11 @@ class PrivatelinkAws(pulumi.CustomResource):
420
430
  <i>Default PrivateLink firewall rule</i>
421
431
  </summary>
422
432
 
433
+ <!--Start PulumiCodeChooser -->
423
434
  ```python
424
435
  import pulumi
425
436
  ```
437
+ <!--End PulumiCodeChooser -->
426
438
 
427
439
  </details>
428
440
 
@@ -444,6 +456,7 @@ class PrivatelinkAws(pulumi.CustomResource):
444
456
  </b>
445
457
  </summary>
446
458
 
459
+ <!--Start PulumiCodeChooser -->
447
460
  ```python
448
461
  import pulumi
449
462
  import pulumi_cloudamqp as cloudamqp
@@ -456,6 +469,7 @@ class PrivatelinkAws(pulumi.CustomResource):
456
469
  instance_id=instance.id,
457
470
  allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
458
471
  ```
472
+ <!--End PulumiCodeChooser -->
459
473
 
460
474
  </details>
461
475
 
@@ -466,6 +480,7 @@ class PrivatelinkAws(pulumi.CustomResource):
466
480
  </b>
467
481
  </summary>
468
482
 
483
+ <!--Start PulumiCodeChooser -->
469
484
  ```python
470
485
  import pulumi
471
486
  import pulumi_cloudamqp as cloudamqp
@@ -484,8 +499,10 @@ class PrivatelinkAws(pulumi.CustomResource):
484
499
  instance_id=instance.id,
485
500
  allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
486
501
  ```
502
+ <!--End PulumiCodeChooser -->
487
503
 
488
504
  </details>
505
+
489
506
  ### With Additional Firewall Rules
490
507
 
491
508
  <details>
@@ -495,6 +512,7 @@ class PrivatelinkAws(pulumi.CustomResource):
495
512
  </b>
496
513
  </summary>
497
514
 
515
+ <!--Start PulumiCodeChooser -->
498
516
  ```python
499
517
  import pulumi
500
518
  import pulumi_cloudamqp as cloudamqp
@@ -536,8 +554,10 @@ class PrivatelinkAws(pulumi.CustomResource):
536
554
  ],
537
555
  opts=pulumi.ResourceOptions(depends_on=[privatelink]))
538
556
  ```
557
+ <!--End PulumiCodeChooser -->
539
558
 
540
559
  </details>
560
+
541
561
  ## Depedency
542
562
 
543
563
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -559,7 +579,7 @@ class PrivatelinkAws(pulumi.CustomResource):
559
579
  $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
560
580
  ```
561
581
 
562
- The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
582
+ The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
563
583
 
564
584
  :param str resource_name: The name of the resource.
565
585
  :param PrivatelinkAwsArgs args: The arguments to use to populate this resource's properties.
@@ -246,9 +246,11 @@ class PrivatelinkAzure(pulumi.CustomResource):
246
246
  <i>Default PrivateLink firewall rule</i>
247
247
  </summary>
248
248
 
249
+ <!--Start PulumiCodeChooser -->
249
250
  ```python
250
251
  import pulumi
251
252
  ```
253
+ <!--End PulumiCodeChooser -->
252
254
 
253
255
  </details>
254
256
 
@@ -270,6 +272,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
270
272
  </b>
271
273
  </summary>
272
274
 
275
+ <!--Start PulumiCodeChooser -->
273
276
  ```python
274
277
  import pulumi
275
278
  import pulumi_cloudamqp as cloudamqp
@@ -282,6 +285,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
282
285
  instance_id=instance.id,
283
286
  approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
284
287
  ```
288
+ <!--End PulumiCodeChooser -->
285
289
  </details>
286
290
 
287
291
  <details>
@@ -291,6 +295,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
291
295
  </b>
292
296
  </summary>
293
297
 
298
+ <!--Start PulumiCodeChooser -->
294
299
  ```python
295
300
  import pulumi
296
301
  import pulumi_cloudamqp as cloudamqp
@@ -309,8 +314,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
309
314
  instance_id=instance.id,
310
315
  approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
311
316
  ```
317
+ <!--End PulumiCodeChooser -->
312
318
 
313
319
  </details>
320
+
314
321
  ### With Additional Firewall Rules
315
322
 
316
323
  <details>
@@ -320,6 +327,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
320
327
  </b>
321
328
  </summary>
322
329
 
330
+ <!--Start PulumiCodeChooser -->
323
331
  ```python
324
332
  import pulumi
325
333
  import pulumi_cloudamqp as cloudamqp
@@ -361,8 +369,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
361
369
  ],
362
370
  opts=pulumi.ResourceOptions(depends_on=[privatelink]))
363
371
  ```
372
+ <!--End PulumiCodeChooser -->
364
373
 
365
374
  </details>
375
+
366
376
  ## Depedency
367
377
 
368
378
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -384,7 +394,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
384
394
  $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
385
395
  ```
386
396
 
387
- The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
397
+ The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
388
398
 
389
399
  :param str resource_name: The name of the resource.
390
400
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -416,9 +426,11 @@ class PrivatelinkAzure(pulumi.CustomResource):
416
426
  <i>Default PrivateLink firewall rule</i>
417
427
  </summary>
418
428
 
429
+ <!--Start PulumiCodeChooser -->
419
430
  ```python
420
431
  import pulumi
421
432
  ```
433
+ <!--End PulumiCodeChooser -->
422
434
 
423
435
  </details>
424
436
 
@@ -440,6 +452,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
440
452
  </b>
441
453
  </summary>
442
454
 
455
+ <!--Start PulumiCodeChooser -->
443
456
  ```python
444
457
  import pulumi
445
458
  import pulumi_cloudamqp as cloudamqp
@@ -452,6 +465,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
452
465
  instance_id=instance.id,
453
466
  approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
454
467
  ```
468
+ <!--End PulumiCodeChooser -->
455
469
  </details>
456
470
 
457
471
  <details>
@@ -461,6 +475,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
461
475
  </b>
462
476
  </summary>
463
477
 
478
+ <!--Start PulumiCodeChooser -->
464
479
  ```python
465
480
  import pulumi
466
481
  import pulumi_cloudamqp as cloudamqp
@@ -479,8 +494,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
479
494
  instance_id=instance.id,
480
495
  approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
481
496
  ```
497
+ <!--End PulumiCodeChooser -->
482
498
 
483
499
  </details>
500
+
484
501
  ### With Additional Firewall Rules
485
502
 
486
503
  <details>
@@ -490,6 +507,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
490
507
  </b>
491
508
  </summary>
492
509
 
510
+ <!--Start PulumiCodeChooser -->
493
511
  ```python
494
512
  import pulumi
495
513
  import pulumi_cloudamqp as cloudamqp
@@ -531,8 +549,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
531
549
  ],
532
550
  opts=pulumi.ResourceOptions(depends_on=[privatelink]))
533
551
  ```
552
+ <!--End PulumiCodeChooser -->
534
553
 
535
554
  </details>
555
+
536
556
  ## Depedency
537
557
 
538
558
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -554,7 +574,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
554
574
  $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
555
575
  ```
556
576
 
557
- The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
577
+ The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
558
578
 
559
579
  :param str resource_name: The name of the resource.
560
580
  :param PrivatelinkAzureArgs args: The arguments to use to populate this resource's properties.
@@ -79,6 +79,7 @@ class UpgradeRabbitmq(pulumi.CustomResource):
79
79
 
80
80
  ## Example Usage
81
81
 
82
+ <!--Start PulumiCodeChooser -->
82
83
  ```python
83
84
  import pulumi
84
85
  import pulumi_cloudamqp as cloudamqp
@@ -87,16 +88,20 @@ class UpgradeRabbitmq(pulumi.CustomResource):
87
88
  # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
88
89
  upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=cloudamqp_instance["instance"]["id"])
89
90
  ```
91
+ <!--End PulumiCodeChooser -->
90
92
 
93
+ <!--Start PulumiCodeChooser -->
91
94
  ```python
92
95
  import pulumi
93
96
  import pulumi_cloudamqp as cloudamqp
94
97
 
95
98
  versions = cloudamqp.get_upgradable_versions(instance_id=cloudamqp_instance["instance"]["id"])
96
99
  ```
100
+ <!--End PulumiCodeChooser -->
97
101
 
98
102
  If newer version is still available to be upgradable in the data source, re-run again.
99
103
 
104
+ <!--Start PulumiCodeChooser -->
100
105
  ```python
101
106
  import pulumi
102
107
  import pulumi_cloudamqp as cloudamqp
@@ -105,6 +110,7 @@ class UpgradeRabbitmq(pulumi.CustomResource):
105
110
  # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
106
111
  upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=cloudamqp_instance["instance"]["id"])
107
112
  ```
113
+ <!--End PulumiCodeChooser -->
108
114
 
109
115
  ## Import
110
116
 
@@ -134,6 +140,7 @@ class UpgradeRabbitmq(pulumi.CustomResource):
134
140
 
135
141
  ## Example Usage
136
142
 
143
+ <!--Start PulumiCodeChooser -->
137
144
  ```python
138
145
  import pulumi
139
146
  import pulumi_cloudamqp as cloudamqp
@@ -142,16 +149,20 @@ class UpgradeRabbitmq(pulumi.CustomResource):
142
149
  # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
143
150
  upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=cloudamqp_instance["instance"]["id"])
144
151
  ```
152
+ <!--End PulumiCodeChooser -->
145
153
 
154
+ <!--Start PulumiCodeChooser -->
146
155
  ```python
147
156
  import pulumi
148
157
  import pulumi_cloudamqp as cloudamqp
149
158
 
150
159
  versions = cloudamqp.get_upgradable_versions(instance_id=cloudamqp_instance["instance"]["id"])
151
160
  ```
161
+ <!--End PulumiCodeChooser -->
152
162
 
153
163
  If newer version is still available to be upgradable in the data source, re-run again.
154
164
 
165
+ <!--Start PulumiCodeChooser -->
155
166
  ```python
156
167
  import pulumi
157
168
  import pulumi_cloudamqp as cloudamqp
@@ -160,6 +171,7 @@ class UpgradeRabbitmq(pulumi.CustomResource):
160
171
  # Invoke automatically upgrade to latest possible upgradable versions for RabbitMQ and Erlang
161
172
  upgrade = cloudamqp.UpgradeRabbitmq("upgrade", instance_id=cloudamqp_instance["instance"]["id"])
162
173
  ```
174
+ <!--End PulumiCodeChooser -->
163
175
 
164
176
  ## Import
165
177
 
pulumi_cloudamqp/vpc.py CHANGED
@@ -190,6 +190,7 @@ class Vpc(pulumi.CustomResource):
190
190
 
191
191
  ## Example Usage
192
192
 
193
+ <!--Start PulumiCodeChooser -->
193
194
  ```python
194
195
  import pulumi
195
196
  import pulumi_cloudamqp as cloudamqp
@@ -210,6 +211,7 @@ class Vpc(pulumi.CustomResource):
210
211
  keep_associated_vpc=True)
211
212
  vpc_info = cloudamqp.get_vpc_info_output(vpc_id=vpc.id)
212
213
  ```
214
+ <!--End PulumiCodeChooser -->
213
215
 
214
216
  ## Import
215
217
 
@@ -219,9 +221,9 @@ class Vpc(pulumi.CustomResource):
219
221
  $ pulumi import cloudamqp:index/vpc:Vpc <resource_name> <vpc_id>`
220
222
  ```
221
223
 
222
- To retrieve the identifier for a VPC, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-vpcs).
224
+ To retrieve the identifier for a VPC, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-vpcs).
223
225
 
224
- Or use the data source `cloudamqp_account_vpcs` to list all available standalone VPCs for an account.
226
+ Or use the data source `cloudamqp_account_vpcs` to list all available standalone VPCs for an account.
225
227
 
226
228
  :param str resource_name: The name of the resource.
227
229
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -247,6 +249,7 @@ class Vpc(pulumi.CustomResource):
247
249
 
248
250
  ## Example Usage
249
251
 
252
+ <!--Start PulumiCodeChooser -->
250
253
  ```python
251
254
  import pulumi
252
255
  import pulumi_cloudamqp as cloudamqp
@@ -267,6 +270,7 @@ class Vpc(pulumi.CustomResource):
267
270
  keep_associated_vpc=True)
268
271
  vpc_info = cloudamqp.get_vpc_info_output(vpc_id=vpc.id)
269
272
  ```
273
+ <!--End PulumiCodeChooser -->
270
274
 
271
275
  ## Import
272
276
 
@@ -276,9 +280,9 @@ class Vpc(pulumi.CustomResource):
276
280
  $ pulumi import cloudamqp:index/vpc:Vpc <resource_name> <vpc_id>`
277
281
  ```
278
282
 
279
- To retrieve the identifier for a VPC, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-vpcs).
283
+ To retrieve the identifier for a VPC, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-vpcs).
280
284
 
281
- Or use the data source `cloudamqp_account_vpcs` to list all available standalone VPCs for an account.
285
+ Or use the data source `cloudamqp_account_vpcs` to list all available standalone VPCs for an account.
282
286
 
283
287
  :param str resource_name: The name of the resource.
284
288
  :param VpcArgs args: The arguments to use to populate this resource's properties.