pulumi-cloudamqp 3.17.3__py3-none-any.whl → 3.17.5__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 (41) hide show
  1. pulumi_cloudamqp/_inputs.py +105 -0
  2. pulumi_cloudamqp/_utilities.py +2 -2
  3. pulumi_cloudamqp/alarm.py +108 -4
  4. pulumi_cloudamqp/config/__init__.pyi +0 -3
  5. pulumi_cloudamqp/config/vars.py +0 -3
  6. pulumi_cloudamqp/custom_domain.py +10 -4
  7. pulumi_cloudamqp/extra_disk_size.py +18 -0
  8. pulumi_cloudamqp/get_account.py +6 -0
  9. pulumi_cloudamqp/get_account_vpcs.py +6 -0
  10. pulumi_cloudamqp/get_alarm.py +6 -0
  11. pulumi_cloudamqp/get_credentials.py +6 -0
  12. pulumi_cloudamqp/get_instance.py +0 -42
  13. pulumi_cloudamqp/get_nodes.py +6 -0
  14. pulumi_cloudamqp/get_notification.py +6 -0
  15. pulumi_cloudamqp/get_plugins.py +6 -0
  16. pulumi_cloudamqp/get_plugins_community.py +6 -0
  17. pulumi_cloudamqp/get_upgradable_versions.py +6 -0
  18. pulumi_cloudamqp/get_vpc_gcp_info.py +10 -0
  19. pulumi_cloudamqp/get_vpc_info.py +10 -0
  20. pulumi_cloudamqp/instance.py +38 -4
  21. pulumi_cloudamqp/integration_aws_eventbridge.py +8 -2
  22. pulumi_cloudamqp/integration_log.py +428 -38
  23. pulumi_cloudamqp/node_actions.py +14 -0
  24. pulumi_cloudamqp/notification.py +175 -29
  25. pulumi_cloudamqp/outputs.py +157 -0
  26. pulumi_cloudamqp/plugin.py +2 -2
  27. pulumi_cloudamqp/plugin_community.py +8 -4
  28. pulumi_cloudamqp/privatelink_aws.py +24 -4
  29. pulumi_cloudamqp/privatelink_azure.py +24 -4
  30. pulumi_cloudamqp/rabbit_configuration.py +2 -2
  31. pulumi_cloudamqp/security_firewall.py +2 -2
  32. pulumi_cloudamqp/upgrade_rabbitmq.py +12 -0
  33. pulumi_cloudamqp/vpc.py +12 -4
  34. pulumi_cloudamqp/vpc_connect.py +32 -4
  35. pulumi_cloudamqp/vpc_gcp_peering.py +86 -0
  36. pulumi_cloudamqp/webhook.py +8 -2
  37. {pulumi_cloudamqp-3.17.3.dist-info → pulumi_cloudamqp-3.17.5.dist-info}/METADATA +2 -2
  38. pulumi_cloudamqp-3.17.5.dist-info/RECORD +48 -0
  39. {pulumi_cloudamqp-3.17.3.dist-info → pulumi_cloudamqp-3.17.5.dist-info}/WHEEL +1 -1
  40. pulumi_cloudamqp-3.17.3.dist-info/RECORD +0 -48
  41. {pulumi_cloudamqp-3.17.3.dist-info → pulumi_cloudamqp-3.17.5.dist-info}/top_level.txt +0 -0
@@ -12,6 +12,7 @@ from . import _utilities
12
12
  __all__ = [
13
13
  'ExtraDiskSizeNode',
14
14
  'InstanceCopySetting',
15
+ 'NotificationResponder',
15
16
  'SecurityFirewallRule',
16
17
  'GetAccountInstanceResult',
17
18
  'GetAccountVpcsVpcResult',
@@ -45,6 +46,10 @@ class ExtraDiskSizeNode(dict):
45
46
  additional_disk_size: Optional[int] = None,
46
47
  disk_size: Optional[int] = None,
47
48
  name: Optional[str] = None):
49
+ """
50
+ :param int additional_disk_size: Additional added disk size
51
+ :param int disk_size: Subscription plan disk size
52
+ """
48
53
  if additional_disk_size is not None:
49
54
  pulumi.set(__self__, "additional_disk_size", additional_disk_size)
50
55
  if disk_size is not None:
@@ -55,11 +60,17 @@ class ExtraDiskSizeNode(dict):
55
60
  @property
56
61
  @pulumi.getter(name="additionalDiskSize")
57
62
  def additional_disk_size(self) -> Optional[int]:
63
+ """
64
+ Additional added disk size
65
+ """
58
66
  return pulumi.get(self, "additional_disk_size")
59
67
 
60
68
  @property
61
69
  @pulumi.getter(name="diskSize")
