huaweicloudsdkrocketmq 3.1.42__py2.py3-none-any.whl → 3.1.44__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 +4 -4
- huaweicloudsdkrocketmq/v2/model/__init__.py +4 -4
- 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_post_paid_instance_req.py +12 -12
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/list_rocket_mq_migration_task_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/{send_rocket_mq_dlq_message_request.py → send_dlq_message_request.py} +41 -13
- huaweicloudsdkrocketmq/v2/model/{send_rocket_mq_dlq_message_response.py → send_dlq_message_response.py} +8 -8
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +3 -3
- huaweicloudsdkrocketmq/v2/model/tag_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/update_instance_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/{validate_rocket_mq_consumed_message_request.py → validate_consumed_message_request.py} +41 -13
- huaweicloudsdkrocketmq/v2/model/{validate_rocket_mq_consumed_message_response.py → validate_consumed_message_response.py} +8 -8
- huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +6 -0
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +20 -16
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +20 -16
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/RECORD +25 -25
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/top_level.txt +0 -0
@@ -98,8 +98,8 @@ from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_req import ResetConsum
|
|
98
98
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_request import ResetConsumeOffsetRequest
|
99
99
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_resp_queues import ResetConsumeOffsetRespQueues
|
100
100
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_response import ResetConsumeOffsetResponse
|
101
|
-
from huaweicloudsdkrocketmq.v2.model.
|
102
|
-
from huaweicloudsdkrocketmq.v2.model.
|
101
|
+
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_request import SendDlqMessageRequest
|
102
|
+
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_response import SendDlqMessageResponse
|
103
103
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_request import ShowConsumerConnectionsRequest
|
104
104
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_response import ShowConsumerConnectionsResponse
|
105
105
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_list_or_details_request import ShowConsumerListOrDetailsRequest
|
@@ -139,6 +139,6 @@ from huaweicloudsdkrocketmq.v2.model.update_user_response import UpdateUserRespo
|
|
139
139
|
from huaweicloudsdkrocketmq.v2.model.user import User
|
140
140
|
from huaweicloudsdkrocketmq.v2.model.user_group_perms import UserGroupPerms
|
141
141
|
from huaweicloudsdkrocketmq.v2.model.user_topic_perms import UserTopicPerms
|
142
|
-
from huaweicloudsdkrocketmq.v2.model.
|
143
|
-
from huaweicloudsdkrocketmq.v2.model.
|
142
|
+
from huaweicloudsdkrocketmq.v2.model.validate_consumed_message_request import ValidateConsumedMessageRequest
|
143
|
+
from huaweicloudsdkrocketmq.v2.model.validate_consumed_message_response import ValidateConsumedMessageResponse
|
144
144
|
|
@@ -95,8 +95,8 @@ from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_req import ResetConsum
|
|
95
95
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_request import ResetConsumeOffsetRequest
|
96
96
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_resp_queues import ResetConsumeOffsetRespQueues
|
97
97
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_response import ResetConsumeOffsetResponse
|
98
|
-
from huaweicloudsdkrocketmq.v2.model.
|
99
|
-
from huaweicloudsdkrocketmq.v2.model.
|
98
|
+
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_request import SendDlqMessageRequest
|
99
|
+
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_response import SendDlqMessageResponse
|
100
100
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_request import ShowConsumerConnectionsRequest
|
101
101
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_response import ShowConsumerConnectionsResponse
|
102
102
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_list_or_details_request import ShowConsumerListOrDetailsRequest
|
@@ -136,5 +136,5 @@ from huaweicloudsdkrocketmq.v2.model.update_user_response import UpdateUserRespo
|
|
136
136
|
from huaweicloudsdkrocketmq.v2.model.user import User
|
137
137
|
from huaweicloudsdkrocketmq.v2.model.user_group_perms import UserGroupPerms
|
138
138
|
from huaweicloudsdkrocketmq.v2.model.user_topic_perms import UserTopicPerms
|
139
|
-
from huaweicloudsdkrocketmq.v2.model.
|
140
|
-
from huaweicloudsdkrocketmq.v2.model.
|
139
|
+
from huaweicloudsdkrocketmq.v2.model.validate_consumed_message_request import ValidateConsumedMessageRequest
|
140
|
+
from huaweicloudsdkrocketmq.v2.model.validate_consumed_message_response import ValidateConsumedMessageResponse
|
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: 批量删除消费组时使用,不配置则为创建接口。
|
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
|
+
批量删除消费组时使用,不配置则为创建接口。
|
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
|
+
批量删除消费组时使用,不配置则为创建接口。
|
95
95
|
|
96
96
|
:param action: The action of this CreateConsumerGroupOrBatchDeleteConsumerGroupRequest.
|
97
97
|
:type action: str
|
@@ -75,15 +75,15 @@ class CreateInstanceByEngineReq:
|
|
75
75
|
:type engine_version: str
|
76
76
|
:param storage_space: 存储空间。
|
77
77
|
:type storage_space: int
|
78
|
-
:param vpc_id: 虚拟私有云ID。
|
78
|
+
:param vpc_id: 虚拟私有云ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。
|
79
79
|
:type vpc_id: str
|
80
|
-
:param subnet_id: 子网信息。
|
80
|
+
:param subnet_id: 子网信息。 获取方法如下:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。
|
81
81
|
:type subnet_id: str
|
82
|
-
:param security_group_id: 指定实例所属的安全组。
|
82
|
+
:param security_group_id: 指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
83
83
|
:type security_group_id: str
|
84
|
-
:param available_zones: 创建节点到指定且有资源的可用区ID
|
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:单个代理最大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实例规格。 - 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
|
87
87
|
:type product_id: str
|
88
88
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
89
89
|
:type ssl_enable: bool
|
@@ -270,7 +270,7 @@ class CreateInstanceByEngineReq:
|
|
270
270
|
def vpc_id(self):
|
271
271
|
"""Gets the vpc_id of this CreateInstanceByEngineReq.
|
272
272
|
|
273
|
-
虚拟私有云ID。
|
273
|
+
虚拟私有云ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。
|
274
274
|
|
275
275
|
:return: The vpc_id of this CreateInstanceByEngineReq.
|
276
276
|
:rtype: str
|
@@ -281,7 +281,7 @@ class CreateInstanceByEngineReq:
|
|
281
281
|
def vpc_id(self, vpc_id):
|
282
282
|
"""Sets the vpc_id of this CreateInstanceByEngineReq.
|
283
283
|
|
284
|
-
虚拟私有云ID。
|
284
|
+
虚拟私有云ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。
|
285
285
|
|
286
286
|
:param vpc_id: The vpc_id of this CreateInstanceByEngineReq.
|
287
287
|
:type vpc_id: str
|
@@ -292,7 +292,7 @@ class CreateInstanceByEngineReq:
|
|
292
292
|
def subnet_id(self):
|
293
293
|
"""Gets the subnet_id of this CreateInstanceByEngineReq.
|
294
294
|
|
295
|
-
子网信息。
|
295
|
+
子网信息。 获取方法如下:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。
|
296
296
|
|
297
297
|
:return: The subnet_id of this CreateInstanceByEngineReq.
|
298
298
|
:rtype: str
|
@@ -303,7 +303,7 @@ class CreateInstanceByEngineReq:
|
|
303
303
|
def subnet_id(self, subnet_id):
|
304
304
|
"""Sets the subnet_id of this CreateInstanceByEngineReq.
|
305
305
|
|
306
|
-
子网信息。
|
306
|
+
子网信息。 获取方法如下:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。
|
307
307
|
|
308
308
|
:param subnet_id: The subnet_id of this CreateInstanceByEngineReq.
|
309
309
|
:type subnet_id: str
|
@@ -314,7 +314,7 @@ class CreateInstanceByEngineReq:
|
|
314
314
|
def security_group_id(self):
|
315
315
|
"""Gets the security_group_id of this CreateInstanceByEngineReq.
|
316
316
|
|
317
|
-
指定实例所属的安全组。
|
317
|
+
指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
318
318
|
|
319
319
|
:return: The security_group_id of this CreateInstanceByEngineReq.
|
320
320
|
:rtype: str
|
@@ -325,7 +325,7 @@ class CreateInstanceByEngineReq:
|
|
325
325
|
def security_group_id(self, security_group_id):
|
326
326
|
"""Sets the security_group_id of this CreateInstanceByEngineReq.
|
327
327
|
|
328
|
-
指定实例所属的安全组。
|
328
|
+
指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
329
329
|
|
330
330
|
:param security_group_id: The security_group_id of this CreateInstanceByEngineReq.
|
331
331
|
:type security_group_id: str
|
@@ -336,7 +336,7 @@ class CreateInstanceByEngineReq:
|
|
336
336
|
def available_zones(self):
|
337
337
|
"""Gets the available_zones of this CreateInstanceByEngineReq.
|
338
338
|
|
339
|
-
创建节点到指定且有资源的可用区ID
|
339
|
+
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
340
340
|
|
341
341
|
:return: The available_zones of this CreateInstanceByEngineReq.
|
342
342
|
:rtype: list[str]
|
@@ -347,7 +347,7 @@ class CreateInstanceByEngineReq:
|
|
347
347
|
def available_zones(self, available_zones):
|
348
348
|
"""Sets the available_zones of this CreateInstanceByEngineReq.
|
349
349
|
|
350
|
-
创建节点到指定且有资源的可用区ID
|
350
|
+
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
351
351
|
|
352
352
|
:param available_zones: The available_zones of this CreateInstanceByEngineReq.
|
353
353
|
:type available_zones: list[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:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
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
|
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:单个代理最大Topic数4000,单个代理最大消费组数4000 - c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000 - c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000 - c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000
|
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
|
373
373
|
|
374
374
|
:param product_id: The product_id of this CreateInstanceByEngineReq.
|
375
375
|
:type product_id: str
|
@@ -73,13 +73,13 @@ class CreatePostPaidInstanceReq:
|
|
73
73
|
:type engine_version: str
|
74
74
|
:param storage_space: 存储空间。
|
75
75
|
:type storage_space: int
|
76
|
-
:param vpc_id: 虚拟私有云ID。
|
76
|
+
:param vpc_id: 虚拟私有云ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。
|
77
77
|
:type vpc_id: str
|
78
|
-
:param subnet_id: 子网信息。
|
78
|
+
:param subnet_id: 子网信息。 获取方法如下:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。
|
79
79
|
:type subnet_id: str
|
80
|
-
:param security_group_id: 指定实例所属的安全组。
|
80
|
+
:param security_group_id: 指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
81
81
|
:type security_group_id: str
|
82
|
-
:param available_zones: 创建节点到指定且有资源的可用区ID
|
82
|
+
:param available_zones: 创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
83
83
|
:type available_zones: list[str]
|
84
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
|
85
85
|
:type product_id: str
|
@@ -263,7 +263,7 @@ class CreatePostPaidInstanceReq:
|
|
263
263
|
def vpc_id(self):
|
264
264
|
"""Gets the vpc_id of this CreatePostPaidInstanceReq.
|
265
265
|
|
266
|
-
虚拟私有云ID。
|
266
|
+
虚拟私有云ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。
|
267
267
|
|
268
268
|
:return: The vpc_id of this CreatePostPaidInstanceReq.
|
269
269
|
:rtype: str
|
@@ -274,7 +274,7 @@ class CreatePostPaidInstanceReq:
|
|
274
274
|
def vpc_id(self, vpc_id):
|
275
275
|
"""Sets the vpc_id of this CreatePostPaidInstanceReq.
|
276
276
|
|
277
|
-
虚拟私有云ID。
|
277
|
+
虚拟私有云ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。
|
278
278
|
|
279
279
|
:param vpc_id: The vpc_id of this CreatePostPaidInstanceReq.
|
280
280
|
:type vpc_id: str
|
@@ -285,7 +285,7 @@ class CreatePostPaidInstanceReq:
|
|
285
285
|
def subnet_id(self):
|
286
286
|
"""Gets the subnet_id of this CreatePostPaidInstanceReq.
|
287
287
|
|
288
|
-
子网信息。
|
288
|
+
子网信息。 获取方法如下:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。
|
289
289
|
|
290
290
|
:return: The subnet_id of this CreatePostPaidInstanceReq.
|
291
291
|
:rtype: str
|
@@ -296,7 +296,7 @@ class CreatePostPaidInstanceReq:
|
|
296
296
|
def subnet_id(self, subnet_id):
|
297
297
|
"""Sets the subnet_id of this CreatePostPaidInstanceReq.
|
298
298
|
|
299
|
-
子网信息。
|
299
|
+
子网信息。 获取方法如下:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。
|
300
300
|
|
301
301
|
:param subnet_id: The subnet_id of this CreatePostPaidInstanceReq.
|
302
302
|
:type subnet_id: str
|
@@ -307,7 +307,7 @@ class CreatePostPaidInstanceReq:
|
|
307
307
|
def security_group_id(self):
|
308
308
|
"""Gets the security_group_id of this CreatePostPaidInstanceReq.
|
309
309
|
|
310
|
-
指定实例所属的安全组。
|
310
|
+
指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
311
311
|
|
312
312
|
:return: The security_group_id of this CreatePostPaidInstanceReq.
|
313
313
|
:rtype: str
|
@@ -318,7 +318,7 @@ class CreatePostPaidInstanceReq:
|
|
318
318
|
def security_group_id(self, security_group_id):
|
319
319
|
"""Sets the security_group_id of this CreatePostPaidInstanceReq.
|
320
320
|
|
321
|
-
指定实例所属的安全组。
|
321
|
+
指定实例所属的安全组。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
322
322
|
|
323
323
|
:param security_group_id: The security_group_id of this CreatePostPaidInstanceReq.
|
324
324
|
:type security_group_id: str
|
@@ -329,7 +329,7 @@ class CreatePostPaidInstanceReq:
|
|
329
329
|
def available_zones(self):
|
330
330
|
"""Gets the available_zones of this CreatePostPaidInstanceReq.
|
331
331
|
|
332
|
-
创建节点到指定且有资源的可用区ID
|
332
|
+
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
333
333
|
|
334
334
|
:return: The available_zones of this CreatePostPaidInstanceReq.
|
335
335
|
:rtype: list[str]
|
@@ -340,7 +340,7 @@ class CreatePostPaidInstanceReq:
|
|
340
340
|
def available_zones(self, available_zones):
|
341
341
|
"""Sets the available_zones of this CreatePostPaidInstanceReq.
|
342
342
|
|
343
|
-
创建节点到指定且有资源的可用区ID
|
343
|
+
创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。 该参数不能为空数组或者数组的值为空, 请注意查看该可用区是否有资源。 创建RocketMQ实例,支持节点部署在1个或3个及3个以上的可用区。在为节点指定可用区时,用逗号分隔开。
|
344
344
|
|
345
345
|
:param available_zones: The available_zones of this CreatePostPaidInstanceReq.
|
346
346
|
:type available_zones: list[str]
|
@@ -43,7 +43,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
43
43
|
:type overwrite: str
|
44
44
|
:param name: 迁移任务名称,名称规则参考创建实例
|
45
45
|
:type name: str
|
46
|
-
:param type: 迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
46
|
+
:param type: 迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
47
47
|
:type type: str
|
48
48
|
:param body: Body of the CreateRocketMqMigrationTaskRequest
|
49
49
|
:type body: str
|
@@ -135,7 +135,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
135
135
|
def type(self):
|
136
136
|
"""Gets the type of this CreateRocketMqMigrationTaskRequest.
|
137
137
|
|
138
|
-
迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
138
|
+
迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
139
139
|
|
140
140
|
:return: The type of this CreateRocketMqMigrationTaskRequest.
|
141
141
|
:rtype: str
|
@@ -146,7 +146,7 @@ class CreateRocketMqMigrationTaskRequest:
|
|
146
146
|
def type(self, type):
|
147
147
|
"""Sets the type of this CreateRocketMqMigrationTaskRequest.
|
148
148
|
|
149
|
-
迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
149
|
+
迁移任务类型,分为自建RocketMQ上云(rocketmq)、自建RabbitMQ上云(rabbitToRocket)
|
150
150
|
|
151
151
|
:param type: The type of this CreateRocketMqMigrationTaskRequest.
|
152
152
|
:type type: str
|
@@ -51,7 +51,7 @@ class ListInstancesRequest:
|
|
51
51
|
:type name: str
|
52
52
|
:param instance_id: 实例ID。
|
53
53
|
:type instance_id: str
|
54
|
-
:param status:
|
54
|
+
:param status: 实例状态,详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。
|
55
55
|
:type status: str
|
56
56
|
:param include_failure: 是否返回创建失败的实例数。 当参数值为“true”时,返回创建失败的实例数。参数值为“false”或者其他值,不返回创建失败的实例数。
|
57
57
|
:type include_failure: str
|
@@ -167,7 +167,7 @@ class ListInstancesRequest:
|
|
167
167
|
def status(self):
|
168
168
|
"""Gets the status of this ListInstancesRequest.
|
169
169
|
|
170
|
-
|
170
|
+
实例状态,详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。
|
171
171
|
|
172
172
|
:return: The status of this ListInstancesRequest.
|
173
173
|
:rtype: str
|
@@ -178,7 +178,7 @@ class ListInstancesRequest:
|
|
178
178
|
def status(self, status):
|
179
179
|
"""Sets the status of this ListInstancesRequest.
|
180
180
|
|
181
|
-
|
181
|
+
实例状态,详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。
|
182
182
|
|
183
183
|
:param status: The status of this ListInstancesRequest.
|
184
184
|
:type status: str
|
@@ -49,7 +49,7 @@ class ListRocketMqMigrationTaskRequest:
|
|
49
49
|
:type offset: str
|
50
50
|
:param limit: 当前页大小
|
51
51
|
:type limit: str
|
52
|
-
:param name: 查询vhost
|
52
|
+
:param name: - 查询vhost列表时,该字段可为空。 - 查询exchange列表时,该字段为exchange所属vhost名称。 - 查询queue列表时,该字段为queue所属vhost-所属exchange,例vhost1-exchange1。
|
53
53
|
:type name: str
|
54
54
|
"""
|
55
55
|
|
@@ -189,7 +189,7 @@ class ListRocketMqMigrationTaskRequest:
|
|
189
189
|
def name(self):
|
190
190
|
"""Gets the name of this ListRocketMqMigrationTaskRequest.
|
191
191
|
|
192
|
-
查询vhost
|
192
|
+
- 查询vhost列表时,该字段可为空。 - 查询exchange列表时,该字段为exchange所属vhost名称。 - 查询queue列表时,该字段为queue所属vhost-所属exchange,例vhost1-exchange1。
|
193
193
|
|
194
194
|
:return: The name of this ListRocketMqMigrationTaskRequest.
|
195
195
|
:rtype: str
|
@@ -200,7 +200,7 @@ class ListRocketMqMigrationTaskRequest:
|
|
200
200
|
def name(self, name):
|
201
201
|
"""Sets the name of this ListRocketMqMigrationTaskRequest.
|
202
202
|
|
203
|
-
查询vhost
|
203
|
+
- 查询vhost列表时,该字段可为空。 - 查询exchange列表时,该字段为exchange所属vhost名称。 - 查询queue列表时,该字段为queue所属vhost-所属exchange,例vhost1-exchange1。
|
204
204
|
|
205
205
|
:param name: The name of this ListRocketMqMigrationTaskRequest.
|
206
206
|
:type name: str
|
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class SendDlqMessageRequest:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -17,72 +17,100 @@ class SendRocketMqDlqMessageRequest:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
+
'engine': 'str',
|
20
21
|
'instance_id': 'str',
|
21
22
|
'body': 'DeadletterResendReq'
|
22
23
|
}
|
23
24
|
|
24
25
|
attribute_map = {
|
26
|
+
'engine': 'engine',
|
25
27
|
'instance_id': 'instance_id',
|
26
28
|
'body': 'body'
|
27
29
|
}
|
28
30
|
|
29
|
-
def __init__(self, instance_id=None, body=None):
|
30
|
-
"""
|
31
|
+
def __init__(self, engine=None, instance_id=None, body=None):
|
32
|
+
"""SendDlqMessageRequest
|
31
33
|
|
32
34
|
The model defined in huaweicloud sdk
|
33
35
|
|
36
|
+
:param engine: 消息引擎。
|
37
|
+
:type engine: str
|
34
38
|
:param instance_id: 实例ID。
|
35
39
|
:type instance_id: str
|
36
|
-
:param body: Body of the
|
40
|
+
:param body: Body of the SendDlqMessageRequest
|
37
41
|
:type body: :class:`huaweicloudsdkrocketmq.v2.DeadletterResendReq`
|
38
42
|
"""
|
39
43
|
|
40
44
|
|
41
45
|
|
46
|
+
self._engine = None
|
42
47
|
self._instance_id = None
|
43
48
|
self._body = None
|
44
49
|
self.discriminator = None
|
45
50
|
|
51
|
+
self.engine = engine
|
46
52
|
self.instance_id = instance_id
|
47
53
|
if body is not None:
|
48
54
|
self.body = body
|
49
55
|
|
56
|
+
@property
|
57
|
+
def engine(self):
|
58
|
+
"""Gets the engine of this SendDlqMessageRequest.
|
59
|
+
|
60
|
+
消息引擎。
|
61
|
+
|
62
|
+
:return: The engine of this SendDlqMessageRequest.
|
63
|
+
:rtype: str
|
64
|
+
"""
|
65
|
+
return self._engine
|
66
|
+
|
67
|
+
@engine.setter
|
68
|
+
def engine(self, engine):
|
69
|
+
"""Sets the engine of this SendDlqMessageRequest.
|
70
|
+
|
71
|
+
消息引擎。
|
72
|
+
|
73
|
+
:param engine: The engine of this SendDlqMessageRequest.
|
74
|
+
:type engine: str
|
75
|
+
"""
|
76
|
+
self._engine = engine
|
77
|
+
|
50
78
|
@property
|
51
79
|
def instance_id(self):
|
52
|
-
"""Gets the instance_id of this
|
80
|
+
"""Gets the instance_id of this SendDlqMessageRequest.
|
53
81
|
|
54
82
|
实例ID。
|
55
83
|
|
56
|
-
:return: The instance_id of this
|
84
|
+
:return: The instance_id of this SendDlqMessageRequest.
|
57
85
|
:rtype: str
|
58
86
|
"""
|
59
87
|
return self._instance_id
|
60
88
|
|
61
89
|
@instance_id.setter
|
62
90
|
def instance_id(self, instance_id):
|
63
|
-
"""Sets the instance_id of this
|
91
|
+
"""Sets the instance_id of this SendDlqMessageRequest.
|
64
92
|
|
65
93
|
实例ID。
|
66
94
|
|
67
|
-
:param instance_id: The instance_id of this
|
95
|
+
:param instance_id: The instance_id of this SendDlqMessageRequest.
|
68
96
|
:type instance_id: str
|
69
97
|
"""
|
70
98
|
self._instance_id = instance_id
|
71
99
|
|
72
100
|
@property
|
73
101
|
def body(self):
|
74
|
-
"""Gets the body of this
|
102
|
+
"""Gets the body of this SendDlqMessageRequest.
|
75
103
|
|
76
|
-
:return: The body of this
|
104
|
+
:return: The body of this SendDlqMessageRequest.
|
77
105
|
:rtype: :class:`huaweicloudsdkrocketmq.v2.DeadletterResendReq`
|
78
106
|
"""
|
79
107
|
return self._body
|
80
108
|
|
81
109
|
@body.setter
|
82
110
|
def body(self, body):
|
83
|
-
"""Sets the body of this
|
111
|
+
"""Sets the body of this SendDlqMessageRequest.
|
84
112
|
|
85
|
-
:param body: The body of this
|
113
|
+
:param body: The body of this SendDlqMessageRequest.
|
86
114
|
:type body: :class:`huaweicloudsdkrocketmq.v2.DeadletterResendReq`
|
87
115
|
"""
|
88
116
|
self._body = body
|
@@ -129,7 +157,7 @@ class SendRocketMqDlqMessageRequest:
|
|
129
157
|
|
130
158
|
def __eq__(self, other):
|
131
159
|
"""Returns true if both objects are equal"""
|
132
|
-
if not isinstance(other,
|
160
|
+
if not isinstance(other, SendDlqMessageRequest):
|
133
161
|
return False
|
134
162
|
|
135
163
|
return self.__dict__ == other.__dict__
|
@@ -6,7 +6,7 @@ from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
6
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
7
|
|
8
8
|
|
9
|
-
class
|
9
|
+
class SendDlqMessageResponse(SdkResponse):
|
10
10
|
|
11
11
|
"""
|
12
12
|
Attributes:
|
@@ -26,7 +26,7 @@ class SendRocketMqDlqMessageResponse(SdkResponse):
|
|
26
26
|
}
|
27
27
|
|
28
28
|
def __init__(self, resend_results=None):
|
29
|
-
"""
|
29
|
+
"""SendDlqMessageResponse
|
30
30
|
|
31
31
|
The model defined in huaweicloud sdk
|
32
32
|
|
@@ -34,7 +34,7 @@ class SendRocketMqDlqMessageResponse(SdkResponse):
|
|
34
34
|
:type resend_results: list[:class:`huaweicloudsdkrocketmq.v2.DeadletterResendRespResendResults`]
|
35
35
|
"""
|
36
36
|
|
37
|
-
super(
|
37
|
+
super(SendDlqMessageResponse, self).__init__()
|
38
38
|
|
39
39
|
self._resend_results = None
|
40
40
|
self.discriminator = None
|
@@ -44,22 +44,22 @@ class SendRocketMqDlqMessageResponse(SdkResponse):
|
|
44
44
|
|
45
45
|
@property
|
46
46
|
def resend_results(self):
|
47
|
-
"""Gets the resend_results of this
|
47
|
+
"""Gets the resend_results of this SendDlqMessageResponse.
|
48
48
|
|
49
49
|
重发死信消息结果。
|
50
50
|
|
51
|
-
:return: The resend_results of this
|
51
|
+
:return: The resend_results of this SendDlqMessageResponse.
|
52
52
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.DeadletterResendRespResendResults`]
|
53
53
|
"""
|
54
54
|
return self._resend_results
|
55
55
|
|
56
56
|
@resend_results.setter
|
57
57
|
def resend_results(self, resend_results):
|
58
|
-
"""Sets the resend_results of this
|
58
|
+
"""Sets the resend_results of this SendDlqMessageResponse.
|
59
59
|
|
60
60
|
重发死信消息结果。
|
61
61
|
|
62
|
-
:param resend_results: The resend_results of this
|
62
|
+
:param resend_results: The resend_results of this SendDlqMessageResponse.
|
63
63
|
:type resend_results: list[:class:`huaweicloudsdkrocketmq.v2.DeadletterResendRespResendResults`]
|
64
64
|
"""
|
65
65
|
self._resend_results = resend_results
|
@@ -106,7 +106,7 @@ class SendRocketMqDlqMessageResponse(SdkResponse):
|
|
106
106
|
|
107
107
|
def __eq__(self, other):
|
108
108
|
"""Returns true if both objects are equal"""
|
109
|
-
if not isinstance(other,
|
109
|
+
if not isinstance(other, SendDlqMessageResponse):
|
110
110
|
return False
|
111
111
|
|
112
112
|
return self.__dict__ == other.__dict__
|
@@ -151,7 +151,7 @@ class ShowInstanceResp:
|
|
151
151
|
:type vpc_id: str
|
152
152
|
:param vpc_name: 私有云名称。
|
153
153
|
:type vpc_name: str
|
154
|
-
:param created_at: 完成创建时间。
|
154
|
+
:param created_at: 完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
|
155
155
|
:type created_at: str
|
156
156
|
:param product_id: 产品标识。
|
157
157
|
:type product_id: str
|
@@ -637,7 +637,7 @@ class ShowInstanceResp:
|
|
637
637
|
def created_at(self):
|
638
638
|
"""Gets the created_at of this ShowInstanceResp.
|
639
639
|
|
640
|
-
完成创建时间。
|
640
|
+
完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
|
641
641
|
|
642
642
|
:return: The created_at of this ShowInstanceResp.
|
643
643
|
:rtype: str
|
@@ -648,7 +648,7 @@ class ShowInstanceResp:
|
|
648
648
|
def created_at(self, created_at):
|
649
649
|
"""Sets the created_at of this ShowInstanceResp.
|
650
650
|
|
651
|
-
完成创建时间。
|
651
|
+
完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
|
652
652
|
|
653
653
|
:param created_at: The created_at of this ShowInstanceResp.
|
654
654
|
:type created_at: str
|
@@ -152,7 +152,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
152
152
|
:type vpc_id: str
|
153
153
|
:param vpc_name: 私有云名称。
|
154
154
|
:type vpc_name: str
|
155
|
-
:param created_at: 完成创建时间。
|
155
|
+
:param created_at: 完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
|
156
156
|
:type created_at: str
|
157
157
|
:param product_id: 产品标识。
|
158
158
|
:type product_id: str
|
@@ -638,7 +638,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
638
638
|
def created_at(self):
|
639
639
|
"""Gets the created_at of this ShowInstanceResponse.
|
640
640
|
|
641
|
-
完成创建时间。
|
641
|
+
完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
|
642
642
|
|
643
643
|
:return: The created_at of this ShowInstanceResponse.
|
644
644
|
:rtype: str
|
@@ -649,7 +649,7 @@ class ShowInstanceResponse(SdkResponse):
|
|
649
649
|
def created_at(self, created_at):
|
650
650
|
"""Sets the created_at of this ShowInstanceResponse.
|
651
651
|
|
652
|
-
完成创建时间。
|
652
|
+
完成创建时间。 格式为时间戳,指从格林威治时间1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
|
653
653
|
|
654
654
|
:param created_at: The created_at of this ShowInstanceResponse.
|
655
655
|
:type created_at: str
|