pulumi-cloudamqp 3.17.0a1702588087__py3-none-any.whl → 3.17.1__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/__init__.py +18 -0
- pulumi_cloudamqp/account_action.py +198 -0
- pulumi_cloudamqp/get_plugins.py +12 -0
- pulumi_cloudamqp/get_plugins_community.py +12 -0
- pulumi_cloudamqp/get_vpc_gcp_info.py +35 -1
- pulumi_cloudamqp/instance.py +2 -2
- pulumi_cloudamqp/outputs.py +34 -2
- pulumi_cloudamqp/plugin.py +109 -1
- pulumi_cloudamqp/plugin_community.py +111 -3
- pulumi_cloudamqp/privatelink_aws.py +66 -22
- pulumi_cloudamqp/privatelink_azure.py +87 -36
- pulumi_cloudamqp/vpc_connect.py +1015 -0
- pulumi_cloudamqp/vpc_gcp_peering.py +139 -56
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/METADATA +1 -1
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/RECORD +17 -15
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.17.0a1702588087.dist-info → pulumi_cloudamqp-3.17.1.dist-info}/top_level.txt +0 -0
|
@@ -22,8 +22,10 @@ class PrivatelinkAwsArgs:
|
|
|
22
22
|
The set of arguments for constructing a PrivatelinkAws resource.
|
|
23
23
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
24
24
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
25
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
26
|
-
|
|
25
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
26
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
27
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
28
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
27
29
|
|
|
28
30
|
Allowed principals format: <br>
|
|
29
31
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -65,7 +67,8 @@ class PrivatelinkAwsArgs:
|
|
|
65
67
|
@pulumi.getter
|
|
66
68
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
67
69
|
"""
|
|
68
|
-
Configurable sleep time (seconds) when enable PrivateLink.
|
|
70
|
+
Configurable sleep time (seconds) when enable PrivateLink.
|
|
71
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
69
72
|
"""
|
|
70
73
|
return pulumi.get(self, "sleep")
|
|
71
74
|
|
|
@@ -77,7 +80,8 @@ class PrivatelinkAwsArgs:
|
|
|
77
80
|
@pulumi.getter
|
|
78
81
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
79
82
|
"""
|
|
80
|
-
Configurable timeout time (seconds) when enable PrivateLink.
|
|
83
|
+
Configurable timeout time (seconds) when enable PrivateLink.
|
|
84
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
81
85
|
|
|
82
86
|
Allowed principals format: <br>
|
|
83
87
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -107,9 +111,11 @@ class _PrivatelinkAwsState:
|
|
|
107
111
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
108
112
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
109
113
|
:param pulumi.Input[str] service_name: Service name of the PrivateLink used when creating the endpoint from other VPC.
|
|
110
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
114
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
115
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
111
116
|
:param pulumi.Input[str] status: PrivateLink status [enable, pending, disable]
|
|
112
|
-
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
117
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
118
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
113
119
|
|
|
114
120
|
Allowed principals format: <br>
|
|
115
121
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -183,7 +189,8 @@ class _PrivatelinkAwsState:
|
|
|
183
189
|
@pulumi.getter
|
|
184
190
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
185
191
|
"""
|
|
186
|
-
Configurable sleep time (seconds) when enable PrivateLink.
|
|
192
|
+
Configurable sleep time (seconds) when enable PrivateLink.
|
|
193
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
187
194
|
"""
|
|
188
195
|
return pulumi.get(self, "sleep")
|
|
189
196
|
|
|
@@ -207,7 +214,8 @@ class _PrivatelinkAwsState:
|
|
|
207
214
|
@pulumi.getter
|
|
208
215
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
209
216
|
"""
|
|
210
|
-
Configurable timeout time (seconds) when enable PrivateLink.
|
|
217
|
+
Configurable timeout time (seconds) when enable PrivateLink.
|
|
218
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
211
219
|
|
|
212
220
|
Allowed principals format: <br>
|
|
213
221
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -232,22 +240,30 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
232
240
|
timeout: Optional[pulumi.Input[int]] = None,
|
|
233
241
|
__props__=None):
|
|
234
242
|
"""
|
|
235
|
-
Enable PrivateLink for a CloudAMQP instance hosted in AWS. If no existing VPC available when enable
|
|
243
|
+
Enable PrivateLink for a CloudAMQP instance hosted in AWS. If no existing VPC available when enable
|
|
244
|
+
PrivateLink, a new VPC will be created with subnet `10.52.72.0/24`.
|
|
236
245
|
|
|
237
246
|
> **Note:** Enabling PrivateLink will automatically add firewall rules for the peered subnet.
|
|
238
247
|
<details>
|
|
239
248
|
<summary>
|
|
240
249
|
<i>Default PrivateLink firewall rule</i>
|
|
241
250
|
</summary>
|
|
251
|
+
|
|
242
252
|
```python
|
|
243
253
|
import pulumi
|
|
244
254
|
```
|
|
255
|
+
|
|
245
256
|
</details>
|
|
246
257
|
|
|
247
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html)
|
|
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).
|
|
248
261
|
|
|
249
262
|
Only available for dedicated subscription plans.
|
|
250
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
|
+
|
|
251
267
|
## Example Usage
|
|
252
268
|
|
|
253
269
|
<details>
|
|
@@ -269,6 +285,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
269
285
|
instance_id=instance.id,
|
|
270
286
|
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
271
287
|
```
|
|
288
|
+
|
|
272
289
|
</details>
|
|
273
290
|
|
|
274
291
|
<details>
|
|
@@ -296,6 +313,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
296
313
|
instance_id=instance.id,
|
|
297
314
|
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
298
315
|
```
|
|
316
|
+
|
|
299
317
|
</details>
|
|
300
318
|
### With Additional Firewall Rules
|
|
301
319
|
|
|
@@ -347,6 +365,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
347
365
|
],
|
|
348
366
|
opts=pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
349
367
|
```
|
|
368
|
+
|
|
350
369
|
</details>
|
|
351
370
|
## Depedency
|
|
352
371
|
|
|
@@ -355,9 +374,11 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
355
374
|
## Create PrivateLink with additional firewall rules
|
|
356
375
|
|
|
357
376
|
To create a PrivateLink configuration with additional firewall rules, it's required to chain the SecurityFirewall
|
|
358
|
-
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
377
|
+
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
378
|
+
resource depend on the PrivateLink resource, `cloudamqp_privatelink_aws.privatelink`.
|
|
359
379
|
|
|
360
|
-
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
380
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
381
|
+
the PrivateLink also needs to be added.
|
|
361
382
|
|
|
362
383
|
## Import
|
|
363
384
|
|
|
@@ -367,12 +388,16 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
367
388
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
368
389
|
```
|
|
369
390
|
|
|
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).
|
|
392
|
+
|
|
370
393
|
:param str resource_name: The name of the resource.
|
|
371
394
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
372
395
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
373
396
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
374
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
375
|
-
|
|
397
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
398
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
399
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
400
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
376
401
|
|
|
377
402
|
Allowed principals format: <br>
|
|
378
403
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -386,22 +411,30 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
386
411
|
args: PrivatelinkAwsArgs,
|
|
387
412
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
388
413
|
"""
|
|
389
|
-
Enable PrivateLink for a CloudAMQP instance hosted in AWS. If no existing VPC available when enable
|
|
414
|
+
Enable PrivateLink for a CloudAMQP instance hosted in AWS. If no existing VPC available when enable
|
|
415
|
+
PrivateLink, a new VPC will be created with subnet `10.52.72.0/24`.
|
|
390
416
|
|
|
391
417
|
> **Note:** Enabling PrivateLink will automatically add firewall rules for the peered subnet.
|
|
392
418
|
<details>
|
|
393
419
|
<summary>
|
|
394
420
|
<i>Default PrivateLink firewall rule</i>
|
|
395
421
|
</summary>
|
|
422
|
+
|
|
396
423
|
```python
|
|
397
424
|
import pulumi
|
|
398
425
|
```
|
|
426
|
+
|
|
399
427
|
</details>
|
|
400
428
|
|
|
401
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html)
|
|
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).
|
|
402
432
|
|
|
403
433
|
Only available for dedicated subscription plans.
|
|
404
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
|
+
|
|
405
438
|
## Example Usage
|
|
406
439
|
|
|
407
440
|
<details>
|
|
@@ -423,6 +456,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
423
456
|
instance_id=instance.id,
|
|
424
457
|
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
425
458
|
```
|
|
459
|
+
|
|
426
460
|
</details>
|
|
427
461
|
|
|
428
462
|
<details>
|
|
@@ -450,6 +484,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
450
484
|
instance_id=instance.id,
|
|
451
485
|
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
452
486
|
```
|
|
487
|
+
|
|
453
488
|
</details>
|
|
454
489
|
### With Additional Firewall Rules
|
|
455
490
|
|
|
@@ -501,6 +536,7 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
501
536
|
],
|
|
502
537
|
opts=pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
503
538
|
```
|
|
539
|
+
|
|
504
540
|
</details>
|
|
505
541
|
## Depedency
|
|
506
542
|
|
|
@@ -509,9 +545,11 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
509
545
|
## Create PrivateLink with additional firewall rules
|
|
510
546
|
|
|
511
547
|
To create a PrivateLink configuration with additional firewall rules, it's required to chain the SecurityFirewall
|
|
512
|
-
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
548
|
+
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
549
|
+
resource depend on the PrivateLink resource, `cloudamqp_privatelink_aws.privatelink`.
|
|
513
550
|
|
|
514
|
-
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
551
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
552
|
+
the PrivateLink also needs to be added.
|
|
515
553
|
|
|
516
554
|
## Import
|
|
517
555
|
|
|
@@ -521,6 +559,8 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
521
559
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
522
560
|
```
|
|
523
561
|
|
|
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).
|
|
563
|
+
|
|
524
564
|
:param str resource_name: The name of the resource.
|
|
525
565
|
:param PrivatelinkAwsArgs args: The arguments to use to populate this resource's properties.
|
|
526
566
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -588,9 +628,11 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
588
628
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
589
629
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
590
630
|
:param pulumi.Input[str] service_name: Service name of the PrivateLink used when creating the endpoint from other VPC.
|
|
591
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
631
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
632
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
592
633
|
:param pulumi.Input[str] status: PrivateLink status [enable, pending, disable]
|
|
593
|
-
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
634
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
635
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
594
636
|
|
|
595
637
|
Allowed principals format: <br>
|
|
596
638
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -646,7 +688,8 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
646
688
|
@pulumi.getter
|
|
647
689
|
def sleep(self) -> pulumi.Output[Optional[int]]:
|
|
648
690
|
"""
|
|
649
|
-
Configurable sleep time (seconds) when enable PrivateLink.
|
|
691
|
+
Configurable sleep time (seconds) when enable PrivateLink.
|
|
692
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
650
693
|
"""
|
|
651
694
|
return pulumi.get(self, "sleep")
|
|
652
695
|
|
|
@@ -662,7 +705,8 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
662
705
|
@pulumi.getter
|
|
663
706
|
def timeout(self) -> pulumi.Output[Optional[int]]:
|
|
664
707
|
"""
|
|
665
|
-
Configurable timeout time (seconds) when enable PrivateLink.
|
|
708
|
+
Configurable timeout time (seconds) when enable PrivateLink.
|
|
709
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
666
710
|
|
|
667
711
|
Allowed principals format: <br>
|
|
668
712
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -20,12 +20,15 @@ class PrivatelinkAzureArgs:
|
|
|
20
20
|
timeout: Optional[pulumi.Input[int]] = None):
|
|
21
21
|
"""
|
|
22
22
|
The set of arguments for constructing a PrivatelinkAzure resource.
|
|
23
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
23
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
24
|
+
See format below.
|
|
24
25
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
25
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
26
|
-
|
|
26
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
27
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
28
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
29
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
27
30
|
|
|
28
|
-
Approved subscriptions format: <br>
|
|
31
|
+
Approved subscriptions format (GUID): <br>
|
|
29
32
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
30
33
|
"""
|
|
31
34
|
pulumi.set(__self__, "approved_subscriptions", approved_subscriptions)
|
|
@@ -39,7 +42,8 @@ class PrivatelinkAzureArgs:
|
|
|
39
42
|
@pulumi.getter(name="approvedSubscriptions")
|
|
40
43
|
def approved_subscriptions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
41
44
|
"""
|
|
42
|
-
Approved subscriptions to access the endpoint service.
|
|
45
|
+
Approved subscriptions to access the endpoint service.
|
|
46
|
+
See format below.
|
|
43
47
|
"""
|
|
44
48
|
return pulumi.get(self, "approved_subscriptions")
|
|
45
49
|
|
|
@@ -63,7 +67,8 @@ class PrivatelinkAzureArgs:
|
|
|
63
67
|
@pulumi.getter
|
|
64
68
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
65
69
|
"""
|
|
66
|
-
Configurable sleep time (seconds) when enable PrivateLink.
|
|
70
|
+
Configurable sleep time (seconds) when enable PrivateLink.
|
|
71
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
67
72
|
"""
|
|
68
73
|
return pulumi.get(self, "sleep")
|
|
69
74
|
|
|
@@ -75,9 +80,10 @@ class PrivatelinkAzureArgs:
|
|
|
75
80
|
@pulumi.getter
|
|
76
81
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
77
82
|
"""
|
|
78
|
-
Configurable timeout time (seconds) when enable PrivateLink.
|
|
83
|
+
Configurable timeout time (seconds) when enable PrivateLink.
|
|
84
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
79
85
|
|
|
80
|
-
Approved subscriptions format: <br>
|
|
86
|
+
Approved subscriptions format (GUID): <br>
|
|
81
87
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
82
88
|
"""
|
|
83
89
|
return pulumi.get(self, "timeout")
|
|
@@ -99,15 +105,18 @@ class _PrivatelinkAzureState:
|
|
|
99
105
|
timeout: Optional[pulumi.Input[int]] = None):
|
|
100
106
|
"""
|
|
101
107
|
Input properties used for looking up and filtering PrivatelinkAzure resources.
|
|
102
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
108
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
109
|
+
See format below.
|
|
103
110
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
104
111
|
:param pulumi.Input[str] server_name: Name of the server having the PrivateLink enabled.
|
|
105
112
|
:param pulumi.Input[str] service_name: Service name (alias) of the PrivateLink, needed when creating the endpoint.
|
|
106
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
113
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
114
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
107
115
|
:param pulumi.Input[str] status: PrivateLink status [enable, pending, disable]
|
|
108
|
-
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
116
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
117
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
109
118
|
|
|
110
|
-
Approved subscriptions format: <br>
|
|
119
|
+
Approved subscriptions format (GUID): <br>
|
|
111
120
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
112
121
|
"""
|
|
113
122
|
if approved_subscriptions is not None:
|
|
@@ -129,7 +138,8 @@ class _PrivatelinkAzureState:
|
|
|
129
138
|
@pulumi.getter(name="approvedSubscriptions")
|
|
130
139
|
def approved_subscriptions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
131
140
|
"""
|
|
132
|
-
Approved subscriptions to access the endpoint service.
|
|
141
|
+
Approved subscriptions to access the endpoint service.
|
|
142
|
+
See format below.
|
|
133
143
|
"""
|
|
134
144
|
return pulumi.get(self, "approved_subscriptions")
|
|
135
145
|
|
|
@@ -177,7 +187,8 @@ class _PrivatelinkAzureState:
|
|
|
177
187
|
@pulumi.getter
|
|
178
188
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
179
189
|
"""
|
|
180
|
-
Configurable sleep time (seconds) when enable PrivateLink.
|
|
190
|
+
Configurable sleep time (seconds) when enable PrivateLink.
|
|
191
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
181
192
|
"""
|
|
182
193
|
return pulumi.get(self, "sleep")
|
|
183
194
|
|
|
@@ -201,9 +212,10 @@ class _PrivatelinkAzureState:
|
|
|
201
212
|
@pulumi.getter
|
|
202
213
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
203
214
|
"""
|
|
204
|
-
Configurable timeout time (seconds) when enable PrivateLink.
|
|
215
|
+
Configurable timeout time (seconds) when enable PrivateLink.
|
|
216
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
205
217
|
|
|
206
|
-
Approved subscriptions format: <br>
|
|
218
|
+
Approved subscriptions format (GUID): <br>
|
|
207
219
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
208
220
|
"""
|
|
209
221
|
return pulumi.get(self, "timeout")
|
|
@@ -224,22 +236,31 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
224
236
|
timeout: Optional[pulumi.Input[int]] = None,
|
|
225
237
|
__props__=None):
|
|
226
238
|
"""
|
|
227
|
-
Enable PrivateLink for a CloudAMQP instance hosted in Azure. If no existing VPC available when
|
|
239
|
+
Enable PrivateLink for a CloudAMQP instance hosted in Azure. If no existing VPC available when
|
|
240
|
+
enable PrivateLink, a new VPC will be created with subnet `10.52.72.0/24`.
|
|
228
241
|
|
|
229
242
|
> **Note:** Enabling PrivateLink will automatically add firewall rules for the peered subnet.
|
|
243
|
+
|
|
230
244
|
<details>
|
|
231
245
|
<summary>
|
|
232
246
|
<i>Default PrivateLink firewall rule</i>
|
|
233
247
|
</summary>
|
|
248
|
+
|
|
234
249
|
```python
|
|
235
250
|
import pulumi
|
|
236
251
|
```
|
|
252
|
+
|
|
237
253
|
</details>
|
|
238
254
|
|
|
239
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html) where you can also
|
|
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).
|
|
240
258
|
|
|
241
259
|
Only available for dedicated subscription plans.
|
|
242
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
|
+
|
|
243
264
|
## Example Usage
|
|
244
265
|
|
|
245
266
|
<details>
|
|
@@ -288,6 +309,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
288
309
|
instance_id=instance.id,
|
|
289
310
|
approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
|
|
290
311
|
```
|
|
312
|
+
|
|
291
313
|
</details>
|
|
292
314
|
### With Additional Firewall Rules
|
|
293
315
|
|
|
@@ -339,6 +361,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
339
361
|
],
|
|
340
362
|
opts=pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
341
363
|
```
|
|
364
|
+
|
|
342
365
|
</details>
|
|
343
366
|
## Depedency
|
|
344
367
|
|
|
@@ -347,9 +370,11 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
347
370
|
## Create PrivateLink with additional firewall rules
|
|
348
371
|
|
|
349
372
|
To create a PrivateLink configuration with additional firewall rules, it's required to chain the SecurityFirewall
|
|
350
|
-
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
373
|
+
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
374
|
+
resource depend on the PrivateLink resource, `cloudamqp_privatelink_azure.privatelink`.
|
|
351
375
|
|
|
352
|
-
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
376
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
377
|
+
the PrivateLink also needs to be added.
|
|
353
378
|
|
|
354
379
|
## Import
|
|
355
380
|
|
|
@@ -359,14 +384,19 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
359
384
|
$ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
360
385
|
```
|
|
361
386
|
|
|
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).
|
|
388
|
+
|
|
362
389
|
:param str resource_name: The name of the resource.
|
|
363
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
364
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
391
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
392
|
+
See format below.
|
|
365
393
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
366
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
367
|
-
|
|
394
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
395
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
396
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
397
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
368
398
|
|
|
369
|
-
Approved subscriptions format: <br>
|
|
399
|
+
Approved subscriptions format (GUID): <br>
|
|
370
400
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
371
401
|
"""
|
|
372
402
|
...
|
|
@@ -376,22 +406,31 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
376
406
|
args: PrivatelinkAzureArgs,
|
|
377
407
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
378
408
|
"""
|
|
379
|
-
Enable PrivateLink for a CloudAMQP instance hosted in Azure. If no existing VPC available when
|
|
409
|
+
Enable PrivateLink for a CloudAMQP instance hosted in Azure. If no existing VPC available when
|
|
410
|
+
enable PrivateLink, a new VPC will be created with subnet `10.52.72.0/24`.
|
|
380
411
|
|
|
381
412
|
> **Note:** Enabling PrivateLink will automatically add firewall rules for the peered subnet.
|
|
413
|
+
|
|
382
414
|
<details>
|
|
383
415
|
<summary>
|
|
384
416
|
<i>Default PrivateLink firewall rule</i>
|
|
385
417
|
</summary>
|
|
418
|
+
|
|
386
419
|
```python
|
|
387
420
|
import pulumi
|
|
388
421
|
```
|
|
422
|
+
|
|
389
423
|
</details>
|
|
390
424
|
|
|
391
|
-
Pricing is available at [cloudamqp.com](https://www.cloudamqp.com/plans.html) where you can also
|
|
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).
|
|
392
428
|
|
|
393
429
|
Only available for dedicated subscription plans.
|
|
394
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
|
+
|
|
395
434
|
## Example Usage
|
|
396
435
|
|
|
397
436
|
<details>
|
|
@@ -440,6 +479,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
440
479
|
instance_id=instance.id,
|
|
441
480
|
approved_subscriptions=["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"])
|
|
442
481
|
```
|
|
482
|
+
|
|
443
483
|
</details>
|
|
444
484
|
### With Additional Firewall Rules
|
|
445
485
|
|
|
@@ -491,6 +531,7 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
491
531
|
],
|
|
492
532
|
opts=pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
493
533
|
```
|
|
534
|
+
|
|
494
535
|
</details>
|
|
495
536
|
## Depedency
|
|
496
537
|
|
|
@@ -499,9 +540,11 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
499
540
|
## Create PrivateLink with additional firewall rules
|
|
500
541
|
|
|
501
542
|
To create a PrivateLink configuration with additional firewall rules, it's required to chain the SecurityFirewall
|
|
502
|
-
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
543
|
+
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
544
|
+
resource depend on the PrivateLink resource, `cloudamqp_privatelink_azure.privatelink`.
|
|
503
545
|
|
|
504
|
-
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
546
|
+
Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
547
|
+
the PrivateLink also needs to be added.
|
|
505
548
|
|
|
506
549
|
## Import
|
|
507
550
|
|
|
@@ -511,6 +554,8 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
511
554
|
$ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
512
555
|
```
|
|
513
556
|
|
|
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).
|
|
558
|
+
|
|
514
559
|
:param str resource_name: The name of the resource.
|
|
515
560
|
:param PrivatelinkAzureArgs args: The arguments to use to populate this resource's properties.
|
|
516
561
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -574,15 +619,18 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
574
619
|
:param str resource_name: The unique name of the resulting resource.
|
|
575
620
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
576
621
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
577
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
622
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] approved_subscriptions: Approved subscriptions to access the endpoint service.
|
|
623
|
+
See format below.
|
|
578
624
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
579
625
|
:param pulumi.Input[str] server_name: Name of the server having the PrivateLink enabled.
|
|
580
626
|
:param pulumi.Input[str] service_name: Service name (alias) of the PrivateLink, needed when creating the endpoint.
|
|
581
|
-
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
627
|
+
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
628
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
582
629
|
:param pulumi.Input[str] status: PrivateLink status [enable, pending, disable]
|
|
583
|
-
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
630
|
+
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
631
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
584
632
|
|
|
585
|
-
Approved subscriptions format: <br>
|
|
633
|
+
Approved subscriptions format (GUID): <br>
|
|
586
634
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
587
635
|
"""
|
|
588
636
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -602,7 +650,8 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
602
650
|
@pulumi.getter(name="approvedSubscriptions")
|
|
603
651
|
def approved_subscriptions(self) -> pulumi.Output[Sequence[str]]:
|
|
604
652
|
"""
|
|
605
|
-
Approved subscriptions to access the endpoint service.
|
|
653
|
+
Approved subscriptions to access the endpoint service.
|
|
654
|
+
See format below.
|
|
606
655
|
"""
|
|
607
656
|
return pulumi.get(self, "approved_subscriptions")
|
|
608
657
|
|
|
@@ -634,7 +683,8 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
634
683
|
@pulumi.getter
|
|
635
684
|
def sleep(self) -> pulumi.Output[Optional[int]]:
|
|
636
685
|
"""
|
|
637
|
-
Configurable sleep time (seconds) when enable PrivateLink.
|
|
686
|
+
Configurable sleep time (seconds) when enable PrivateLink.
|
|
687
|
+
Default set to 10 seconds. *Available from v1.29.0*
|
|
638
688
|
"""
|
|
639
689
|
return pulumi.get(self, "sleep")
|
|
640
690
|
|
|
@@ -650,9 +700,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
|
|
|
650
700
|
@pulumi.getter
|
|
651
701
|
def timeout(self) -> pulumi.Output[Optional[int]]:
|
|
652
702
|
"""
|
|
653
|
-
Configurable timeout time (seconds) when enable PrivateLink.
|
|
703
|
+
Configurable timeout time (seconds) when enable PrivateLink.
|
|
704
|
+
Default set to 1800 seconds. *Available from v1.29.0*
|
|
654
705
|
|
|
655
|
-
Approved subscriptions format: <br>
|
|
706
|
+
Approved subscriptions format (GUID): <br>
|
|
656
707
|
`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
|
|
657
708
|
"""
|
|
658
709
|
return pulumi.get(self, "timeout")
|