62
70
  def disk_size(self) -> Optional[int]:
71
+ """
72
+ Subscription plan disk size
73
+ """
63
74
  return pulumi.get(self, "disk_size")
64
75
 
65
76
  @property
@@ -118,6 +129,66 @@ class InstanceCopySetting(dict):
118
129
  return pulumi.get(self, "subscription_id")
119
130
 
120
131
 
132
+ @pulumi.output_type
133
+ class NotificationResponder(dict):
134
+ def __init__(__self__, *,
135
+ type: str,
136
+ id: Optional[str] = None,
137
+ name: Optional[str] = None,
138
+ username: Optional[str] = None):
139
+ """
140
+ :param str type: Type of responder. [`team`, `user`, `escalation`, `schedule`]
141
+ :param str id: Identifier in UUID format
142
+ :param str name: Name of the responder
143
+ :param str username: Username of the responder
144
+
145
+ Responders of type `team`, `escalation` and `schedule` can use either id or name.
146
+ While `user` can use either id or username.
147
+ """
148
+ pulumi.set(__self__, "type", type)
149
+ if id is not None:
150
+ pulumi.set(__self__, "id", id)
151
+ if name is not None:
152
+ pulumi.set(__self__, "name", name)
153
+ if username is not None:
154
+ pulumi.set(__self__, "username", username)
155
+
156
+ @property
157
+ @pulumi.getter
158
+ def type(self) -> str:
159
+ """
160
+ Type of responder. [`team`, `user`, `escalation`, `schedule`]
161
+ """
162
+ return pulumi.get(self, "type")
163
+
164
+ @property
165
+ @pulumi.getter
166
+ def id(self) -> Optional[str]:
167
+ """
168
+ Identifier in UUID format
169
+ """
170
+ return pulumi.get(self, "id")
171
+
172
+ @property
173
+ @pulumi.getter
174
+ def name(self) -> Optional[str]:
175
+ """
176
+ Name of the responder
177
+ """
178
+ return pulumi.get(self, "name")
179
+
180
+ @property
181
+ @pulumi.getter
182
+ def username(self) -> Optional[str]:
183
+ """
184
+ Username of the responder
185
+
186
+ Responders of type `team`, `escalation` and `schedule` can use either id or name.
187
+ While `user` can use either id or username.
188
+ """
189
+ return pulumi.get(self, "username")
190
+
191
+
121
192
  @pulumi.output_type
122
193
  class SecurityFirewallRule(dict):
123
194
  def __init__(__self__, *,
@@ -125,6 +196,12 @@ class SecurityFirewallRule(dict):
125
196
  description: Optional[str] = None,
126
197
  ports: Optional[Sequence[int]] = None,
127
198
  services: Optional[Sequence[str]] = None):
199
+ """
200
+ :param str ip: CIDR address: IP address with CIDR notation (e.g. 10.56.72.0/24)
201
+ :param str description: Naming descripton e.g. 'Default'
202
+ :param Sequence[int] ports: Custom ports between 0 - 65554
203
+ :param Sequence[str] services: Pre-defined services 'AMQP', 'AMQPS', 'HTTPS', 'MQTT', 'MQTTS', 'STOMP', 'STOMPS', 'STREAM', 'STREAM_SSL'
204
+ """
128
205
  pulumi.set(__self__, "ip", ip)
129
206
  if description is not None:
130
207
  pulumi.set(__self__, "description", description)
@@ -136,21 +213,33 @@ class SecurityFirewallRule(dict):
136
213
  @property
137
214
  @pulumi.getter
138
215
  def ip(self) -> str:
216
+ """
217
+ CIDR address: IP address with CIDR notation (e.g. 10.56.72.0/24)
218
+ """
139
219
  return pulumi.get(self, "ip")
140
220
 
141
221
  @property
142
222
  @pulumi.getter
143
223
  def description(self) -> Optional[str]:
224
+ """
225
+ Naming descripton e.g. 'Default'
226
+ """
144
227
  return pulumi.get(self, "description")
145
228
 
146
229
  @property
147
230
  @pulumi.getter
148
231
  def ports(self) -> Optional[Sequence[int]]:
232
+ """
233
+ Custom ports between 0 - 65554
234
+ """
149
235
  return pulumi.get(self, "ports")
150
236
 
151
237
  @property
152
238
  @pulumi.getter
153
239
  def services(self) -> Optional[Sequence[str]]:
240
+ """
241
+ Pre-defined services 'AMQP', 'AMQPS', 'HTTPS', 'MQTT', 'MQTTS', 'STOMP', 'STOMPS', 'STREAM', 'STREAM_SSL'
242
+ """
154
243
  return pulumi.get(self, "services")
155
244
 
156
245
 
