huaweicloudsdkrocketmq 3.1.87__py2.py3-none-any.whl → 3.1.88__py2.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.
- huaweicloudsdkrocketmq/v2/__init__.py +1 -0
- huaweicloudsdkrocketmq/v2/model/__init__.py +1 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +4 -4
- huaweicloudsdkrocketmq/v2/model/consumer_group.py +4 -4
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py +92 -150
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +9 -9
- huaweicloudsdkrocketmq/v2/model/create_or_update_consumer_group.py +289 -0
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +9 -9
- huaweicloudsdkrocketmq/v2/model/list_message_trace_resp_trace.py +4 -4
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +9 -9
- 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.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/RECORD +18 -17
- {huaweicloudsdkrocketmq-3.1.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/top_level.txt +0 -0
@@ -32,6 +32,7 @@ from huaweicloudsdkrocketmq.v2.model.create_group_resp import CreateGroupResp
|
|
32
32
|
from huaweicloudsdkrocketmq.v2.model.create_instance_by_engine_req import CreateInstanceByEngineReq
|
33
33
|
from huaweicloudsdkrocketmq.v2.model.create_instance_by_engine_request import CreateInstanceByEngineRequest
|
34
34
|
from huaweicloudsdkrocketmq.v2.model.create_instance_by_engine_response import CreateInstanceByEngineResponse
|
35
|
+
from huaweicloudsdkrocketmq.v2.model.create_or_update_consumer_group import CreateOrUpdateConsumerGroup
|
35
36
|
from huaweicloudsdkrocketmq.v2.model.create_post_paid_instance_req import CreatePostPaidInstanceReq
|
36
37
|
from huaweicloudsdkrocketmq.v2.model.create_post_paid_instance_request import CreatePostPaidInstanceRequest
|
37
38
|
from huaweicloudsdkrocketmq.v2.model.create_post_paid_instance_response import CreatePostPaidInstanceResponse
|
@@ -30,6 +30,7 @@ from huaweicloudsdkrocketmq.v2.model.create_group_resp import CreateGroupResp
|
|
30
30
|
from huaweicloudsdkrocketmq.v2.model.create_instance_by_engine_req import CreateInstanceByEngineReq
|
31
31
|
from huaweicloudsdkrocketmq.v2.model.create_instance_by_engine_request import CreateInstanceByEngineRequest
|
32
32
|
from huaweicloudsdkrocketmq.v2.model.create_instance_by_engine_response import CreateInstanceByEngineResponse
|
33
|
+
from huaweicloudsdkrocketmq.v2.model.create_or_update_consumer_group import CreateOrUpdateConsumerGroup
|
33
34
|
from huaweicloudsdkrocketmq.v2.model.create_post_paid_instance_req import CreatePostPaidInstanceReq
|
34
35
|
from huaweicloudsdkrocketmq.v2.model.create_post_paid_instance_request import CreatePostPaidInstanceRequest
|
35
36
|
from huaweicloudsdkrocketmq.v2.model.create_post_paid_instance_response import CreatePostPaidInstanceResponse
|
@@ -17,7 +17,7 @@ class BatchUpdateConsumerGroupReq:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'groups': 'list[
|
20
|
+
'groups': 'list[CreateOrUpdateConsumerGroup]'
|
21
21
|
}
|
22
22
|
|
23
23
|
attribute_map = {
|
@@ -30,7 +30,7 @@ class BatchUpdateConsumerGroupReq:
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
32
|
:param groups: 消费组列表。
|
33
|
-
:type groups: list[:class:`huaweicloudsdkrocketmq.v2.
|
33
|
+
:type groups: list[:class:`huaweicloudsdkrocketmq.v2.CreateOrUpdateConsumerGroup`]
|
34
34
|
"""
|
35
35
|
|
36
36
|
|
@@ -48,7 +48,7 @@ class BatchUpdateConsumerGroupReq:
|
|
48
48
|
消费组列表。
|
49
49
|
|
50
50
|
:return: The groups of this BatchUpdateConsumerGroupReq.
|
51
|
-
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.
|
51
|
+
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.CreateOrUpdateConsumerGroup`]
|
52
52
|
"""
|
53
53
|
return self._groups
|
54
54
|
|
@@ -59,7 +59,7 @@ class BatchUpdateConsumerGroupReq:
|
|
59
59
|
消费组列表。
|
60
60
|
|
61
61
|
:param groups: The groups of this BatchUpdateConsumerGroupReq.
|
62
|
-
:type groups: list[:class:`huaweicloudsdkrocketmq.v2.
|
62
|
+
:type groups: list[:class:`huaweicloudsdkrocketmq.v2.CreateOrUpdateConsumerGroup`]
|
63
63
|
"""
|
64
64
|
self._groups = groups
|
65
65
|
|
@@ -23,7 +23,7 @@ class ConsumerGroup:
|
|
23
23
|
'name': 'str',
|
24
24
|
'group_desc': 'str',
|
25
25
|
'retry_max_time': 'int',
|
26
|
-
'created_at': '
|
26
|
+
'created_at': 'int',
|
27
27
|
'permissions': 'list[str]',
|
28
28
|
'consume_orderly': 'bool'
|
29
29
|
}
|
@@ -58,7 +58,7 @@ class ConsumerGroup:
|
|
58
58
|
:param retry_max_time: 最大重试次数,取值范围为1~16。
|
59
59
|
:type retry_max_time: int
|
60
60
|
:param created_at: 创建时间戳。
|
61
|
-
:type created_at:
|
61
|
+
:type created_at: int
|
62
62
|
:param permissions: 权限集。
|
63
63
|
:type permissions: list[str]
|
64
64
|
:param consume_orderly: 是否按序消费。
|
@@ -236,7 +236,7 @@ class ConsumerGroup:
|
|
236
236
|
创建时间戳。
|
237
237
|
|
238
238
|
:return: The created_at of this ConsumerGroup.
|
239
|
-
:rtype:
|
239
|
+
:rtype: int
|
240
240
|
"""
|
241
241
|
return self._created_at
|
242
242
|
|
@@ -247,7 +247,7 @@ class ConsumerGroup:
|
|
247
247
|
创建时间戳。
|
248
248
|
|
249
249
|
:param created_at: The created_at of this ConsumerGroup.
|
250
|
-
:type created_at:
|
250
|
+
:type created_at: int
|
251
251
|
"""
|
252
252
|
self._created_at = created_at
|
253
253
|
|
@@ -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: 关联的代理列表。
|
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 permissions: 权限集。
|
67
|
-
:type permissions: list[str]
|
56
|
+
:param enabled: 是否可以消费。
|
57
|
+
:type enabled: bool
|
68
58
|
:param consume_orderly: 是否按序消费。
|
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,48 +113,26 @@ 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):
|
@@ -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,48 +201,26 @@ 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):
|
@@ -324,6 +244,28 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
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 = {}
|
@@ -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,hk_tm)[5.x](tag:hcs)。
|
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) - [c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,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,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
87
87
|
:type product_id: str
|
88
88
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
89
89
|
:type ssl_enable: bool
|
@@ -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,hk_tm)[5.x](tag:hcs)。
|
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,hk_tm)[5.x](tag:hcs)。
|
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) - [c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,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,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
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) - [c6.4u8g.cluster.small:单个代理最大Topic数2000,单个代理最大消费组数2000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,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,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
373
373
|
|
374
374
|
:param product_id: The product_id of this CreateInstanceByEngineReq.
|
375
375
|
:type product_id: str
|
@@ -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: 关联的代理列表。
|
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: 是否按序消费。
|
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
|
+
关联的代理列表。
|
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
|
+
关联的代理列表。
|
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
|
+
是否按序消费。
|
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
|
+
是否按序消费。
|
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,hk_tm)[5.x](tag:hcs)。
|
73
73
|
:type engine_version: str
|
74
74
|
:param storage_space: 存储空间。
|
75
75
|
:type storage_space: int
|
@@ -81,7 +81,7 @@ class CreatePostPaidInstanceReq:
|
|
81
81
|
:type security_group_id: str
|
82
82
|
:param available_zones: 创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
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) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,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,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
85
85
|
:type product_id: str
|
86
86
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
87
87
|
:type ssl_enable: bool
|
@@ -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,hk_tm)[5.x](tag:hcs)。
|
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,hk_tm)[5.x](tag:hcs)。
|
234
234
|
|
235
235
|
:param engine_version: The engine_version of this CreatePostPaidInstanceReq.
|
236
236
|
:type engine_version: 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) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,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,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
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) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,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,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
366
366
|
|
367
367
|
:param product_id: The product_id of this CreatePostPaidInstanceReq.
|
368
368
|
:type product_id: str
|
@@ -31,7 +31,7 @@ class ListMessageTraceRespTrace:
|
|
31
31
|
'keys': 'str',
|
32
32
|
'store_host': 'str',
|
33
33
|
'client_host': 'str',
|
34
|
-
'retry_times': '
|
34
|
+
'retry_times': 'int',
|
35
35
|
'body_length': 'float',
|
36
36
|
'msg_type': 'str',
|
37
37
|
'transaction_state': 'str',
|
@@ -96,7 +96,7 @@ class ListMessageTraceRespTrace:
|
|
96
96
|
:param client_host: 产生消息的主机IP。
|
97
97
|
:type client_host: str
|
98
98
|
:param retry_times: 重试次数。
|
99
|
-
:type retry_times:
|
99
|
+
:type retry_times: int
|
100
100
|
:param body_length: 消息体长度。
|
101
101
|
:type body_length: float
|
102
102
|
:param msg_type: 消息类型。
|
@@ -489,7 +489,7 @@ class ListMessageTraceRespTrace:
|
|
489
489
|
重试次数。
|
490
490
|
|
491
491
|
:return: The retry_times of this ListMessageTraceRespTrace.
|
492
|
-
:rtype:
|
492
|
+
:rtype: int
|
493
493
|
"""
|
494
494
|
return self._retry_times
|
495
495
|
|
@@ -500,7 +500,7 @@ class ListMessageTraceRespTrace:
|
|
500
500
|
重试次数。
|
501
501
|
|
502
502
|
:param retry_times: The retry_times of this ListMessageTraceRespTrace.
|
503
|
-
:type retry_times:
|
503
|
+
:type retry_times: int
|
504
504
|
"""
|
505
505
|
self._retry_times = retry_times
|
506
506
|
|
@@ -37,15 +37,15 @@ class ResizeEngineInstanceReq:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param oper_type: 变更类型 取值范围: - storage:存储空间扩容,代理数量不变。 - horizontal:代理数量扩容,每个broker的存储空间不变。 - vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。
|
40
|
+
:param oper_type: 变更类型 取值范围: [- storage:存储空间扩容,代理数量不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm) - horizontal:代理数量扩容,每个broker的存储空间不变。 [- vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)
|
41
41
|
:type oper_type: str
|
42
|
-
:param new_storage_space: 当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 - 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。 - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
42
|
+
:param new_storage_space: 当oper_type类型是[storage或](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 [- 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm) - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
43
43
|
:type new_storage_space: int
|
44
44
|
:param new_product_id: 当oper_type类型是vertical时,该参数才有效且必填。
|
45
45
|
:type new_product_id: str
|
46
46
|
:param new_broker_num: 代理数量 当oper_type参数为horizontal时,该参数必填。
|
47
47
|
:type new_broker_num: int
|
48
|
-
:param publicip_id: 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 当oper_type参数为horizontal且开启了公网访问时,此参数必填。
|
48
|
+
:param publicip_id: 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 当oper_type参数为horizontal且开启了公网访问时,此参数必填。
|
49
49
|
:type publicip_id: str
|
50
50
|
"""
|
51
51
|
|
@@ -72,7 +72,7 @@ class ResizeEngineInstanceReq:
|
|
72
72
|
def oper_type(self):
|
73
73
|
"""Gets the oper_type of this ResizeEngineInstanceReq.
|
74
74
|
|
75
|
-
变更类型 取值范围: - storage:存储空间扩容,代理数量不变。 - horizontal:代理数量扩容,每个broker的存储空间不变。 - vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。
|
75
|
+
变更类型 取值范围: [- storage:存储空间扩容,代理数量不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm) - horizontal:代理数量扩容,每个broker的存储空间不变。 [- vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)
|
76
76
|
|
77
77
|
:return: The oper_type of this ResizeEngineInstanceReq.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class ResizeEngineInstanceReq:
|
|
83
83
|
def oper_type(self, oper_type):
|
84
84
|
"""Sets the oper_type of this ResizeEngineInstanceReq.
|
85
85
|
|
86
|
-
变更类型 取值范围: - storage:存储空间扩容,代理数量不变。 - horizontal:代理数量扩容,每个broker的存储空间不变。 - vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。
|
86
|
+
变更类型 取值范围: [- storage:存储空间扩容,代理数量不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm) - horizontal:代理数量扩容,每个broker的存储空间不变。 [- vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)
|
87
87
|
|
88
88
|
:param oper_type: The oper_type of this ResizeEngineInstanceReq.
|
89
89
|
:type oper_type: str
|
@@ -94,7 +94,7 @@ class ResizeEngineInstanceReq:
|
|
94
94
|
def new_storage_space(self):
|
95
95
|
"""Gets the new_storage_space of this ResizeEngineInstanceReq.
|
96
96
|
|
97
|
-
当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 - 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。 - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
97
|
+
当oper_type类型是[storage或](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 [- 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm) - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
98
98
|
|
99
99
|
:return: The new_storage_space of this ResizeEngineInstanceReq.
|
100
100
|
:rtype: int
|
@@ -105,7 +105,7 @@ class ResizeEngineInstanceReq:
|
|
105
105
|
def new_storage_space(self, new_storage_space):
|
106
106
|
"""Sets the new_storage_space of this ResizeEngineInstanceReq.
|
107
107
|
|
108
|
-
当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 - 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。 - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
108
|
+
当oper_type类型是[storage或](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 [- 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm) - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
109
109
|
|
110
110
|
:param new_storage_space: The new_storage_space of this ResizeEngineInstanceReq.
|
111
111
|
:type new_storage_space: int
|
@@ -160,7 +160,7 @@ class ResizeEngineInstanceReq:
|
|
160
160
|
def publicip_id(self):
|
161
161
|
"""Gets the publicip_id of this ResizeEngineInstanceReq.
|
162
162
|
|
163
|
-
实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 当oper_type参数为horizontal且开启了公网访问时,此参数必填。
|
163
|
+
实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 当oper_type参数为horizontal且开启了公网访问时,此参数必填。
|
164
164
|
|
165
165
|
:return: The publicip_id of this ResizeEngineInstanceReq.
|
166
166
|
:rtype: str
|
@@ -171,7 +171,7 @@ class ResizeEngineInstanceReq:
|
|
171
171
|
def publicip_id(self, publicip_id):
|
172
172
|
"""Sets the publicip_id of this ResizeEngineInstanceReq.
|
173
173
|
|
174
|
-
实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 当oper_type参数为horizontal且开启了公网访问时,此参数必填。
|
174
|
+
实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 当oper_type参数为horizontal且开启了公网访问时,此参数必填。
|
175
175
|
|
176
176
|
:param publicip_id: The publicip_id of this ResizeEngineInstanceReq.
|
177
177
|
:type publicip_id: str
|
@@ -41,7 +41,7 @@ class UpdateInstanceReq:
|
|
41
41
|
|
42
42
|
:param name: 实例名称。 由英文字符开头,只能由英文字母、数字、中划线组成,长度为4~64的字符。
|
43
43
|
:type name: str
|
44
|
-
:param description: 实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
44
|
+
:param description: 实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
45
45
|
:type description: str
|
46
46
|
:param security_group_id: 安全组ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
47
47
|
:type security_group_id: str
|
@@ -102,7 +102,7 @@ class UpdateInstanceReq:
|
|
102
102
|
def description(self):
|
103
103
|
"""Gets the description of this UpdateInstanceReq.
|
104
104
|
|
105
|
-
实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
105
|
+
实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
106
106
|
|
107
107
|
:return: The description of this UpdateInstanceReq.
|
108
108
|
:rtype: str
|
@@ -113,7 +113,7 @@ class UpdateInstanceReq:
|
|
113
113
|
def description(self, description):
|
114
114
|
"""Sets the description of this UpdateInstanceReq.
|
115
115
|
|
116
|
-
实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
116
|
+
实例的描述信息。 长度不超过1024的字符串。[且字符串不能包含\">\"与\"<\",字符串首字符不能为\"=\",\"+\",\"-\",\"@\"的全角和半角字符。](tag:hcs) > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
117
117
|
|
118
118
|
:param description: The description of this UpdateInstanceReq.
|
119
119
|
:type description: str
|
@@ -303,7 +303,7 @@ class RocketMQAsyncClient(Client):
|
|
303
303
|
def create_instance_by_engine_async(self, request):
|
304
304
|
"""创建实例
|
305
305
|
|
306
|
-
|
306
|
+
创建实例[,该接口支持创建按需和包周期两种计费方式的实例](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)。
|
307
307
|
|
308
308
|
Please refer to HUAWEI cloud API Explorer for details.
|
309
309
|
|
@@ -303,7 +303,7 @@ class RocketMQClient(Client):
|
|
303
303
|
def create_instance_by_engine(self, request):
|
304
304
|
"""创建实例
|
305
305
|
|
306
|
-
|
306
|
+
创建实例[,该接口支持创建按需和包周期两种计费方式的实例](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)。
|
307
307
|
|
308
308
|
Please refer to HUAWEI cloud API Explorer for details.
|
309
309
|
|
{huaweicloudsdkrocketmq-3.1.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkrocketmq
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.88
|
4
4
|
Summary: RocketMQ
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore >=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.88
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -1,8 +1,8 @@
|
|
1
1
|
huaweicloudsdkrocketmq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
huaweicloudsdkrocketmq/v2/__init__.py,sha256=
|
3
|
-
huaweicloudsdkrocketmq/v2/rocketmq_async_client.py,sha256=
|
4
|
-
huaweicloudsdkrocketmq/v2/rocketmq_client.py,sha256=
|
5
|
-
huaweicloudsdkrocketmq/v2/model/__init__.py,sha256=
|
2
|
+
huaweicloudsdkrocketmq/v2/__init__.py,sha256=0gOi-xySfMwDqIuPmssDXvkTQxli2J9SYtV8XqByz3E,15837
|
3
|
+
huaweicloudsdkrocketmq/v2/rocketmq_async_client.py,sha256=aQq4E75-AOBomwMPnJfBK67dl0794fjeno3z5zka9RA,113597
|
4
|
+
huaweicloudsdkrocketmq/v2/rocketmq_client.py,sha256=cFY8RWj6mAHV7nSCTDlf0VjS7JFunnh00fefEoXm5wU,113586
|
5
|
+
huaweicloudsdkrocketmq/v2/model/__init__.py,sha256=soPcn14ySJRLoqFIbqZ9bluPPkDG2-Bhc1I3reeuEfA,15721
|
6
6
|
huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_rocketmq_tag_request.py,sha256=ABD-HX9mNUscY0fW7C6ZTXCaOq7tJCNTrD3GFmhb4Do,4151
|
7
7
|
huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_rocketmq_tag_response.py,sha256=GHFy5YcQSy-8xYer-StBqBV_rICOILPU6rJlAgDDVVo,2503
|
8
8
|
huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_tag_req.py,sha256=lkDd0R71dtjp_vZTNxBXZY1EURTCj68S3rIadddzcNg,4115
|
@@ -14,23 +14,24 @@ huaweicloudsdkrocketmq/v2/model/batch_delete_instances_request.py,sha256=AahWDXY
|
|
14
14
|
huaweicloudsdkrocketmq/v2/model/batch_delete_instances_response.py,sha256=Jy9doTasW9fuD63UWZ5h6cPj0usDlJJQ_RLwc9fu4QY,3508
|
15
15
|
huaweicloudsdkrocketmq/v2/model/batch_delete_topic_req.py,sha256=GzC_a_C2d3K64xTWWPMqa4FzWimmIMeHKLpCre1m0Z4,3160
|
16
16
|
huaweicloudsdkrocketmq/v2/model/batch_delete_topic_resp.py,sha256=svNyaufKfwAjoXrmCASk3Hq3PpQS1WABBap63r61Zs8,3068
|
17
|
-
huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py,sha256=
|
17
|
+
huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py,sha256=8Vu0i9lF9b-hSzsECzZHD5Vyt0M_UsJ7xedHmwNnoHI,3327
|
18
18
|
huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_request.py,sha256=smgwW7KvZmnl8XW-JzQCXhWFqcUEDyMudaCUTPetiZo,4087
|
19
19
|
huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_response.py,sha256=qWuI0aYlzqNRvQxvNbmadRBjrDMHC8q07gF9FygYZyI,3241
|
20
20
|
huaweicloudsdkrocketmq/v2/model/brokers.py,sha256=lskKYea1apu6juGIkQy1KXQk83P-mLdz5XpN0gXNpaY,3939
|
21
21
|
huaweicloudsdkrocketmq/v2/model/bss_param.py,sha256=T-_g2bm4vCeCKewskSyYePgf358v_ejYK4keq7g1zus,8728
|
22
22
|
huaweicloudsdkrocketmq/v2/model/client_data.py,sha256=hCgI73iX3XpbaHmK6S3VMeKP3LNcemruDyw5gGCZ1KY,6294
|
23
23
|
huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py,sha256=HgXVVUWL0wCXH2NjCWK0dAQjenaLoMSDR3oFzNRkW8o,5774
|
24
|
-
huaweicloudsdkrocketmq/v2/model/consumer_group.py,sha256=
|
24
|
+
huaweicloudsdkrocketmq/v2/model/consumer_group.py,sha256=kqrwNDKI8kcrBuATcNfTpXuYRmbrFDxggymL53LYMx0,9949
|
25
25
|
huaweicloudsdkrocketmq/v2/model/consumer_list.py,sha256=HiFKGQM-LiBKdp37U3BJiReueImLPljZb8Z57z6SAUs,4031
|
26
|
-
huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py,sha256=
|
26
|
+
huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py,sha256=vI5hSvTYUFN2Fagp57KjZ831KMd3dIdtfq1VoYbbwiU,10315
|
27
27
|
huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_request.py,sha256=zokAC01SQVFolQVhhwFuj-gdRmioe1YPCOWOpifMlQI,5421
|
28
28
|
huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_response.py,sha256=N2HbsrAb3kT7-CcHPcA-gGrB2ZPujLYQhO1mzxXYRFE,4320
|
29
29
|
huaweicloudsdkrocketmq/v2/model/create_group_resp.py,sha256=pRhre_0tH01NAjjCtgjD0i9NxpNGUZJcK30NmhQ7j18,3017
|
30
|
-
huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py,sha256=
|
30
|
+
huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py,sha256=xCvKms4OmQlyoA8QOa1ZYTxOmiNkOknGpMn3NTWz9bg,28664
|
31
31
|
huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_request.py,sha256=I3F38qznsbWlsib3qKznfHqo3HGa2L9YMheMOcKLTec,3957
|
32
32
|
huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_response.py,sha256=QbpKL0lncKlIsjEkgHzOJR17YSv3QoJ0jS9nqfqZf6Q,3340
|
33
|
-
huaweicloudsdkrocketmq/v2/model/
|
33
|
+
huaweicloudsdkrocketmq/v2/model/create_or_update_consumer_group.py,sha256=q1yU5Oun_PaK4-mqYZba064VfJNKTvxNToQbcqE5SPA,8757
|
34
|
+
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py,sha256=Nk8ykphwJnfdFFTiFOvIp2HRLy5HAW5n8If8IHCPmJY,26949
|
34
35
|
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_request.py,sha256=_hw9sh9CGqGq2V-prrwSRshtSwgrhr1Ui9rG8B3Q_nw,3230
|
35
36
|
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_response.py,sha256=OgybZoq67umwkfdmIgIu9Tr212UM9Xcqg9mJ7RlwGtg,3340
|
36
37
|
huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_req.py,sha256=4O1HGat1fGZgKQmpYh-Fyq0z8cL5UakWhFHD3ryxYY0,10742
|
@@ -74,7 +75,7 @@ huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py,sha256
|
|
74
75
|
huaweicloudsdkrocketmq/v2/model/list_instances_request.py,sha256=6V_tIkn0v_QF-z3kw6KBxRqpt0uPIzuhObMnrwPAdSY,11687
|
75
76
|
huaweicloudsdkrocketmq/v2/model/list_instances_response.py,sha256=aV1v-GP3i2PclU5Xx6LXLbz4EsjAbYpO3s6IZ2rBXhY,4283
|
76
77
|
huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py,sha256=gVLTdRNRMDOlIN-DYiH1tLrhP-563xqJIf8S1GolEtI,4522
|
77
|
-
huaweicloudsdkrocketmq/v2/model/list_message_trace_resp_trace.py,sha256=
|
78
|
+
huaweicloudsdkrocketmq/v2/model/list_message_trace_resp_trace.py,sha256=QTK24MO2MLmOJN0wWcZGeqB7Yo1Drrt-i0vg8v5gLDo,19341
|
78
79
|
huaweicloudsdkrocketmq/v2/model/list_message_trace_response.py,sha256=urDs290mr3QXay6L6Si0O_SGW4hNzLxR5vb5cVw8EZ8,3401
|
79
80
|
huaweicloudsdkrocketmq/v2/model/list_messages_request.py,sha256=sPlBgZpZb-4_lOKBSLkvQthBsW0kxHAndTdgQqfwjKo,9337
|
80
81
|
huaweicloudsdkrocketmq/v2/model/list_messages_response.py,sha256=LTIwsUfzxe5s_b9lA8kiEhQVM5GeDLWHJb_FlK7rqLk,4059
|
@@ -103,7 +104,7 @@ huaweicloudsdkrocketmq/v2/model/reset_consume_offset_req.py,sha256=hJt73H8m1cYyH
|
|
103
104
|
huaweicloudsdkrocketmq/v2/model/reset_consume_offset_request.py,sha256=JGm2GVtE000Eoy35Y56fHq-E5VMKbvM6CahauwxO_MQ,5508
|
104
105
|
huaweicloudsdkrocketmq/v2/model/reset_consume_offset_resp_queues.py,sha256=nm07JO-aurtDNPFSfYeZVBw-6Ge7txR3so2aFwyHUaQ,5040
|
105
106
|
huaweicloudsdkrocketmq/v2/model/reset_consume_offset_response.py,sha256=YZ7j5lgF07kVsKYnu7fYNat5gUhi47XNLObgAdo8Hq0,3443
|
106
|
-
huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py,sha256=
|
107
|
+
huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py,sha256=iNVhoCmQBDxTva2hjm2mdy0-pmwykseN9rOd17p7YPs,9933
|
107
108
|
huaweicloudsdkrocketmq/v2/model/resize_instance_request.py,sha256=vplfdyNDslkH8uZPw6Lq6uLseUtNZBcVtjm5d4n0q8w,4760
|
108
109
|
huaweicloudsdkrocketmq/v2/model/resize_instance_response.py,sha256=nZJrsqVheMk5NmQ_2ryDrwtccgijK_PGuzyktv2wRQA,3197
|
109
110
|
huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py,sha256=7AOR8nTDEXUtLaZ9XW_Cr5AyAdsn16umUhkDgialHeA,3707
|
@@ -147,7 +148,7 @@ huaweicloudsdkrocketmq/v2/model/topic_brokers.py,sha256=Y3Ed8Ee9VpS1-tLCMN8eezlo
|
|
147
148
|
huaweicloudsdkrocketmq/v2/model/update_consumer_group.py,sha256=EbHX5LQNPFg3BVqPtxX1mAH3uEef5c5KXA9s1cu5qdE,7303
|
148
149
|
huaweicloudsdkrocketmq/v2/model/update_consumer_group_request.py,sha256=A_2UWfRtoaHVVobXm3xEACqStND0CnLdoL-BqEIK6H4,4697
|
149
150
|
huaweicloudsdkrocketmq/v2/model/update_consumer_group_response.py,sha256=zeiLFw88CpG1ouZ9H2cD5Z8a3y0phGGNa4wxFW3m-WA,2459
|
150
|
-
huaweicloudsdkrocketmq/v2/model/update_instance_req.py,sha256=
|
151
|
+
huaweicloudsdkrocketmq/v2/model/update_instance_req.py,sha256=n_tmGPMYiKeUpBIOK55CCDxS20xb8K41_KXGK6NcMWo,9592
|
151
152
|
huaweicloudsdkrocketmq/v2/model/update_instance_request.py,sha256=K58zvaWEfksVVABEyuKq1LeVdo5utG00Zk05tE0ToMQ,3927
|
152
153
|
huaweicloudsdkrocketmq/v2/model/update_instance_response.py,sha256=5H3Gfw5LOIoiVzXWxv4q7hxKSkboKqtcE7UqDIJMSx0,2439
|
153
154
|
huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_request.py,sha256=KNA0fAy2RCIFb1itoBo5hzpMFCe9GE_rmEisbty7MCU,4003
|
@@ -164,8 +165,8 @@ huaweicloudsdkrocketmq/v2/model/validate_consumed_message_request.py,sha256=VyIK
|
|
164
165
|
huaweicloudsdkrocketmq/v2/model/validate_consumed_message_response.py,sha256=1D9O-eoQC6-HVq_iRp-FUOoki_JUGcWxyusLQcZQ2Pg,3696
|
165
166
|
huaweicloudsdkrocketmq/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
166
167
|
huaweicloudsdkrocketmq/v2/region/rocketmq_region.py,sha256=h_ATYazfWTioPKeUzvaWEpKOQzfjI19egBSpBGwoIBA,4450
|
167
|
-
huaweicloudsdkrocketmq-3.1.
|
168
|
-
huaweicloudsdkrocketmq-3.1.
|
169
|
-
huaweicloudsdkrocketmq-3.1.
|
170
|
-
huaweicloudsdkrocketmq-3.1.
|
171
|
-
huaweicloudsdkrocketmq-3.1.
|
168
|
+
huaweicloudsdkrocketmq-3.1.88.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
169
|
+
huaweicloudsdkrocketmq-3.1.88.dist-info/METADATA,sha256=-jgtJ_0Z0YjXo-Dj14OE2vIsja66hRVExXj44e9jems,1149
|
170
|
+
huaweicloudsdkrocketmq-3.1.88.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
171
|
+
huaweicloudsdkrocketmq-3.1.88.dist-info/top_level.txt,sha256=eCwsKgy2VRwJ1iDx8iFpYijz9dNun4HRSYfo1QXPEAU,23
|
172
|
+
huaweicloudsdkrocketmq-3.1.88.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{huaweicloudsdkrocketmq-3.1.87.dist-info → huaweicloudsdkrocketmq-3.1.88.dist-info}/top_level.txt
RENAMED
File without changes
|