pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.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-alicloud might be problematic. Click here for more details.

Files changed (123) hide show
  1. pulumi_alicloud/__init__.py +139 -0
  2. pulumi_alicloud/alb/__init__.py +2 -0
  3. pulumi_alicloud/alb/_inputs.py +913 -250
  4. pulumi_alicloud/alb/a_script.py +116 -98
  5. pulumi_alicloud/alb/get_server_groups.py +55 -25
  6. pulumi_alicloud/alb/listener.py +269 -174
  7. pulumi_alicloud/alb/load_balancer.py +239 -118
  8. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
  9. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
  10. pulumi_alicloud/alb/outputs.py +720 -222
  11. pulumi_alicloud/alb/server_group.py +532 -122
  12. pulumi_alicloud/alikafka/instance.py +188 -70
  13. pulumi_alicloud/amqp/instance.py +77 -28
  14. pulumi_alicloud/bastionhost/_inputs.py +40 -38
  15. pulumi_alicloud/bastionhost/get_instances.py +6 -22
  16. pulumi_alicloud/bastionhost/outputs.py +60 -49
  17. pulumi_alicloud/cen/_inputs.py +34 -0
  18. pulumi_alicloud/cen/instance_grant.py +4 -0
  19. pulumi_alicloud/cen/outputs.py +37 -0
  20. pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
  21. pulumi_alicloud/cloudcontrol/__init__.py +12 -0
  22. pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
  23. pulumi_alicloud/cloudcontrol/get_products.py +187 -0
  24. pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
  25. pulumi_alicloud/cloudcontrol/outputs.py +688 -0
  26. pulumi_alicloud/cloudcontrol/resource.py +407 -0
  27. pulumi_alicloud/cms/_inputs.py +21 -15
  28. pulumi_alicloud/cms/alarm.py +7 -7
  29. pulumi_alicloud/cms/outputs.py +14 -10
  30. pulumi_alicloud/cs/_inputs.py +349 -1
  31. pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
  32. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
  33. pulumi_alicloud/cs/kubernetes.py +29 -29
  34. pulumi_alicloud/cs/managed_kubernetes.py +137 -47
  35. pulumi_alicloud/cs/node_pool.py +77 -2
  36. pulumi_alicloud/cs/outputs.py +265 -1
  37. pulumi_alicloud/dataworks/__init__.py +4 -0
  38. pulumi_alicloud/dataworks/_inputs.py +1534 -0
  39. pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
  40. pulumi_alicloud/dataworks/di_job.py +1005 -0
  41. pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
  42. pulumi_alicloud/dataworks/network.py +331 -0
  43. pulumi_alicloud/dataworks/outputs.py +1247 -0
  44. pulumi_alicloud/dcdn/waf_rule.py +14 -14
  45. pulumi_alicloud/dfs/file_system.py +62 -23
  46. pulumi_alicloud/dfs/mount_point.py +48 -22
  47. pulumi_alicloud/dns/get_alidns_domains.py +7 -2
  48. pulumi_alicloud/dns/outputs.py +8 -0
  49. pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
  50. pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
  51. pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
  52. pulumi_alicloud/ecs/instance.py +7 -7
  53. pulumi_alicloud/ecs/launch_template.py +88 -0
  54. pulumi_alicloud/esa/__init__.py +3 -0
  55. pulumi_alicloud/esa/_inputs.py +81 -0
  56. pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
  57. pulumi_alicloud/esa/list.py +361 -0
  58. pulumi_alicloud/esa/outputs.py +48 -0
  59. pulumi_alicloud/esa/page.py +376 -0
  60. pulumi_alicloud/esa/rate_plan_instance.py +63 -7
  61. pulumi_alicloud/ess/get_scaling_groups.py +64 -10
  62. pulumi_alicloud/ess/get_scaling_rules.py +74 -10
  63. pulumi_alicloud/ess/outputs.py +357 -17
  64. pulumi_alicloud/eventbridge/get_service.py +2 -6
  65. pulumi_alicloud/fc/_inputs.py +75 -75
  66. pulumi_alicloud/fc/custom_domain.py +2 -2
  67. pulumi_alicloud/fc/function.py +32 -4
  68. pulumi_alicloud/fc/outputs.py +50 -50
  69. pulumi_alicloud/fc/v2_function.py +20 -0
  70. pulumi_alicloud/fc/v3_function.py +53 -6
  71. pulumi_alicloud/hbr/__init__.py +1 -0
  72. pulumi_alicloud/hbr/cross_account.py +338 -0
  73. pulumi_alicloud/ims/oidc_provider.py +28 -0
  74. pulumi_alicloud/kms/__init__.py +1 -0
  75. pulumi_alicloud/kms/get_instances.py +160 -0
  76. pulumi_alicloud/kms/instance.py +0 -60
  77. pulumi_alicloud/kms/outputs.py +19 -0
  78. pulumi_alicloud/log/resource_record.py +42 -26
  79. pulumi_alicloud/maxcompute/__init__.py +5 -0
  80. pulumi_alicloud/maxcompute/_inputs.py +615 -42
  81. pulumi_alicloud/maxcompute/outputs.py +486 -28
  82. pulumi_alicloud/maxcompute/project.py +63 -31
  83. pulumi_alicloud/maxcompute/quota_plan.py +412 -0
  84. pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
  85. pulumi_alicloud/maxcompute/role.py +423 -0
  86. pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
  87. pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
  88. pulumi_alicloud/message/service_queue.py +106 -59
  89. pulumi_alicloud/message/service_topic.py +182 -37
  90. pulumi_alicloud/mongodb/account.py +138 -163
  91. pulumi_alicloud/oos/secret_parameter.py +84 -9
  92. pulumi_alicloud/oss/bucket.py +1 -1
  93. pulumi_alicloud/oss/bucket_policy.py +2 -4
  94. pulumi_alicloud/oss/bucket_referer.py +2 -4
  95. pulumi_alicloud/oss/get_buckets.py +16 -2
  96. pulumi_alicloud/oss/outputs.py +18 -17
  97. pulumi_alicloud/pulumi-plugin.json +1 -1
  98. pulumi_alicloud/rds/instance.py +68 -0
  99. pulumi_alicloud/sae/application.py +84 -7
  100. pulumi_alicloud/sls/collection_policy.py +2 -2
  101. pulumi_alicloud/vpc/__init__.py +6 -0
  102. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
  103. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
  104. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
  105. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
  106. pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
  107. pulumi_alicloud/vpc/get_networks.py +3 -0
  108. pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
  109. pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
  110. pulumi_alicloud/vpc/ipam_service.py +144 -0
  111. pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
  112. pulumi_alicloud/vpc/nat_gateway.py +145 -7
  113. pulumi_alicloud/vpc/outputs.py +777 -0
  114. pulumi_alicloud/vpc/snat_entry.py +107 -48
  115. pulumi_alicloud/vpn/_inputs.py +96 -72
  116. pulumi_alicloud/vpn/connection.py +24 -28
  117. pulumi_alicloud/vpn/outputs.py +64 -48
  118. pulumi_alicloud/yundun/_inputs.py +26 -24
  119. pulumi_alicloud/yundun/outputs.py +37 -22
  120. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
  121. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +123 -95
  122. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
  123. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.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: Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
