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