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
@@ -37,6 +37,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
37
37
|
'subnet_name': 'str',
|
38
38
|
'subnet_cidr': 'str',
|
39
39
|
'available_zones': 'list[str]',
|
40
|
+
'available_zone_names': 'list[str]',
|
40
41
|
'user_id': 'str',
|
41
42
|
'user_name': 'str',
|
42
43
|
'maintain_begin': 'str',
|
@@ -68,6 +69,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
68
69
|
'public_broker_address': 'str',
|
69
70
|
'grpc_address': 'str',
|
70
71
|
'public_grpc_address': 'str',
|
72
|
+
'enterprise_project_id': 'str',
|
71
73
|
'tags': 'list[TagEntity]',
|
72
74
|
'total_storage_space': 'int',
|
73
75
|
'resource_spec_code': 'str'
|
@@ -93,6 +95,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
93
95
|
'subnet_name': 'subnet_name',
|
94
96
|
'subnet_cidr': 'subnet_cidr',
|
95
97
|
'available_zones': 'available_zones',
|
98
|
+
'available_zone_names': 'available_zone_names',
|
96
99
|
'user_id': 'user_id',
|
97
100
|
'user_name': 'user_name',
|
98
101
|
'maintain_begin': 'maintain_begin',
|
@@ -124,12 +127,13 @@ class ShowInstanceResponse(SdkResponse):
|
|
124
127
|
'public_broker_address': 'public_broker_address',
|
125
128
|
'grpc_address': 'grpc_address',
|
126
129
|
'public_grpc_address': 'public_grpc_address',
|
130
|
+
'enterprise_project_id': 'enterprise_project_id',
|
127
131
|
'tags': 'tags',
|
128
132
|
'total_storage_space': 'total_storage_space',
|
129
133
|
'resource_spec_code': 'resource_spec_code'
|
130
134
|
}
|
131
135
|
|
132
|
-
def __init__(self, name=None, engine=None, status=None, description=None, type=None, specification=None, engine_version=None, instance_id=None, charging_mode=None, vpc_id=None, vpc_name=None, created_at=None, product_id=None, security_group_id=None, security_group_name=None, subnet_id=None, subnet_name=None, subnet_cidr=None, available_zones=None, user_id=None, user_name=None, maintain_begin=None, maintain_end=None, enable_log_collection=None, storage_space=None, used_storage_space=None, enable_publicip=None, publicip_id=None, publicip_address=None, ssl_enable=None, cross_vpc_info=None, storage_resource_id=None, storage_spec_code=None, service_type=None, storage_type=None, extend_times=None, ipv6_enable=None, support_features=None, disk_encrypted=None, ces_version=None, node_num=None, new_spec_billing_enable=None, enable_acl=None, broker_num=None, namesrv_address=None, broker_address=None, public_namesrv_address=None, public_broker_address=None, grpc_address=None, public_grpc_address=None, tags=None, total_storage_space=None, resource_spec_code=None):
|
136
|
+
def __init__(self, name=None, engine=None, status=None, description=None, type=None, specification=None, engine_version=None, instance_id=None, charging_mode=None, vpc_id=None, vpc_name=None, created_at=None, product_id=None, security_group_id=None, security_group_name=None, subnet_id=None, subnet_name=None, subnet_cidr=None, available_zones=None, available_zone_names=None, user_id=None, user_name=None, maintain_begin=None, maintain_end=None, enable_log_collection=None, storage_space=None, used_storage_space=None, enable_publicip=None, publicip_id=None, publicip_address=None, ssl_enable=None, cross_vpc_info=None, storage_resource_id=None, storage_spec_code=None, service_type=None, storage_type=None, extend_times=None, ipv6_enable=None, support_features=None, disk_encrypted=None, ces_version=None, node_num=None, new_spec_billing_enable=None, enable_acl=None, broker_num=None, namesrv_address=None, broker_address=None, public_namesrv_address=None, public_broker_address=None, grpc_address=None, public_grpc_address=None, enterprise_project_id=None, tags=None, total_storage_space=None, resource_spec_code=None):
|
133
137
|
"""ShowInstanceResponse
|
134
138
|
|
135
139
|
The model defined in huaweicloud sdk
|
@@ -150,7 +154,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
150
154
|
:type engine_version: str
|
151
155
|
:param instance_id: 实例ID。
|
152
156
|
:type instance_id: str
|
153
|
-
:param charging_mode: [付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs)
|
157
|
+
:param charging_mode: [付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs,fcs)
|
154
158
|
:type charging_mode: int
|
155
159
|
:param vpc_id: 私有云ID。
|
156
160
|
:type vpc_id: str
|
@@ -170,8 +174,10 @@ class ShowInstanceResponse(SdkResponse):
|
|
170
174
|
:type subnet_name: str
|
171
175
|
:param subnet_cidr: 子网路由(仅RocketMQ 5.x版本会显示此字段)。
|
172
176
|
:type subnet_cidr: str
|
173
|
-
:param available_zones:
|
177
|
+
:param available_zones: 可用区ID列表。
|
174
178
|
:type available_zones: list[str]
|
179
|
+
:param available_zone_names: 可用区名称列表。
|
180
|
+
:type available_zone_names: list[str]
|
175
181
|
:param user_id: 用户ID。
|
176
182
|
:type user_id: str
|
177
183
|
:param user_name: 用户名。
|
@@ -234,6 +240,8 @@ class ShowInstanceResponse(SdkResponse):
|
|
234
240
|
:type grpc_address: str
|
235
241
|
:param public_grpc_address: 公网grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
|
236
242
|
:type public_grpc_address: str
|
243
|
+
:param enterprise_project_id: 企业项目ID。
|
244
|
+
:type enterprise_project_id: str
|
237
245
|
:param tags: 标签列表。
|
238
246
|
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
|
239
247
|
:param total_storage_space: 总存储空间。
|
@@ -263,6 +271,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
263
271
|
self._subnet_name = None
|
264
272
|
self._subnet_cidr = None
|
265
273
|
self._available_zones = None
|
274
|
+
self._available_zone_names = None
|
266
275
|
self._user_id = None
|
267
276
|
self._user_name = None
|
268
277
|
self._maintain_begin = None
|
@@ -294,6 +303,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
294
303
|
self._public_broker_address = None
|
295
304
|
self._grpc_address = None
|
296
305
|
self._public_grpc_address = None
|
306
|
+
self._enterprise_project_id = None
|
297
307
|
self._tags = None
|
298
308
|
self._total_storage_space = None
|
299
309
|
self._resource_spec_code = None
|
@@ -337,6 +347,8 @@ class ShowInstanceResponse(SdkResponse):
|
|
337
347
|
self.subnet_cidr = subnet_cidr
|
338
348
|
if available_zones is not None:
|
339
349
|
self.available_zones = available_zones
|
350
|
+
if available_zone_names is not None:
|
351
|
+
self.available_zone_names = available_zone_names
|
340
352
|
if user_id is not None:
|
341
353
|
self.user_id = user_id
|
342
354
|
if user_name is not None:
|
@@ -399,6 +411,8 @@ class ShowInstanceResponse(SdkResponse):
|
|
399
411
|
self.grpc_address = grpc_address
|
400
412
|
if public_grpc_address is not None:
|
401
413
|
self.public_grpc_address = public_grpc_address
|
414
|
+
if enterprise_project_id is not None:
|
415
|
+
self.enterprise_project_id = enterprise_project_id
|
402
416
|
if tags is not None:
|
403
417
|
self.tags = tags
|
404
418
|
if total_storage_space is not None:
|
@@ -586,7 +600,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
586
600
|
def charging_mode(self):
|
587
601
|
"""Gets the charging_mode of this ShowInstanceResponse.
|
588
602
|
|
589
|
-
[付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs)
|
603
|
+
[付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs,fcs)
|
590
604
|
|
591
605
|
:return: The charging_mode of this ShowInstanceResponse.
|
592
606
|
:rtype: int
|
@@ -597,7 +611,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
597
611
|
def charging_mode(self, charging_mode):
|
598
612
|
"""Sets the charging_mode of this ShowInstanceResponse.
|
599
613
|
|
600
|
-
[付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs)
|
614
|
+
[付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs,fcs)
|
601
615
|
|
602
616
|
:param charging_mode: The charging_mode of this ShowInstanceResponse.
|
603
617
|
:type charging_mode: int
|
@@ -806,7 +820,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
806
820
|
def available_zones(self):
|
807
821
|
"""Gets the available_zones of this ShowInstanceResponse.
|
808
822
|
|
809
|
-
|
823
|
+
可用区ID列表。
|
810
824
|
|
811
825
|
:return: The available_zones of this ShowInstanceResponse.
|
812
826
|
:rtype: list[str]
|
@@ -817,13 +831,35 @@ class ShowInstanceResponse(SdkResponse):
|
|
817
831
|
def available_zones(self, available_zones):
|
818
832
|
"""Sets the available_zones of this ShowInstanceResponse.
|
819
833
|
|
820
|
-
|
834
|
+
可用区ID列表。
|
821
835
|
|
822
836
|
:param available_zones: The available_zones of this ShowInstanceResponse.
|
823
837
|
:type available_zones: list[str]
|
824
838
|
"""
|
825
839
|
self._available_zones = available_zones
|
826
840
|
|
841
|
+
@property
|
842
|
+
def available_zone_names(self):
|
843
|
+
"""Gets the available_zone_names of this ShowInstanceResponse.
|
844
|
+
|
845
|
+
可用区名称列表。
|
846
|
+
|
847
|
+
:return: The available_zone_names of this ShowInstanceResponse.
|
848
|
+
:rtype: list[str]
|
849
|
+
"""
|
850
|
+
return self._available_zone_names
|
851
|
+
|
852
|
+
@available_zone_names.setter
|
853
|
+
def available_zone_names(self, available_zone_names):
|
854
|
+
"""Sets the available_zone_names of this ShowInstanceResponse.
|
855
|
+
|
856
|
+
可用区名称列表。
|
857
|
+
|
858
|
+
:param available_zone_names: The available_zone_names of this ShowInstanceResponse.
|
859
|
+
:type available_zone_names: list[str]
|
860
|
+
"""
|
861
|
+
self._available_zone_names = available_zone_names
|
862
|
+
|
827
863
|
@property
|
828
864
|
def user_id(self):
|
829
865
|
"""Gets the user_id of this ShowInstanceResponse.
|
@@ -1506,6 +1542,28 @@ class ShowInstanceResponse(SdkResponse):
|
|
1506
1542
|
"""
|
1507
1543
|
self._public_grpc_address = public_grpc_address
|
1508
1544
|
|
1545
|
+
@property
|
1546
|
+
def enterprise_project_id(self):
|
1547
|
+
"""Gets the enterprise_project_id of this ShowInstanceResponse.
|
1548
|
+
|
1549
|
+
企业项目ID。
|
1550
|
+
|
1551
|
+
:return: The enterprise_project_id of this ShowInstanceResponse.
|
1552
|
+
:rtype: str
|
1553
|
+
"""
|
1554
|
+
return self._enterprise_project_id
|
1555
|
+
|
1556
|
+
@enterprise_project_id.setter
|
1557
|
+
def enterprise_project_id(self, enterprise_project_id):
|
1558
|
+
"""Sets the enterprise_project_id of this ShowInstanceResponse.
|
1559
|
+
|
1560
|
+
企业项目ID。
|
1561
|
+
|
1562
|
+
:param enterprise_project_id: The enterprise_project_id of this ShowInstanceResponse.
|
1563
|
+
:type enterprise_project_id: str
|
1564
|
+
"""
|
1565
|
+
self._enterprise_project_id = enterprise_project_id
|
1566
|
+
|
1509
1567
|
@property
|
1510
1568
|
def tags(self):
|
1511
1569
|
"""Gets the tags of this ShowInstanceResponse.
|
@@ -40,7 +40,7 @@ class ShowOneTopicResponse(SdkResponse):
|
|
40
40
|
|
41
41
|
The model defined in huaweicloud sdk
|
42
42
|
|
43
|
-
:param name:
|
43
|
+
:param name: Topic名称。
|
44
44
|
:type name: str
|
45
45
|
:param total_read_queue_num: 总读队列个数。
|
46
46
|
:type total_read_queue_num: float
|
@@ -81,7 +81,7 @@ class ShowOneTopicResponse(SdkResponse):
|
|
81
81
|
def name(self):
|
82
82
|
"""Gets the name of this ShowOneTopicResponse.
|
83
83
|
|
84
|
-
|
84
|
+
Topic名称。
|
85
85
|
|
86
86
|
:return: The name of this ShowOneTopicResponse.
|
87
87
|
:rtype: str
|
@@ -92,7 +92,7 @@ class ShowOneTopicResponse(SdkResponse):
|
|
92
92
|
def name(self, name):
|
93
93
|
"""Sets the name of this ShowOneTopicResponse.
|
94
94
|
|
95
|
-
|
95
|
+
Topic名称。
|
96
96
|
|
97
97
|
:param name: The name of this ShowOneTopicResponse.
|
98
98
|
:type name: str
|
@@ -33,11 +33,11 @@ class Subscription:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param topic: 订阅的
|
36
|
+
:param topic: 订阅的Topic名称。
|
37
37
|
:type topic: str
|
38
|
-
:param type: 订阅类型,取值如下:TAG和SQL92
|
38
|
+
:param type: 订阅类型,取值如下:TAG和SQL92。
|
39
39
|
:type type: str
|
40
|
-
:param expression: 订阅tag
|
40
|
+
:param expression: 订阅tag字符。
|
41
41
|
:type expression: str
|
42
42
|
"""
|
43
43
|
|
@@ -59,7 +59,7 @@ class Subscription:
|
|
59
59
|
def topic(self):
|
60
60
|
"""Gets the topic of this Subscription.
|
61
61
|
|
62
|
-
订阅的
|
62
|
+
订阅的Topic名称。
|
63
63
|
|
64
64
|
:return: The topic of this Subscription.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class Subscription:
|
|
70
70
|
def topic(self, topic):
|
71
71
|
"""Sets the topic of this Subscription.
|
72
72
|
|
73
|
-
订阅的
|
73
|
+
订阅的Topic名称。
|
74
74
|
|
75
75
|
:param topic: The topic of this Subscription.
|
76
76
|
:type topic: str
|
@@ -81,7 +81,7 @@ class Subscription:
|
|
81
81
|
def type(self):
|
82
82
|
"""Gets the type of this Subscription.
|
83
83
|
|
84
|
-
订阅类型,取值如下:TAG和SQL92
|
84
|
+
订阅类型,取值如下:TAG和SQL92。
|
85
85
|
|
86
86
|
:return: The type of this Subscription.
|
87
87
|
:rtype: str
|
@@ -92,7 +92,7 @@ class Subscription:
|
|
92
92
|
def type(self, type):
|
93
93
|
"""Sets the type of this Subscription.
|
94
94
|
|
95
|
-
订阅类型,取值如下:TAG和SQL92
|
95
|
+
订阅类型,取值如下:TAG和SQL92。
|
96
96
|
|
97
97
|
:param type: The type of this Subscription.
|
98
98
|
:type type: str
|
@@ -103,7 +103,7 @@ class Subscription:
|
|
103
103
|
def expression(self):
|
104
104
|
"""Gets the expression of this Subscription.
|
105
105
|
|
106
|
-
订阅tag
|
106
|
+
订阅tag字符。
|
107
107
|
|
108
108
|
:return: The expression of this Subscription.
|
109
109
|
:rtype: str
|
@@ -114,7 +114,7 @@ class Subscription:
|
|
114
114
|
def expression(self, expression):
|
115
115
|
"""Sets the expression of this Subscription.
|
116
116
|
|
117
|
-
订阅tag
|
117
|
+
订阅tag字符。
|
118
118
|
|
119
119
|
:param expression: The expression of this Subscription.
|
120
120
|
:type expression: str
|
@@ -39,7 +39,7 @@ class Topic:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param name:
|
42
|
+
:param name: Topic名称。
|
43
43
|
:type name: str
|
44
44
|
:param total_read_queue_num: 总读队列个数。
|
45
45
|
:type total_read_queue_num: float
|
@@ -80,7 +80,7 @@ class Topic:
|
|
80
80
|
def name(self):
|
81
81
|
"""Gets the name of this Topic.
|
82
82
|
|
83
|
-
|
83
|
+
Topic名称。
|
84
84
|
|
85
85
|
:return: The name of this Topic.
|
86
86
|
:rtype: str
|
@@ -91,7 +91,7 @@ class Topic:
|
|
91
91
|
def name(self, name):
|
92
92
|
"""Sets the name of this Topic.
|
93
93
|
|
94
|
-
|
94
|
+
Topic名称。
|
95
95
|
|
96
96
|
:param name: The name of this Topic.
|
97
97
|
:type name: str
|
@@ -21,8 +21,7 @@ class UpdateConsumerGroup:
|
|
21
21
|
'broadcast': 'bool',
|
22
22
|
'brokers': 'list[str]',
|
23
23
|
'name': 'str',
|
24
|
-
'retry_max_time': 'int'
|
25
|
-
'from_beginning': 'bool'
|
24
|
+
'retry_max_time': 'int'
|
26
25
|
}
|
27
26
|
|
28
27
|
attribute_map = {
|
@@ -30,11 +29,10 @@ class UpdateConsumerGroup:
|
|
30
29
|
'broadcast': 'broadcast',
|
31
30
|
'brokers': 'brokers',
|
32
31
|
'name': 'name',
|
33
|
-
'retry_max_time': 'retry_max_time'
|
34
|
-
'from_beginning': 'from_beginning'
|
32
|
+
'retry_max_time': 'retry_max_time'
|
35
33
|
}
|
36
34
|
|
37
|
-
def __init__(self, enabled=None, broadcast=None, brokers=None, name=None, retry_max_time=None
|
35
|
+
def __init__(self, enabled=None, broadcast=None, brokers=None, name=None, retry_max_time=None):
|
38
36
|
"""UpdateConsumerGroup
|
39
37
|
|
40
38
|
The model defined in huaweicloud sdk
|
@@ -49,8 +47,6 @@ class UpdateConsumerGroup:
|
|
49
47
|
:type name: str
|
50
48
|
:param retry_max_time: 最大重试次数,取值范围为1~16。
|
51
49
|
:type retry_max_time: int
|
52
|
-
:param from_beginning: 是否重头消费。
|
53
|
-
:type from_beginning: bool
|
54
50
|
"""
|
55
51
|
|
56
52
|
|
@@ -60,7 +56,6 @@ class UpdateConsumerGroup:
|
|
60
56
|
self._brokers = None
|
61
57
|
self._name = None
|
62
58
|
self._retry_max_time = None
|
63
|
-
self._from_beginning = None
|
64
59
|
self.discriminator = None
|
65
60
|
|
66
61
|
self.enabled = enabled
|
@@ -70,8 +65,6 @@ class UpdateConsumerGroup:
|
|
70
65
|
if name is not None:
|
71
66
|
self.name = name
|
72
67
|
self.retry_max_time = retry_max_time
|
73
|
-
if from_beginning is not None:
|
74
|
-
self.from_beginning = from_beginning
|
75
68
|
|
76
69
|
@property
|
77
70
|
def enabled(self):
|
@@ -183,28 +176,6 @@ class UpdateConsumerGroup:
|
|
183
176
|
"""
|
184
177
|
self._retry_max_time = retry_max_time
|
185
178
|
|
186
|
-
@property
|
187
|
-
def from_beginning(self):
|
188
|
-
"""Gets the from_beginning of this UpdateConsumerGroup.
|
189
|
-
|
190
|
-
是否重头消费。
|
191
|
-
|
192
|
-
:return: The from_beginning of this UpdateConsumerGroup.
|
193
|
-
:rtype: bool
|
194
|
-
"""
|
195
|
-
return self._from_beginning
|
196
|
-
|
197
|
-
@from_beginning.setter
|
198
|
-
def from_beginning(self, from_beginning):
|
199
|
-
"""Sets the from_beginning of this UpdateConsumerGroup.
|
200
|
-
|
201
|
-
是否重头消费。
|
202
|
-
|
203
|
-
:param from_beginning: The from_beginning of this UpdateConsumerGroup.
|
204
|
-
:type from_beginning: bool
|
205
|
-
"""
|
206
|
-
self._from_beginning = from_beginning
|
207
|
-
|
208
179
|
def to_dict(self):
|
209
180
|
"""Returns the model properties as a dict"""
|
210
181
|
result = {}
|
@@ -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.86.dist-info → huaweicloudsdkrocketmq-3.1.132.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.132
|
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
|
25
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.132
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|