28
- :param pulumi.Input[bool] logging_enabled: Specifies whether to enable the log management feature. Default value: false. Valid values:
29
- :param pulumi.Input[int] max_message_size: The maximum size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
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
- Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
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
- Specifies whether to enable the log management feature. Default value: false. Valid values:
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 size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
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[bool] logging_enabled: Specifies whether to enable the log management feature. Default value: false. Valid values:
83
- :param pulumi.Input[int] max_message_size: The maximum size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
84
- :param pulumi.Input[str] topic_name: Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
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
- Specifies whether to enable the log management feature. Default value: false. Valid values:
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 size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
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
- Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
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 Notification Service Topic resource.
238
+ Provides a Message Service Topic resource.
141
239
 
142
- For information about Message Notification Service Topic and how to use it, see [What is Topic](https://www.alibabacloud.com/help/en/message-service/latest/createtopic).
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 = "tf-example"
255
+ name = "terraform-example"
158
256
  default = alicloud.message.ServiceTopic("default",
159
257
  topic_name=name,
160
- max_message_size=12357,
161
- logging_enabled=True)
258
+ max_message_size=16888,
259
+ enable_logging=True)
162
260
  ```
163
261
 
164
262
  ## Import
165
263
 
166
- Message Notification Service Topic can be imported using the id or topic_name, e.g.
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 <topic_name>
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] logging_enabled: Specifies whether to enable the log management feature. Default value: false. Valid values:
175
- :param pulumi.Input[int] max_message_size: The maximum size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
176
- :param pulumi.Input[str] topic_name: Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
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 Notification Service Topic resource.
287
+ Provides a Message Service Topic resource.
186
288
 
187
- For information about Message Notification Service Topic and how to use it, see [What is Topic](https://www.alibabacloud.com/help/en/message-service/latest/createtopic).
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 = "tf-example"
304
+ name = "terraform-example"
203
305
  default = alicloud.message.ServiceTopic("default",
204
306
  topic_name=name,
205
- max_message_size=12357,
206
- logging_enabled=True)
307
+ max_message_size=16888,
308
+ enable_logging=True)
207
309
  ```
208
310
 
209
311
  ## Import
210
312
 
211
- Message Notification Service Topic can be imported using the id or topic_name, e.g.
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 <topic_name>
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[bool] logging_enabled: Specifies whether to enable the log management feature. Default value: false. Valid values:
270
- :param pulumi.Input[int] max_message_size: The maximum size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
271
- :param pulumi.Input[str] topic_name: Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
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
- def logging_enabled(self) -> pulumi.Output[Optional[bool]]:
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
- Specifies whether to enable the log management feature. Default value: false. Valid values:
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 size of a message body that can be sent to the topic. Unit: bytes. Valid values: 1024-65536. Default value: 65536.
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
- Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
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