pulumi-cloudamqp 3.18.0a1709359306__py3-none-any.whl → 3.21.0a1736832130__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 (48) hide show
  1. pulumi_cloudamqp/__init__.py +9 -0
  2. pulumi_cloudamqp/_inputs.py +157 -6
  3. pulumi_cloudamqp/_utilities.py +41 -5
  4. pulumi_cloudamqp/account_action.py +5 -0
  5. pulumi_cloudamqp/alarm.py +5 -124
  6. pulumi_cloudamqp/config/__init__.pyi +5 -0
  7. pulumi_cloudamqp/config/vars.py +5 -0
  8. pulumi_cloudamqp/custom_domain.py +9 -2
  9. pulumi_cloudamqp/extra_disk_size.py +46 -15
  10. pulumi_cloudamqp/get_account.py +12 -71
  11. pulumi_cloudamqp/get_account_vpcs.py +14 -5
  12. pulumi_cloudamqp/get_alarm.py +31 -7
  13. pulumi_cloudamqp/get_credentials.py +19 -7
  14. pulumi_cloudamqp/get_instance.py +30 -47
  15. pulumi_cloudamqp/get_nodes.py +22 -7
  16. pulumi_cloudamqp/get_notification.py +25 -7
  17. pulumi_cloudamqp/get_plugins.py +51 -10
  18. pulumi_cloudamqp/get_plugins_community.py +51 -10
  19. pulumi_cloudamqp/get_upgradable_versions.py +19 -7
  20. pulumi_cloudamqp/get_vpc_gcp_info.py +28 -9
  21. pulumi_cloudamqp/get_vpc_info.py +25 -9
  22. pulumi_cloudamqp/instance.py +70 -115
  23. pulumi_cloudamqp/integration_aws_eventbridge.py +11 -2
  24. pulumi_cloudamqp/integration_log.py +432 -43
  25. pulumi_cloudamqp/integration_metric.py +326 -23
  26. pulumi_cloudamqp/node_actions.py +59 -46
  27. pulumi_cloudamqp/notification.py +118 -61
  28. pulumi_cloudamqp/outputs.py +71 -60
  29. pulumi_cloudamqp/plugin.py +54 -35
  30. pulumi_cloudamqp/plugin_community.py +56 -37
  31. pulumi_cloudamqp/privatelink_aws.py +49 -60
  32. pulumi_cloudamqp/privatelink_azure.py +49 -60
  33. pulumi_cloudamqp/provider.py +5 -5
  34. pulumi_cloudamqp/pulumi-plugin.json +2 -1
  35. pulumi_cloudamqp/rabbit_configuration.py +5 -0
  36. pulumi_cloudamqp/security_firewall.py +70 -24
  37. pulumi_cloudamqp/upgrade_lavinmq.py +276 -0
  38. pulumi_cloudamqp/upgrade_rabbitmq.py +300 -27
  39. pulumi_cloudamqp/vpc.py +17 -6
  40. pulumi_cloudamqp/vpc_connect.py +63 -80
  41. pulumi_cloudamqp/vpc_gcp_peering.py +310 -103
  42. pulumi_cloudamqp/vpc_peering.py +19 -2
  43. pulumi_cloudamqp/webhook.py +91 -84
  44. {pulumi_cloudamqp-3.18.0a1709359306.dist-info → pulumi_cloudamqp-3.21.0a1736832130.dist-info}/METADATA +7 -6
  45. pulumi_cloudamqp-3.21.0a1736832130.dist-info/RECORD +49 -0
  46. {pulumi_cloudamqp-3.18.0a1709359306.dist-info → pulumi_cloudamqp-3.21.0a1736832130.dist-info}/WHEEL +1 -1
  47. pulumi_cloudamqp-3.18.0a1709359306.dist-info/RECORD +0 -48
  48. {pulumi_cloudamqp-3.18.0a1709359306.dist-info → pulumi_cloudamqp-3.21.0a1736832130.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['PrivatelinkAwsArgs', 'PrivatelinkAws']
@@ -249,21 +254,6 @@ class PrivatelinkAws(pulumi.CustomResource):
249
254
  <i>Default PrivateLink firewall rule</i>
250
255
  </summary>
251
256
 
252
- ```python
253
- import pulumi
254
- ```
255
-
256
- </details>
257
-
258
- Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html)
259
- where you can also find more information about
260
- [CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#aws-privatelink).
261
-
262
- Only available for dedicated subscription plans.
263
-
264
- > **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
265
- Recommended to start using the new resource`VpcConnect`.
266
-
267
257
  ## Example Usage
268
258
 
269
259
  <details>
@@ -278,6 +268,7 @@ class PrivatelinkAws(pulumi.CustomResource):
278
268
  import pulumi_cloudamqp as cloudamqp
279
269
 
280
270
  instance = cloudamqp.Instance("instance",
271
+ name="Instance 01",
281
272
  plan="bunny-1",
282
273
  region="amazon-web-services::us-west-1",
283
274
  tags=[])
@@ -300,10 +291,12 @@ class PrivatelinkAws(pulumi.CustomResource):
300
291
  import pulumi_cloudamqp as cloudamqp
301
292
 
302
293
  vpc = cloudamqp.Vpc("vpc",
294
+ name="Standalone VPC",
303
295
  region="amazon-web-services::us-west-1",
304
296
  subnet="10.56.72.0/24",
305
297
  tags=[])
306
298
  instance = cloudamqp.Instance("instance",
299
+ name="Instance 01",
307
300
  plan="bunny-1",
308
301
  region="amazon-web-services::us-west-1",
309
302
  tags=[],
@@ -315,6 +308,7 @@ class PrivatelinkAws(pulumi.CustomResource):
315
308
  ```
316
309
 
317
310
  </details>
311
+
318
312
  ### With Additional Firewall Rules
319
313
 
320
314
  <details>
@@ -329,10 +323,12 @@ class PrivatelinkAws(pulumi.CustomResource):
329
323
  import pulumi_cloudamqp as cloudamqp
330
324
 
331
325
  vpc = cloudamqp.Vpc("vpc",
326
+ name="Standalone VPC",
332
327
  region="amazon-web-services::us-west-1",
333
328
  subnet="10.56.72.0/24",
334
329
  tags=[])
335
330
  instance = cloudamqp.Instance("instance",
331
+ name="Instance 01",
336
332
  plan="bunny-1",
337
333
  region="amazon-web-services::us-west-1",
338
334
  tags=[],
@@ -341,32 +337,33 @@ class PrivatelinkAws(pulumi.CustomResource):
341
337
  privatelink = cloudamqp.PrivatelinkAws("privatelink",
342
338
  instance_id=instance.id,
343
339
  allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
344
- firewall_settings = cloudamqp.SecurityFirewall("firewallSettings",
340
+ firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
345
341
  instance_id=instance.id,
346
342
  rules=[
347
- cloudamqp.SecurityFirewallRuleArgs(
348
- description="Custom PrivateLink setup",
349
- ip=vpc.subnet,
350
- ports=[],
351
- services=[
343
+ {
344
+ "description": "Custom PrivateLink setup",
345
+ "ip": vpc.subnet,
346
+ "ports": [],
347
+ "services": [
352
348
  "AMQP",
353
349
  "AMQPS",
354
350
  "HTTPS",
355
351
  "STREAM",
356
352
  "STREAM_SSL",
357
353
  ],
358
- ),
359
- cloudamqp.SecurityFirewallRuleArgs(
360
- description="MGMT interface",
361
- ip="0.0.0.0/0",
362
- ports=[],
363
- services=["HTTPS"],
364
- ),
354
+ },
355
+ {
356
+ "description": "MGMT interface",
357
+ "ip": "0.0.0.0/0",
358
+ "ports": [],
359
+ "services": ["HTTPS"],
360
+ },
365
361
  ],
366
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
362
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
367
363
  ```
368
364
 
369
365
  </details>
366
+
370
367
  ## Depedency
371
368
 
372
369
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -388,7 +385,7 @@ class PrivatelinkAws(pulumi.CustomResource):
388
385
  $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
389
386
  ```
390
387
 
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).
388
+ 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
389
 
393
390
  :param str resource_name: The name of the resource.
394
391
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -420,21 +417,6 @@ class PrivatelinkAws(pulumi.CustomResource):
420
417
  <i>Default PrivateLink firewall rule</i>
421
418
  </summary>
422
419
 
423
- ```python
424
- import pulumi
425
- ```
426
-
427
- </details>
428
-
429
- Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html)
430
- where you can also find more information about
431
- [CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#aws-privatelink).
432
-
433
- Only available for dedicated subscription plans.
434
-
435
- > **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
436
- Recommended to start using the new resource`VpcConnect`.
437
-
438
420
  ## Example Usage
439
421
 
440
422
  <details>
@@ -449,6 +431,7 @@ class PrivatelinkAws(pulumi.CustomResource):
449
431
  import pulumi_cloudamqp as cloudamqp
450
432
 
451
433
  instance = cloudamqp.Instance("instance",
434
+ name="Instance 01",
452
435
  plan="bunny-1",
453
436
  region="amazon-web-services::us-west-1",
454
437
  tags=[])
@@ -471,10 +454,12 @@ class PrivatelinkAws(pulumi.CustomResource):
471
454
  import pulumi_cloudamqp as cloudamqp
472
455
 
473
456
  vpc = cloudamqp.Vpc("vpc",
457
+ name="Standalone VPC",
474
458
  region="amazon-web-services::us-west-1",
475
459
  subnet="10.56.72.0/24",
476
460
  tags=[])
477
461
  instance = cloudamqp.Instance("instance",
462
+ name="Instance 01",
478
463
  plan="bunny-1",
479
464
  region="amazon-web-services::us-west-1",
480
465
  tags=[],
@@ -486,6 +471,7 @@ class PrivatelinkAws(pulumi.CustomResource):
486
471
  ```
487
472
 
488
473
  </details>
474
+
489
475
  ### With Additional Firewall Rules
490
476
 
491
477
  <details>
@@ -500,10 +486,12 @@ class PrivatelinkAws(pulumi.CustomResource):
500
486
  import pulumi_cloudamqp as cloudamqp
501
487
 
502
488
  vpc = cloudamqp.Vpc("vpc",
489
+ name="Standalone VPC",
503
490
  region="amazon-web-services::us-west-1",
504
491
  subnet="10.56.72.0/24",
505
492
  tags=[])
506
493
  instance = cloudamqp.Instance("instance",
494
+ name="Instance 01",
507
495
  plan="bunny-1",
508
496
  region="amazon-web-services::us-west-1",
509
497
  tags=[],
@@ -512,32 +500,33 @@ class PrivatelinkAws(pulumi.CustomResource):
512
500
  privatelink = cloudamqp.PrivatelinkAws("privatelink",
513
501
  instance_id=instance.id,
514
502
  allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
515
- firewall_settings = cloudamqp.SecurityFirewall("firewallSettings",
503
+ firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
516
504
  instance_id=instance.id,
517
505
  rules=[
518
- cloudamqp.SecurityFirewallRuleArgs(
519
- description="Custom PrivateLink setup",
520
- ip=vpc.subnet,
521
- ports=[],
522
- services=[
506
+ {
507
+ "description": "Custom PrivateLink setup",
508
+ "ip": vpc.subnet,
509
+ "ports": [],
510
+ "services": [
523
511
  "AMQP",
524
512
  "AMQPS",
525
513
  "HTTPS",
526
514
  "STREAM",
527
515
  "STREAM_SSL",
528
516
  ],
529
- ),
530
- cloudamqp.SecurityFirewallRuleArgs(
531
- description="MGMT interface",
532
- ip="0.0.0.0/0",
533
- ports=[],
534
- services=["HTTPS"],
535
- ),
517
+ },
518
+ {
519
+ "description": "MGMT interface",
520
+ "ip": "0.0.0.0/0",
521
+ "ports": [],
522
+ "services": ["HTTPS"],
523
+ },
536
524
  ],
537
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
525
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
538
526
  ```
539
527
 
540
528
  </details>
529
+
541
530
  ## Depedency
542
531
 
543
532
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -559,7 +548,7 @@ class PrivatelinkAws(pulumi.CustomResource):
559
548
  $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
560
549
  ```
561
550
 
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).
551
+ 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
552
 
564
553
  :param str resource_name: The name of the resource.
565
554
  :param PrivatelinkAwsArgs args: The arguments to use to populate this resource's properties.
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['PrivatelinkAzureArgs', 'PrivatelinkAzure']
@@ -246,21 +251,6 @@ class PrivatelinkAzure(pulumi.CustomResource):
246
251
  <i>Default PrivateLink firewall rule</i>
247
252
  </summary>
248
253
 
249
- ```python
250
- import pulumi
251
- ```
252
-
253
- </details>
254
-
255
- Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html) where you can also
256
- find more information about
257
- [CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#azure-privatelink).
258
-
259
- Only available for dedicated subscription plans.
260
-
261
- > **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
262
- Recommended to start using the new resource`VpcConnect`.
263
-
264
254
  ## Example Usage
265
255
 
266
256
  <details>
@@ -275,6 +265,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
275
265
  import pulumi_cloudamqp as cloudamqp
276
266
 
277
267
  instance = cloudamqp.Instance("instance",
268
+ name="Instance 01",
278
269
  plan="bunny-1",
279
270
  region="azure-arm::westus",
280
271
  tags=[])
@@ -296,10 +287,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
296
287
  import pulumi_cloudamqp as cloudamqp
297
288
 
298
289
  vpc = cloudamqp.Vpc("vpc",
290
+ name="Standalone VPC",
299
291
  region="azure-arm::westus",
300
292
  subnet="10.56.72.0/24",
301
293
  tags=[])
302
294
  instance = cloudamqp.Instance("instance",
295
+ name="Instance 01",
303
296
  plan="bunny-1",
304
297
  region="azure-arm::westus",
305
298
  tags=[],
@@ -311,6 +304,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
311
304
  ```
312
305
 
313
306
  </details>
307
+
314
308
  ### With Additional Firewall Rules
315
309
 
316
310
  <details>
@@ -325,10 +319,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
325
319
  import pulumi_cloudamqp as cloudamqp
326
320
 
327
321
  vpc = cloudamqp.Vpc("vpc",
322
+ name="Standalone VPC",
328
323
  region="azure-arm::westus",
329
324
  subnet="10.56.72.0/24",
330
325
  tags=[])
331
326
  instance = cloudamqp.Instance("instance",
327
+ name="Instance 01",
332
328
  plan="bunny-1",
333
329
  region="azure-arm::westus",
334
330
  tags=[],
@@ -337,32 +333,33 @@ class PrivatelinkAzure(pulumi.CustomResource):
337
333
  privatelink = cloudamqp.PrivatelinkAzure("privatelink",
338
334
  instance_id=instance.id,
339
335
  approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
340
- firewall_settings = cloudamqp.SecurityFirewall("firewallSettings",
336
+ firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
341
337
  instance_id=instance.id,
342
338
  rules=[
343
- cloudamqp.SecurityFirewallRuleArgs(
344
- description="Custom PrivateLink setup",
345
- ip=vpc.subnet,
346
- ports=[],
347
- services=[
339
+ {
340
+ "description": "Custom PrivateLink setup",
341
+ "ip": vpc.subnet,
342
+ "ports": [],
343
+ "services": [
348
344
  "AMQP",
349
345
  "AMQPS",
350
346
  "HTTPS",
351
347
  "STREAM",
352
348
  "STREAM_SSL",
353
349
  ],
354
- ),
355
- cloudamqp.SecurityFirewallRuleArgs(
356
- description="MGMT interface",
357
- ip="0.0.0.0/0",
358
- ports=[],
359
- services=["HTTPS"],
360
- ),
350
+ },
351
+ {
352
+ "description": "MGMT interface",
353
+ "ip": "0.0.0.0/0",
354
+ "ports": [],
355
+ "services": ["HTTPS"],
356
+ },
361
357
  ],
362
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
358
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
363
359
  ```
364
360
 
365
361
  </details>
362
+
366
363
  ## Depedency
367
364
 
368
365
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -384,7 +381,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
384
381
  $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
385
382
  ```
386
383
 
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).
384
+ 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
385
 
389
386
  :param str resource_name: The name of the resource.
390
387
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -416,21 +413,6 @@ class PrivatelinkAzure(pulumi.CustomResource):
416
413
  <i>Default PrivateLink firewall rule</i>
417
414
  </summary>
418
415
 
419
- ```python
420
- import pulumi
421
- ```
422
-
423
- </details>
424
-
425
- Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html) where you can also
426
- find more information about
427
- [CloudAMQP PrivateLink](https://www.cloudamqp.com/docs/cloudamqp-privatelink.html#azure-privatelink).
428
-
429
- Only available for dedicated subscription plans.
430
-
431
- > **Warning:** This resource considered deprecated and will be removed in next major version (v2.0).
432
- Recommended to start using the new resource`VpcConnect`.
433
-
434
416
  ## Example Usage
435
417
 
436
418
  <details>
@@ -445,6 +427,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
445
427
  import pulumi_cloudamqp as cloudamqp
446
428
 
447
429
  instance = cloudamqp.Instance("instance",
430
+ name="Instance 01",
448
431
  plan="bunny-1",
449
432
  region="azure-arm::westus",
450
433
  tags=[])
@@ -466,10 +449,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
466
449
  import pulumi_cloudamqp as cloudamqp
467
450
 
468
451
  vpc = cloudamqp.Vpc("vpc",
452
+ name="Standalone VPC",
469
453
  region="azure-arm::westus",
470
454
  subnet="10.56.72.0/24",
471
455
  tags=[])
472
456
  instance = cloudamqp.Instance("instance",
457
+ name="Instance 01",
473
458
  plan="bunny-1",
474
459
  region="azure-arm::westus",
475
460
  tags=[],
@@ -481,6 +466,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
481
466
  ```
482
467
 
483
468
  </details>
469
+
484
470
  ### With Additional Firewall Rules
485
471
 
486
472
  <details>
@@ -495,10 +481,12 @@ class PrivatelinkAzure(pulumi.CustomResource):
495
481
  import pulumi_cloudamqp as cloudamqp
496
482
 
497
483
  vpc = cloudamqp.Vpc("vpc",
484
+ name="Standalone VPC",
498
485
  region="azure-arm::westus",
499
486
  subnet="10.56.72.0/24",
500
487
  tags=[])
501
488
  instance = cloudamqp.Instance("instance",
489
+ name="Instance 01",
502
490
  plan="bunny-1",
503
491
  region="azure-arm::westus",
504
492
  tags=[],
@@ -507,32 +495,33 @@ class PrivatelinkAzure(pulumi.CustomResource):
507
495
  privatelink = cloudamqp.PrivatelinkAzure("privatelink",
508
496
  instance_id=instance.id,
509
497
  approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
510
- firewall_settings = cloudamqp.SecurityFirewall("firewallSettings",
498
+ firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
511
499
  instance_id=instance.id,
512
500
  rules=[
513
- cloudamqp.SecurityFirewallRuleArgs(
514
- description="Custom PrivateLink setup",
515
- ip=vpc.subnet,
516
- ports=[],
517
- services=[
501
+ {
502
+ "description": "Custom PrivateLink setup",
503
+ "ip": vpc.subnet,
504
+ "ports": [],
505
+ "services": [
518
506
  "AMQP",
519
507
  "AMQPS",
520
508
  "HTTPS",
521
509
  "STREAM",
522
510
  "STREAM_SSL",
523
511
  ],
524
- ),
525
- cloudamqp.SecurityFirewallRuleArgs(
526
- description="MGMT interface",
527
- ip="0.0.0.0/0",
528
- ports=[],
529
- services=["HTTPS"],
530
- ),
512
+ },
513
+ {
514
+ "description": "MGMT interface",
515
+ "ip": "0.0.0.0/0",
516
+ "ports": [],
517
+ "services": ["HTTPS"],
518
+ },
531
519
  ],
532
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
520
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
533
521
  ```
534
522
 
535
523
  </details>
524
+
536
525
  ## Depedency
537
526
 
538
527
  This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
@@ -554,7 +543,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
554
543
  $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
555
544
  ```
556
545
 
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).
546
+ 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
547
 
559
548
  :param str resource_name: The name of the resource.
560
549
  :param PrivatelinkAzureArgs args: The arguments to use to populate this resource's properties.
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['ProviderArgs', 'Provider']
@@ -21,7 +26,6 @@ class ProviderArgs:
21
26
  The set of arguments for constructing a Provider resource.
22
27
  :param pulumi.Input[str] apikey: Key used to authentication to the CloudAMQP Customer API
23
28
  :param pulumi.Input[str] baseurl: Base URL to CloudAMQP Customer website
24
- :param pulumi.Input[bool] enable_faster_instance_destroy: Skips destroying backend resources on 'terraform destroy'
25
29
  """
26
30
  pulumi.set(__self__, "apikey", apikey)
27
31
  if baseurl is not None:
@@ -56,9 +60,6 @@ class ProviderArgs:
56
60
  @property
57
61
  @pulumi.getter(name="enableFasterInstanceDestroy")
58
62
  def enable_faster_instance_destroy(self) -> Optional[pulumi.Input[bool]]:
59
- """
60
- Skips destroying backend resources on 'terraform destroy'
61
- """
62
63
  return pulumi.get(self, "enable_faster_instance_destroy")
63
64
 
64
65
  @enable_faster_instance_destroy.setter
@@ -85,7 +86,6 @@ class Provider(pulumi.ProviderResource):
85
86
  :param pulumi.ResourceOptions opts: Options for the resource.
86
87
  :param pulumi.Input[str] apikey: Key used to authentication to the CloudAMQP Customer API
87
88
  :param pulumi.Input[str] baseurl: Base URL to CloudAMQP Customer website
88
- :param pulumi.Input[bool] enable_faster_instance_destroy: Skips destroying backend resources on 'terraform destroy'
89
89
  """
90
90
  ...
91
91
  @overload
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
- "name": "cloudamqp"
3
+ "name": "cloudamqp",
4
+ "version": "3.21.0-alpha.1736832130"
4
5
  }
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['RabbitConfigurationArgs', 'RabbitConfiguration']