huaweicloudsdkrocketmq 3.1.93__py2.py3-none-any.whl → 3.1.95__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/create_consumer_group_or_batch_delete_consumer_group_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_or_update_consumer_group.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py +39 -10
- huaweicloudsdkrocketmq/v2/model/create_topic_req.py +39 -10
- huaweicloudsdkrocketmq/v2/model/create_topic_req_queues.py +144 -0
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +65 -7
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +65 -7
- {huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.dist-info}/RECORD +18 -17
- {huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.dist-info}/top_level.txt +0 -0
@@ -43,6 +43,7 @@ from huaweicloudsdkrocketmq.v2.model.create_topic_or_batch_delete_topic_req impo
|
|
43
43
|
from huaweicloudsdkrocketmq.v2.model.create_topic_or_batch_delete_topic_request import CreateTopicOrBatchDeleteTopicRequest
|
44
44
|
from huaweicloudsdkrocketmq.v2.model.create_topic_or_batch_delete_topic_response import CreateTopicOrBatchDeleteTopicResponse
|
45
45
|
from huaweicloudsdkrocketmq.v2.model.create_topic_req import CreateTopicReq
|
46
|
+
from huaweicloudsdkrocketmq.v2.model.create_topic_req_queues import CreateTopicReqQueues
|
46
47
|
from huaweicloudsdkrocketmq.v2.model.create_topic_resp import CreateTopicResp
|
47
48
|
from huaweicloudsdkrocketmq.v2.model.create_user_request import CreateUserRequest
|
48
49
|
from huaweicloudsdkrocketmq.v2.model.create_user_response import CreateUserResponse
|
@@ -41,6 +41,7 @@ from huaweicloudsdkrocketmq.v2.model.create_topic_or_batch_delete_topic_req impo
|
|
41
41
|
from huaweicloudsdkrocketmq.v2.model.create_topic_or_batch_delete_topic_request import CreateTopicOrBatchDeleteTopicRequest
|
42
42
|
from huaweicloudsdkrocketmq.v2.model.create_topic_or_batch_delete_topic_response import CreateTopicOrBatchDeleteTopicResponse
|
43
43
|
from huaweicloudsdkrocketmq.v2.model.create_topic_req import CreateTopicReq
|
44
|
+
from huaweicloudsdkrocketmq.v2.model.create_topic_req_queues import CreateTopicReqQueues
|
44
45
|
from huaweicloudsdkrocketmq.v2.model.create_topic_resp import CreateTopicResp
|
45
46
|
from huaweicloudsdkrocketmq.v2.model.create_user_request import CreateUserRequest
|
46
47
|
from huaweicloudsdkrocketmq.v2.model.create_user_response import CreateUserResponse
|
@@ -47,7 +47,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
47
47
|
:type groups: list[str]
|
48
48
|
:param name: 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
49
49
|
:type name: str
|
50
|
-
:param brokers:
|
50
|
+
:param brokers: 关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
51
51
|
:type brokers: list[str]
|
52
52
|
:param broadcast: 是否广播。
|
53
53
|
:type broadcast: bool
|
@@ -55,7 +55,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
55
55
|
:type retry_max_time: int
|
56
56
|
:param enabled: 是否可以消费。
|
57
57
|
:type enabled: bool
|
58
|
-
:param consume_orderly:
|
58
|
+
:param consume_orderly: 是否按序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
59
59
|
:type consume_orderly: bool
|
60
60
|
:param group_desc: 消费组描述,长度0~200个字符。
|
61
61
|
:type group_desc: str
|
@@ -138,7 +138,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
138
138
|
def brokers(self):
|
139
139
|
"""Gets the brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
140
140
|
|
141
|
-
|
141
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
142
142
|
|
143
143
|
:return: The brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
144
144
|
:rtype: list[str]
|
@@ -149,7 +149,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
149
149
|
def brokers(self, brokers):
|
150
150
|
"""Sets the brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
151
151
|
|
152
|
-
|
152
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
153
153
|
|
154
154
|
:param brokers: The brokers of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
155
155
|
:type brokers: list[str]
|
@@ -226,7 +226,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
226
226
|
def consume_orderly(self):
|
227
227
|
"""Gets the consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
228
228
|
|
229
|
-
|
229
|
+
是否按序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
230
230
|
|
231
231
|
:return: The consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
232
232
|
:rtype: bool
|
@@ -237,7 +237,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
237
237
|
def consume_orderly(self, consume_orderly):
|
238
238
|
"""Sets the consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
239
239
|
|
240
|
-
|
240
|
+
是否按序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
241
241
|
|
242
242
|
:param consume_orderly: The consume_orderly of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
243
243
|
:type consume_orderly: bool
|
@@ -71,7 +71,7 @@ class CreateInstanceByEngineReq:
|
|
71
71
|
:type description: str
|
72
72
|
:param engine: 消息引擎。取值填写为:reliability。
|
73
73
|
:type engine: str
|
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)。
|
74
|
+
:param engine_version: 消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs)。
|
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实例规格。[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)
|
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,sbc,hk_sbc,hk_tm)[c6.2u8g.single.x86或c6.2u8g.single.arm:单个代理最大Topic数50,单个代理最大消费组数100](tag:hcs) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
87
87
|
:type product_id: str
|
88
88
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
89
89
|
:type ssl_enable: bool
|
@@ -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](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[5.x](tag:hcs)。
|
229
|
+
消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs)。
|
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](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[5.x](tag:hcs)。
|
240
|
+
消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs)。
|
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实例规格。[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)
|
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,sbc,hk_sbc,hk_tm)[c6.2u8g.single.x86或c6.2u8g.single.arm:单个代理最大Topic数50,单个代理最大消费组数100](tag:hcs) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
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实例规格。[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)
|
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,sbc,hk_sbc,hk_tm)[c6.2u8g.single.x86或c6.2u8g.single.arm:单个代理最大Topic数50,单个代理最大消费组数100](tag:hcs) - [c6.4u8g.cluster:单个代理最大Topic数4000,单个代理最大消费组数4000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大Topic数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
373
373
|
|
374
374
|
:param product_id: The product_id of this CreateInstanceByEngineReq.
|
375
375
|
:type product_id: str
|
@@ -43,7 +43,7 @@ class CreateOrUpdateConsumerGroup:
|
|
43
43
|
|
44
44
|
:param name: 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
45
45
|
:type name: str
|
46
|
-
:param brokers:
|
46
|
+
:param brokers: 关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
47
47
|
:type brokers: list[str]
|
48
48
|
:param broadcast: 是否广播。
|
49
49
|
:type broadcast: bool
|
@@ -51,7 +51,7 @@ class CreateOrUpdateConsumerGroup:
|
|
51
51
|
:type retry_max_time: int
|
52
52
|
:param enabled: 是否可以消费。
|
53
53
|
:type enabled: bool
|
54
|
-
:param consume_orderly:
|
54
|
+
:param consume_orderly: 是否按序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
55
55
|
:type consume_orderly: bool
|
56
56
|
:param group_desc: 消费组描述,长度0~200个字符。
|
57
57
|
:type group_desc: str
|
@@ -109,7 +109,7 @@ class CreateOrUpdateConsumerGroup:
|
|
109
109
|
def brokers(self):
|
110
110
|
"""Gets the brokers of this CreateOrUpdateConsumerGroup.
|
111
111
|
|
112
|
-
|
112
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
113
113
|
|
114
114
|
:return: The brokers of this CreateOrUpdateConsumerGroup.
|
115
115
|
:rtype: list[str]
|
@@ -120,7 +120,7 @@ class CreateOrUpdateConsumerGroup:
|
|
120
120
|
def brokers(self, brokers):
|
121
121
|
"""Sets the brokers of this CreateOrUpdateConsumerGroup.
|
122
122
|
|
123
|
-
|
123
|
+
关联的代理列表(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
124
124
|
|
125
125
|
:param brokers: The brokers of this CreateOrUpdateConsumerGroup.
|
126
126
|
:type brokers: list[str]
|
@@ -197,7 +197,7 @@ class CreateOrUpdateConsumerGroup:
|
|
197
197
|
def consume_orderly(self):
|
198
198
|
"""Gets the consume_orderly of this CreateOrUpdateConsumerGroup.
|
199
199
|
|
200
|
-
|
200
|
+
是否按序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
201
201
|
|
202
202
|
:return: The consume_orderly of this CreateOrUpdateConsumerGroup.
|
203
203
|
:rtype: bool
|
@@ -208,7 +208,7 @@ class CreateOrUpdateConsumerGroup:
|
|
208
208
|
def consume_orderly(self, consume_orderly):
|
209
209
|
"""Sets the consume_orderly of this CreateOrUpdateConsumerGroup.
|
210
210
|
|
211
|
-
|
211
|
+
是否按序消费(仅RocketMQ实例5.x版本需要填写此参数)。
|
212
212
|
|
213
213
|
:param consume_orderly: The consume_orderly of this CreateOrUpdateConsumerGroup.
|
214
214
|
:type consume_orderly: bool
|
@@ -69,7 +69,7 @@ class CreatePostPaidInstanceReq:
|
|
69
69
|
:type description: str
|
70
70
|
:param engine: 消息引擎。取值填写为:reliability。
|
71
71
|
:type engine: str
|
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)。
|
72
|
+
:param engine_version: 消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs)。
|
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实例规格。[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)
|
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,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大分区数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
85
85
|
:type product_id: str
|
86
86
|
:param ssl_enable: 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
|
87
87
|
:type ssl_enable: bool
|
@@ -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](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[5.x](tag:hcs)。
|
222
|
+
消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs)。
|
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](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,hk_tm)[5.x](tag:hcs)。
|
233
|
+
消息引擎的版本。取值填写为:[4.8.0](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[5.x](tag:hcs)。
|
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实例规格。[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)
|
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,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大分区数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
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实例规格。[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)
|
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,sbc,hk_sbc,hk_tm)[c6.4u16g.cluster.x86或c6.4u16g.cluster.arm:单个代理最大分区数100,单个代理最大消费组数200](tag:hcs) - [c6.8u16g.cluster:单个代理最大Topic数8000,单个代理最大消费组数8000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.8u32g.cluster.x86或c6.8u32g.cluster.arm:单个代理最大Topic数200,单个代理最大消费组数400](tag:hcs) - [c6.12u24g.cluster:单个代理最大Topic数12000,单个代理最大消费组数12000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.16u64g.cluster.x86或c6.16u64g.cluster.arm:单个代理最大Topic数300,单个代理最大消费组数600](tag:hcs) - [c6.16u32g.cluster:单个代理最大Topic数16000,单个代理最大消费组数16000](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)[c6.32u128g.cluster.x86或c6.32u128g.cluster.arm:单个代理最大Topic数400,单个代理最大消费组数800](tag:hcs)
|
366
366
|
|
367
367
|
:param product_id: The product_id of this CreatePostPaidInstanceReq.
|
368
368
|
:type product_id: str
|
@@ -20,6 +20,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
20
20
|
'name': 'str',
|
21
21
|
'brokers': 'list[str]',
|
22
22
|
'queue_num': 'float',
|
23
|
+
'queues': 'list[CreateTopicReqQueues]',
|
23
24
|
'permission': 'str',
|
24
25
|
'message_type': 'str',
|
25
26
|
'topics': 'list[str]'
|
@@ -29,25 +30,28 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
29
30
|
'name': 'name',
|
30
31
|
'brokers': 'brokers',
|
31
32
|
'queue_num': 'queue_num',
|
33
|
+
'queues': 'queues',
|
32
34
|
'permission': 'permission',
|
33
35
|
'message_type': 'message_type',
|
34
36
|
'topics': 'topics'
|
35
37
|
}
|
36
38
|
|
37
|
-
def __init__(self, name=None, brokers=None, queue_num=None, permission=None, message_type=None, topics=None):
|
39
|
+
def __init__(self, name=None, brokers=None, queue_num=None, queues=None, permission=None, message_type=None, topics=None):
|
38
40
|
"""CreateTopicOrBatchDeleteTopicReq
|
39
41
|
|
40
42
|
The model defined in huaweicloud sdk
|
41
43
|
|
42
44
|
:param name: 主题名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
43
45
|
:type name: str
|
44
|
-
:param brokers:
|
46
|
+
:param brokers: 关联的代理(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
45
47
|
:type brokers: list[str]
|
46
48
|
:param queue_num: 队列数,范围1~50。
|
47
49
|
:type queue_num: float
|
48
|
-
:param
|
50
|
+
:param queues: 队列(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
51
|
+
:type queues: list[:class:`huaweicloudsdkrocketmq.v2.CreateTopicReqQueues`]
|
52
|
+
:param permission: 权限(仅RocketMQ实例4.8.0版本需要填写此参数)。 取值范围: - pub(发布) - sub(订阅) - all(发布+订阅)
|
49
53
|
:type permission: str
|
50
|
-
:param message_type:
|
54
|
+
:param message_type: 消息类型(仅RocketMQ实例5.x版本需要填写此参数)。 取值范围: - NORMAL(普通消息) - FIFO(顺序消息) - DELAY(定时消息) - TRANSACTION(事务消息)
|
51
55
|
:type message_type: str
|
52
56
|
:param topics: 主题列表,当批量删除主题时使用。
|
53
57
|
:type topics: list[str]
|
@@ -58,6 +62,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
58
62
|
self._name = None
|
59
63
|
self._brokers = None
|
60
64
|
self._queue_num = None
|
65
|
+
self._queues = None
|
61
66
|
self._permission = None
|
62
67
|
self._message_type = None
|
63
68
|
self._topics = None
|
@@ -69,6 +74,8 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
69
74
|
self.brokers = brokers
|
70
75
|
if queue_num is not None:
|
71
76
|
self.queue_num = queue_num
|
77
|
+
if queues is not None:
|
78
|
+
self.queues = queues
|
72
79
|
if permission is not None:
|
73
80
|
self.permission = permission
|
74
81
|
if message_type is not None:
|
@@ -102,7 +109,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
102
109
|
def brokers(self):
|
103
110
|
"""Gets the brokers of this CreateTopicOrBatchDeleteTopicReq.
|
104
111
|
|
105
|
-
|
112
|
+
关联的代理(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
106
113
|
|
107
114
|
:return: The brokers of this CreateTopicOrBatchDeleteTopicReq.
|
108
115
|
:rtype: list[str]
|
@@ -113,7 +120,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
113
120
|
def brokers(self, brokers):
|
114
121
|
"""Sets the brokers of this CreateTopicOrBatchDeleteTopicReq.
|
115
122
|
|
116
|
-
|
123
|
+
关联的代理(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
117
124
|
|
118
125
|
:param brokers: The brokers of this CreateTopicOrBatchDeleteTopicReq.
|
119
126
|
:type brokers: list[str]
|
@@ -142,11 +149,33 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
142
149
|
"""
|
143
150
|
self._queue_num = queue_num
|
144
151
|
|
152
|
+
@property
|
153
|
+
def queues(self):
|
154
|
+
"""Gets the queues of this CreateTopicOrBatchDeleteTopicReq.
|
155
|
+
|
156
|
+
队列(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
157
|
+
|
158
|
+
:return: The queues of this CreateTopicOrBatchDeleteTopicReq.
|
159
|
+
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.CreateTopicReqQueues`]
|
160
|
+
"""
|
161
|
+
return self._queues
|
162
|
+
|
163
|
+
@queues.setter
|
164
|
+
def queues(self, queues):
|
165
|
+
"""Sets the queues of this CreateTopicOrBatchDeleteTopicReq.
|
166
|
+
|
167
|
+
队列(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
168
|
+
|
169
|
+
:param queues: The queues of this CreateTopicOrBatchDeleteTopicReq.
|
170
|
+
:type queues: list[:class:`huaweicloudsdkrocketmq.v2.CreateTopicReqQueues`]
|
171
|
+
"""
|
172
|
+
self._queues = queues
|
173
|
+
|
145
174
|
@property
|
146
175
|
def permission(self):
|
147
176
|
"""Gets the permission of this CreateTopicOrBatchDeleteTopicReq.
|
148
177
|
|
149
|
-
|
178
|
+
权限(仅RocketMQ实例4.8.0版本需要填写此参数)。 取值范围: - pub(发布) - sub(订阅) - all(发布+订阅)
|
150
179
|
|
151
180
|
:return: The permission of this CreateTopicOrBatchDeleteTopicReq.
|
152
181
|
:rtype: str
|
@@ -157,7 +186,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
157
186
|
def permission(self, permission):
|
158
187
|
"""Sets the permission of this CreateTopicOrBatchDeleteTopicReq.
|
159
188
|
|
160
|
-
|
189
|
+
权限(仅RocketMQ实例4.8.0版本需要填写此参数)。 取值范围: - pub(发布) - sub(订阅) - all(发布+订阅)
|
161
190
|
|
162
191
|
:param permission: The permission of this CreateTopicOrBatchDeleteTopicReq.
|
163
192
|
:type permission: str
|
@@ -168,7 +197,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
168
197
|
def message_type(self):
|
169
198
|
"""Gets the message_type of this CreateTopicOrBatchDeleteTopicReq.
|
170
199
|
|
171
|
-
|
200
|
+
消息类型(仅RocketMQ实例5.x版本需要填写此参数)。 取值范围: - NORMAL(普通消息) - FIFO(顺序消息) - DELAY(定时消息) - TRANSACTION(事务消息)
|
172
201
|
|
173
202
|
:return: The message_type of this CreateTopicOrBatchDeleteTopicReq.
|
174
203
|
:rtype: str
|
@@ -179,7 +208,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
179
208
|
def message_type(self, message_type):
|
180
209
|
"""Sets the message_type of this CreateTopicOrBatchDeleteTopicReq.
|
181
210
|
|
182
|
-
|
211
|
+
消息类型(仅RocketMQ实例5.x版本需要填写此参数)。 取值范围: - NORMAL(普通消息) - FIFO(顺序消息) - DELAY(定时消息) - TRANSACTION(事务消息)
|
183
212
|
|
184
213
|
:param message_type: The message_type of this CreateTopicOrBatchDeleteTopicReq.
|
185
214
|
:type message_type: str
|
@@ -20,6 +20,7 @@ class CreateTopicReq:
|
|
20
20
|
'name': 'str',
|
21
21
|
'brokers': 'list[str]',
|
22
22
|
'queue_num': 'float',
|
23
|
+
'queues': 'list[CreateTopicReqQueues]',
|
23
24
|
'permission': 'str',
|
24
25
|
'message_type': 'str'
|
25
26
|
}
|
@@ -28,24 +29,27 @@ class CreateTopicReq:
|
|
28
29
|
'name': 'name',
|
29
30
|
'brokers': 'brokers',
|
30
31
|
'queue_num': 'queue_num',
|
32
|
+
'queues': 'queues',
|
31
33
|
'permission': 'permission',
|
32
34
|
'message_type': 'message_type'
|
33
35
|
}
|
34
36
|
|
35
|
-
def __init__(self, name=None, brokers=None, queue_num=None, permission=None, message_type=None):
|
37
|
+
def __init__(self, name=None, brokers=None, queue_num=None, queues=None, permission=None, message_type=None):
|
36
38
|
"""CreateTopicReq
|
37
39
|
|
38
40
|
The model defined in huaweicloud sdk
|
39
41
|
|
40
42
|
:param name: 主题名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
|
41
43
|
:type name: str
|
42
|
-
:param brokers:
|
44
|
+
:param brokers: 关联的代理(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
43
45
|
:type brokers: list[str]
|
44
46
|
:param queue_num: 队列数,范围1~50。
|
45
47
|
:type queue_num: float
|
46
|
-
:param
|
48
|
+
:param queues: 队列(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
49
|
+
:type queues: list[:class:`huaweicloudsdkrocketmq.v2.CreateTopicReqQueues`]
|
50
|
+
:param permission: 权限(仅RocketMQ实例4.8.0版本需要填写此参数)。 取值范围: - pub(发布) - sub(订阅) - all(发布+订阅)
|
47
51
|
:type permission: str
|
48
|
-
:param message_type:
|
52
|
+
:param message_type: 消息类型(仅RocketMQ实例5.x版本需要填写此参数)。 取值范围: - NORMAL(普通消息) - FIFO(顺序消息) - DELAY(定时消息) - TRANSACTION(事务消息)
|
49
53
|
:type message_type: str
|
50
54
|
"""
|
51
55
|
|
@@ -54,6 +58,7 @@ class CreateTopicReq:
|
|
54
58
|
self._name = None
|
55
59
|
self._brokers = None
|
56
60
|
self._queue_num = None
|
61
|
+
self._queues = None
|
57
62
|
self._permission = None
|
58
63
|
self._message_type = None
|
59
64
|
self.discriminator = None
|
@@ -64,6 +69,8 @@ class CreateTopicReq:
|
|
64
69
|
self.brokers = brokers
|
65
70
|
if queue_num is not None:
|
66
71
|
self.queue_num = queue_num
|
72
|
+
if queues is not None:
|
73
|
+
self.queues = queues
|
67
74
|
if permission is not None:
|
68
75
|
self.permission = permission
|
69
76
|
if message_type is not None:
|
@@ -95,7 +102,7 @@ class CreateTopicReq:
|
|
95
102
|
def brokers(self):
|
96
103
|
"""Gets the brokers of this CreateTopicReq.
|
97
104
|
|
98
|
-
|
105
|
+
关联的代理(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
99
106
|
|
100
107
|
:return: The brokers of this CreateTopicReq.
|
101
108
|
:rtype: list[str]
|
@@ -106,7 +113,7 @@ class CreateTopicReq:
|
|
106
113
|
def brokers(self, brokers):
|
107
114
|
"""Sets the brokers of this CreateTopicReq.
|
108
115
|
|
109
|
-
|
116
|
+
关联的代理(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
110
117
|
|
111
118
|
:param brokers: The brokers of this CreateTopicReq.
|
112
119
|
:type brokers: list[str]
|
@@ -135,11 +142,33 @@ class CreateTopicReq:
|
|
135
142
|
"""
|
136
143
|
self._queue_num = queue_num
|
137
144
|
|
145
|
+
@property
|
146
|
+
def queues(self):
|
147
|
+
"""Gets the queues of this CreateTopicReq.
|
148
|
+
|
149
|
+
队列(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
150
|
+
|
151
|
+
:return: The queues of this CreateTopicReq.
|
152
|
+
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.CreateTopicReqQueues`]
|
153
|
+
"""
|
154
|
+
return self._queues
|
155
|
+
|
156
|
+
@queues.setter
|
157
|
+
def queues(self, queues):
|
158
|
+
"""Sets the queues of this CreateTopicReq.
|
159
|
+
|
160
|
+
队列(仅RocketMQ实例4.8.0版本需要填写此参数)。
|
161
|
+
|
162
|
+
:param queues: The queues of this CreateTopicReq.
|
163
|
+
:type queues: list[:class:`huaweicloudsdkrocketmq.v2.CreateTopicReqQueues`]
|
164
|
+
"""
|
165
|
+
self._queues = queues
|
166
|
+
|
138
167
|
@property
|
139
168
|
def permission(self):
|
140
169
|
"""Gets the permission of this CreateTopicReq.
|
141
170
|
|
142
|
-
|
171
|
+
权限(仅RocketMQ实例4.8.0版本需要填写此参数)。 取值范围: - pub(发布) - sub(订阅) - all(发布+订阅)
|
143
172
|
|
144
173
|
:return: The permission of this CreateTopicReq.
|
145
174
|
:rtype: str
|
@@ -150,7 +179,7 @@ class CreateTopicReq:
|
|
150
179
|
def permission(self, permission):
|
151
180
|
"""Sets the permission of this CreateTopicReq.
|
152
181
|
|
153
|
-
|
182
|
+
权限(仅RocketMQ实例4.8.0版本需要填写此参数)。 取值范围: - pub(发布) - sub(订阅) - all(发布+订阅)
|
154
183
|
|
155
184
|
:param permission: The permission of this CreateTopicReq.
|
156
185
|
:type permission: str
|
@@ -161,7 +190,7 @@ class CreateTopicReq:
|
|
161
190
|
def message_type(self):
|
162
191
|
"""Gets the message_type of this CreateTopicReq.
|
163
192
|
|
164
|
-
|
193
|
+
消息类型(仅RocketMQ实例5.x版本需要填写此参数)。 取值范围: - NORMAL(普通消息) - FIFO(顺序消息) - DELAY(定时消息) - TRANSACTION(事务消息)
|
165
194
|
|
166
195
|
:return: The message_type of this CreateTopicReq.
|
167
196
|
:rtype: str
|
@@ -172,7 +201,7 @@ class CreateTopicReq:
|
|
172
201
|
def message_type(self, message_type):
|
173
202
|
"""Sets the message_type of this CreateTopicReq.
|
174
203
|
|
175
|
-
|
204
|
+
消息类型(仅RocketMQ实例5.x版本需要填写此参数)。 取值范围: - NORMAL(普通消息) - FIFO(顺序消息) - DELAY(定时消息) - TRANSACTION(事务消息)
|
176
205
|
|
177
206
|
:param message_type: The message_type of this CreateTopicReq.
|
178
207
|
:type message_type: str
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateTopicReqQueues:
|
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
|
+
'broker': 'str',
|
21
|
+
'queue_num': 'float'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'broker': 'broker',
|
26
|
+
'queue_num': 'queue_num'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, broker=None, queue_num=None):
|
30
|
+
"""CreateTopicReqQueues
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param broker: 关联的代理。
|
35
|
+
:type broker: str
|
36
|
+
:param queue_num: 队列数,范围1~50。
|
37
|
+
:type queue_num: float
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._broker = None
|
43
|
+
self._queue_num = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if broker is not None:
|
47
|
+
self.broker = broker
|
48
|
+
if queue_num is not None:
|
49
|
+
self.queue_num = queue_num
|
50
|
+
|
51
|
+
@property
|
52
|
+
def broker(self):
|
53
|
+
"""Gets the broker of this CreateTopicReqQueues.
|
54
|
+
|
55
|
+
关联的代理。
|
56
|
+
|
57
|
+
:return: The broker of this CreateTopicReqQueues.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._broker
|
61
|
+
|
62
|
+
@broker.setter
|
63
|
+
def broker(self, broker):
|
64
|
+
"""Sets the broker of this CreateTopicReqQueues.
|
65
|
+
|
66
|
+
关联的代理。
|
67
|
+
|
68
|
+
:param broker: The broker of this CreateTopicReqQueues.
|
69
|
+
:type broker: str
|
70
|
+
"""
|
71
|
+
self._broker = broker
|
72
|
+
|
73
|
+
@property
|
74
|
+
def queue_num(self):
|
75
|
+
"""Gets the queue_num of this CreateTopicReqQueues.
|
76
|
+
|
77
|
+
队列数,范围1~50。
|
78
|
+
|
79
|
+
:return: The queue_num of this CreateTopicReqQueues.
|
80
|
+
:rtype: float
|
81
|
+
"""
|
82
|
+
return self._queue_num
|
83
|
+
|
84
|
+
@queue_num.setter
|
85
|
+
def queue_num(self, queue_num):
|
86
|
+
"""Sets the queue_num of this CreateTopicReqQueues.
|
87
|
+
|
88
|
+
队列数,范围1~50。
|
89
|
+
|
90
|
+
:param queue_num: The queue_num of this CreateTopicReqQueues.
|
91
|
+
:type queue_num: float
|
92
|
+
"""
|
93
|
+
self._queue_num = queue_num
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, CreateTopicReqQueues):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -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: 实例状态,[详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。](tag:hws,hws_hk,ctc,hws_eu,ocb,g42,hk_g42,tm,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs)
|
54
|
+
:param status: 实例状态,[详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。](tag:hws,hws_hk,ctc,hws_eu,ocb,g42,hk_g42,tm,sbc,hk_sbc,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs)
|
55
55
|
:type status: str
|
56
56
|
:param include_failure: 是否返回创建失败的实例数。 当参数值为“true”时,返回创建失败的实例数。参数值为“false”或者其他值,不返回创建失败的实例数。
|
57
57
|
:type include_failure: str
|
@@ -166,7 +166,7 @@ class ListInstancesRequest:
|
|
166
166
|
def status(self):
|
167
167
|
"""Gets the status of this ListInstancesRequest.
|
168
168
|
|
169
|
-
实例状态,[详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。](tag:hws,hws_hk,ctc,hws_eu,ocb,g42,hk_g42,tm,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs)
|
169
|
+
实例状态,[详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。](tag:hws,hws_hk,ctc,hws_eu,ocb,g42,hk_g42,tm,sbc,hk_sbc,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs)
|
170
170
|
|
171
171
|
:return: The status of this ListInstancesRequest.
|
172
172
|
:rtype: str
|
@@ -177,7 +177,7 @@ class ListInstancesRequest:
|
|
177
177
|
def status(self, status):
|
178
178
|
"""Sets the status of this ListInstancesRequest.
|
179
179
|
|
180
|
-
实例状态,[详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。](tag:hws,hws_hk,ctc,hws_eu,ocb,g42,hk_g42,tm,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs)
|
180
|
+
实例状态,[详细状态说明请参考[实例状态说明](hrm-api-0010.xml)。](tag:hws,hws_hk,ctc,hws_eu,ocb,g42,hk_g42,tm,sbc,hk_sbc,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs)
|
181
181
|
|
182
182
|
:param status: The status of this ListInstancesRequest.
|
183
183
|
:type status: str
|
@@ -37,9 +37,9 @@ class ResizeEngineInstanceReq:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
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)
|
40
|
+
:param oper_type: 变更类型 取值范围: [- storage:存储空间扩容,代理数量不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm) - horizontal:代理数量扩容,每个broker的存储空间不变。 [- vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)
|
41
41
|
:type oper_type: str
|
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的存储空间不变。
|
42
|
+
:param new_storage_space: 当oper_type类型是[storage或](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 [- 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,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
|
@@ -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:存储空间扩容,代理数量不变。](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)
|
75
|
+
变更类型 取值范围: [- storage:存储空间扩容,代理数量不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm) - horizontal:代理数量扩容,每个broker的存储空间不变。 [- vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,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:存储空间扩容,代理数量不变。](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)
|
86
|
+
变更类型 取值范围: [- storage:存储空间扩容,代理数量不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm) - horizontal:代理数量扩容,每个broker的存储空间不变。 [- vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,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或](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的存储空间不变。
|
97
|
+
当oper_type类型是[storage或](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 [- 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,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或](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的存储空间不变。
|
108
|
+
当oper_type类型是[storage或](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,hk_tm)horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 [- 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。](tag:hws,hws_eu,hws_hk,ocb,hws_ocb,ctc,g42,hk_g42,tm,sbc,hk_sbc,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
|
@@ -36,6 +36,7 @@ class ShowInstanceResp:
|
|
36
36
|
'subnet_name': 'str',
|
37
37
|
'subnet_cidr': 'str',
|
38
38
|
'available_zones': 'list[str]',
|
39
|
+
'available_zone_names': 'list[str]',
|
39
40
|
'user_id': 'str',
|
40
41
|
'user_name': 'str',
|
41
42
|
'maintain_begin': 'str',
|
@@ -67,6 +68,7 @@ class ShowInstanceResp:
|
|
67
68
|
'public_broker_address': 'str',
|
68
69
|
'grpc_address': 'str',
|
69
70
|
'public_grpc_address': 'str',
|
71
|
+
'enterprise_project_id': 'str',
|
70
72
|
'tags': 'list[TagEntity]',
|
71
73
|
'total_storage_space': 'int',
|
72
74
|
'resource_spec_code': 'str'
|
@@ -92,6 +94,7 @@ class ShowInstanceResp:
|
|
92
94
|
'subnet_name': 'subnet_name',
|
93
95
|
'subnet_cidr': 'subnet_cidr',
|
94
96
|
'available_zones': 'available_zones',
|
97
|
+
'available_zone_names': 'available_zone_names',
|
95
98
|
'user_id': 'user_id',
|
96
99
|
'user_name': 'user_name',
|
97
100
|
'maintain_begin': 'maintain_begin',
|
@@ -123,12 +126,13 @@ class ShowInstanceResp:
|
|
123
126
|
'public_broker_address': 'public_broker_address',
|
124
127
|
'grpc_address': 'grpc_address',
|
125
128
|
'public_grpc_address': 'public_grpc_address',
|
129
|
+
'enterprise_project_id': 'enterprise_project_id',
|
126
130
|
'tags': 'tags',
|
127
131
|
'total_storage_space': 'total_storage_space',
|
128
132
|
'resource_spec_code': 'resource_spec_code'
|
129
133
|
}
|
130
134
|
|
131
|
-
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):
|
135
|
+
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):
|
132
136
|
"""ShowInstanceResp
|
133
137
|
|
134
138
|
The model defined in huaweicloud sdk
|
@@ -149,7 +153,7 @@ class ShowInstanceResp:
|
|
149
153
|
:type engine_version: str
|
150
154
|
:param instance_id: 实例ID。
|
151
155
|
:type instance_id: str
|
152
|
-
: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)
|
156
|
+
: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)
|
153
157
|
:type charging_mode: int
|
154
158
|
:param vpc_id: 私有云ID。
|
155
159
|
:type vpc_id: str
|
@@ -169,8 +173,10 @@ class ShowInstanceResp:
|
|
169
173
|
:type subnet_name: str
|
170
174
|
:param subnet_cidr: 子网路由(仅RocketMQ 5.x版本会显示此字段)。
|
171
175
|
:type subnet_cidr: str
|
172
|
-
:param available_zones:
|
176
|
+
:param available_zones: 可用区ID列表。
|
173
177
|
:type available_zones: list[str]
|
178
|
+
:param available_zone_names: 可用区名称列表。
|
179
|
+
:type available_zone_names: list[str]
|
174
180
|
:param user_id: 用户ID。
|
175
181
|
:type user_id: str
|
176
182
|
:param user_name: 用户名。
|
@@ -233,6 +239,8 @@ class ShowInstanceResp:
|
|
233
239
|
:type grpc_address: str
|
234
240
|
:param public_grpc_address: 公网grpc连接地址(仅RocketMQ 5.x版本会显示此字段)。
|
235
241
|
:type public_grpc_address: str
|
242
|
+
:param enterprise_project_id: 企业项目ID。
|
243
|
+
:type enterprise_project_id: str
|
236
244
|
:param tags: 标签列表。
|
237
245
|
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
|
238
246
|
:param total_storage_space: 总存储空间。
|
@@ -262,6 +270,7 @@ class ShowInstanceResp:
|
|
262
270
|
self._subnet_name = None
|
263
271
|
self._subnet_cidr = None
|
264
272
|
self._available_zones = None
|
273
|
+
self._available_zone_names = None
|
265
274
|
self._user_id = None
|
266
275
|
self._user_name = None
|
267
276
|
self._maintain_begin = None
|
@@ -293,6 +302,7 @@ class ShowInstanceResp:
|
|
293
302
|
self._public_broker_address = None
|
294
303
|
self._grpc_address = None
|
295
304
|
self._public_grpc_address = None
|
305
|
+
self._enterprise_project_id = None
|
296
306
|
self._tags = None
|
297
307
|
self._total_storage_space = None
|
298
308
|
self._resource_spec_code = None
|
@@ -336,6 +346,8 @@ class ShowInstanceResp:
|
|
336
346
|
self.subnet_cidr = subnet_cidr
|
337
347
|
if available_zones is not None:
|
338
348
|
self.available_zones = available_zones
|
349
|
+
if available_zone_names is not None:
|
350
|
+
self.available_zone_names = available_zone_names
|
339
351
|
if user_id is not None:
|
340
352
|
self.user_id = user_id
|
341
353
|
if user_name is not None:
|
@@ -398,6 +410,8 @@ class ShowInstanceResp:
|
|
398
410
|
self.grpc_address = grpc_address
|
399
411
|
if public_grpc_address is not None:
|
400
412
|
self.public_grpc_address = public_grpc_address
|
413
|
+
if enterprise_project_id is not None:
|
414
|
+
self.enterprise_project_id = enterprise_project_id
|
401
415
|
if tags is not None:
|
402
416
|
self.tags = tags
|
403
417
|
if total_storage_space is not None:
|
@@ -585,7 +599,7 @@ class ShowInstanceResp:
|
|
585
599
|
def charging_mode(self):
|
586
600
|
"""Gets the charging_mode of this ShowInstanceResp.
|
587
601
|
|
588
|
-
[付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs)
|
602
|
+
[付费模式,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)
|
589
603
|
|
590
604
|
:return: The charging_mode of this ShowInstanceResp.
|
591
605
|
:rtype: int
|
@@ -596,7 +610,7 @@ class ShowInstanceResp:
|
|
596
610
|
def charging_mode(self, charging_mode):
|
597
611
|
"""Sets the charging_mode of this ShowInstanceResp.
|
598
612
|
|
599
|
-
[付费模式,1表示按需计费。](tag:hws_eu,g42,hk_g42,tm,hk_tm)[付费模式,1表示按需计费,0表示包年/包月计费。](tag:hws,hws_eu,hws_hk,ctc) [计费模式,参数暂未使用。](tag:ocb,hws_ocb,hcs)
|
613
|
+
[付费模式,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)
|
600
614
|
|
601
615
|
:param charging_mode: The charging_mode of this ShowInstanceResp.
|
602
616
|
:type charging_mode: int
|
@@ -805,7 +819,7 @@ class ShowInstanceResp:
|
|
805
819
|
def available_zones(self):
|
806
820
|
"""Gets the available_zones of this ShowInstanceResp.
|
807
821
|
|
808
|
-
|
822
|
+
可用区ID列表。
|
809
823
|
|
810
824
|
:return: The available_zones of this ShowInstanceResp.
|
811
825
|
:rtype: list[str]
|
@@ -816,13 +830,35 @@ class ShowInstanceResp:
|
|
816
830
|
def available_zones(self, available_zones):
|
817
831
|
"""Sets the available_zones of this ShowInstanceResp.
|
818
832
|
|
819
|
-
|
833
|
+
可用区ID列表。
|
820
834
|
|
821
835
|
:param available_zones: The available_zones of this ShowInstanceResp.
|
822
836
|
:type available_zones: list[str]
|
823
837
|
"""
|
824
838
|
self._available_zones = available_zones
|
825
839
|
|
840
|
+
@property
|
841
|
+
def available_zone_names(self):
|
842
|
+
"""Gets the available_zone_names of this ShowInstanceResp.
|
843
|
+
|
844
|
+
可用区名称列表。
|
845
|
+
|
846
|
+
:return: The available_zone_names of this ShowInstanceResp.
|
847
|
+
:rtype: list[str]
|
848
|
+
"""
|
849
|
+
return self._available_zone_names
|
850
|
+
|
851
|
+
@available_zone_names.setter
|
852
|
+
def available_zone_names(self, available_zone_names):
|
853
|
+
"""Sets the available_zone_names of this ShowInstanceResp.
|
854
|
+
|
855
|
+
可用区名称列表。
|
856
|
+
|
857
|
+
:param available_zone_names: The available_zone_names of this ShowInstanceResp.
|
858
|
+
:type available_zone_names: list[str]
|
859
|
+
"""
|
860
|
+
self._available_zone_names = available_zone_names
|
861
|
+
|
826
862
|
@property
|
827
863
|
def user_id(self):
|
828
864
|
"""Gets the user_id of this ShowInstanceResp.
|
@@ -1505,6 +1541,28 @@ class ShowInstanceResp:
|
|
1505
1541
|
"""
|
1506
1542
|
self._public_grpc_address = public_grpc_address
|
1507
1543
|
|
1544
|
+
@property
|
1545
|
+
def enterprise_project_id(self):
|
1546
|
+
"""Gets the enterprise_project_id of this ShowInstanceResp.
|
1547
|
+
|
1548
|
+
企业项目ID。
|
1549
|
+
|
1550
|
+
:return: The enterprise_project_id of this ShowInstanceResp.
|
1551
|
+
:rtype: str
|
1552
|
+
"""
|
1553
|
+
return self._enterprise_project_id
|
1554
|
+
|
1555
|
+
@enterprise_project_id.setter
|
1556
|
+
def enterprise_project_id(self, enterprise_project_id):
|
1557
|
+
"""Sets the enterprise_project_id of this ShowInstanceResp.
|
1558
|
+
|
1559
|
+
企业项目ID。
|
1560
|
+
|
1561
|
+
:param enterprise_project_id: The enterprise_project_id of this ShowInstanceResp.
|
1562
|
+
:type enterprise_project_id: str
|
1563
|
+
"""
|
1564
|
+
self._enterprise_project_id = enterprise_project_id
|
1565
|
+
|
1508
1566
|
@property
|
1509
1567
|
def tags(self):
|
1510
1568
|
"""Gets the tags of this ShowInstanceResp.
|
@@ -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)
|
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)
|
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)
|
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.
|
{huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.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.95
|
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.95
|
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=
|
2
|
+
huaweicloudsdkrocketmq/v2/__init__.py,sha256=XIuLzmo1JxfNytvrPLd6O7L_MT30G-2z_U-PEcJ7vVQ,15926
|
3
3
|
huaweicloudsdkrocketmq/v2/rocketmq_async_client.py,sha256=aQq4E75-AOBomwMPnJfBK67dl0794fjeno3z5zka9RA,113597
|
4
4
|
huaweicloudsdkrocketmq/v2/rocketmq_client.py,sha256=cFY8RWj6mAHV7nSCTDlf0VjS7JFunnh00fefEoXm5wU,113586
|
5
|
-
huaweicloudsdkrocketmq/v2/model/__init__.py,sha256=
|
5
|
+
huaweicloudsdkrocketmq/v2/model/__init__.py,sha256=03f5W2rZN1cvhhIM1KeCb-Tmu4aW9-8F6k4JPRmCllI,15810
|
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
|
@@ -23,24 +23,25 @@ huaweicloudsdkrocketmq/v2/model/client_data.py,sha256=hCgI73iX3XpbaHmK6S3VMeKP3L
|
|
23
23
|
huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py,sha256=HgXVVUWL0wCXH2NjCWK0dAQjenaLoMSDR3oFzNRkW8o,5774
|
24
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=5UHj2CPnd0MNiLdcpfZCHaD8YDuy0BVJ8gzlDvU0UAo,10639
|
27
27
|
huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_request.py,sha256=VBgphbTdc7rmC6EIhDpA26sOKzBziZpmcbZapIousnI,5493
|
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=Otl7lkpmtwJ_uiNAWzrvzO2tyHBBMJG9UHqFywGKmUQ,28862
|
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/create_or_update_consumer_group.py,sha256=
|
34
|
-
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py,sha256=
|
33
|
+
huaweicloudsdkrocketmq/v2/model/create_or_update_consumer_group.py,sha256=fxy2miQWVuD1Ne_3DA-MJD3nAOty5_ZZWF-gK6yhNLU,9081
|
34
|
+
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py,sha256=Q9Wi5Y1-GSEsdvT1Y1V9OmWGXk64wTpv7uQTd6EHZt0,27114
|
35
35
|
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_request.py,sha256=_hw9sh9CGqGq2V-prrwSRshtSwgrhr1Ui9rG8B3Q_nw,3230
|
36
36
|
huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_response.py,sha256=OgybZoq67umwkfdmIgIu9Tr212UM9Xcqg9mJ7RlwGtg,3340
|
37
37
|
huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_req.py,sha256=4O1HGat1fGZgKQmpYh-Fyq0z8cL5UakWhFHD3ryxYY0,10742
|
38
38
|
huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_request.py,sha256=caOWOU0egucehaJphe4MhJkb-tc8Br_DVv7mf13bpVE,7041
|
39
39
|
huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_response.py,sha256=HDEb_y0Y9vYtGQuAMA82R_oPq1PBB07-HPvm2ZY5tDk,3279
|
40
|
-
huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py,sha256=
|
40
|
+
huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py,sha256=CvDZWjyaqZyjdRiSkJDbR9iIJVtudSuI3DCeRoxojR0,10026
|
41
41
|
huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_request.py,sha256=jyJXIPMa0QoxiSBVASfAHLLJcSYWxMst_3VCeN3sq9Y,5161
|
42
42
|
huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_response.py,sha256=vXpEwoLsvXvtzglHigJUXwbQ-x4Tc2Ff9w51cHo1NRs,4019
|
43
|
-
huaweicloudsdkrocketmq/v2/model/create_topic_req.py,sha256=
|
43
|
+
huaweicloudsdkrocketmq/v2/model/create_topic_req.py,sha256=DI2_IHJgsih9yrDTeDr_TwJf6QXdoiBJh-ESBuIAQ6k,8643
|
44
|
+
huaweicloudsdkrocketmq/v2/model/create_topic_req_queues.py,sha256=34-eR4RKwe5PkvsOexwOnSy4E6gAjvVlCIv8OevWnDw,3886
|
44
45
|
huaweicloudsdkrocketmq/v2/model/create_topic_resp.py,sha256=fpb_M6ythQIpSyjNy9HA3B8n9SwDzNcG0O-l_ODR34o,2917
|
45
46
|
huaweicloudsdkrocketmq/v2/model/create_user_request.py,sha256=a4k1t-bbHPrDGh-u3mYo6Icac2pqM1aEcDoFqP_W7HI,3827
|
46
47
|
huaweicloudsdkrocketmq/v2/model/create_user_response.py,sha256=td2kJ9R7fh7nGw9kturKmY90fmXhwcAGet8Kpz2QxjM,10888
|
@@ -72,7 +73,7 @@ huaweicloudsdkrocketmq/v2/model/list_consumer_group_of_topic_request.py,sha256=t
|
|
72
73
|
huaweicloudsdkrocketmq/v2/model/list_consumer_group_of_topic_response.py,sha256=R1PUW8zXehodArlGSOQLCimrKCu0DWkrQjoW2AEnGPI,3286
|
73
74
|
huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_request.py,sha256=NBzKkfQ0q6cvNj6HgdNRtZbVQkKwfEwkzq5h0rDRDXg,5663
|
74
75
|
huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py,sha256=HD-CwvgytX5gOBMPu9jbFAdrLMIXA2JreKvWgVIWYj0,7835
|
75
|
-
huaweicloudsdkrocketmq/v2/model/list_instances_request.py,sha256=
|
76
|
+
huaweicloudsdkrocketmq/v2/model/list_instances_request.py,sha256=fRKkEzcn_UsGl0ue6VI7LVP_Swd8S5R5vP7DToXkLvc,11718
|
76
77
|
huaweicloudsdkrocketmq/v2/model/list_instances_response.py,sha256=aV1v-GP3i2PclU5Xx6LXLbz4EsjAbYpO3s6IZ2rBXhY,4283
|
77
78
|
huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py,sha256=gVLTdRNRMDOlIN-DYiH1tLrhP-563xqJIf8S1GolEtI,4522
|
78
79
|
huaweicloudsdkrocketmq/v2/model/list_message_trace_resp_trace.py,sha256=BKg0ocWsefC2zBBNp-OouzJkigHtHZdGcNCHqbMKPM4,19614
|
@@ -104,7 +105,7 @@ huaweicloudsdkrocketmq/v2/model/reset_consume_offset_req.py,sha256=hJt73H8m1cYyH
|
|
104
105
|
huaweicloudsdkrocketmq/v2/model/reset_consume_offset_request.py,sha256=JGm2GVtE000Eoy35Y56fHq-E5VMKbvM6CahauwxO_MQ,5508
|
105
106
|
huaweicloudsdkrocketmq/v2/model/reset_consume_offset_resp_queues.py,sha256=nm07JO-aurtDNPFSfYeZVBw-6Ge7txR3so2aFwyHUaQ,5040
|
106
107
|
huaweicloudsdkrocketmq/v2/model/reset_consume_offset_response.py,sha256=YZ7j5lgF07kVsKYnu7fYNat5gUhi47XNLObgAdo8Hq0,3443
|
107
|
-
huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py,sha256=
|
108
|
+
huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py,sha256=Z2FpWq7LrFSAni941M3py6wkwPg6hyPEvdyABddV_oQ,10065
|
108
109
|
huaweicloudsdkrocketmq/v2/model/resize_instance_request.py,sha256=vplfdyNDslkH8uZPw6Lq6uLseUtNZBcVtjm5d4n0q8w,4760
|
109
110
|
huaweicloudsdkrocketmq/v2/model/resize_instance_response.py,sha256=nZJrsqVheMk5NmQ_2ryDrwtccgijK_PGuzyktv2wRQA,3197
|
110
111
|
huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py,sha256=7AOR8nTDEXUtLaZ9XW_Cr5AyAdsn16umUhkDgialHeA,3707
|
@@ -124,8 +125,8 @@ huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_respons
|
|
124
125
|
huaweicloudsdkrocketmq/v2/model/show_group_request.py,sha256=WfSgZ-BvBsZ0cZXVWpE9ZMlPz-33JX_4dLtX4u5zNdo,3741
|
125
126
|
huaweicloudsdkrocketmq/v2/model/show_group_response.py,sha256=y7_fdahFMvN7jMwp7bAdk_qdCS_bRxqraZJz47FFj5s,9458
|
126
127
|
huaweicloudsdkrocketmq/v2/model/show_instance_request.py,sha256=35JBZAz4wYNtYz9JJusxPMdg2JV_dHnHXX6ofZFoRG0,3100
|
127
|
-
huaweicloudsdkrocketmq/v2/model/show_instance_resp.py,sha256=
|
128
|
-
huaweicloudsdkrocketmq/v2/model/show_instance_response.py,sha256=
|
128
|
+
huaweicloudsdkrocketmq/v2/model/show_instance_resp.py,sha256=1cgE742NsVPXEZEJLJLc2k1bMpTR5SUTl1nwLxhqHtY,53404
|
129
|
+
huaweicloudsdkrocketmq/v2/model/show_instance_response.py,sha256=Nueg62DBCMpkvEkD84YG3cf49h_Jr37-f0xLFZ59V0o,54409
|
129
130
|
huaweicloudsdkrocketmq/v2/model/show_one_topic_request.py,sha256=Amt1abWDK2p8sYCNylP0CuRHZlh_m13_zJoEs2z4j1c,3765
|
130
131
|
huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py,sha256=qlJ6Cj-CAV0BY-rLnH3U-7x9zwFwZBfQYsaZfOW3bZM,8007
|
131
132
|
huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py,sha256=6sQTc49I8pAhCNAidmkJtIXjq1410hVe1vYjYoDnFu0,3149
|
@@ -165,8 +166,8 @@ huaweicloudsdkrocketmq/v2/model/validate_consumed_message_request.py,sha256=VyIK
|
|
165
166
|
huaweicloudsdkrocketmq/v2/model/validate_consumed_message_response.py,sha256=1D9O-eoQC6-HVq_iRp-FUOoki_JUGcWxyusLQcZQ2Pg,3696
|
166
167
|
huaweicloudsdkrocketmq/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
167
168
|
huaweicloudsdkrocketmq/v2/region/rocketmq_region.py,sha256=h_ATYazfWTioPKeUzvaWEpKOQzfjI19egBSpBGwoIBA,4450
|
168
|
-
huaweicloudsdkrocketmq-3.1.
|
169
|
-
huaweicloudsdkrocketmq-3.1.
|
170
|
-
huaweicloudsdkrocketmq-3.1.
|
171
|
-
huaweicloudsdkrocketmq-3.1.
|
172
|
-
huaweicloudsdkrocketmq-3.1.
|
169
|
+
huaweicloudsdkrocketmq-3.1.95.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
170
|
+
huaweicloudsdkrocketmq-3.1.95.dist-info/METADATA,sha256=KvZYW_es_PBeJJhTRfWAzKHGBEuth0KGJNUGDOU1YRk,1149
|
171
|
+
huaweicloudsdkrocketmq-3.1.95.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
172
|
+
huaweicloudsdkrocketmq-3.1.95.dist-info/top_level.txt,sha256=eCwsKgy2VRwJ1iDx8iFpYijz9dNun4HRSYfo1QXPEAU,23
|
173
|
+
huaweicloudsdkrocketmq-3.1.95.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{huaweicloudsdkrocketmq-3.1.93.dist-info → huaweicloudsdkrocketmq-3.1.95.dist-info}/top_level.txt
RENAMED
File without changes
|