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