@@ -162,6 +251,13 @@ class GetAccountInstanceResult(dict):
162
251
  plan: str,
163
252
  region: str,
164
253
  tags: Optional[Sequence[str]] = None):
254
+ """
255
+ :param int id: The instance identifier
256
+ :param str name: The name of the instance
257
+ :param str plan: The subscription plan used for the instance
258
+ :param str region: The region were the instanece is located in
259
+ :param Sequence[str] tags: Tag for the instance
260
+ """
165
261
  pulumi.set(__self__, "id", id)
166
262
  pulumi.set(__self__, "name", name)
167
263
  pulumi.set(__self__, "plan", plan)
@@ -172,26 +268,41 @@ class GetAccountInstanceResult(dict):
172
268
  @property
173
269
  @pulumi.getter
174
270
  def id(self) -> int:
271
+ """
272
+ The instance identifier
273
+ """
175
274
  return pulumi.get(self, "id")
176
275
 
177
276
  @property
178
277
  @pulumi.getter
179
278
  def name(self) -> str:
279
+ """
280
+ The name of the instance
281
+ """
180
282
  return pulumi.get(self, "name")
181
283
 
182
284
  @property
183
285
  @pulumi.getter
184
286
  def plan(self) -> str:
287
+ """
288
+ The subscription plan used for the instance
289
+ """
185
290
  return pulumi.get(self, "plan")
186
291
 
187
292
  @property
188
293
  @pulumi.getter
189
294
  def region(self) -> str:
295
+ """
296
+ The region were the instanece is located in
297
+ """
190
298
  return pulumi.get(self, "region")
191
299
 
192
300
  @property
193
301
  @pulumi.getter
194
302
  def tags(self) -> Optional[Sequence[str]]:
303
+ """
304
+ Tag for the instance
305
+ """
195
306
  return pulumi.get(self, "tags")
196
307
 
197
308
 
@@ -204,6 +315,14 @@ class GetAccountVpcsVpcResult(dict):
204
315
  subnet: str,
205
316
  vpc_name: str,
206
317
  tags: Optional[Sequence[str]] = None):
318
+ """
319
+ :param int id: The instance identifier
320
+ :param str name: The name of the instance
321
+ :param str region: The region were the instanece is located in
322
+ :param str subnet: The VPC subnet
323
+ :param str vpc_name: VPC name given when hosted at the cloud provider
324
+ :param Sequence[str] tags: Tag the VPC instance with optional tags
325
+ """
207
326
  pulumi.set(__self__, "id", id)
208
327
  pulumi.set(__self__, "name", name)
209
328
  pulumi.set(__self__, "region", region)
@@ -215,31 +334,49 @@ class GetAccountVpcsVpcResult(dict):
215
334
  @property
216
335
  @pulumi.getter
217
336
  def id(self) -> int:
337
+ """
338
+ The instance identifier
339
+ """
218
340
  return pulumi.get(self, "id")
219
341
 
220
342
  @property
221
343
  @pulumi.getter
222
344
  def name(self) -> str:
345
+ """
346
+ The name of the instance
347
+ """
223
348
  return pulumi.get(self, "name")
224
349
 
225
350
  @property
226
351
  @pulumi.getter
227
352
  def region(self) -> str:
353
+ """
354
+ The region were the instanece is located in
355
+ """
228
356
  return pulumi.get(self, "region")
229
357
 
230
358
  @property
231
359
  @pulumi.getter
232
360
  def subnet(self) -> str:
361
+ """
362
+ The VPC subnet
363
+ """
233
364
  return pulumi.get(self, "subnet")
234
365
 
235
366
  @property
236
367
  @pulumi.getter(name="vpcName")
237
368
  def vpc_name(self) -> str:
369
+ """
370
+ VPC name given when hosted at the cloud provider
371
+ """
238
372
  return pulumi.get(self, "vpc_name")
239
373
 
240
374
  @property
241
375
  @pulumi.getter
242
376
  def tags(self) -> Optional[Sequence[str]]:
377
+ """
378
+ Tag the VPC instance with optional tags
379
+ """
243
380
  return pulumi.get(self, "tags")
244
381
 
245
382
 
@@ -319,6 +456,10 @@ class GetPluginsCommunityPluginResult(dict):
319
456
  require: str,
320
457
  sleep: Optional[int] = None,
321
458
  timeout: Optional[int] = None):
459
+ """
460
+ :param int sleep: Configurable sleep time in seconds between retries for plugins
461
+ :param int timeout: Configurable timeout time in seconds for plugins
462
+ """
322
463
  pulumi.set(__self__, "description", description)
323
464
  pulumi.set(__self__, "name", name)
324
465
  pulumi.set(__self__, "require", require)
