huaweicloudsdkrocketmq 3.1.86__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkrocketmq/v2/__init__.py +2 -0
- huaweicloudsdkrocketmq/v2/model/__init__.py +2 -0
- huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_tag_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/batch_delete_instance_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +4 -4
- huaweicloudsdkrocketmq/v2/model/brokers.py +6 -6
- huaweicloudsdkrocketmq/v2/model/client_data.py +15 -15
- huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py +12 -12
- huaweicloudsdkrocketmq/v2/model/consumer_group.py +7 -7
- huaweicloudsdkrocketmq/v2/model/consumer_list.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py +97 -155
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +15 -15
- huaweicloudsdkrocketmq/v2/model/create_or_update_consumer_group.py +289 -0
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +18 -18
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_request.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_response.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py +39 -10
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_topic_req.py +39 -10
- huaweicloudsdkrocketmq/v2/model/create_topic_req_queues.py +144 -0
- huaweicloudsdkrocketmq/v2/model/deadletter_resend_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/delete_rocket_mq_migration_task_response.py +1 -28
- huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py +16 -16
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +10 -11
- huaweicloudsdkrocketmq/v2/model/list_message_trace_resp_trace.py +7 -7
- huaweicloudsdkrocketmq/v2/model/list_messages_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_response.py +12 -12
- huaweicloudsdkrocketmq/v2/model/list_rocket_mq_migration_task_request.py +12 -12
- huaweicloudsdkrocketmq/v2/model/migration_rocket_mq_topic_config.py +12 -12
- huaweicloudsdkrocketmq/v2/model/queue.py +15 -15
- huaweicloudsdkrocketmq/v2/model/resend_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +9 -9
- huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/rocket_mq_config_resp.py +18 -18
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_info_entity.py +27 -27
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_ios_entity.py +12 -12
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_properties_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/rocket_mq_product_support_features_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/show_consumer_connections_request.py +6 -6
- huaweicloudsdkrocketmq/v2/model/show_consumer_connections_response.py +21 -21
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +9 -9
- huaweicloudsdkrocketmq/v2/model/show_group_response.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +65 -7
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +65 -7
- huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +3 -3
- huaweicloudsdkrocketmq/v2/model/subscription.py +9 -9
- huaweicloudsdkrocketmq/v2/model/topic.py +3 -3
- huaweicloudsdkrocketmq/v2/model/update_consumer_group.py +3 -32
- huaweicloudsdkrocketmq/v2/model/update_instance_req.py +3 -3
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +1 -1
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +1 -1
- {huaweicloudsdkrocketmq-3.1.86.dist-info → huaweicloudsdkrocketmq-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.86.dist-info → huaweicloudsdkrocketmq-3.1.132.dist-info}/RECORD +61 -59
- {huaweicloudsdkrocketmq-3.1.86.dist-info → huaweicloudsdkrocketmq-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkrocketmq-3.1.86.dist-info → huaweicloudsdkrocketmq-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.86.dist-info → huaweicloudsdkrocketmq-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,289 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateOrUpdateConsumerGroup:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'name': 'str',
|
21
|
+
'brokers': 'list[str]',
|
22
|
+
'broadcast': 'bool',
|
23
|
+
'retry_max_time': 'int',
|
24
|
+
'enabled': 'bool',
|
25
|
+
'consume_orderly': 'bool',
|
26
|
+
'group_desc': 'str'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'name': 'name',
|
31
|
+
'brokers': 'brokers',
|
32
|
+
'broadcast': 'broadcast',
|
33
|
+
'retry_max_time': 'retry_max_time',
|
34
|
+
'enabled': 'enabled',
|
35
|
+
'consume_orderly': 'consume_orderly',
|
36
|
+
'group_desc': 'group_desc'
|
37
|
+
}
|
38
|
+
|
39
|
+
def __init__(self, name=None, brokers=None, broadcast=None, retry_max_time=None, enabled=None, consume_orderly=None, group_desc=None):
|
40
|
+
"""CreateOrUpdateConsumerGroup
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param name: 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
45
|
+
:type name: str
|
46
|
+
:param brokers: 关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
47
|
+
:type brokers: list[str]
|
48
|
+
:param broadcast: 是否广播。
|
49
|
+
:type broadcast: bool
|
50
|
+
:param retry_max_time: 最大重试次数,取值范围为1~16。
|
51
|
+
:type retry_max_time: int
|
52
|
+
:param enabled: 是否可以消费。
|
53
|
+
:type enabled: bool
|
54
|
+
:param consume_orderly: 是否按顺序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
55
|
+
:type consume_orderly: bool
|
56
|
+
:param group_desc: 消费组描述,长度0~200个字符。
|
57
|
+
:type group_desc: str
|
58
|
+
"""
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
self._name = None
|
63
|
+
self._brokers = None
|
64
|
+
self._broadcast = None
|
65
|
+
self._retry_max_time = None
|
66
|
+
self._enabled = None
|
67
|
+
self._consume_orderly = None
|
68
|
+
self._group_desc = None
|
69
|
+
self.discriminator = None
|
70
|
+
|
71
|
+
if name is not None:
|
72
|
+
self.name = name
|
73
|
+
if brokers is not None:
|
74
|
+
self.brokers = brokers
|
75
|
+
if broadcast is not None:
|
76
|
+
self.broadcast = broadcast
|
77
|
+
if retry_max_time is not None:
|
78
|
+
self.retry_max_time = retry_max_time
|
79
|
+
if enabled is not None:
|
80
|
+
self.enabled = enabled
|
81
|
+
if consume_orderly is not None:
|
82
|
+
self.consume_orderly = consume_orderly
|
83
|
+
if group_desc is not None:
|
84
|
+
self.group_desc = group_desc
|
85
|
+
|
86
|
+
@property
|
87
|
+
def name(self):
|
88
|
+
"""Gets the name of this CreateOrUpdateConsumerGroup.
|
89
|
+
|
90
|
+
消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
91
|
+
|
92
|
+
:return: The name of this CreateOrUpdateConsumerGroup.
|
93
|
+
:rtype: str
|
94
|
+
"""
|
95
|
+
return self._name
|
96
|
+
|
97
|
+
@name.setter
|
98
|
+
def name(self, name):
|
99
|
+
"""Sets the name of this CreateOrUpdateConsumerGroup.
|
100
|
+
|
101
|
+
消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
102
|
+
|
103
|
+
:param name: The name of this CreateOrUpdateConsumerGroup.
|
104
|
+
:type name: str
|
105
|
+
"""
|
106
|
+
self._name = name
|
107
|
+
|
108
|
+
@property
|
109
|
+
def brokers(self):
|
110
|
+
"""Gets the brokers of this CreateOrUpdateConsumerGroup.
|
111
|
+
|
112
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
113
|
+
|
114
|
+
:return: The brokers of this CreateOrUpdateConsumerGroup.
|
115
|
+
:rtype: list[str]
|
116
|
+
"""
|
117
|
+
return self._brokers
|
118
|
+
|
119
|
+
@brokers.setter
|
120
|
+
def brokers(self, brokers):
|
121
|
+
"""Sets the brokers of this CreateOrUpdateConsumerGroup.
|
122
|
+
|
123
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
124
|
+
|
125
|
+
:param brokers: The brokers of this CreateOrUpdateConsumerGroup.
|
126
|
+
:type brokers: list[str]
|
127
|
+
"""
|
128
|
+
self._brokers = brokers
|
129
|
+
|
130
|
+
@property
|
131
|
+
def broadcast(self):
|
132
|
+
"""Gets the broadcast of this CreateOrUpdateConsumerGroup.
|
133
|
+
|
134
|
+
是否广播。
|
135
|
+
|
136
|
+
:return: The broadcast of this CreateOrUpdateConsumerGroup.
|
137
|
+
:rtype: bool
|
138
|
+
"""
|
139
|
+
return self._broadcast
|
140
|
+
|
141
|
+
@broadcast.setter
|
142
|
+
def broadcast(self, broadcast):
|
143
|
+
"""Sets the broadcast of this CreateOrUpdateConsumerGroup.
|
144
|
+
|
145
|
+
是否广播。
|
146
|
+
|
147
|
+
:param broadcast: The broadcast of this CreateOrUpdateConsumerGroup.
|
148
|
+
:type broadcast: bool
|
149
|
+
"""
|
150
|
+
self._broadcast = broadcast
|
151
|
+
|
152
|
+
@property
|
153
|
+
def retry_max_time(self):
|
154
|
+
"""Gets the retry_max_time of this CreateOrUpdateConsumerGroup.
|
155
|
+
|
156
|
+
最大重试次数,取值范围为1~16。
|
157
|
+
|
158
|
+
:return: The retry_max_time of this CreateOrUpdateConsumerGroup.
|
159
|
+
:rtype: int
|
160
|
+
"""
|
161
|
+
return self._retry_max_time
|
162
|
+
|
163
|
+
@retry_max_time.setter
|
164
|
+
def retry_max_time(self, retry_max_time):
|
165
|
+
"""Sets the retry_max_time of this CreateOrUpdateConsumerGroup.
|
166
|
+
|
167
|
+
最大重试次数,取值范围为1~16。
|
168
|
+
|
169
|
+
:param retry_max_time: The retry_max_time of this CreateOrUpdateConsumerGroup.
|
170
|
+
:type retry_max_time: int
|
171
|
+
"""
|
172
|
+
self._retry_max_time = retry_max_time
|
173
|
+
|
174
|
+
@property
|
175
|
+
def enabled(self):
|
176
|
+
"""Gets the enabled of this CreateOrUpdateConsumerGroup.
|
177
|
+
|
178
|
+
是否可以消费。
|
179
|
+
|
180
|
+
:return: The enabled of this CreateOrUpdateConsumerGroup.
|
181
|
+
:rtype: bool
|
182
|
+
"""
|
183
|
+
return self._enabled
|
184
|
+
|
185
|
+
@enabled.setter
|
186
|
+
def enabled(self, enabled):
|
187
|
+
"""Sets the enabled of this CreateOrUpdateConsumerGroup.
|
188
|
+
|
189
|
+
是否可以消费。
|
190
|
+
|
191
|
+
:param enabled: The enabled of this CreateOrUpdateConsumerGroup.
|
192
|
+
:type enabled: bool
|
193
|
+
"""
|
194
|
+
self._enabled = enabled
|
195
|
+
|
196
|
+
@property
|
197
|
+
def consume_orderly(self):
|
198
|
+
"""Gets the consume_orderly of this CreateOrUpdateConsumerGroup.
|
199
|
+
|
200
|
+
是否按顺序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
201
|
+
|
202
|
+
:return: The consume_orderly of this CreateOrUpdateConsumerGroup.
|
203
|
+
:rtype: bool
|
204
|
+
"""
|
205
|
+
return self._consume_orderly
|
206
|
+
|
207
|
+
@consume_orderly.setter
|
208
|
+
def consume_orderly(self, consume_orderly):
|
209
|
+
"""Sets the consume_orderly of this CreateOrUpdateConsumerGroup.
|
210
|
+
|
211
|
+
是否按顺序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
212
|
+
|
213
|
+
:param consume_orderly: The consume_orderly of this CreateOrUpdateConsumerGroup.
|
214
|
+
:type consume_orderly: bool
|
215
|
+
"""
|
216
|
+
self._consume_orderly = consume_orderly
|
217
|
+
|
218
|
+
@property
|
219
|
+
def group_desc(self):
|
220
|
+
"""Gets the group_desc of this CreateOrUpdateConsumerGroup.
|
221
|
+
|
222
|
+
消费组描述,长度0~200个字符。
|
223
|
+
|
224
|
+
:return: The group_desc of this CreateOrUpdateConsumerGroup.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._group_desc
|
228
|
+
|
229
|
+
@group_desc.setter
|
230
|
+
def group_desc(self, group_desc):
|
231
|
+
"""Sets the group_desc of this CreateOrUpdateConsumerGroup.
|
232
|
+
|
233
|
+
消费组描述,长度0~200个字符。
|
234
|
+
|
235
|
+
:param group_desc: The group_desc of this CreateOrUpdateConsumerGroup.
|
236
|
+
:type group_desc: str
|
237
|
+
"""
|
238
|
+
self._group_desc = group_desc
|
239
|
+
|
240
|
+
def to_dict(self):
|
241
|
+
"""Returns the model properties as a dict"""
|
242
|
+
result = {}
|
243
|
+
|
244
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
245
|
+
value = getattr(self, attr)
|
246
|
+
if isinstance(value, list):
|
247
|
+
result[attr] = list(map(
|
248
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
249
|
+
value
|
250
|
+
))
|
251
|
+
elif hasattr(value, "to_dict"):
|
252
|
+
result[attr] = value.to_dict()
|
253
|
+
elif isinstance(value, dict):
|
254
|
+
result[attr] = dict(map(
|
255
|
+
lambda item: (item[0], item[1].to_dict())
|
256
|
+
if hasattr(item[1], "to_dict") else item,
|
257
|
+
value.items()
|
258
|
+
))
|
259
|
+
else:
|
260
|
+
if attr in self.sensitive_list:
|
261
|
+
result[attr] = "****"
|
262
|
+
else:
|
263
|
+
result[attr] = value
|
264
|
+
|
265
|
+
return result
|
266
|
+
|
267
|
+
def to_str(self):
|
268
|
+
"""Returns the string representation of the model"""
|
269
|
+
import simplejson as json
|
270
|
+
if six.PY2:
|
271
|
+
import sys
|
272
|
+
reload(sys)
|
273
|
+
sys.setdefaultencoding("utf-8")
|
274
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
275
|
+
|
276
|
+
def __repr__(self):
|
277
|
+
"""For `print`"""
|
278
|
+
return self.to_str()
|
279
|
+
|
280
|
+
def __eq__(self, other):
|
281
|
+
"""Returns true if both objects are equal"""
|
282
|
+
if not isinstance(other, CreateOrUpdateConsumerGroup):
|
283
|
+
return False
|
284
|
+
|
285
|
+
return self.__dict__ == other.__dict__
|
286
|
+
|
287
|
+
def __ne__(self, other):
|
288
|
+
"""Returns true if both objects are not equal"""
|
289
|
+
return not self == other
|
@@ -65,11 +65,11 @@ class CreatePostPaidInstanceReq:
|
|
65
65
|
|
66
66
|
:param name: 实例名称。 由英文字符开头,只能由英文字母、数字、中划线、下划线组成,长度为4~64的字符。
|
67
67
|
:type name: str
|
68
|
-
:param description: 实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
68
|
+
:param description: 实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
69
69
|
:type description: str
|
70
70
|
:param engine: 消息引擎。取值填写为:reliability。
|
71
71
|
:type engine: str
|
72
|
-
:param engine_version: 消息引擎的版本。取值填写为:4.8.0。
|
72
|
+
:param engine_version: 消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs,fcs)。
|
73
73
|
:type engine_version: str
|
74
74
|
:param storage_space: 存储空间。
|
75
75
|
:type storage_space: int
|
@@ -79,9 +79,9 @@ class CreatePostPaidInstanceReq:
|
|
79
79
|
:type subnet_id: str
|
80
80
|
:param security_group_id: 指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
81
81
|
:type security_group_id: str
|
82
|
-
:param available_zones: 创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3
|
82
|
+
:param available_zones: 创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或[3个及3个以上的可用区。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[2个可用区。](tag:fcs)在为节点指定可用区时,用逗号分隔开。
|
83
83
|
:type available_zones: list[str]
|
84
|
-
:param product_id: RocketMQ实例规格。 - c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
84
|
+
:param product_id: RocketMQ实例规格。[x86环境后缀为.x86,arm环境为.arm。](tag:hcs,fcs) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大分区数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs,fcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs,fcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs,fcs)
|
85
85
|
:type product_id: str
|
86
86
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
87
87
|
:type ssl_enable: bool
|
@@ -91,13 +91,13 @@ class CreatePostPaidInstanceReq:
|
|
91
91
|
:type enterprise_project_id: str
|
92
92
|
:param enable_acl: 是否开启访问控制列表。
|
93
93
|
:type enable_acl: bool
|
94
|
-
:param ipv6_enable: 是否支持IPv6。 - true
|
94
|
+
:param ipv6_enable: 是否支持IPv6。 - true:支持 - false:不支持
|
95
95
|
:type ipv6_enable: bool
|
96
96
|
:param enable_publicip: 是否开启公网访问功能。默认不开启公网。 - true:开启 - false:不开启
|
97
97
|
:type enable_publicip: bool
|
98
98
|
:param publicip_id: 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
|
99
99
|
:type publicip_id: str
|
100
|
-
:param broker_num:
|
100
|
+
:param broker_num: 代理个数。
|
101
101
|
:type broker_num: int
|
102
102
|
"""
|
103
103
|
|
@@ -175,7 +175,7 @@ class CreatePostPaidInstanceReq:
|
|
175
175
|
def description(self):
|
176
176
|
"""Gets the description of this CreatePostPaidInstanceReq.
|
177
177
|
|
178
|
-
实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
178
|
+
实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
179
179
|
|
180
180
|
:return: The description of this CreatePostPaidInstanceReq.
|
181
181
|
:rtype: str
|
@@ -186,7 +186,7 @@ class CreatePostPaidInstanceReq:
|
|
186
186
|
def description(self, description):
|
187
187
|
"""Sets the description of this CreatePostPaidInstanceReq.
|
188
188
|
|
189
|
-
实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
189
|
+
实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
190
190
|
|
191
191
|
:param description: The description of this CreatePostPaidInstanceReq.
|
192
192
|
:type description: str
|
@@ -219,7 +219,7 @@ class CreatePostPaidInstanceReq:
|
|
219
219
|
def engine_version(self):
|
220
220
|
"""Gets the engine_version of this CreatePostPaidInstanceReq.
|
221
221
|
|
222
|
-
消息引擎的版本。取值填写为:4.8.0。
|
222
|
+
消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs,fcs)。
|
223
223
|
|
224
224
|
:return: The engine_version of this CreatePostPaidInstanceReq.
|
225
225
|
:rtype: str
|
@@ -230,7 +230,7 @@ class CreatePostPaidInstanceReq:
|
|
230
230
|
def engine_version(self, engine_version):
|
231
231
|
"""Sets the engine_version of this CreatePostPaidInstanceReq.
|
232
232
|
|
233
|
-
消息引擎的版本。取值填写为:4.8.0。
|
233
|
+
消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs,fcs)。
|
234
234
|
|
235
235
|
:param engine_version: The engine_version of this CreatePostPaidInstanceReq.
|
236
236
|
:type engine_version: str
|
@@ -329,7 +329,7 @@ class CreatePostPaidInstanceReq:
|
|
329
329
|
def available_zones(self):
|
330
330
|
"""Gets the available_zones of this CreatePostPaidInstanceReq.
|
331
331
|
|
332
|
-
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3
|
332
|
+
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或[3个及3个以上的可用区。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[2个可用区。](tag:fcs)在为节点指定可用区时,用逗号分隔开。
|
333
333
|
|
334
334
|
:return: The available_zones of this CreatePostPaidInstanceReq.
|
335
335
|
:rtype: list[str]
|
@@ -340,7 +340,7 @@ class CreatePostPaidInstanceReq:
|
|
340
340
|
def available_zones(self, available_zones):
|
341
341
|
"""Sets the available_zones of this CreatePostPaidInstanceReq.
|
342
342
|
|
343
|
-
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3
|
343
|
+
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或[3个及3个以上的可用区。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[2个可用区。](tag:fcs)在为节点指定可用区时,用逗号分隔开。
|
344
344
|
|
345
345
|
:param available_zones: The available_zones of this CreatePostPaidInstanceReq.
|
346
346
|
:type available_zones: list[str]
|
@@ -351,7 +351,7 @@ class CreatePostPaidInstanceReq:
|
|
351
351
|
def product_id(self):
|
352
352
|
"""Gets the product_id of this CreatePostPaidInstanceReq.
|
353
353
|
|
354
|
-
RocketMQ实例规格。 - c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
354
|
+
RocketMQ实例规格。[x86环境后缀为.x86,arm环境为.arm。](tag:hcs,fcs) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大分区数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs,fcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs,fcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs,fcs)
|
355
355
|
|
356
356
|
:return: The product_id of this CreatePostPaidInstanceReq.
|
357
357
|
:rtype: str
|
@@ -362,7 +362,7 @@ class CreatePostPaidInstanceReq:
|
|
362
362
|
def product_id(self, product_id):
|
363
363
|
"""Sets the product_id of this CreatePostPaidInstanceReq.
|
364
364
|
|
365
|
-
RocketMQ实例规格。 - c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
365
|
+
RocketMQ实例规格。[x86环境后缀为.x86,arm环境为.arm。](tag:hcs,fcs) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大分区数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs,fcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs,fcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs,fcs)
|
366
366
|
|
367
367
|
:param product_id: The product_id of this CreatePostPaidInstanceReq.
|
368
368
|
:type product_id: str
|
@@ -461,7 +461,7 @@ class CreatePostPaidInstanceReq:
|
|
461
461
|
def ipv6_enable(self):
|
462
462
|
"""Gets the ipv6_enable of this CreatePostPaidInstanceReq.
|
463
463
|
|
464
|
-
是否支持IPv6。 - true
|
464
|
+
是否支持IPv6。 - true:支持 - false:不支持
|
465
465
|
|
466
466
|
:return: The ipv6_enable of this CreatePostPaidInstanceReq.
|
467
467
|
:rtype: bool
|
@@ -472,7 +472,7 @@ class CreatePostPaidInstanceReq:
|
|
472
472
|
def ipv6_enable(self, ipv6_enable):
|
473
473
|
"""Sets the ipv6_enable of this CreatePostPaidInstanceReq.
|
474
474
|
|
475
|
-
是否支持IPv6。 - true
|
475
|
+
是否支持IPv6。 - true:支持 - false:不支持
|
476
476
|
|
477
477
|
:param ipv6_enable: The ipv6_enable of this CreatePostPaidInstanceReq.
|
478
478
|
:type ipv6_enable: bool
|
@@ -527,7 +527,7 @@ class CreatePostPaidInstanceReq:
|
|
527
527
|
def broker_num(self):
|
528
528
|
"""Gets the broker_num of this CreatePostPaidInstanceReq.
|
529
529
|
|
530
|
-
|
530
|
+
代理个数。
|
531
531
|
|
532
532
|
:return: The broker_num of this CreatePostPaidInstanceReq.
|
533
533
|
:rtype: int
|
@@ -538,7 +538,7 @@ class CreatePostPaidInstanceReq:
|
|
538
538
|
def broker_num(self, broker_num):
|
539
539
|
"""Sets the broker_num of this CreatePostPaidInstanceReq.
|
540
540
|
|
541
|
-
|
541
|
+
代理个数。
|
542
542
|
|
543
543
|
:param broker_num: The broker_num of this CreatePostPaidInstanceReq.
|
544
544
|
:type broker_num: int
|
@@ -39,7 +39,7 @@ class CreateRocketMqMigrationTaskReq:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param topic_config_table: RocketMQ
|
42
|
+
:param topic_config_table: RocketMQ Topic 元数据,键为Topic名,值为topic配置,迁移任务类型为自建RocketMQ上云(rocketmq)时必填。
|
43
43
|
:type topic_config_table: dict(str, MigrationRocketMqTopicConfig)
|
44
44
|
:param subscription_group_table: RocketMQ消费组元数据,键为消费组名,值为消费组配置,迁移任务类型为自建RocketMQ上云(rocketmq)时必填。
|
45
45
|
:type subscription_group_table: dict(str, MigrationRocketMqSubscriptionGroup)
|
@@ -80,7 +80,7 @@ class CreateRocketMqMigrationTaskReq:
|
|
80
80
|
def topic_config_table(self):
|
81
81
|
"""Gets the topic_config_table of this CreateRocketMqMigrationTaskReq.
|
82
82
|
|
83
|
-
RocketMQ
|
83
|
+
RocketMQ Topic 元数据,键为Topic名,值为topic配置,迁移任务类型为自建RocketMQ上云(rocketmq)时必填。
|
84
84
|
|
85
85
|
:return: The topic_config_table of this CreateRocketMqMigrationTaskReq.
|
86
86
|
:rtype: dict(str, MigrationRocketMqTopicConfig)
|
@@ -91,7 +91,7 @@ class CreateRocketMqMigrationTaskReq:
|
|
91
91
|
def topic_config_table(self, topic_config_table):
|
92
92
|
"""Sets the topic_config_table of this CreateRocketMqMigrationTaskReq.
|
93
93
|
|
94
|
-
RocketMQ
|
94
|
+
RocketMQ Topic 元数据,键为Topic名,值为topic配置,迁移任务类型为自建RocketMQ上云(rocketmq)时必填。
|
95
95
|
|
96
96
|
:param topic_config_table: The topic_config_table of this CreateRocketMqMigrationTaskReq.
|
97
97
|
:type topic_config_table: dict(str, MigrationRocketMqTopicConfig)
|
@@ -39,9 +39,9 @@ class CreateRocketMqMigrationTaskRequest:
|
|
39
39
|
|
40
40
|
:param instance_id: 实例ID。
|
41
41
|
:type instance_id: str
|
42
|
-
:param overwrite: true开启同名覆盖,会对已有的同名元数据的配置进行修改,false时当
|
42
|
+
:param overwrite: true开启同名覆盖,会对已有的同名元数据的配置进行修改,false时当Topic或group已存在则会报错。
|
43
43
|
:type overwrite: str
|
44
|
-
:param name:
|
44
|
+
:param name: 迁移任务名称,名称规则参考创建实例。
|
45
45
|
:type name: str
|
46
46
|
:param type: 迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
47
47
|
:type type: str
|
@@ -91,7 +91,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
91
91
|
def overwrite(self):
|
92
92
|
"""Gets the overwrite of this CreateRocketMqMigrationTaskRequest.
|
93
93
|
|
94
|
-
true开启同名覆盖,会对已有的同名元数据的配置进行修改,false时当
|
94
|
+
true开启同名覆盖,会对已有的同名元数据的配置进行修改,false时当Topic或group已存在则会报错。
|
95
95
|
|
96
96
|
:return: The overwrite of this CreateRocketMqMigrationTaskRequest.
|
97
97
|
:rtype: str
|
@@ -102,7 +102,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
102
102
|
def overwrite(self, overwrite):
|
103
103
|
"""Sets the overwrite of this CreateRocketMqMigrationTaskRequest.
|
104
104
|
|
105
|
-
true开启同名覆盖,会对已有的同名元数据的配置进行修改,false时当
|
105
|
+
true开启同名覆盖,会对已有的同名元数据的配置进行修改,false时当Topic或group已存在则会报错。
|
106
106
|
|
107
107
|
:param overwrite: The overwrite of this CreateRocketMqMigrationTaskRequest.
|
108
108
|
:type overwrite: str
|
@@ -113,7 +113,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
113
113
|
def name(self):
|
114
114
|
"""Gets the name of this CreateRocketMqMigrationTaskRequest.
|
115
115
|
|
116
|
-
|
116
|
+
迁移任务名称,名称规则参考创建实例。
|
117
117
|
|
118
118
|
:return: The name of this CreateRocketMqMigrationTaskRequest.
|
119
119
|
:rtype: str
|
@@ -124,7 +124,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
124
124
|
def name(self, name):
|
125
125
|
"""Sets the name of this CreateRocketMqMigrationTaskRequest.
|
126
126
|
|
127
|
-
|
127
|
+
迁移任务名称,名称规则参考创建实例。
|
128
128
|
|
129
129
|
:param name: The name of this CreateRocketMqMigrationTaskRequest.
|
130
130
|
:type name: str
|
@@ -30,7 +30,7 @@ class CreateRocketMqMigrationTaskResponse(SdkResponse):
|
|
30
30
|
|
31
31
|
The model defined in huaweicloud sdk
|
32
32
|
|
33
|
-
:param task_id: 任务ID
|
33
|
+
:param task_id: 任务ID。
|
34
34
|
:type task_id: str
|
35
35
|
"""
|
36
36
|
|
@@ -46,7 +46,7 @@ class CreateRocketMqMigrationTaskResponse(SdkResponse):
|
|
46
46
|
def task_id(self):
|
47
47
|
"""Gets the task_id of this CreateRocketMqMigrationTaskResponse.
|
48
48
|
|
49
|
-
任务ID
|
49
|
+
任务ID。
|
50
50
|
|
51
51
|
:return: The task_id of this CreateRocketMqMigrationTaskResponse.
|
52
52
|
:rtype: str
|
@@ -57,7 +57,7 @@ class CreateRocketMqMigrationTaskResponse(SdkResponse):
|
|
57
57
|
def task_id(self, task_id):
|
58
58
|
"""Sets the task_id of this CreateRocketMqMigrationTaskResponse.
|
59
59
|
|
60
|
-
任务ID
|
60
|
+
任务ID。
|
61
61
|
|
62
62
|
:param task_id: The task_id of this CreateRocketMqMigrationTaskResponse.
|
63
63
|
:type task_id: str
|