pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.0a1737090935__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-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +59 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +6 -6
- pulumi_alicloud/alb/a_script.py +116 -98
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +4 -4
- pulumi_alicloud/alikafka/instance.py +188 -70
- pulumi_alicloud/amqp/instance.py +77 -28
- pulumi_alicloud/bastionhost/_inputs.py +40 -38
- pulumi_alicloud/bastionhost/get_instances.py +6 -22
- pulumi_alicloud/bastionhost/outputs.py +60 -49
- pulumi_alicloud/cen/instance_grant.py +4 -0
- pulumi_alicloud/cloudcontrol/__init__.py +12 -0
- pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
- pulumi_alicloud/cloudcontrol/get_products.py +187 -0
- pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
- pulumi_alicloud/cloudcontrol/outputs.py +688 -0
- pulumi_alicloud/cloudcontrol/resource.py +407 -0
- pulumi_alicloud/cms/_inputs.py +21 -15
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +14 -10
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +14 -14
- pulumi_alicloud/cs/managed_kubernetes.py +137 -47
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +1534 -0
- pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
- pulumi_alicloud/dataworks/di_job.py +1005 -0
- pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
- pulumi_alicloud/dataworks/network.py +331 -0
- pulumi_alicloud/dataworks/outputs.py +1247 -0
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dns/get_alidns_domains.py +7 -2
- pulumi_alicloud/dns/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +88 -0
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +32 -4
- pulumi_alicloud/fc/v2_function.py +20 -0
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/cross_account.py +338 -0
- pulumi_alicloud/ims/oidc_provider.py +28 -0
- pulumi_alicloud/log/resource_record.py +42 -26
- pulumi_alicloud/message/service_queue.py +106 -59
- pulumi_alicloud/message/service_topic.py +182 -37
- pulumi_alicloud/mongodb/account.py +138 -163
- pulumi_alicloud/oos/secret_parameter.py +84 -9
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +2 -4
- pulumi_alicloud/oss/bucket_referer.py +2 -4
- pulumi_alicloud/oss/get_buckets.py +16 -2
- pulumi_alicloud/oss/outputs.py +18 -17
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/sae/application.py +84 -7
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +5 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
- pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
- pulumi_alicloud/vpc/get_networks.py +3 -0
- pulumi_alicloud/vpc/nat_gateway.py +145 -7
- pulumi_alicloud/vpc/outputs.py +777 -0
- pulumi_alicloud/vpc/snat_entry.py +107 -48
- pulumi_alicloud/vpn/_inputs.py +96 -72
- pulumi_alicloud/vpn/connection.py +24 -28
- pulumi_alicloud/vpn/outputs.py +64 -48
- pulumi_alicloud/yundun/_inputs.py +26 -24
- pulumi_alicloud/yundun/outputs.py +37 -22
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/RECORD +78 -61
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/top_level.txt +0 -0
|
@@ -20,25 +20,40 @@ __all__ = ['ServiceTopicArgs', 'ServiceTopic']
|
|
|
20
20
|
class ServiceTopicArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
topic_name: pulumi.Input[str],
|
|
23
|
+
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
23
24
|
logging_enabled: Optional[pulumi.Input[bool]] = None,
|
|
24
|
-
max_message_size: Optional[pulumi.Input[int]] = None
|
|
25
|
+
max_message_size: Optional[pulumi.Input[int]] = None,
|
|
26
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
25
27
|
"""
|
|
26
28
|
The set of arguments for constructing a ServiceTopic resource.
|
|
27
|
-
:param pulumi.Input[str] topic_name:
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
30
|
+
|
|
31
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
32
|
+
:param pulumi.Input[bool] enable_logging: Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
33
|
+
:param pulumi.Input[bool] logging_enabled: . Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
34
|
+
:param pulumi.Input[int] max_message_size: The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
30
36
|
"""
|
|
31
37
|
pulumi.set(__self__, "topic_name", topic_name)
|
|
38
|
+
if enable_logging is not None:
|
|
39
|
+
pulumi.set(__self__, "enable_logging", enable_logging)
|
|
40
|
+
if logging_enabled is not None:
|
|
41
|
+
warnings.warn("""Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""", DeprecationWarning)
|
|
42
|
+
pulumi.log.warn("""logging_enabled is deprecated: Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""")
|
|
32
43
|
if logging_enabled is not None:
|
|
33
44
|
pulumi.set(__self__, "logging_enabled", logging_enabled)
|
|
34
45
|
if max_message_size is not None:
|
|
35
46
|
pulumi.set(__self__, "max_message_size", max_message_size)
|
|
47
|
+
if tags is not None:
|
|
48
|
+
pulumi.set(__self__, "tags", tags)
|
|
36
49
|
|
|
37
50
|
@property
|
|
38
51
|
@pulumi.getter(name="topicName")
|
|
39
52
|
def topic_name(self) -> pulumi.Input[str]:
|
|
40
53
|
"""
|
|
41
|
-
|
|
54
|
+
The name of the topic.
|
|
55
|
+
|
|
56
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
42
57
|
"""
|
|
43
58
|
return pulumi.get(self, "topic_name")
|
|
44
59
|
|
|
@@ -46,11 +61,24 @@ class ServiceTopicArgs:
|
|
|
46
61
|
def topic_name(self, value: pulumi.Input[str]):
|
|
47
62
|
pulumi.set(self, "topic_name", value)
|
|
48
63
|
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter(name="enableLogging")
|
|
66
|
+
def enable_logging(self) -> Optional[pulumi.Input[bool]]:
|
|
67
|
+
"""
|
|
68
|
+
Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "enable_logging")
|
|
71
|
+
|
|
72
|
+
@enable_logging.setter
|
|
73
|
+
def enable_logging(self, value: Optional[pulumi.Input[bool]]):
|
|
74
|
+
pulumi.set(self, "enable_logging", value)
|
|
75
|
+
|
|
49
76
|
@property
|
|
50
77
|
@pulumi.getter(name="loggingEnabled")
|
|
78
|
+
@_utilities.deprecated("""Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""")
|
|
51
79
|
def logging_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
52
80
|
"""
|
|
53
|
-
|
|
81
|
+
. Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
54
82
|
"""
|
|
55
83
|
return pulumi.get(self, "logging_enabled")
|
|
56
84
|
|
|
@@ -62,7 +90,7 @@ class ServiceTopicArgs:
|
|
|
62
90
|
@pulumi.getter(name="maxMessageSize")
|
|
63
91
|
def max_message_size(self) -> Optional[pulumi.Input[int]]:
|
|
64
92
|
"""
|
|
65
|
-
The maximum
|
|
93
|
+
The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
66
94
|
"""
|
|
67
95
|
return pulumi.get(self, "max_message_size")
|
|
68
96
|
|
|
@@ -70,31 +98,85 @@ class ServiceTopicArgs:
|
|
|
70
98
|
def max_message_size(self, value: Optional[pulumi.Input[int]]):
|
|
71
99
|
pulumi.set(self, "max_message_size", value)
|
|
72
100
|
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
104
|
+
"""
|
|
105
|
+
A mapping of tags to assign to the resource.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "tags")
|
|
108
|
+
|
|
109
|
+
@tags.setter
|
|
110
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
111
|
+
pulumi.set(self, "tags", value)
|
|
112
|
+
|
|
73
113
|
|
|
74
114
|
@pulumi.input_type
|
|
75
115
|
class _ServiceTopicState:
|
|
76
116
|
def __init__(__self__, *,
|
|
117
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
118
|
+
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
77
119
|
logging_enabled: Optional[pulumi.Input[bool]] = None,
|
|
78
120
|
max_message_size: Optional[pulumi.Input[int]] = None,
|
|
121
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
79
122
|
topic_name: Optional[pulumi.Input[str]] = None):
|
|
80
123
|
"""
|
|
81
124
|
Input properties used for looking up and filtering ServiceTopic resources.
|
|
82
|
-
:param pulumi.Input[
|
|
83
|
-
:param pulumi.Input[
|
|
84
|
-
:param pulumi.Input[
|
|
125
|
+
:param pulumi.Input[str] create_time: (Available since v1.241.0) The time when the topic was created.
|
|
126
|
+
:param pulumi.Input[bool] enable_logging: Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
127
|
+
:param pulumi.Input[bool] logging_enabled: . Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
128
|
+
:param pulumi.Input[int] max_message_size: The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
129
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
130
|
+
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
131
|
+
|
|
132
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
85
133
|
"""
|
|
134
|
+
if create_time is not None:
|
|
135
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
136
|
+
if enable_logging is not None:
|
|
137
|
+
pulumi.set(__self__, "enable_logging", enable_logging)
|
|
138
|
+
if logging_enabled is not None:
|
|
139
|
+
warnings.warn("""Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""", DeprecationWarning)
|
|
140
|
+
pulumi.log.warn("""logging_enabled is deprecated: Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""")
|
|
86
141
|
if logging_enabled is not None:
|
|
87
142
|
pulumi.set(__self__, "logging_enabled", logging_enabled)
|
|
88
143
|
if max_message_size is not None:
|
|
89
144
|
pulumi.set(__self__, "max_message_size", max_message_size)
|
|
145
|
+
if tags is not None:
|
|
146
|
+
pulumi.set(__self__, "tags", tags)
|
|
90
147
|
if topic_name is not None:
|
|
91
148
|
pulumi.set(__self__, "topic_name", topic_name)
|
|
92
149
|
|
|
150
|
+
@property
|
|
151
|
+
@pulumi.getter(name="createTime")
|
|
152
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
153
|
+
"""
|
|
154
|
+
(Available since v1.241.0) The time when the topic was created.
|
|
155
|
+
"""
|
|
156
|
+
return pulumi.get(self, "create_time")
|
|
157
|
+
|
|
158
|
+
@create_time.setter
|
|
159
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
160
|
+
pulumi.set(self, "create_time", value)
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="enableLogging")
|
|
164
|
+
def enable_logging(self) -> Optional[pulumi.Input[bool]]:
|
|
165
|
+
"""
|
|
166
|
+
Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "enable_logging")
|
|
169
|
+
|
|
170
|
+
@enable_logging.setter
|
|
171
|
+
def enable_logging(self, value: Optional[pulumi.Input[bool]]):
|
|
172
|
+
pulumi.set(self, "enable_logging", value)
|
|
173
|
+
|
|
93
174
|
@property
|
|
94
175
|
@pulumi.getter(name="loggingEnabled")
|
|
176
|
+
@_utilities.deprecated("""Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""")
|
|
95
177
|
def logging_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
96
178
|
"""
|
|
97
|
-
|
|
179
|
+
. Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
98
180
|
"""
|
|
99
181
|
return pulumi.get(self, "logging_enabled")
|
|
100
182
|
|
|
@@ -106,7 +188,7 @@ class _ServiceTopicState:
|
|
|
106
188
|
@pulumi.getter(name="maxMessageSize")
|
|
107
189
|
def max_message_size(self) -> Optional[pulumi.Input[int]]:
|
|
108
190
|
"""
|
|
109
|
-
The maximum
|
|
191
|
+
The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
110
192
|
"""
|
|
111
193
|
return pulumi.get(self, "max_message_size")
|
|
112
194
|
|
|
@@ -114,11 +196,25 @@ class _ServiceTopicState:
|
|
|
114
196
|
def max_message_size(self, value: Optional[pulumi.Input[int]]):
|
|
115
197
|
pulumi.set(self, "max_message_size", value)
|
|
116
198
|
|
|
199
|
+
@property
|
|
200
|
+
@pulumi.getter
|
|
201
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
202
|
+
"""
|
|
203
|
+
A mapping of tags to assign to the resource.
|
|
204
|
+
"""
|
|
205
|
+
return pulumi.get(self, "tags")
|
|
206
|
+
|
|
207
|
+
@tags.setter
|
|
208
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
209
|
+
pulumi.set(self, "tags", value)
|
|
210
|
+
|
|
117
211
|
@property
|
|
118
212
|
@pulumi.getter(name="topicName")
|
|
119
213
|
def topic_name(self) -> Optional[pulumi.Input[str]]:
|
|
120
214
|
"""
|
|
121
|
-
|
|
215
|
+
The name of the topic.
|
|
216
|
+
|
|
217
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
122
218
|
"""
|
|
123
219
|
return pulumi.get(self, "topic_name")
|
|
124
220
|
|
|
@@ -132,14 +228,16 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
132
228
|
def __init__(__self__,
|
|
133
229
|
resource_name: str,
|
|
134
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
+
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
135
232
|
logging_enabled: Optional[pulumi.Input[bool]] = None,
|
|
136
233
|
max_message_size: Optional[pulumi.Input[int]] = None,
|
|
234
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
137
235
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
138
236
|
__props__=None):
|
|
139
237
|
"""
|
|
140
|
-
Provides a Message
|
|
238
|
+
Provides a Message Service Topic resource.
|
|
141
239
|
|
|
142
|
-
For information about Message
|
|
240
|
+
For information about Message Service Topic and how to use it, see [What is Topic](https://www.alibabacloud.com/help/en/message-service/latest/createtopic).
|
|
143
241
|
|
|
144
242
|
> **NOTE:** Available since v1.188.0.
|
|
145
243
|
|
|
@@ -154,26 +252,30 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
154
252
|
config = pulumi.Config()
|
|
155
253
|
name = config.get("name")
|
|
156
254
|
if name is None:
|
|
157
|
-
name = "
|
|
255
|
+
name = "terraform-example"
|
|
158
256
|
default = alicloud.message.ServiceTopic("default",
|
|
159
257
|
topic_name=name,
|
|
160
|
-
max_message_size=
|
|
161
|
-
|
|
258
|
+
max_message_size=16888,
|
|
259
|
+
enable_logging=True)
|
|
162
260
|
```
|
|
163
261
|
|
|
164
262
|
## Import
|
|
165
263
|
|
|
166
|
-
Message
|
|
264
|
+
Message Service Topic can be imported using the id, e.g.
|
|
167
265
|
|
|
168
266
|
```sh
|
|
169
|
-
$ pulumi import alicloud:message/serviceTopic:ServiceTopic example <
|
|
267
|
+
$ pulumi import alicloud:message/serviceTopic:ServiceTopic example <id>
|
|
170
268
|
```
|
|
171
269
|
|
|
172
270
|
:param str resource_name: The name of the resource.
|
|
173
271
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
174
|
-
:param pulumi.Input[bool]
|
|
175
|
-
:param pulumi.Input[
|
|
176
|
-
:param pulumi.Input[
|
|
272
|
+
:param pulumi.Input[bool] enable_logging: Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
273
|
+
:param pulumi.Input[bool] logging_enabled: . Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
274
|
+
:param pulumi.Input[int] max_message_size: The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
275
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
276
|
+
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
277
|
+
|
|
278
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
177
279
|
"""
|
|
178
280
|
...
|
|
179
281
|
@overload
|
|
@@ -182,9 +284,9 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
182
284
|
args: ServiceTopicArgs,
|
|
183
285
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
184
286
|
"""
|
|
185
|
-
Provides a Message
|
|
287
|
+
Provides a Message Service Topic resource.
|
|
186
288
|
|
|
187
|
-
For information about Message
|
|
289
|
+
For information about Message Service Topic and how to use it, see [What is Topic](https://www.alibabacloud.com/help/en/message-service/latest/createtopic).
|
|
188
290
|
|
|
189
291
|
> **NOTE:** Available since v1.188.0.
|
|
190
292
|
|
|
@@ -199,19 +301,19 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
199
301
|
config = pulumi.Config()
|
|
200
302
|
name = config.get("name")
|
|
201
303
|
if name is None:
|
|
202
|
-
name = "
|
|
304
|
+
name = "terraform-example"
|
|
203
305
|
default = alicloud.message.ServiceTopic("default",
|
|
204
306
|
topic_name=name,
|
|
205
|
-
max_message_size=
|
|
206
|
-
|
|
307
|
+
max_message_size=16888,
|
|
308
|
+
enable_logging=True)
|
|
207
309
|
```
|
|
208
310
|
|
|
209
311
|
## Import
|
|
210
312
|
|
|
211
|
-
Message
|
|
313
|
+
Message Service Topic can be imported using the id, e.g.
|
|
212
314
|
|
|
213
315
|
```sh
|
|
214
|
-
$ pulumi import alicloud:message/serviceTopic:ServiceTopic example <
|
|
316
|
+
$ pulumi import alicloud:message/serviceTopic:ServiceTopic example <id>
|
|
215
317
|
```
|
|
216
318
|
|
|
217
319
|
:param str resource_name: The name of the resource.
|
|
@@ -229,8 +331,10 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
229
331
|
def _internal_init(__self__,
|
|
230
332
|
resource_name: str,
|
|
231
333
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
334
|
+
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
232
335
|
logging_enabled: Optional[pulumi.Input[bool]] = None,
|
|
233
336
|
max_message_size: Optional[pulumi.Input[int]] = None,
|
|
337
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
234
338
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
235
339
|
__props__=None):
|
|
236
340
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -241,11 +345,14 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
241
345
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
242
346
|
__props__ = ServiceTopicArgs.__new__(ServiceTopicArgs)
|
|
243
347
|
|
|
348
|
+
__props__.__dict__["enable_logging"] = enable_logging
|
|
244
349
|
__props__.__dict__["logging_enabled"] = logging_enabled
|
|
245
350
|
__props__.__dict__["max_message_size"] = max_message_size
|
|
351
|
+
__props__.__dict__["tags"] = tags
|
|
246
352
|
if topic_name is None and not opts.urn:
|
|
247
353
|
raise TypeError("Missing required property 'topic_name'")
|
|
248
354
|
__props__.__dict__["topic_name"] = topic_name
|
|
355
|
+
__props__.__dict__["create_time"] = None
|
|
249
356
|
super(ServiceTopic, __self__).__init__(
|
|
250
357
|
'alicloud:message/serviceTopic:ServiceTopic',
|
|
251
358
|
resource_name,
|
|
@@ -256,8 +363,11 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
256
363
|
def get(resource_name: str,
|
|
257
364
|
id: pulumi.Input[str],
|
|
258
365
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
366
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
367
|
+
enable_logging: Optional[pulumi.Input[bool]] = None,
|
|
259
368
|
logging_enabled: Optional[pulumi.Input[bool]] = None,
|
|
260
369
|
max_message_size: Optional[pulumi.Input[int]] = None,
|
|
370
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
261
371
|
topic_name: Optional[pulumi.Input[str]] = None) -> 'ServiceTopic':
|
|
262
372
|
"""
|
|
263
373
|
Get an existing ServiceTopic resource's state with the given name, id, and optional extra
|
|
@@ -266,24 +376,49 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
266
376
|
:param str resource_name: The unique name of the resulting resource.
|
|
267
377
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
268
378
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
269
|
-
:param pulumi.Input[
|
|
270
|
-
:param pulumi.Input[
|
|
271
|
-
:param pulumi.Input[
|
|
379
|
+
:param pulumi.Input[str] create_time: (Available since v1.241.0) The time when the topic was created.
|
|
380
|
+
:param pulumi.Input[bool] enable_logging: Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
381
|
+
:param pulumi.Input[bool] logging_enabled: . Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
382
|
+
:param pulumi.Input[int] max_message_size: The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
383
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
384
|
+
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
385
|
+
|
|
386
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
272
387
|
"""
|
|
273
388
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
274
389
|
|
|
275
390
|
__props__ = _ServiceTopicState.__new__(_ServiceTopicState)
|
|
276
391
|
|
|
392
|
+
__props__.__dict__["create_time"] = create_time
|
|
393
|
+
__props__.__dict__["enable_logging"] = enable_logging
|
|
277
394
|
__props__.__dict__["logging_enabled"] = logging_enabled
|
|
278
395
|
__props__.__dict__["max_message_size"] = max_message_size
|
|
396
|
+
__props__.__dict__["tags"] = tags
|
|
279
397
|
__props__.__dict__["topic_name"] = topic_name
|
|
280
398
|
return ServiceTopic(resource_name, opts=opts, __props__=__props__)
|
|
281
399
|
|
|
400
|
+
@property
|
|
401
|
+
@pulumi.getter(name="createTime")
|
|
402
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
403
|
+
"""
|
|
404
|
+
(Available since v1.241.0) The time when the topic was created.
|
|
405
|
+
"""
|
|
406
|
+
return pulumi.get(self, "create_time")
|
|
407
|
+
|
|
408
|
+
@property
|
|
409
|
+
@pulumi.getter(name="enableLogging")
|
|
410
|
+
def enable_logging(self) -> pulumi.Output[bool]:
|
|
411
|
+
"""
|
|
412
|
+
Specifies whether to enable the logging feature. Default value: `false`. Valid values:
|
|
413
|
+
"""
|
|
414
|
+
return pulumi.get(self, "enable_logging")
|
|
415
|
+
|
|
282
416
|
@property
|
|
283
417
|
@pulumi.getter(name="loggingEnabled")
|
|
284
|
-
|
|
418
|
+
@_utilities.deprecated("""Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.""")
|
|
419
|
+
def logging_enabled(self) -> pulumi.Output[bool]:
|
|
285
420
|
"""
|
|
286
|
-
|
|
421
|
+
. Field `logging_enabled` has been deprecated from provider version 1.241.0. New field `enable_logging` instead.
|
|
287
422
|
"""
|
|
288
423
|
return pulumi.get(self, "logging_enabled")
|
|
289
424
|
|
|
@@ -291,15 +426,25 @@ class ServiceTopic(pulumi.CustomResource):
|
|
|
291
426
|
@pulumi.getter(name="maxMessageSize")
|
|
292
427
|
def max_message_size(self) -> pulumi.Output[int]:
|
|
293
428
|
"""
|
|
294
|
-
The maximum
|
|
429
|
+
The maximum length of the message that is sent to the topic. Default value: `65536`. Valid values: `1024` to `65536`. Unit: bytes.
|
|
295
430
|
"""
|
|
296
431
|
return pulumi.get(self, "max_message_size")
|
|
297
432
|
|
|
433
|
+
@property
|
|
434
|
+
@pulumi.getter
|
|
435
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
436
|
+
"""
|
|
437
|
+
A mapping of tags to assign to the resource.
|
|
438
|
+
"""
|
|
439
|
+
return pulumi.get(self, "tags")
|
|
440
|
+
|
|
298
441
|
@property
|
|
299
442
|
@pulumi.getter(name="topicName")
|
|
300
443
|
def topic_name(self) -> pulumi.Output[str]:
|
|
301
444
|
"""
|
|
302
|
-
|
|
445
|
+
The name of the topic.
|
|
446
|
+
|
|
447
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
303
448
|
"""
|
|
304
449
|
return pulumi.get(self, "topic_name")
|
|
305
450
|
|