pulumi-cloudamqp 3.22.0a1746163592__py3-none-any.whl → 3.23.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.
- pulumi_cloudamqp/__init__.py +6 -4
- pulumi_cloudamqp/_inputs.py +1 -1
- pulumi_cloudamqp/_utilities.py +1 -1
- pulumi_cloudamqp/{account_action.py → account_actions.py} +34 -49
- pulumi_cloudamqp/alarm.py +2 -4
- pulumi_cloudamqp/config/__init__.py +1 -1
- pulumi_cloudamqp/config/__init__.pyi +1 -1
- pulumi_cloudamqp/config/vars.py +1 -1
- pulumi_cloudamqp/custom_domain.py +2 -4
- pulumi_cloudamqp/extra_disk_size.py +2 -4
- pulumi_cloudamqp/get_account.py +1 -1
- pulumi_cloudamqp/get_account_vpcs.py +1 -1
- pulumi_cloudamqp/get_alarm.py +1 -1
- pulumi_cloudamqp/get_alarms.py +165 -0
- pulumi_cloudamqp/get_credentials.py +1 -1
- pulumi_cloudamqp/get_instance.py +1 -1
- pulumi_cloudamqp/get_nodes.py +1 -1
- pulumi_cloudamqp/get_notification.py +1 -1
- pulumi_cloudamqp/get_notifications.py +135 -0
- pulumi_cloudamqp/get_plugins.py +1 -1
- pulumi_cloudamqp/get_plugins_community.py +1 -1
- pulumi_cloudamqp/get_upgradable_versions.py +1 -1
- pulumi_cloudamqp/get_vpc_gcp_info.py +1 -1
- pulumi_cloudamqp/get_vpc_info.py +1 -1
- pulumi_cloudamqp/instance.py +2 -4
- pulumi_cloudamqp/integration_aws_eventbridge.py +2 -4
- pulumi_cloudamqp/integration_log.py +2 -4
- pulumi_cloudamqp/integration_metric.py +2 -4
- pulumi_cloudamqp/maintenance_window.py +2 -4
- pulumi_cloudamqp/node_actions.py +2 -4
- pulumi_cloudamqp/notification.py +2 -4
- pulumi_cloudamqp/outputs.py +204 -1
- pulumi_cloudamqp/plugin.py +2 -4
- pulumi_cloudamqp/plugin_community.py +2 -4
- pulumi_cloudamqp/privatelink_aws.py +2 -4
- pulumi_cloudamqp/privatelink_azure.py +2 -4
- pulumi_cloudamqp/provider.py +29 -12
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/rabbit_configuration.py +4 -20
- pulumi_cloudamqp/security_firewall.py +2 -4
- pulumi_cloudamqp/upgrade_lavinmq.py +2 -4
- pulumi_cloudamqp/upgrade_rabbitmq.py +2 -4
- pulumi_cloudamqp/vpc.py +2 -4
- pulumi_cloudamqp/vpc_connect.py +2 -4
- pulumi_cloudamqp/vpc_gcp_peering.py +2 -4
- pulumi_cloudamqp/vpc_peering.py +2 -4
- pulumi_cloudamqp/webhook.py +2 -4
- {pulumi_cloudamqp-3.22.0a1746163592.dist-info → pulumi_cloudamqp-3.23.0.dist-info}/METADATA +3 -3
- pulumi_cloudamqp-3.23.0.dist-info/RECORD +52 -0
- {pulumi_cloudamqp-3.22.0a1746163592.dist-info → pulumi_cloudamqp-3.23.0.dist-info}/WHEEL +1 -1
- pulumi_cloudamqp-3.22.0a1746163592.dist-info/RECORD +0 -50
- {pulumi_cloudamqp-3.22.0a1746163592.dist-info → pulumi_cloudamqp-3.23.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
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
|
+
'GetNotificationsResult',
|
|
21
|
+
'AwaitableGetNotificationsResult',
|
|
22
|
+
'get_notifications',
|
|
23
|
+
'get_notifications_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetNotificationsResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getNotifications.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, id=None, instance_id=None, recipients=None):
|
|
32
|
+
if id and not isinstance(id, str):
|
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "id", id)
|
|
35
|
+
if instance_id and not isinstance(instance_id, int):
|
|
36
|
+
raise TypeError("Expected argument 'instance_id' to be a int")
|
|
37
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
38
|
+
if recipients and not isinstance(recipients, list):
|
|
39
|
+
raise TypeError("Expected argument 'recipients' to be a list")
|
|
40
|
+
pulumi.set(__self__, "recipients", recipients)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
@pulumi.getter
|
|
44
|
+
def id(self) -> builtins.str:
|
|
45
|
+
"""
|
|
46
|
+
The provider-assigned unique ID for this managed resource.
|
|
47
|
+
"""
|
|
48
|
+
return pulumi.get(self, "id")
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter(name="instanceId")
|
|
52
|
+
def instance_id(self) -> builtins.int:
|
|
53
|
+
return pulumi.get(self, "instance_id")
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def recipients(self) -> Sequence['outputs.GetNotificationsRecipientResult']:
|
|
58
|
+
"""
|
|
59
|
+
List of alarms (see below for nested schema)
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "recipients")
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class AwaitableGetNotificationsResult(GetNotificationsResult):
|
|
65
|
+
# pylint: disable=using-constant-test
|
|
66
|
+
def __await__(self):
|
|
67
|
+
if False:
|
|
68
|
+
yield self
|
|
69
|
+
return GetNotificationsResult(
|
|
70
|
+
id=self.id,
|
|
71
|
+
instance_id=self.instance_id,
|
|
72
|
+
recipients=self.recipients)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def get_notifications(instance_id: Optional[builtins.int] = None,
|
|
76
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationsResult:
|
|
77
|
+
"""
|
|
78
|
+
Use this data source to retrieve information about all notification recipients. Each recipient will
|
|
79
|
+
receive notifications assigned to an alarm that has triggered.
|
|
80
|
+
|
|
81
|
+
## Example Usage
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
import pulumi
|
|
85
|
+
import pulumi_cloudamqp as cloudamqp
|
|
86
|
+
|
|
87
|
+
default_recipient = cloudamqp.get_notifications(instance_id=instance["id"])
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Dependency
|
|
91
|
+
|
|
92
|
+
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
96
|
+
"""
|
|
97
|
+
__args__ = dict()
|
|
98
|
+
__args__['instanceId'] = instance_id
|
|
99
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
100
|
+
__ret__ = pulumi.runtime.invoke('cloudamqp:index/getNotifications:getNotifications', __args__, opts=opts, typ=GetNotificationsResult).value
|
|
101
|
+
|
|
102
|
+
return AwaitableGetNotificationsResult(
|
|
103
|
+
id=pulumi.get(__ret__, 'id'),
|
|
104
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
105
|
+
recipients=pulumi.get(__ret__, 'recipients'))
|
|
106
|
+
def get_notifications_output(instance_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
107
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationsResult]:
|
|
108
|
+
"""
|
|
109
|
+
Use this data source to retrieve information about all notification recipients. Each recipient will
|
|
110
|
+
receive notifications assigned to an alarm that has triggered.
|
|
111
|
+
|
|
112
|
+
## Example Usage
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
import pulumi
|
|
116
|
+
import pulumi_cloudamqp as cloudamqp
|
|
117
|
+
|
|
118
|
+
default_recipient = cloudamqp.get_notifications(instance_id=instance["id"])
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Dependency
|
|
122
|
+
|
|
123
|
+
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param builtins.int instance_id: The CloudAMQP instance identifier.
|
|
127
|
+
"""
|
|
128
|
+
__args__ = dict()
|
|
129
|
+
__args__['instanceId'] = instance_id
|
|
130
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
131
|
+
__ret__ = pulumi.runtime.invoke_output('cloudamqp:index/getNotifications:getNotifications', __args__, opts=opts, typ=GetNotificationsResult)
|
|
132
|
+
return __ret__.apply(lambda __response__: GetNotificationsResult(
|
|
133
|
+
id=pulumi.get(__response__, 'id'),
|
|
134
|
+
instance_id=pulumi.get(__response__, 'instance_id'),
|
|
135
|
+
recipients=pulumi.get(__response__, 'recipients')))
|
pulumi_cloudamqp/get_plugins.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
pulumi_cloudamqp/get_vpc_info.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
pulumi_cloudamqp/instance.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -617,10 +617,8 @@ class _InstanceState:
|
|
|
617
617
|
pulumi.set(self, "vpc_subnet", value)
|
|
618
618
|
|
|
619
619
|
|
|
620
|
+
@pulumi.type_token("cloudamqp:index/instance:Instance")
|
|
620
621
|
class Instance(pulumi.CustomResource):
|
|
621
|
-
|
|
622
|
-
pulumi_type = "cloudamqp:index/instance:Instance"
|
|
623
|
-
|
|
624
622
|
@overload
|
|
625
623
|
def __init__(__self__,
|
|
626
624
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -235,10 +235,8 @@ class _IntegrationAwsEventbridgeState:
|
|
|
235
235
|
pulumi.set(self, "with_headers", value)
|
|
236
236
|
|
|
237
237
|
|
|
238
|
+
@pulumi.type_token("cloudamqp:index/integrationAwsEventbridge:IntegrationAwsEventbridge")
|
|
238
239
|
class IntegrationAwsEventbridge(pulumi.CustomResource):
|
|
239
|
-
|
|
240
|
-
pulumi_type = "cloudamqp:index/integrationAwsEventbridge:IntegrationAwsEventbridge"
|
|
241
|
-
|
|
242
240
|
@overload
|
|
243
241
|
def __init__(__self__,
|
|
244
242
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -904,10 +904,8 @@ class _IntegrationLogState:
|
|
|
904
904
|
pulumi.set(self, "url", value)
|
|
905
905
|
|
|
906
906
|
|
|
907
|
+
@pulumi.type_token("cloudamqp:index/integrationLog:IntegrationLog")
|
|
907
908
|
class IntegrationLog(pulumi.CustomResource):
|
|
908
|
-
|
|
909
|
-
pulumi_type = "cloudamqp:index/integrationLog:IntegrationLog"
|
|
910
|
-
|
|
911
909
|
@overload
|
|
912
910
|
def __init__(__self__,
|
|
913
911
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -720,10 +720,8 @@ class _IntegrationMetricState:
|
|
|
720
720
|
pulumi.set(self, "vhost_whitelist", value)
|
|
721
721
|
|
|
722
722
|
|
|
723
|
+
@pulumi.type_token("cloudamqp:index/integrationMetric:IntegrationMetric")
|
|
723
724
|
class IntegrationMetric(pulumi.CustomResource):
|
|
724
|
-
|
|
725
|
-
pulumi_type = "cloudamqp:index/integrationMetric:IntegrationMetric"
|
|
726
|
-
|
|
727
725
|
@overload
|
|
728
726
|
def __init__(__self__,
|
|
729
727
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -164,10 +164,8 @@ class _MaintenanceWindowState:
|
|
|
164
164
|
pulumi.set(self, "preferred_time", value)
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
@pulumi.type_token("cloudamqp:index/maintenanceWindow:MaintenanceWindow")
|
|
167
168
|
class MaintenanceWindow(pulumi.CustomResource):
|
|
168
|
-
|
|
169
|
-
pulumi_type = "cloudamqp:index/maintenanceWindow:MaintenanceWindow"
|
|
170
|
-
|
|
171
169
|
@overload
|
|
172
170
|
def __init__(__self__,
|
|
173
171
|
resource_name: str,
|
pulumi_cloudamqp/node_actions.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -142,10 +142,8 @@ class _NodeActionsState:
|
|
|
142
142
|
pulumi.set(self, "running", value)
|
|
143
143
|
|
|
144
144
|
|
|
145
|
+
@pulumi.type_token("cloudamqp:index/nodeActions:NodeActions")
|
|
145
146
|
class NodeActions(pulumi.CustomResource):
|
|
146
|
-
|
|
147
|
-
pulumi_type = "cloudamqp:index/nodeActions:NodeActions"
|
|
148
|
-
|
|
149
147
|
@overload
|
|
150
148
|
def __init__(__self__,
|
|
151
149
|
resource_name: str,
|
pulumi_cloudamqp/notification.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -280,10 +280,8 @@ class _NotificationState:
|
|
|
280
280
|
pulumi.set(self, "value", value)
|
|
281
281
|
|
|
282
282
|
|
|
283
|
+
@pulumi.type_token("cloudamqp:index/notification:Notification")
|
|
283
284
|
class Notification(pulumi.CustomResource):
|
|
284
|
-
|
|
285
|
-
pulumi_type = "cloudamqp:index/notification:Notification"
|
|
286
|
-
|
|
287
285
|
@overload
|
|
288
286
|
def __init__(__self__,
|
|
289
287
|
resource_name: str,
|
pulumi_cloudamqp/outputs.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -22,7 +22,9 @@ __all__ = [
|
|
|
22
22
|
'SecurityFirewallRule',
|
|
23
23
|
'GetAccountInstanceResult',
|
|
24
24
|
'GetAccountVpcsVpcResult',
|
|
25
|
+
'GetAlarmsAlarmResult',
|
|
25
26
|
'GetNodesNodeResult',
|
|
27
|
+
'GetNotificationsRecipientResult',
|
|
26
28
|
'GetPluginsCommunityPluginResult',
|
|
27
29
|
'GetPluginsPluginResult',
|
|
28
30
|
]
|
|
@@ -442,6 +444,145 @@ class GetAccountVpcsVpcResult(dict):
|
|
|
442
444
|
return pulumi.get(self, "tags")
|
|
443
445
|
|
|
444
446
|
|
|
447
|
+
@pulumi.output_type
|
|
448
|
+
class GetAlarmsAlarmResult(dict):
|
|
449
|
+
def __init__(__self__, *,
|
|
450
|
+
enabled: builtins.bool,
|
|
451
|
+
message_type: builtins.str,
|
|
452
|
+
queue_regex: builtins.str,
|
|
453
|
+
recipients: Sequence[builtins.int],
|
|
454
|
+
reminder_interval: builtins.int,
|
|
455
|
+
time_threshold: builtins.int,
|
|
456
|
+
value_threshold: builtins.int,
|
|
457
|
+
vhost_regex: builtins.str,
|
|
458
|
+
alarm_id: Optional[builtins.int] = None,
|
|
459
|
+
type: Optional[builtins.str] = None,
|
|
460
|
+
value_calculation: Optional[builtins.str] = None):
|
|
461
|
+
"""
|
|
462
|
+
:param builtins.bool enabled: Enable/disable status of the alarm.
|
|
463
|
+
:param builtins.str message_type: Message type `(total, unacked, ready)` used by queue alarm type.
|
|
464
|
+
:param builtins.str queue_regex: Regular expression for which queue to check.
|
|
465
|
+
:param Sequence[builtins.int] recipients: Identifier for recipient to be notified.
|
|
466
|
+
:param builtins.int reminder_interval: The reminder interval (in seconds) to resend the alarm if not resolved.
|
|
467
|
+
Set to 0 for no reminders.
|
|
468
|
+
:param builtins.int time_threshold: The time interval (in seconds) the `value_threshold` should be active
|
|
469
|
+
before trigger an alarm.
|
|
470
|
+
:param builtins.int value_threshold: The value threshold that triggers the alarm.
|
|
471
|
+
:param builtins.str vhost_regex: Regular expression for which vhost to check
|
|
472
|
+
:param builtins.int alarm_id: The alarm identifier.
|
|
473
|
+
:param builtins.str type: The alarm type to filter for. Supported
|
|
474
|
+
alarm types.
|
|
475
|
+
:param builtins.str value_calculation: Disk value threshold calculation, `(fixed, percentage)` of disk space
|
|
476
|
+
remaining.
|
|
477
|
+
"""
|
|
478
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
479
|
+
pulumi.set(__self__, "message_type", message_type)
|
|
480
|
+
pulumi.set(__self__, "queue_regex", queue_regex)
|
|
481
|
+
pulumi.set(__self__, "recipients", recipients)
|
|
482
|
+
pulumi.set(__self__, "reminder_interval", reminder_interval)
|
|
483
|
+
pulumi.set(__self__, "time_threshold", time_threshold)
|
|
484
|
+
pulumi.set(__self__, "value_threshold", value_threshold)
|
|
485
|
+
pulumi.set(__self__, "vhost_regex", vhost_regex)
|
|
486
|
+
if alarm_id is not None:
|
|
487
|
+
pulumi.set(__self__, "alarm_id", alarm_id)
|
|
488
|
+
if type is not None:
|
|
489
|
+
pulumi.set(__self__, "type", type)
|
|
490
|
+
if value_calculation is not None:
|
|
491
|
+
pulumi.set(__self__, "value_calculation", value_calculation)
|
|
492
|
+
|
|
493
|
+
@property
|
|
494
|
+
@pulumi.getter
|
|
495
|
+
def enabled(self) -> builtins.bool:
|
|
496
|
+
"""
|
|
497
|
+
Enable/disable status of the alarm.
|
|
498
|
+
"""
|
|
499
|
+
return pulumi.get(self, "enabled")
|
|
500
|
+
|
|
501
|
+
@property
|
|
502
|
+
@pulumi.getter(name="messageType")
|
|
503
|
+
def message_type(self) -> builtins.str:
|
|
504
|
+
"""
|
|
505
|
+
Message type `(total, unacked, ready)` used by queue alarm type.
|
|
506
|
+
"""
|
|
507
|
+
return pulumi.get(self, "message_type")
|
|
508
|
+
|
|
509
|
+
@property
|
|
510
|
+
@pulumi.getter(name="queueRegex")
|
|
511
|
+
def queue_regex(self) -> builtins.str:
|
|
512
|
+
"""
|
|
513
|
+
Regular expression for which queue to check.
|
|
514
|
+
"""
|
|
515
|
+
return pulumi.get(self, "queue_regex")
|
|
516
|
+
|
|
517
|
+
@property
|
|
518
|
+
@pulumi.getter
|
|
519
|
+
def recipients(self) -> Sequence[builtins.int]:
|
|
520
|
+
"""
|
|
521
|
+
Identifier for recipient to be notified.
|
|
522
|
+
"""
|
|
523
|
+
return pulumi.get(self, "recipients")
|
|
524
|
+
|
|
525
|
+
@property
|
|
526
|
+
@pulumi.getter(name="reminderInterval")
|
|
527
|
+
def reminder_interval(self) -> builtins.int:
|
|
528
|
+
"""
|
|
529
|
+
The reminder interval (in seconds) to resend the alarm if not resolved.
|
|
530
|
+
Set to 0 for no reminders.
|
|
531
|
+
"""
|
|
532
|
+
return pulumi.get(self, "reminder_interval")
|
|
533
|
+
|
|
534
|
+
@property
|
|
535
|
+
@pulumi.getter(name="timeThreshold")
|
|
536
|
+
def time_threshold(self) -> builtins.int:
|
|
537
|
+
"""
|
|
538
|
+
The time interval (in seconds) the `value_threshold` should be active
|
|
539
|
+
before trigger an alarm.
|
|
540
|
+
"""
|
|
541
|
+
return pulumi.get(self, "time_threshold")
|
|
542
|
+
|
|
543
|
+
@property
|
|
544
|
+
@pulumi.getter(name="valueThreshold")
|
|
545
|
+
def value_threshold(self) -> builtins.int:
|
|
546
|
+
"""
|
|
547
|
+
The value threshold that triggers the alarm.
|
|
548
|
+
"""
|
|
549
|
+
return pulumi.get(self, "value_threshold")
|
|
550
|
+
|
|
551
|
+
@property
|
|
552
|
+
@pulumi.getter(name="vhostRegex")
|
|
553
|
+
def vhost_regex(self) -> builtins.str:
|
|
554
|
+
"""
|
|
555
|
+
Regular expression for which vhost to check
|
|
556
|
+
"""
|
|
557
|
+
return pulumi.get(self, "vhost_regex")
|
|
558
|
+
|
|
559
|
+
@property
|
|
560
|
+
@pulumi.getter(name="alarmId")
|
|
561
|
+
def alarm_id(self) -> Optional[builtins.int]:
|
|
562
|
+
"""
|
|
563
|
+
The alarm identifier.
|
|
564
|
+
"""
|
|
565
|
+
return pulumi.get(self, "alarm_id")
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
@pulumi.getter
|
|
569
|
+
def type(self) -> Optional[builtins.str]:
|
|
570
|
+
"""
|
|
571
|
+
The alarm type to filter for. Supported
|
|
572
|
+
alarm types.
|
|
573
|
+
"""
|
|
574
|
+
return pulumi.get(self, "type")
|
|
575
|
+
|
|
576
|
+
@property
|
|
577
|
+
@pulumi.getter(name="valueCalculation")
|
|
578
|
+
def value_calculation(self) -> Optional[builtins.str]:
|
|
579
|
+
"""
|
|
580
|
+
Disk value threshold calculation, `(fixed, percentage)` of disk space
|
|
581
|
+
remaining.
|
|
582
|
+
"""
|
|
583
|
+
return pulumi.get(self, "value_calculation")
|
|
584
|
+
|
|
585
|
+
|
|
445
586
|
@pulumi.output_type
|
|
446
587
|
class GetNodesNodeResult(dict):
|
|
447
588
|
def __init__(__self__, *,
|
|
@@ -570,6 +711,68 @@ class GetNodesNodeResult(dict):
|
|
|
570
711
|
return pulumi.get(self, "running")
|
|
571
712
|
|
|
572
713
|
|
|
714
|
+
@pulumi.output_type
|
|
715
|
+
class GetNotificationsRecipientResult(dict):
|
|
716
|
+
def __init__(__self__, *,
|
|
717
|
+
name: builtins.str,
|
|
718
|
+
options: Mapping[str, builtins.str],
|
|
719
|
+
recipient_id: builtins.int,
|
|
720
|
+
type: builtins.str,
|
|
721
|
+
value: builtins.str):
|
|
722
|
+
"""
|
|
723
|
+
:param builtins.str name: The name of the recipient.
|
|
724
|
+
:param Mapping[str, builtins.str] options: Options argument (e.g. `rk` used for VictorOps routing key).
|
|
725
|
+
:param builtins.int recipient_id: The identifier for the recipient.
|
|
726
|
+
:param builtins.str type: The type of the recipient.
|
|
727
|
+
:param builtins.str value: The notification endpoint, where to send the notification.
|
|
728
|
+
"""
|
|
729
|
+
pulumi.set(__self__, "name", name)
|
|
730
|
+
pulumi.set(__self__, "options", options)
|
|
731
|
+
pulumi.set(__self__, "recipient_id", recipient_id)
|
|
732
|
+
pulumi.set(__self__, "type", type)
|
|
733
|
+
pulumi.set(__self__, "value", value)
|
|
734
|
+
|
|
735
|
+
@property
|
|
736
|
+
@pulumi.getter
|
|
737
|
+
def name(self) -> builtins.str:
|
|
738
|
+
"""
|
|
739
|
+
The name of the recipient.
|
|
740
|
+
"""
|
|
741
|
+
return pulumi.get(self, "name")
|
|
742
|
+
|
|
743
|
+
@property
|
|
744
|
+
@pulumi.getter
|
|
745
|
+
def options(self) -> Mapping[str, builtins.str]:
|
|
746
|
+
"""
|
|
747
|
+
Options argument (e.g. `rk` used for VictorOps routing key).
|
|
748
|
+
"""
|
|
749
|
+
return pulumi.get(self, "options")
|
|
750
|
+
|
|
751
|
+
@property
|
|
752
|
+
@pulumi.getter(name="recipientId")
|
|
753
|
+
def recipient_id(self) -> builtins.int:
|
|
754
|
+
"""
|
|
755
|
+
The identifier for the recipient.
|
|
756
|
+
"""
|
|
757
|
+
return pulumi.get(self, "recipient_id")
|
|
758
|
+
|
|
759
|
+
@property
|
|
760
|
+
@pulumi.getter
|
|
761
|
+
def type(self) -> builtins.str:
|
|
762
|
+
"""
|
|
763
|
+
The type of the recipient.
|
|
764
|
+
"""
|
|
765
|
+
return pulumi.get(self, "type")
|
|
766
|
+
|
|
767
|
+
@property
|
|
768
|
+
@pulumi.getter
|
|
769
|
+
def value(self) -> builtins.str:
|
|
770
|
+
"""
|
|
771
|
+
The notification endpoint, where to send the notification.
|
|
772
|
+
"""
|
|
773
|
+
return pulumi.get(self, "value")
|
|
774
|
+
|
|
775
|
+
|
|
573
776
|
@pulumi.output_type
|
|
574
777
|
class GetPluginsCommunityPluginResult(dict):
|
|
575
778
|
def __init__(__self__, *,
|
pulumi_cloudamqp/plugin.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -247,10 +247,8 @@ class _PluginState:
|
|
|
247
247
|
pulumi.set(self, "version", value)
|
|
248
248
|
|
|
249
249
|
|
|
250
|
+
@pulumi.type_token("cloudamqp:index/plugin:Plugin")
|
|
250
251
|
class Plugin(pulumi.CustomResource):
|
|
251
|
-
|
|
252
|
-
pulumi_type = "cloudamqp:index/plugin:Plugin"
|
|
253
|
-
|
|
254
252
|
@overload
|
|
255
253
|
def __init__(__self__,
|
|
256
254
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -247,10 +247,8 @@ class _PluginCommunityState:
|
|
|
247
247
|
pulumi.set(self, "timeout", value)
|
|
248
248
|
|
|
249
249
|
|
|
250
|
+
@pulumi.type_token("cloudamqp:index/pluginCommunity:PluginCommunity")
|
|
250
251
|
class PluginCommunity(pulumi.CustomResource):
|
|
251
|
-
|
|
252
|
-
pulumi_type = "cloudamqp:index/pluginCommunity:PluginCommunity"
|
|
253
|
-
|
|
254
252
|
@overload
|
|
255
253
|
def __init__(__self__,
|
|
256
254
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -251,10 +251,8 @@ class _PrivatelinkAwsState:
|
|
|
251
251
|
pulumi.set(self, "timeout", value)
|
|
252
252
|
|
|
253
253
|
|
|
254
|
+
@pulumi.type_token("cloudamqp:index/privatelinkAws:PrivatelinkAws")
|
|
254
255
|
class PrivatelinkAws(pulumi.CustomResource):
|
|
255
|
-
|
|
256
|
-
pulumi_type = "cloudamqp:index/privatelinkAws:PrivatelinkAws"
|
|
257
|
-
|
|
258
256
|
@overload
|
|
259
257
|
def __init__(__self__,
|
|
260
258
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -247,10 +247,8 @@ class _PrivatelinkAzureState:
|
|
|
247
247
|
pulumi.set(self, "timeout", value)
|
|
248
248
|
|
|
249
249
|
|
|
250
|
+
@pulumi.type_token("cloudamqp:index/privatelinkAzure:PrivatelinkAzure")
|
|
250
251
|
class PrivatelinkAzure(pulumi.CustomResource):
|
|
251
|
-
|
|
252
|
-
pulumi_type = "cloudamqp:index/privatelinkAzure:PrivatelinkAzure"
|
|
253
|
-
|
|
254
252
|
@overload
|
|
255
253
|
def __init__(__self__,
|
|
256
254
|
resource_name: str,
|