@@ -345,11 +486,17 @@ class GetPluginsCommunityPluginResult(dict):
345
486
  @property
346
487
  @pulumi.getter
347
488
  def sleep(self) -> Optional[int]:
489
+ """
490
+ Configurable sleep time in seconds between retries for plugins
491
+ """
348
492
  return pulumi.get(self, "sleep")
349
493
 
350
494
  @property
351
495
  @pulumi.getter
352
496
  def timeout(self) -> Optional[int]:
497
+ """
498
+ Configurable timeout time in seconds for plugins
499
+ """
353
500
  return pulumi.get(self, "timeout")
354
501
 
355
502
 
@@ -362,6 +509,10 @@ class GetPluginsPluginResult(dict):
362
509
  version: str,
363
510
  sleep: Optional[int] = None,
364
511
  timeout: Optional[int] = None):
512
+ """
513
+ :param int sleep: Configurable sleep time in seconds between retries for plugins
514
+ :param int timeout: Configurable timeout time in seconds for plugins
515
+ """
365
516
  pulumi.set(__self__, "description", description)
366
517
  pulumi.set(__self__, "enabled", enabled)
367
518
  pulumi.set(__self__, "name", name)
@@ -394,11 +545,17 @@ class GetPluginsPluginResult(dict):
394
545
  @property
395
546
  @pulumi.getter
396
547
  def sleep(self) -> Optional[int]:
548
+ """
549
+ Configurable sleep time in seconds between retries for plugins
550
+ """
397
551
  return pulumi.get(self, "sleep")
398
552
 
399
553
  @property
400
554
  @pulumi.getter
401
555
  def timeout(self) -> Optional[int]:
556
+ """
557
+ Configurable timeout time in seconds for plugins
558
+ """
402
559
  return pulumi.get(self, "timeout")
403
560
 
404
561
 
@@ -234,7 +234,7 @@ class Plugin(pulumi.CustomResource):
234
234
  `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.
235
235
 
236
236
  ```sh
237
- $ pulumi import cloudamqp:index/plugin:Plugin rabbitmq_management rabbitmq_management,<instance_id>`
237
+ $ pulumi import cloudamqp:index/plugin:Plugin rabbitmq_management rabbitmq_management,<instance_id>`
238
238
  ```
239
239
 
240
240
  :param str resource_name: The name of the resource.
@@ -257,7 +257,7 @@ class Plugin(pulumi.CustomResource):
257
257
  `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.
258
258
 
259
259
  ```sh
260
- $ pulumi import cloudamqp:index/plugin:Plugin rabbitmq_management rabbitmq_management,<instance_id>`
260
+ $ pulumi import cloudamqp:index/plugin:Plugin rabbitmq_management rabbitmq_management,<instance_id>`
261
261
  ```
262
262
 
263
263
  :param str resource_name: The name of the resource.
@@ -231,10 +231,12 @@ class PluginCommunity(pulumi.CustomResource):
231
231
  """
232
232
  ## Import
233
233
 
234
- `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.
234
+ `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP
235
+
236
+ instance identifier. The name and identifier are CSV separated, see example below.
235
237
 
236
238
  ```sh
237
- $ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
239
+ $ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
238
240
  ```
239
241
 
240
242
  :param str resource_name: The name of the resource.
@@ -254,10 +256,12 @@ class PluginCommunity(pulumi.CustomResource):
254
256
  """
255
257
  ## Import
256
258
 
257
- `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.
259
+ `cloudamqp_plugin` can be imported using the name argument of the resource together with CloudAMQP
260
+
261
+ instance identifier. The name and identifier are CSV separated, see example below.
258
262
 
259
263
  ```sh
260
- $ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
264
+ $ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
261
265
  ```
262
266
 
263
267
  :param str resource_name: The name of the resource.
@@ -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`.
@@ -385,10 +395,10 @@ class PrivatelinkAws(pulumi.CustomResource):
385
395
  `cloudamqp_privatelink_aws` can be imported using CloudAMQP internal identifier.
386
396
 
387
397
  ```sh
388
- $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
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`.
@@ -556,10 +576,10 @@ class PrivatelinkAws(pulumi.CustomResource):
556
576
  `cloudamqp_privatelink_aws` can be imported using CloudAMQP internal identifier.
557
577
 
558
578
  ```sh
559
- $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
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`.
@@ -381,10 +391,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
381
391
  `cloudamqp_privatelink_aws` can be imported using CloudAMQP internal identifier.
382
392
 
383
393
  ```sh
384
- $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
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`.
@@ -551,10 +571,10 @@ class PrivatelinkAzure(pulumi.CustomResource):
551
571
  `cloudamqp_privatelink_aws` can be imported using CloudAMQP internal identifier.
552
572
 
553
573
  ```sh
554
- $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
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.