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
@@ -18,91 +18,77 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'groups': 'list[str]',
|
21
|
-
'enabled': 'bool',
|
22
|
-
'broadcast': 'bool',
|
23
|
-
'brokers': 'list[str]',
|
24
21
|
'name': 'str',
|
25
|
-
'
|
22
|
+
'brokers': 'list[str]',
|
23
|
+
'broadcast': 'bool',
|
26
24
|
'retry_max_time': 'int',
|
27
|
-
'
|
28
|
-
'
|
29
|
-
'
|
25
|
+
'enabled': 'bool',
|
26
|
+
'consume_orderly': 'bool',
|
27
|
+
'group_desc': 'str'
|
30
28
|
}
|
31
29
|
|
32
30
|
attribute_map = {
|
33
31
|
'groups': 'groups',
|
34
|
-
'enabled': 'enabled',
|
35
|
-
'broadcast': 'broadcast',
|
36
|
-
'brokers': 'brokers',
|
37
32
|
'name': 'name',
|
38
|
-
'
|
33
|
+
'brokers': 'brokers',
|
34
|
+
'broadcast': 'broadcast',
|
39
35
|
'retry_max_time': 'retry_max_time',
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
36
|
+
'enabled': 'enabled',
|
37
|
+
'consume_orderly': 'consume_orderly',
|
38
|
+
'group_desc': 'group_desc'
|
43
39
|
}
|
44
40
|
|
45
|
-
def __init__(self, groups=None,
|
41
|
+
def __init__(self, groups=None, name=None, brokers=None, broadcast=None, retry_max_time=None, enabled=None, consume_orderly=None, group_desc=None):
|
46
42
|
"""CreateConsumerGroupOrBatchDeleteConsumerGroupReq
|
47
43
|
|
48
44
|
The model defined in huaweicloud sdk
|
49
45
|
|
50
46
|
:param groups: 待删除的消费组列表。
|
51
47
|
:type groups: list[str]
|
52
|
-
:param enabled: 是否可以消费。
|
53
|
-
:type enabled: bool
|
54
|
-
:param broadcast: 是否广播。
|
55
|
-
:type broadcast: bool
|
56
|
-
:param brokers: 关联的代理列表。
|
57
|
-
:type brokers: list[str]
|
58
48
|
:param name: 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
59
49
|
:type name: str
|
60
|
-
:param
|
61
|
-
:type
|
50
|
+
:param brokers: 关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
51
|
+
:type brokers: list[str]
|
52
|
+
:param broadcast: 是否广播。
|
53
|
+
:type broadcast: bool
|
62
54
|
:param retry_max_time: 最大重试次数,取值范围为1~16。
|
63
55
|
:type retry_max_time: int
|
64
|
-
:param
|
65
|
-
:type
|
66
|
-
:param
|
67
|
-
:type permissions: list[str]
|
68
|
-
:param consume_orderly: 是否按序消费。
|
56
|
+
:param enabled: 是否可以消费。
|
57
|
+
:type enabled: bool
|
58
|
+
:param consume_orderly: 是否按顺序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
69
59
|
:type consume_orderly: bool
|
60
|
+
:param group_desc: 消费组描述,长度0~200个字符。
|
61
|
+
:type group_desc: str
|
70
62
|
"""
|
71
63
|
|
72
64
|
|
73
65
|
|
74
66
|
self._groups = None
|
75
|
-
self._enabled = None
|
76
|
-
self._broadcast = None
|
77
|
-
self._brokers = None
|
78
67
|
self._name = None
|
79
|
-
self.
|
68
|
+
self._brokers = None
|
69
|
+
self._broadcast = None
|
80
70
|
self._retry_max_time = None
|
81
|
-
self.
|
82
|
-
self._permissions = None
|
71
|
+
self._enabled = None
|
83
72
|
self._consume_orderly = None
|
73
|
+
self._group_desc = None
|
84
74
|
self.discriminator = None
|
85
75
|
|
86
76
|
if groups is not None:
|
87
77
|
self.groups = groups
|
88
|
-
if enabled is not None:
|
89
|
-
self.enabled = enabled
|
90
|
-
if broadcast is not None:
|
91
|
-
self.broadcast = broadcast
|
92
|
-
if brokers is not None:
|
93
|
-
self.brokers = brokers
|
94
78
|
if name is not None:
|
95
79
|
self.name = name
|
96
|
-
if
|
97
|
-
self.
|
80
|
+
if brokers is not None:
|
81
|
+
self.brokers = brokers
|
82
|
+
if broadcast is not None:
|
83
|
+
self.broadcast = broadcast
|
98
84
|
if retry_max_time is not None:
|
99
85
|
self.retry_max_time = retry_max_time
|
100
|
-
if
|
101
|
-
self.
|
102
|
-
if permissions is not None:
|
103
|
-
self.permissions = permissions
|
86
|
+
if enabled is not None:
|
87
|
+
self.enabled = enabled
|
104
88
|
if consume_orderly is not None:
|
105
89
|
self.consume_orderly = consume_orderly
|
90
|
+
if group_desc is not None:
|
91
|
+
self.group_desc = group_desc
|
106
92
|
|
107
93
|
@property
|
108
94
|
def groups(self):
|
@@ -127,54 +113,32 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
127
113
|
self._groups = groups
|
128
114
|
|
129
115
|
@property
|
130
|
-
def
|
131
|
-
"""Gets the
|
132
|
-
|
133
|
-
是否可以消费。
|
134
|
-
|
135
|
-
:return: The enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
136
|
-
:rtype: bool
|
137
|
-
"""
|
138
|
-
return self._enabled
|
139
|
-
|
140
|
-
@enabled.setter
|
141
|
-
def enabled(self, enabled):
|
142
|
-
"""Sets the enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
143
|
-
|
144
|
-
是否可以消费。
|
145
|
-
|
146
|
-
:param enabled: The enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
147
|
-
:type enabled: bool
|
148
|
-
"""
|
149
|
-
self._enabled = enabled
|
150
|
-
|
151
|
-
@property
|
152
|
-
def broadcast(self):
|
153
|
-
"""Gets the broadcast of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
116
|
+
def name(self):
|
117
|
+
"""Gets the name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
154
118
|
|
155
|
-
|
119
|
+
消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
156
120
|
|
157
|
-
:return: The
|
158
|
-
:rtype:
|
121
|
+
:return: The name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
122
|
+
:rtype: str
|
159
123
|
"""
|
160
|
-
return self.
|
124
|
+
return self._name
|
161
125
|
|
162
|
-
@
|
163
|
-
def
|
164
|
-
"""Sets the
|
126
|
+
@name.setter
|
127
|
+
def name(self, name):
|
128
|
+
"""Sets the name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
165
129
|
|
166
|
-
|
130
|
+
消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
167
131
|
|
168
|
-
:param
|
169
|
-
:type
|
132
|
+
:param name: The name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
133
|
+
:type name: str
|
170
134
|
"""
|
171
|
-
self.
|
135
|
+
self._name = name
|
172
136
|
|
173
137
|
@property
|
174
138
|
def brokers(self):
|
175
139
|
"""Gets the brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
176
140
|
|
177
|
-
|
141
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
178
142
|
|
179
143
|
:return: The brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
180
144
|
:rtype: list[str]
|
@@ -185,7 +149,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
185
149
|
def brokers(self, brokers):
|
186
150
|
"""Sets the brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
187
151
|
|
188
|
-
|
152
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
189
153
|
|
190
154
|
:param brokers: The brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
191
155
|
:type brokers: list[str]
|
@@ -193,48 +157,26 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
193
157
|
self._brokers = brokers
|
194
158
|
|
195
159
|
@property
|
196
|
-
def
|
197
|
-
"""Gets the
|
198
|
-
|
199
|
-
消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
200
|
-
|
201
|
-
:return: The name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
202
|
-
:rtype: str
|
203
|
-
"""
|
204
|
-
return self._name
|
205
|
-
|
206
|
-
@name.setter
|
207
|
-
def name(self, name):
|
208
|
-
"""Sets the name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
209
|
-
|
210
|
-
消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
211
|
-
|
212
|
-
:param name: The name of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
213
|
-
:type name: str
|
214
|
-
"""
|
215
|
-
self._name = name
|
216
|
-
|
217
|
-
@property
|
218
|
-
def group_desc(self):
|
219
|
-
"""Gets the group_desc of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
160
|
+
def broadcast(self):
|
161
|
+
"""Gets the broadcast of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
220
162
|
|
221
|
-
|
163
|
+
是否广播。
|
222
164
|
|
223
|
-
:return: The
|
224
|
-
:rtype:
|
165
|
+
:return: The broadcast of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
166
|
+
:rtype: bool
|
225
167
|
"""
|
226
|
-
return self.
|
168
|
+
return self._broadcast
|
227
169
|
|
228
|
-
@
|
229
|
-
def
|
230
|
-
"""Sets the
|
170
|
+
@broadcast.setter
|
171
|
+
def broadcast(self, broadcast):
|
172
|
+
"""Sets the broadcast of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
231
173
|
|
232
|
-
|
174
|
+
是否广播。
|
233
175
|
|
234
|
-
:param
|
235
|
-
:type
|
176
|
+
:param broadcast: The broadcast of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
177
|
+
:type broadcast: bool
|
236
178
|
"""
|
237
|
-
self.
|
179
|
+
self._broadcast = broadcast
|
238
180
|
|
239
181
|
@property
|
240
182
|
def retry_max_time(self):
|
@@ -259,54 +201,32 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
259
201
|
self._retry_max_time = retry_max_time
|
260
202
|
|
261
203
|
@property
|
262
|
-
def
|
263
|
-
"""Gets the
|
264
|
-
|
265
|
-
创建时间戳。
|
266
|
-
|
267
|
-
:return: The created_at of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
268
|
-
:rtype: str
|
269
|
-
"""
|
270
|
-
return self._created_at
|
271
|
-
|
272
|
-
@created_at.setter
|
273
|
-
def created_at(self, created_at):
|
274
|
-
"""Sets the created_at of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
275
|
-
|
276
|
-
创建时间戳。
|
277
|
-
|
278
|
-
:param created_at: The created_at of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
279
|
-
:type created_at: str
|
280
|
-
"""
|
281
|
-
self._created_at = created_at
|
282
|
-
|
283
|
-
@property
|
284
|
-
def permissions(self):
|
285
|
-
"""Gets the permissions of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
204
|
+
def enabled(self):
|
205
|
+
"""Gets the enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
286
206
|
|
287
|
-
|
207
|
+
是否可以消费。
|
288
208
|
|
289
|
-
:return: The
|
290
|
-
:rtype:
|
209
|
+
:return: The enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
210
|
+
:rtype: bool
|
291
211
|
"""
|
292
|
-
return self.
|
212
|
+
return self._enabled
|
293
213
|
|
294
|
-
@
|
295
|
-
def
|
296
|
-
"""Sets the
|
214
|
+
@enabled.setter
|
215
|
+
def enabled(self, enabled):
|
216
|
+
"""Sets the enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
297
217
|
|
298
|
-
|
218
|
+
是否可以消费。
|
299
219
|
|
300
|
-
:param
|
301
|
-
:type
|
220
|
+
:param enabled: The enabled of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
221
|
+
:type enabled: bool
|
302
222
|
"""
|
303
|
-
self.
|
223
|
+
self._enabled = enabled
|
304
224
|
|
305
225
|
@property
|
306
226
|
def consume_orderly(self):
|
307
227
|
"""Gets the consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
308
228
|
|
309
|
-
|
229
|
+
是否按顺序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
310
230
|
|
311
231
|
:return: The consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
312
232
|
:rtype: bool
|
@@ -317,13 +237,35 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
317
237
|
def consume_orderly(self, consume_orderly):
|
318
238
|
"""Sets the consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
319
239
|
|
320
|
-
|
240
|
+
是否按顺序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
321
241
|
|
322
242
|
:param consume_orderly: The consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
323
243
|
:type consume_orderly: bool
|
324
244
|
"""
|
325
245
|
self._consume_orderly = consume_orderly
|
326
246
|
|
247
|
+
@property
|
248
|
+
def group_desc(self):
|
249
|
+
"""Gets the group_desc of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
250
|
+
|
251
|
+
消费组描述,长度0~200个字符。
|
252
|
+
|
253
|
+
:return: The group_desc of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
254
|
+
:rtype: str
|
255
|
+
"""
|
256
|
+
return self._group_desc
|
257
|
+
|
258
|
+
@group_desc.setter
|
259
|
+
def group_desc(self, group_desc):
|
260
|
+
"""Sets the group_desc of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
261
|
+
|
262
|
+
消费组描述,长度0~200个字符。
|
263
|
+
|
264
|
+
:param group_desc: The group_desc of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
265
|
+
:type group_desc: str
|
266
|
+
"""
|
267
|
+
self._group_desc = group_desc
|
268
|
+
|
327
269
|
def to_dict(self):
|
328
270
|
"""Returns the model properties as a dict"""
|
329
271
|
result = {}
|
huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_request.py
CHANGED
@@ -35,7 +35,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupRequest:
|
|
35
35
|
|
36
36
|
:param instance_id: 实例ID。
|
37
37
|
:type instance_id: str
|
38
|
-
:param action:
|
38
|
+
:param action: 批量删除消费组时使用,不配置则为创建接口。删除操作:delete。
|
39
39
|
:type action: str
|
40
40
|
:param body: Body of the CreateConsumerGroupOrBatchDeleteConsumerGroupRequest
|
41
41
|
:type body: :class:`huaweicloudsdkrocketmq.v2.CreateConsumerGroupOrBatchDeleteConsumerGroupReq`
|
@@ -80,7 +80,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupRequest:
|
|
80
80
|
def action(self):
|
81
81
|
"""Gets the action of this CreateConsumerGroupOrBatchDeleteConsumerGroupRequest.
|
82
82
|
|
83
|
-
|
83
|
+
批量删除消费组时使用,不配置则为创建接口。删除操作:delete。
|
84
84
|
|
85
85
|
:return: The action of this CreateConsumerGroupOrBatchDeleteConsumerGroupRequest.
|
86
86
|
:rtype: str
|
@@ -91,7 +91,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupRequest:
|
|
91
91
|
def action(self, action):
|
92
92
|
"""Sets the action of this CreateConsumerGroupOrBatchDeleteConsumerGroupRequest.
|
93
93
|
|
94
|
-
|
94
|
+
批量删除消费组时使用,不配置则为创建接口。删除操作:delete。
|
95
95
|
|
96
96
|
:param action: The action of this CreateConsumerGroupOrBatchDeleteConsumerGroupRequest.
|
97
97
|
:type action: str
|
@@ -67,11 +67,11 @@ class CreateInstanceByEngineReq:
|
|
67
67
|
|
68
68
|
:param name: 实例名称。 由英文字符开头,只能由英文字母、数字、中划线、下划线组成,长度为4~64的字符。
|
69
69
|
:type name: str
|
70
|
-
:param description: 实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
70
|
+
:param description: 实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
71
71
|
:type description: str
|
72
72
|
:param engine: 消息引擎。取值填写为:reliability。
|
73
73
|
:type engine: str
|
74
|
-
:param engine_version: 消息引擎的版本。取值填写为:4.8.0。
|
74
|
+
: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)。
|
75
75
|
:type engine_version: str
|
76
76
|
:param storage_space: 存储空间。
|
77
77
|
:type storage_space: int
|
@@ -83,7 +83,7 @@ class CreateInstanceByEngineReq:
|
|
83
83
|
:type security_group_id: str
|
84
84
|
:param available_zones: 创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
85
85
|
:type available_zones: list[str]
|
86
|
-
:param product_id: RocketMQ实例规格。 - c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000 - c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
86
|
+
:param product_id: RocketMQ实例规格。[x86环境后缀为.x86,arm环境后缀为.arm。](tag:hcs,fcs) - [c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.2u8g.single.x86或c6.2u8g.single.arm:单个代理最大Topic数50,单个代理最大消费组数100](tag:hcs) - [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:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs,fcs) - [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)
|
87
87
|
:type product_id: str
|
88
88
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
89
89
|
:type ssl_enable: bool
|
@@ -93,13 +93,13 @@ class CreateInstanceByEngineReq:
|
|
93
93
|
:type enterprise_project_id: str
|
94
94
|
:param enable_acl: 是否开启访问控制列表。
|
95
95
|
:type enable_acl: bool
|
96
|
-
:param ipv6_enable: 是否支持IPv6。 - true
|
96
|
+
:param ipv6_enable: 是否支持IPv6。 - true:支持 - false:不支持
|
97
97
|
:type ipv6_enable: bool
|
98
98
|
:param enable_publicip: 是否开启公网访问功能。默认不开启公网。 - true:开启 - false:不开启
|
99
99
|
:type enable_publicip: bool
|
100
100
|
:param publicip_id: 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
|
101
101
|
:type publicip_id: str
|
102
|
-
:param broker_num:
|
102
|
+
:param broker_num: 代理个数。
|
103
103
|
:type broker_num: int
|
104
104
|
:param bss_param:
|
105
105
|
:type bss_param: :class:`huaweicloudsdkrocketmq.v2.BssParam`
|
@@ -182,7 +182,7 @@ class CreateInstanceByEngineReq:
|
|
182
182
|
def description(self):
|
183
183
|
"""Gets the description of this CreateInstanceByEngineReq.
|
184
184
|
|
185
|
-
实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
185
|
+
实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
186
186
|
|
187
187
|
:return: The description of this CreateInstanceByEngineReq.
|
188
188
|
:rtype: str
|
@@ -193,7 +193,7 @@ class CreateInstanceByEngineReq:
|
|
193
193
|
def description(self, description):
|
194
194
|
"""Sets the description of this CreateInstanceByEngineReq.
|
195
195
|
|
196
|
-
实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
196
|
+
实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
197
197
|
|
198
198
|
:param description: The description of this CreateInstanceByEngineReq.
|
199
199
|
:type description: str
|
@@ -226,7 +226,7 @@ class CreateInstanceByEngineReq:
|
|
226
226
|
def engine_version(self):
|
227
227
|
"""Gets the engine_version of this CreateInstanceByEngineReq.
|
228
228
|
|
229
|
-
消息引擎的版本。取值填写为:4.8.0。
|
229
|
+
消息引擎的版本。取值填写为:[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)。
|
230
230
|
|
231
231
|
:return: The engine_version of this CreateInstanceByEngineReq.
|
232
232
|
:rtype: str
|
@@ -237,7 +237,7 @@ class CreateInstanceByEngineReq:
|
|
237
237
|
def engine_version(self, engine_version):
|
238
238
|
"""Sets the engine_version of this CreateInstanceByEngineReq.
|
239
239
|
|
240
|
-
消息引擎的版本。取值填写为:4.8.0。
|
240
|
+
消息引擎的版本。取值填写为:[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)。
|
241
241
|
|
242
242
|
:param engine_version: The engine_version of this CreateInstanceByEngineReq.
|
243
243
|
:type engine_version: str
|
@@ -358,7 +358,7 @@ class CreateInstanceByEngineReq:
|
|
358
358
|
def product_id(self):
|
359
359
|
"""Gets the product_id of this CreateInstanceByEngineReq.
|
360
360
|
|
361
|
-
RocketMQ实例规格。 - c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000 - c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
361
|
+
RocketMQ实例规格。[x86环境后缀为.x86,arm环境后缀为.arm。](tag:hcs,fcs) - [c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.2u8g.single.x86或c6.2u8g.single.arm:单个代理最大Topic数50,单个代理最大消费组数100](tag:hcs) - [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:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs,fcs) - [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)
|
362
362
|
|
363
363
|
:return: The product_id of this CreateInstanceByEngineReq.
|
364
364
|
:rtype: str
|
@@ -369,7 +369,7 @@ class CreateInstanceByEngineReq:
|
|
369
369
|
def product_id(self, product_id):
|
370
370
|
"""Sets the product_id of this CreateInstanceByEngineReq.
|
371
371
|
|
372
|
-
RocketMQ实例规格。 - c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000 - c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
372
|
+
RocketMQ实例规格。[x86环境后缀为.x86,arm环境后缀为.arm。](tag:hcs,fcs) - [c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.2u8g.single.x86或c6.2u8g.single.arm:单个代理最大Topic数50,单个代理最大消费组数100](tag:hcs) - [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:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs,fcs) - [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)
|
373
373
|
|
374
374
|
:param product_id: The product_id of this CreateInstanceByEngineReq.
|
375
375
|
:type product_id: str
|
@@ -468,7 +468,7 @@ class CreateInstanceByEngineReq:
|
|
468
468
|
def ipv6_enable(self):
|
469
469
|
"""Gets the ipv6_enable of this CreateInstanceByEngineReq.
|
470
470
|
|
471
|
-
是否支持IPv6。 - true
|
471
|
+
是否支持IPv6。 - true:支持 - false:不支持
|
472
472
|
|
473
473
|
:return: The ipv6_enable of this CreateInstanceByEngineReq.
|
474
474
|
:rtype: bool
|
@@ -479,7 +479,7 @@ class CreateInstanceByEngineReq:
|
|
479
479
|
def ipv6_enable(self, ipv6_enable):
|
480
480
|
"""Sets the ipv6_enable of this CreateInstanceByEngineReq.
|
481
481
|
|
482
|
-
是否支持IPv6。 - true
|
482
|
+
是否支持IPv6。 - true:支持 - false:不支持
|
483
483
|
|
484
484
|
:param ipv6_enable: The ipv6_enable of this CreateInstanceByEngineReq.
|
485
485
|
:type ipv6_enable: bool
|
@@ -534,7 +534,7 @@ class CreateInstanceByEngineReq:
|
|
534
534
|
def broker_num(self):
|
535
535
|
"""Gets the broker_num of this CreateInstanceByEngineReq.
|
536
536
|
|
537
|
-
|
537
|
+
代理个数。
|
538
538
|
|
539
539
|
:return: The broker_num of this CreateInstanceByEngineReq.
|
540
540
|
:rtype: int
|
@@ -545,7 +545,7 @@ class CreateInstanceByEngineReq:
|
|
545
545
|
def broker_num(self, broker_num):
|
546
546
|
"""Sets the broker_num of this CreateInstanceByEngineReq.
|
547
547
|
|
548
|
-
|
548
|
+
代理个数。
|
549
549
|
|
550
550
|
:param broker_num: The broker_num of this CreateInstanceByEngineReq.
|
551
551
|
:type broker_num: int
|