pulumi-cloudamqp 3.21.0a1744082841__py3-none-any.whl → 3.22.0__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 (51) hide show
  1. pulumi_cloudamqp/__init__.py +3 -0
  2. pulumi_cloudamqp/_inputs.py +67 -66
  3. pulumi_cloudamqp/account_action.py +32 -28
  4. pulumi_cloudamqp/alarm.py +158 -154
  5. pulumi_cloudamqp/config/__init__.py +1 -0
  6. pulumi_cloudamqp/config/__init__.pyi +1 -0
  7. pulumi_cloudamqp/config/vars.py +1 -0
  8. pulumi_cloudamqp/custom_domain.py +32 -28
  9. pulumi_cloudamqp/extra_disk_size.py +74 -70
  10. pulumi_cloudamqp/get_account.py +2 -1
  11. pulumi_cloudamqp/get_account_vpcs.py +2 -1
  12. pulumi_cloudamqp/get_alarm.py +30 -29
  13. pulumi_cloudamqp/get_alarms.py +165 -0
  14. pulumi_cloudamqp/get_credentials.py +9 -8
  15. pulumi_cloudamqp/get_instance.py +24 -23
  16. pulumi_cloudamqp/get_nodes.py +7 -6
  17. pulumi_cloudamqp/get_notification.py +24 -23
  18. pulumi_cloudamqp/get_notifications.py +135 -0
  19. pulumi_cloudamqp/get_plugins.py +17 -16
  20. pulumi_cloudamqp/get_plugins_community.py +17 -16
  21. pulumi_cloudamqp/get_upgradable_versions.py +9 -8
  22. pulumi_cloudamqp/get_vpc_gcp_info.py +25 -24
  23. pulumi_cloudamqp/get_vpc_info.py +16 -15
  24. pulumi_cloudamqp/instance.py +200 -196
  25. pulumi_cloudamqp/integration_aws_eventbridge.py +95 -91
  26. pulumi_cloudamqp/integration_log.py +368 -364
  27. pulumi_cloudamqp/integration_metric.py +298 -294
  28. pulumi_cloudamqp/maintenance_window.py +60 -56
  29. pulumi_cloudamqp/node_actions.py +53 -49
  30. pulumi_cloudamqp/notification.py +74 -70
  31. pulumi_cloudamqp/outputs.py +334 -130
  32. pulumi_cloudamqp/plugin.py +88 -84
  33. pulumi_cloudamqp/plugin_community.py +88 -84
  34. pulumi_cloudamqp/privatelink_aws.py +81 -77
  35. pulumi_cloudamqp/privatelink_azure.py +81 -77
  36. pulumi_cloudamqp/provider.py +25 -21
  37. pulumi_cloudamqp/pulumi-plugin.json +1 -1
  38. pulumi_cloudamqp/rabbit_configuration.py +172 -168
  39. pulumi_cloudamqp/security_firewall.py +46 -42
  40. pulumi_cloudamqp/upgrade_lavinmq.py +32 -28
  41. pulumi_cloudamqp/upgrade_rabbitmq.py +46 -42
  42. pulumi_cloudamqp/vpc.py +67 -63
  43. pulumi_cloudamqp/vpc_connect.py +123 -119
  44. pulumi_cloudamqp/vpc_gcp_peering.py +109 -105
  45. pulumi_cloudamqp/vpc_peering.py +81 -77
  46. pulumi_cloudamqp/webhook.py +102 -98
  47. {pulumi_cloudamqp-3.21.0a1744082841.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/METADATA +1 -1
  48. pulumi_cloudamqp-3.22.0.dist-info/RECORD +52 -0
  49. {pulumi_cloudamqp-3.21.0a1744082841.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/WHEEL +1 -1
  50. pulumi_cloudamqp-3.21.0a1744082841.dist-info/RECORD +0 -50
  51. {pulumi_cloudamqp-3.21.0a1744082841.dist-info → pulumi_cloudamqp-3.22.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -69,12 +70,12 @@ class GetAlarmResult:
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="alarmId")
72
- def alarm_id(self) -> Optional[int]:
73
+ def alarm_id(self) -> Optional[builtins.int]:
73
74
  return pulumi.get(self, "alarm_id")
74
75
 
75
76
  @property
76
77
  @pulumi.getter
77
- def enabled(self) -> bool:
78
+ def enabled(self) -> builtins.bool:
78
79
  """
79
80
  Enable/disable status of the alarm.
80
81
  """
@@ -82,7 +83,7 @@ class GetAlarmResult:
82
83
 
83
84
  @property
84
85
  @pulumi.getter
85
- def id(self) -> str:
86
+ def id(self) -> builtins.str:
86
87
  """
87
88
  The provider-assigned unique ID for this managed resource.
88
89
  """
@@ -90,12 +91,12 @@ class GetAlarmResult:
90
91
 
91
92
  @property
92
93
  @pulumi.getter(name="instanceId")
93
- def instance_id(self) -> int:
94
+ def instance_id(self) -> builtins.int:
94
95
  return pulumi.get(self, "instance_id")
95
96
 
96
97
  @property
97
98
  @pulumi.getter(name="messageType")
98
- def message_type(self) -> str:
99
+ def message_type(self) -> builtins.str:
99
100
  """
100
101
  Message type `(total, unacked, ready)` used by queue alarm type.
101
102
  """
@@ -103,7 +104,7 @@ class GetAlarmResult:
103
104
 
104
105
  @property
105
106
  @pulumi.getter(name="queueRegex")
106
- def queue_regex(self) -> str:
107
+ def queue_regex(self) -> builtins.str:
107
108
  """
108
109
  Regular expression for which queue to check.
109
110
  """
@@ -111,7 +112,7 @@ class GetAlarmResult:
111
112
 
112
113
  @property
113
114
  @pulumi.getter
114
- def recipients(self) -> Sequence[int]:
115
+ def recipients(self) -> Sequence[builtins.int]:
115
116
  """
116
117
  Identifier for recipient to be notified.
117
118
  """
@@ -119,7 +120,7 @@ class GetAlarmResult:
119
120
 
120
121
  @property
121
122
  @pulumi.getter(name="reminderInterval")
122
- def reminder_interval(self) -> int:
123
+ def reminder_interval(self) -> builtins.int:
123
124
  """
124
125
  The reminder interval (in seconds) to resend the alarm if not resolved.
125
126
  Set to 0 for no reminders.
@@ -128,7 +129,7 @@ class GetAlarmResult:
128
129
 
129
130
  @property
130
131
  @pulumi.getter(name="timeThreshold")
131
- def time_threshold(self) -> int:
132
+ def time_threshold(self) -> builtins.int:
132
133
  """
133
134
  The time interval (in seconds) the `value_threshold` should be active
134
135
  before trigger an alarm.
@@ -137,12 +138,12 @@ class GetAlarmResult:
137
138
 
138
139
  @property
139
140
  @pulumi.getter
140
- def type(self) -> Optional[str]:
141
+ def type(self) -> Optional[builtins.str]:
141
142
  return pulumi.get(self, "type")
142
143
 
143
144
  @property
144
145
  @pulumi.getter(name="valueCalculation")
145
- def value_calculation(self) -> Optional[str]:
146
+ def value_calculation(self) -> Optional[builtins.str]:
146
147
  """
147
148
  Disk value threshold calculation, `(fixed, percentage)` of disk space
148
149
  remaining.
@@ -151,7 +152,7 @@ class GetAlarmResult:
151
152
 
152
153
  @property
153
154
  @pulumi.getter(name="valueThreshold")
154
- def value_threshold(self) -> int:
155
+ def value_threshold(self) -> builtins.int:
155
156
  """
156
157
  The value threshold that triggers the alarm.
157
158
  """
@@ -159,7 +160,7 @@ class GetAlarmResult:
159
160
 
160
161
  @property
161
162
  @pulumi.getter(name="vhostRegex")
162
- def vhost_regex(self) -> str:
163
+ def vhost_regex(self) -> builtins.str:
163
164
  """
164
165
  Regular expression for which vhost to check
165
166
  """
@@ -187,10 +188,10 @@ class AwaitableGetAlarmResult(GetAlarmResult):
187
188
  vhost_regex=self.vhost_regex)
188
189
 
189
190
 
190
- def get_alarm(alarm_id: Optional[int] = None,
191
- instance_id: Optional[int] = None,
192
- type: Optional[str] = None,
193
- value_calculation: Optional[str] = None,
191
+ def get_alarm(alarm_id: Optional[builtins.int] = None,
192
+ instance_id: Optional[builtins.int] = None,
193
+ type: Optional[builtins.str] = None,
194
+ value_calculation: Optional[builtins.str] = None,
194
195
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlarmResult:
195
196
  """
196
197
  Use this data source to retrieve information about default or created alarms. Either use `alarm_id`
@@ -215,13 +216,13 @@ def get_alarm(alarm_id: Optional[int] = None,
215
216
  `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
216
217
 
217
218
 
218
- :param int alarm_id: The alarm identifier. Either use this or `type` to give
219
+ :param builtins.int alarm_id: The alarm identifier. Either use this or `type` to give
219
220
  `Alarm` necessary information to retrieve the alarm.
220
- :param int instance_id: The CloudAMQP instance identifier.
221
- :param str type: The alarm type. Either use this or `alarm_id` to give `Alarm`
221
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
222
+ :param builtins.str type: The alarm type. Either use this or `alarm_id` to give `Alarm`
222
223
  necessary information when retrieve the alarm. Supported
223
224
  alarm types.
224
- :param str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
225
+ :param builtins.str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
225
226
  remaining.
226
227
  """
227
228
  __args__ = dict()
@@ -246,10 +247,10 @@ def get_alarm(alarm_id: Optional[int] = None,
246
247
  value_calculation=pulumi.get(__ret__, 'value_calculation'),
247
248
  value_threshold=pulumi.get(__ret__, 'value_threshold'),
248
249
  vhost_regex=pulumi.get(__ret__, 'vhost_regex'))
249
- def get_alarm_output(alarm_id: Optional[pulumi.Input[Optional[int]]] = None,
250
- instance_id: Optional[pulumi.Input[int]] = None,
251
- type: Optional[pulumi.Input[Optional[str]]] = None,
252
- value_calculation: Optional[pulumi.Input[Optional[str]]] = None,
250
+ def get_alarm_output(alarm_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
251
+ instance_id: Optional[pulumi.Input[builtins.int]] = None,
252
+ type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
253
+ value_calculation: Optional[pulumi.Input[Optional[builtins.str]]] = None,
253
254
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlarmResult]:
254
255
  """
255
256
  Use this data source to retrieve information about default or created alarms. Either use `alarm_id`
@@ -274,13 +275,13 @@ def get_alarm_output(alarm_id: Optional[pulumi.Input[Optional[int]]] = None,
274
275
  `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
275
276
 
276
277
 
277
- :param int alarm_id: The alarm identifier. Either use this or `type` to give
278
+ :param builtins.int alarm_id: The alarm identifier. Either use this or `type` to give
278
279
  `Alarm` necessary information to retrieve the alarm.
279
- :param int instance_id: The CloudAMQP instance identifier.
280
- :param str type: The alarm type. Either use this or `alarm_id` to give `Alarm`
280
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
281
+ :param builtins.str type: The alarm type. Either use this or `alarm_id` to give `Alarm`
281
282
  necessary information when retrieve the alarm. Supported
282
283
  alarm types.
283
- :param str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
284
+ :param builtins.str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
284
285
  remaining.
285
286
  """
286
287
  __args__ = dict()
@@ -0,0 +1,165 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetAlarmsResult',
21
+ 'AwaitableGetAlarmsResult',
22
+ 'get_alarms',
23
+ 'get_alarms_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetAlarmsResult:
28
+ """
29
+ A collection of values returned by getAlarms.
30
+ """
31
+ def __init__(__self__, alarms=None, id=None, instance_id=None, type=None):
32
+ if alarms and not isinstance(alarms, list):
33
+ raise TypeError("Expected argument 'alarms' to be a list")
34
+ pulumi.set(__self__, "alarms", alarms)
35
+ if id and not isinstance(id, str):
36
+ raise TypeError("Expected argument 'id' to be a str")
37
+ pulumi.set(__self__, "id", id)
38
+ if instance_id and not isinstance(instance_id, int):
39
+ raise TypeError("Expected argument 'instance_id' to be a int")
40
+ pulumi.set(__self__, "instance_id", instance_id)
41
+ if type and not isinstance(type, str):
42
+ raise TypeError("Expected argument 'type' to be a str")
43
+ pulumi.set(__self__, "type", type)
44
+
45
+ @property
46
+ @pulumi.getter
47
+ def alarms(self) -> Sequence['outputs.GetAlarmsAlarmResult']:
48
+ """
49
+ List of alarms (see below for nested schema)
50
+ """
51
+ return pulumi.get(self, "alarms")
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def id(self) -> builtins.str:
56
+ """
57
+ The provider-assigned unique ID for this managed resource.
58
+ """
59
+ return pulumi.get(self, "id")
60
+
61
+ @property
62
+ @pulumi.getter(name="instanceId")
63
+ def instance_id(self) -> builtins.int:
64
+ return pulumi.get(self, "instance_id")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def type(self) -> Optional[builtins.str]:
69
+ """
70
+ The type of the alarm.
71
+ """
72
+ return pulumi.get(self, "type")
73
+
74
+
75
+ class AwaitableGetAlarmsResult(GetAlarmsResult):
76
+ # pylint: disable=using-constant-test
77
+ def __await__(self):
78
+ if False:
79
+ yield self
80
+ return GetAlarmsResult(
81
+ alarms=self.alarms,
82
+ id=self.id,
83
+ instance_id=self.instance_id,
84
+ type=self.type)
85
+
86
+
87
+ def get_alarms(instance_id: Optional[builtins.int] = None,
88
+ type: Optional[builtins.str] = None,
89
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlarmsResult:
90
+ """
91
+ Use this data source to retrieve a list of default or created alarms.
92
+
93
+ ## Example Usage
94
+
95
+ ```python
96
+ import pulumi
97
+ import pulumi_cloudamqp as cloudamqp
98
+
99
+ queue_alarms = cloudamqp.get_alarms(instance_id=instance["id"],
100
+ type="queue")
101
+ ```
102
+
103
+ ## Dependency
104
+
105
+ This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
106
+
107
+ ## Alarm Types
108
+
109
+ `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
110
+
111
+
112
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
113
+ :param builtins.str type: The alarm type to filter for. Supported
114
+ alarm types.
115
+ """
116
+ __args__ = dict()
117
+ __args__['instanceId'] = instance_id
118
+ __args__['type'] = type
119
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
120
+ __ret__ = pulumi.runtime.invoke('cloudamqp:index/getAlarms:getAlarms', __args__, opts=opts, typ=GetAlarmsResult).value
121
+
122
+ return AwaitableGetAlarmsResult(
123
+ alarms=pulumi.get(__ret__, 'alarms'),
124
+ id=pulumi.get(__ret__, 'id'),
125
+ instance_id=pulumi.get(__ret__, 'instance_id'),
126
+ type=pulumi.get(__ret__, 'type'))
127
+ def get_alarms_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
128
+ type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
129
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlarmsResult]:
130
+ """
131
+ Use this data source to retrieve a list of default or created alarms.
132
+
133
+ ## Example Usage
134
+
135
+ ```python
136
+ import pulumi
137
+ import pulumi_cloudamqp as cloudamqp
138
+
139
+ queue_alarms = cloudamqp.get_alarms(instance_id=instance["id"],
140
+ type="queue")
141
+ ```
142
+
143
+ ## Dependency
144
+
145
+ This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
146
+
147
+ ## Alarm Types
148
+
149
+ `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
150
+
151
+
152
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
153
+ :param builtins.str type: The alarm type to filter for. Supported
154
+ alarm types.
155
+ """
156
+ __args__ = dict()
157
+ __args__['instanceId'] = instance_id
158
+ __args__['type'] = type
159
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
160
+ __ret__ = pulumi.runtime.invoke_output('cloudamqp:index/getAlarms:getAlarms', __args__, opts=opts, typ=GetAlarmsResult)
161
+ return __ret__.apply(lambda __response__: GetAlarmsResult(
162
+ alarms=pulumi.get(__response__, 'alarms'),
163
+ id=pulumi.get(__response__, 'id'),
164
+ instance_id=pulumi.get(__response__, 'instance_id'),
165
+ type=pulumi.get(__response__, 'type')))
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -42,7 +43,7 @@ class GetCredentialsResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def id(self) -> str:
46
+ def id(self) -> builtins.str:
46
47
  """
47
48
  The provider-assigned unique ID for this managed resource.
48
49
  """
@@ -50,12 +51,12 @@ class GetCredentialsResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter(name="instanceId")
53
- def instance_id(self) -> int:
54
+ def instance_id(self) -> builtins.int:
54
55
  return pulumi.get(self, "instance_id")
55
56
 
56
57
  @property
57
58
  @pulumi.getter
58
- def password(self) -> str:
59
+ def password(self) -> builtins.str:
59
60
  """
60
61
  (Sensitive) The password used by the `username`.
61
62
  """
@@ -63,7 +64,7 @@ class GetCredentialsResult:
63
64
 
64
65
  @property
65
66
  @pulumi.getter
66
- def username(self) -> str:
67
+ def username(self) -> builtins.str:
67
68
  """
68
69
  (Sensitive) The username for the configured user in Rabbit MQ.
69
70
  """
@@ -82,7 +83,7 @@ class AwaitableGetCredentialsResult(GetCredentialsResult):
82
83
  username=self.username)
83
84
 
84
85
 
85
- def get_credentials(instance_id: Optional[int] = None,
86
+ def get_credentials(instance_id: Optional[builtins.int] = None,
86
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCredentialsResult:
87
88
  """
88
89
  Use this data source to retrieve information about the credentials of the configured user in
@@ -102,7 +103,7 @@ def get_credentials(instance_id: Optional[int] = None,
102
103
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
103
104
 
104
105
 
105
- :param int instance_id: The CloudAMQP instance identifier.
106
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
106
107
  """
107
108
  __args__ = dict()
108
109
  __args__['instanceId'] = instance_id
@@ -114,7 +115,7 @@ def get_credentials(instance_id: Optional[int] = None,
114
115
  instance_id=pulumi.get(__ret__, 'instance_id'),
115
116
  password=pulumi.get(__ret__, 'password'),
116
117
  username=pulumi.get(__ret__, 'username'))
117
- def get_credentials_output(instance_id: Optional[pulumi.Input[int]] = None,
118
+ def get_credentials_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
118
119
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCredentialsResult]:
119
120
  """
120
121
  Use this data source to retrieve information about the credentials of the configured user in
@@ -134,7 +135,7 @@ def get_credentials_output(instance_id: Optional[pulumi.Input[int]] = None,
134
135
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
135
136
 
136
137
 
137
- :param int instance_id: The CloudAMQP instance identifier.
138
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
138
139
  """
139
140
  __args__ = dict()
140
141
  __args__['instanceId'] = instance_id
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -87,7 +88,7 @@ class GetInstanceResult:
87
88
 
88
89
  @property
89
90
  @pulumi.getter
90
- def apikey(self) -> str:
91
+ def apikey(self) -> builtins.str:
91
92
  """
92
93
  (Sensitive) The API key to secondary API handing alarms, integration etc.
93
94
  """
@@ -95,7 +96,7 @@ class GetInstanceResult:
95
96
 
96
97
  @property
97
98
  @pulumi.getter
98
- def backend(self) -> str:
99
+ def backend(self) -> builtins.str:
99
100
  """
100
101
  Information if the CloudAMQP instance runs either RabbitMQ or LavinMQ.
101
102
  """
@@ -103,7 +104,7 @@ class GetInstanceResult:
103
104
 
104
105
  @property
105
106
  @pulumi.getter
106
- def dedicated(self) -> bool:
107
+ def dedicated(self) -> builtins.bool:
107
108
  """
108
109
  Information if the CloudAMQP instance is shared or dedicated.
109
110
  """
@@ -111,7 +112,7 @@ class GetInstanceResult:
111
112
 
112
113
  @property
113
114
  @pulumi.getter
114
- def host(self) -> str:
115
+ def host(self) -> builtins.str:
115
116
  """
116
117
  The external hostname for the CloudAMQP instance.
117
118
  """
@@ -119,7 +120,7 @@ class GetInstanceResult:
119
120
 
120
121
  @property
121
122
  @pulumi.getter(name="hostInternal")
122
- def host_internal(self) -> str:
123
+ def host_internal(self) -> builtins.str:
123
124
  """
124
125
  The internal hostname for the CloudAMQP instance.
125
126
  """
@@ -127,7 +128,7 @@ class GetInstanceResult:
127
128
 
128
129
  @property
129
130
  @pulumi.getter
130
- def id(self) -> str:
131
+ def id(self) -> builtins.str:
131
132
  """
132
133
  The provider-assigned unique ID for this managed resource.
133
134
  """
@@ -135,12 +136,12 @@ class GetInstanceResult:
135
136
 
136
137
  @property
137
138
  @pulumi.getter(name="instanceId")
138
- def instance_id(self) -> int:
139
+ def instance_id(self) -> builtins.int:
139
140
  return pulumi.get(self, "instance_id")
140
141
 
141
142
  @property
142
143
  @pulumi.getter
143
- def name(self) -> str:
144
+ def name(self) -> builtins.str:
144
145
  """
145
146
  The name of the CloudAMQP instance.
146
147
  """
@@ -148,12 +149,12 @@ class GetInstanceResult:
148
149
 
149
150
  @property
150
151
  @pulumi.getter(name="noDefaultAlarms")
151
- def no_default_alarms(self) -> bool:
152
+ def no_default_alarms(self) -> builtins.bool:
152
153
  return pulumi.get(self, "no_default_alarms")
153
154
 
154
155
  @property
155
156
  @pulumi.getter
156
- def nodes(self) -> int:
157
+ def nodes(self) -> builtins.int:
157
158
  """
158
159
  Number of nodes in the cluster of the CloudAMQP instance.
159
160
  """
@@ -161,7 +162,7 @@ class GetInstanceResult:
161
162
 
162
163
  @property
163
164
  @pulumi.getter
164
- def plan(self) -> str:
165
+ def plan(self) -> builtins.str:
165
166
  """
166
167
  The subscription plan for the CloudAMQP instance.
167
168
  """
@@ -169,12 +170,12 @@ class GetInstanceResult:
169
170
 
170
171
  @property
171
172
  @pulumi.getter
172
- def ready(self) -> bool:
173
+ def ready(self) -> builtins.bool:
173
174
  return pulumi.get(self, "ready")
174
175
 
175
176
  @property
176
177
  @pulumi.getter
177
- def region(self) -> str:
178
+ def region(self) -> builtins.str:
178
179
  """
179
180
  The cloud platform and region that host the CloudAMQP instance,
180
181
  `{platform}::{region}`.
@@ -183,7 +184,7 @@ class GetInstanceResult:
183
184
 
184
185
  @property
185
186
  @pulumi.getter(name="rmqVersion")
186
- def rmq_version(self) -> str:
187
+ def rmq_version(self) -> builtins.str:
187
188
  """
188
189
  The version of installed Rabbit MQ.
189
190
  """
@@ -191,7 +192,7 @@ class GetInstanceResult:
191
192
 
192
193
  @property
193
194
  @pulumi.getter
194
- def tags(self) -> Sequence[str]:
195
+ def tags(self) -> Sequence[builtins.str]:
195
196
  """
196
197
  Tags the CloudAMQP instance with categories.
197
198
  """
@@ -199,7 +200,7 @@ class GetInstanceResult:
199
200
 
200
201
  @property
201
202
  @pulumi.getter
202
- def url(self) -> str:
203
+ def url(self) -> builtins.str:
203
204
  """
204
205
  (Sensitive) The AMQP URL (uses the internal hostname if the instance was created
205
206
  with VPC), used by clients to connect for pub/sub.
@@ -208,7 +209,7 @@ class GetInstanceResult:
208
209
 
209
210
  @property
210
211
  @pulumi.getter
211
- def vhost(self) -> str:
212
+ def vhost(self) -> builtins.str:
212
213
  """
213
214
  The virtual host configured in Rabbit MQ.
214
215
  """
@@ -216,7 +217,7 @@ class GetInstanceResult:
216
217
 
217
218
  @property
218
219
  @pulumi.getter(name="vpcId")
219
- def vpc_id(self) -> int:
220
+ def vpc_id(self) -> builtins.int:
220
221
  """
221
222
  ID of the VPC configured for the CloudAMQP instance.
222
223
  """
@@ -224,7 +225,7 @@ class GetInstanceResult:
224
225
 
225
226
  @property
226
227
  @pulumi.getter(name="vpcSubnet")
227
- def vpc_subnet(self) -> str:
228
+ def vpc_subnet(self) -> builtins.str:
228
229
  """
229
230
  Dedicated VPC subnet configured for the CloudAMQP instance.
230
231
  """
@@ -258,14 +259,14 @@ class AwaitableGetInstanceResult(GetInstanceResult):
258
259
  vpc_subnet=self.vpc_subnet)
259
260
 
260
261
 
261
- def get_instance(instance_id: Optional[int] = None,
262
+ def get_instance(instance_id: Optional[builtins.int] = None,
262
263
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
263
264
  """
264
265
  Use this data source to retrieve information about an already created CloudAMQP instance. In order
265
266
  to retrieve the correct information, the CoudAMQP instance identifier is needed.
266
267
 
267
268
 
268
- :param int instance_id: The CloudAMQP instance identifier.
269
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
269
270
  """
270
271
  __args__ = dict()
271
272
  __args__['instanceId'] = instance_id
@@ -292,14 +293,14 @@ def get_instance(instance_id: Optional[int] = None,
292
293
  vhost=pulumi.get(__ret__, 'vhost'),
293
294
  vpc_id=pulumi.get(__ret__, 'vpc_id'),
294
295
  vpc_subnet=pulumi.get(__ret__, 'vpc_subnet'))
295
- def get_instance_output(instance_id: Optional[pulumi.Input[int]] = None,
296
+ def get_instance_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
296
297
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceResult]:
297
298
  """
298
299
  Use this data source to retrieve information about an already created CloudAMQP instance. In order
299
300
  to retrieve the correct information, the CoudAMQP instance identifier is needed.
300
301
 
301
302
 
302
- :param int instance_id: The CloudAMQP instance identifier.
303
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
303
304
  """
304
305
  __args__ = dict()
305
306
  __args__['instanceId'] = instance_id
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -40,7 +41,7 @@ class GetNodesResult:
40
41
 
41
42
  @property
42
43
  @pulumi.getter
43
- def id(self) -> str:
44
+ def id(self) -> builtins.str:
44
45
  """
45
46
  The provider-assigned unique ID for this managed resource.
46
47
  """
@@ -48,7 +49,7 @@ class GetNodesResult:
48
49
 
49
50
  @property
50
51
  @pulumi.getter(name="instanceId")
51
- def instance_id(self) -> int:
52
+ def instance_id(self) -> builtins.int:
52
53
  return pulumi.get(self, "instance_id")
53
54
 
54
55
  @property
@@ -71,7 +72,7 @@ class AwaitableGetNodesResult(GetNodesResult):
71
72
  nodes=self.nodes)
72
73
 
73
74
 
74
- def get_nodes(instance_id: Optional[int] = None,
75
+ def get_nodes(instance_id: Optional[builtins.int] = None,
75
76
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodesResult:
76
77
  """
77
78
  Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
@@ -90,7 +91,7 @@ def get_nodes(instance_id: Optional[int] = None,
90
91
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
91
92
 
92
93
 
93
- :param int instance_id: The CloudAMQP instance identifier.
94
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
94
95
  """
95
96
  __args__ = dict()
96
97
  __args__['instanceId'] = instance_id
@@ -101,7 +102,7 @@ def get_nodes(instance_id: Optional[int] = None,
101
102
  id=pulumi.get(__ret__, 'id'),
102
103
  instance_id=pulumi.get(__ret__, 'instance_id'),
103
104
  nodes=pulumi.get(__ret__, 'nodes'))
104
- def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
105
+ def get_nodes_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
105
106
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodesResult]:
106
107
  """
107
108
  Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
@@ -120,7 +121,7 @@ def get_nodes_output(instance_id: Optional[pulumi.Input[int]] = None,
120
121
  This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
121
122
 
122
123
 
123
- :param int instance_id: The CloudAMQP instance identifier.
124
+ :param builtins.int instance_id: The CloudAMQP instance identifier.
124
125
  """
125
126
  __args__ = dict()
126
127
  __args__['instanceId'] = instance_id