huaweicloudsdkrocketmq 3.1.69__py2.py3-none-any.whl → 3.1.71__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 +16 -0
- huaweicloudsdkrocketmq/v2/model/__init__.py +16 -0
- huaweicloudsdkrocketmq/v2/model/consumer_group.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_topic_req.py +3 -3
- huaweicloudsdkrocketmq/v2/model/modify_config_req.py +115 -0
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +201 -0
- huaweicloudsdkrocketmq/v2/model/resize_instance_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/resize_instance_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py +144 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_config_resp.py +260 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_info_entity.py +430 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_ios_entity.py +202 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_properties_entity.py +318 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_product_support_features_entity.py +144 -0
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +171 -0
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +174 -0
- huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +114 -0
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/tag_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/topic.py +3 -3
- huaweicloudsdkrocketmq/v2/model/update_consumer_group.py +6 -6
- huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_response.py +85 -0
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +272 -0
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +272 -0
- {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/RECORD +35 -19
- {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/WHEEL +1 -1
- {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/top_level.txt +0 -0
@@ -91,18 +91,30 @@ from huaweicloudsdkrocketmq.v2.model.message import Message
|
|
91
91
|
from huaweicloudsdkrocketmq.v2.model.message_property_list import MessagePropertyList
|
92
92
|
from huaweicloudsdkrocketmq.v2.model.metadata_delete_req import MetadataDeleteReq
|
93
93
|
from huaweicloudsdkrocketmq.v2.model.metadata_task import MetadataTask
|
94
|
+
from huaweicloudsdkrocketmq.v2.model.modify_config_req import ModifyConfigReq
|
94
95
|
from huaweicloudsdkrocketmq.v2.model.queue import Queue
|
95
96
|
from huaweicloudsdkrocketmq.v2.model.resend_req import ResendReq
|
96
97
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_req import ResetConsumeOffsetReq
|
97
98
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_request import ResetConsumeOffsetRequest
|
98
99
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_resp_queues import ResetConsumeOffsetRespQueues
|
99
100
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_response import ResetConsumeOffsetResponse
|
101
|
+
from huaweicloudsdkrocketmq.v2.model.resize_engine_instance_req import ResizeEngineInstanceReq
|
102
|
+
from huaweicloudsdkrocketmq.v2.model.resize_instance_request import ResizeInstanceRequest
|
103
|
+
from huaweicloudsdkrocketmq.v2.model.resize_instance_response import ResizeInstanceResponse
|
104
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_config_req import RocketMQConfigReq
|
105
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_config_resp import RocketMQConfigResp
|
106
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_extend_product_info_entity import RocketMQExtendProductInfoEntity
|
107
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_extend_product_ios_entity import RocketMQExtendProductIosEntity
|
108
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_extend_product_properties_entity import RocketMQExtendProductPropertiesEntity
|
109
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_product_support_features_entity import RocketMQProductSupportFeaturesEntity
|
100
110
|
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_request import SendDlqMessageRequest
|
101
111
|
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_response import SendDlqMessageResponse
|
102
112
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_request import ShowConsumerConnectionsRequest
|
103
113
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_response import ShowConsumerConnectionsResponse
|
104
114
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_list_or_details_request import ShowConsumerListOrDetailsRequest
|
105
115
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_list_or_details_response import ShowConsumerListOrDetailsResponse
|
116
|
+
from huaweicloudsdkrocketmq.v2.model.show_engine_instance_extend_product_info_request import ShowEngineInstanceExtendProductInfoRequest
|
117
|
+
from huaweicloudsdkrocketmq.v2.model.show_engine_instance_extend_product_info_response import ShowEngineInstanceExtendProductInfoResponse
|
106
118
|
from huaweicloudsdkrocketmq.v2.model.show_group_request import ShowGroupRequest
|
107
119
|
from huaweicloudsdkrocketmq.v2.model.show_group_response import ShowGroupResponse
|
108
120
|
from huaweicloudsdkrocketmq.v2.model.show_instance_request import ShowInstanceRequest
|
@@ -110,6 +122,8 @@ from huaweicloudsdkrocketmq.v2.model.show_instance_resp import ShowInstanceResp
|
|
110
122
|
from huaweicloudsdkrocketmq.v2.model.show_instance_response import ShowInstanceResponse
|
111
123
|
from huaweicloudsdkrocketmq.v2.model.show_one_topic_request import ShowOneTopicRequest
|
112
124
|
from huaweicloudsdkrocketmq.v2.model.show_one_topic_response import ShowOneTopicResponse
|
125
|
+
from huaweicloudsdkrocketmq.v2.model.show_rocket_mq_configs_request import ShowRocketMqConfigsRequest
|
126
|
+
from huaweicloudsdkrocketmq.v2.model.show_rocket_mq_configs_response import ShowRocketMqConfigsResponse
|
113
127
|
from huaweicloudsdkrocketmq.v2.model.show_rocketmq_project_tags_request import ShowRocketmqProjectTagsRequest
|
114
128
|
from huaweicloudsdkrocketmq.v2.model.show_rocketmq_project_tags_response import ShowRocketmqProjectTagsResponse
|
115
129
|
from huaweicloudsdkrocketmq.v2.model.show_rocketmq_tags_request import ShowRocketmqTagsRequest
|
@@ -131,6 +145,8 @@ from huaweicloudsdkrocketmq.v2.model.update_consumer_group_response import Updat
|
|
131
145
|
from huaweicloudsdkrocketmq.v2.model.update_instance_req import UpdateInstanceReq
|
132
146
|
from huaweicloudsdkrocketmq.v2.model.update_instance_request import UpdateInstanceRequest
|
133
147
|
from huaweicloudsdkrocketmq.v2.model.update_instance_response import UpdateInstanceResponse
|
148
|
+
from huaweicloudsdkrocketmq.v2.model.update_rocket_mq_configs_request import UpdateRocketMqConfigsRequest
|
149
|
+
from huaweicloudsdkrocketmq.v2.model.update_rocket_mq_configs_response import UpdateRocketMqConfigsResponse
|
134
150
|
from huaweicloudsdkrocketmq.v2.model.update_topic_req import UpdateTopicReq
|
135
151
|
from huaweicloudsdkrocketmq.v2.model.update_topic_request import UpdateTopicRequest
|
136
152
|
from huaweicloudsdkrocketmq.v2.model.update_topic_response import UpdateTopicResponse
|
@@ -89,18 +89,30 @@ from huaweicloudsdkrocketmq.v2.model.message import Message
|
|
89
89
|
from huaweicloudsdkrocketmq.v2.model.message_property_list import MessagePropertyList
|
90
90
|
from huaweicloudsdkrocketmq.v2.model.metadata_delete_req import MetadataDeleteReq
|
91
91
|
from huaweicloudsdkrocketmq.v2.model.metadata_task import MetadataTask
|
92
|
+
from huaweicloudsdkrocketmq.v2.model.modify_config_req import ModifyConfigReq
|
92
93
|
from huaweicloudsdkrocketmq.v2.model.queue import Queue
|
93
94
|
from huaweicloudsdkrocketmq.v2.model.resend_req import ResendReq
|
94
95
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_req import ResetConsumeOffsetReq
|
95
96
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_request import ResetConsumeOffsetRequest
|
96
97
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_resp_queues import ResetConsumeOffsetRespQueues
|
97
98
|
from huaweicloudsdkrocketmq.v2.model.reset_consume_offset_response import ResetConsumeOffsetResponse
|
99
|
+
from huaweicloudsdkrocketmq.v2.model.resize_engine_instance_req import ResizeEngineInstanceReq
|
100
|
+
from huaweicloudsdkrocketmq.v2.model.resize_instance_request import ResizeInstanceRequest
|
101
|
+
from huaweicloudsdkrocketmq.v2.model.resize_instance_response import ResizeInstanceResponse
|
102
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_config_req import RocketMQConfigReq
|
103
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_config_resp import RocketMQConfigResp
|
104
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_extend_product_info_entity import RocketMQExtendProductInfoEntity
|
105
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_extend_product_ios_entity import RocketMQExtendProductIosEntity
|
106
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_extend_product_properties_entity import RocketMQExtendProductPropertiesEntity
|
107
|
+
from huaweicloudsdkrocketmq.v2.model.rocket_mq_product_support_features_entity import RocketMQProductSupportFeaturesEntity
|
98
108
|
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_request import SendDlqMessageRequest
|
99
109
|
from huaweicloudsdkrocketmq.v2.model.send_dlq_message_response import SendDlqMessageResponse
|
100
110
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_request import ShowConsumerConnectionsRequest
|
101
111
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_connections_response import ShowConsumerConnectionsResponse
|
102
112
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_list_or_details_request import ShowConsumerListOrDetailsRequest
|
103
113
|
from huaweicloudsdkrocketmq.v2.model.show_consumer_list_or_details_response import ShowConsumerListOrDetailsResponse
|
114
|
+
from huaweicloudsdkrocketmq.v2.model.show_engine_instance_extend_product_info_request import ShowEngineInstanceExtendProductInfoRequest
|
115
|
+
from huaweicloudsdkrocketmq.v2.model.show_engine_instance_extend_product_info_response import ShowEngineInstanceExtendProductInfoResponse
|
104
116
|
from huaweicloudsdkrocketmq.v2.model.show_group_request import ShowGroupRequest
|
105
117
|
from huaweicloudsdkrocketmq.v2.model.show_group_response import ShowGroupResponse
|
106
118
|
from huaweicloudsdkrocketmq.v2.model.show_instance_request import ShowInstanceRequest
|
@@ -108,6 +120,8 @@ from huaweicloudsdkrocketmq.v2.model.show_instance_resp import ShowInstanceResp
|
|
108
120
|
from huaweicloudsdkrocketmq.v2.model.show_instance_response import ShowInstanceResponse
|
109
121
|
from huaweicloudsdkrocketmq.v2.model.show_one_topic_request import ShowOneTopicRequest
|
110
122
|
from huaweicloudsdkrocketmq.v2.model.show_one_topic_response import ShowOneTopicResponse
|
123
|
+
from huaweicloudsdkrocketmq.v2.model.show_rocket_mq_configs_request import ShowRocketMqConfigsRequest
|
124
|
+
from huaweicloudsdkrocketmq.v2.model.show_rocket_mq_configs_response import ShowRocketMqConfigsResponse
|
111
125
|
from huaweicloudsdkrocketmq.v2.model.show_rocketmq_project_tags_request import ShowRocketmqProjectTagsRequest
|
112
126
|
from huaweicloudsdkrocketmq.v2.model.show_rocketmq_project_tags_response import ShowRocketmqProjectTagsResponse
|
113
127
|
from huaweicloudsdkrocketmq.v2.model.show_rocketmq_tags_request import ShowRocketmqTagsRequest
|
@@ -129,6 +143,8 @@ from huaweicloudsdkrocketmq.v2.model.update_consumer_group_response import Updat
|
|
129
143
|
from huaweicloudsdkrocketmq.v2.model.update_instance_req import UpdateInstanceReq
|
130
144
|
from huaweicloudsdkrocketmq.v2.model.update_instance_request import UpdateInstanceRequest
|
131
145
|
from huaweicloudsdkrocketmq.v2.model.update_instance_response import UpdateInstanceResponse
|
146
|
+
from huaweicloudsdkrocketmq.v2.model.update_rocket_mq_configs_request import UpdateRocketMqConfigsRequest
|
147
|
+
from huaweicloudsdkrocketmq.v2.model.update_rocket_mq_configs_response import UpdateRocketMqConfigsResponse
|
132
148
|
from huaweicloudsdkrocketmq.v2.model.update_topic_req import UpdateTopicReq
|
133
149
|
from huaweicloudsdkrocketmq.v2.model.update_topic_request import UpdateTopicRequest
|
134
150
|
from huaweicloudsdkrocketmq.v2.model.update_topic_response import UpdateTopicResponse
|
@@ -51,7 +51,7 @@ class ConsumerGroup:
|
|
51
51
|
:type name: str
|
52
52
|
:param group_desc: 消费组描述,长度0~200个字符。
|
53
53
|
:type group_desc: str
|
54
|
-
:param retry_max_time:
|
54
|
+
:param retry_max_time: 最大重试次数,取值范围为1~16。
|
55
55
|
:type retry_max_time: float
|
56
56
|
:param from_beginning: 是否重头消费。
|
57
57
|
:type from_beginning: bool
|
@@ -197,7 +197,7 @@ class ConsumerGroup:
|
|
197
197
|
def retry_max_time(self):
|
198
198
|
"""Gets the retry_max_time of this ConsumerGroup.
|
199
199
|
|
200
|
-
|
200
|
+
最大重试次数,取值范围为1~16。
|
201
201
|
|
202
202
|
:return: The retry_max_time of this ConsumerGroup.
|
203
203
|
:rtype: float
|
@@ -208,7 +208,7 @@ class ConsumerGroup:
|
|
208
208
|
def retry_max_time(self, retry_max_time):
|
209
209
|
"""Sets the retry_max_time of this ConsumerGroup.
|
210
210
|
|
211
|
-
|
211
|
+
最大重试次数,取值范围为1~16。
|
212
212
|
|
213
213
|
:param retry_max_time: The retry_max_time of this ConsumerGroup.
|
214
214
|
:type retry_max_time: float
|
@@ -55,7 +55,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
55
55
|
:type name: str
|
56
56
|
:param group_desc: 消费组描述,长度0~200个字符。
|
57
57
|
:type group_desc: str
|
58
|
-
:param retry_max_time:
|
58
|
+
:param retry_max_time: 最大重试次数,取值范围为1~16。
|
59
59
|
:type retry_max_time: float
|
60
60
|
:param from_beginning: 是否重头消费。
|
61
61
|
:type from_beginning: bool
|
@@ -226,7 +226,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
226
226
|
def retry_max_time(self):
|
227
227
|
"""Gets the retry_max_time of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
228
228
|
|
229
|
-
|
229
|
+
最大重试次数,取值范围为1~16。
|
230
230
|
|
231
231
|
:return: The retry_max_time of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
232
232
|
:rtype: float
|
@@ -237,7 +237,7 @@ class CreateConsumerGroupOrBatchDeleteConsumerGroupReq:
|
|
237
237
|
def retry_max_time(self, retry_max_time):
|
238
238
|
"""Sets the retry_max_time of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
239
239
|
|
240
|
-
|
240
|
+
最大重试次数,取值范围为1~16。
|
241
241
|
|
242
242
|
:param retry_max_time: The retry_max_time of this CreateConsumerGroupOrBatchDeleteConsumerGroupReq.
|
243
243
|
:type retry_max_time: float
|
@@ -89,7 +89,7 @@ class CreateInstanceByEngineReq:
|
|
89
89
|
:type ssl_enable: bool
|
90
90
|
:param storage_spec_code: 存储IO规格。 - dms.physical.storage.high.v2: 高IO类型磁盘 - dms.physical.storage.ultra.v2: 超高IO类型磁盘
|
91
91
|
:type storage_spec_code: str
|
92
|
-
:param enterprise_project_id: 企业项目ID
|
92
|
+
:param enterprise_project_id: 企业项目ID。若为企业项目账号,该参数必填。
|
93
93
|
:type enterprise_project_id: str
|
94
94
|
:param enable_acl: 是否开启访问控制列表。
|
95
95
|
:type enable_acl: bool
|
@@ -424,7 +424,7 @@ class CreateInstanceByEngineReq:
|
|
424
424
|
def enterprise_project_id(self):
|
425
425
|
"""Gets the enterprise_project_id of this CreateInstanceByEngineReq.
|
426
426
|
|
427
|
-
企业项目ID
|
427
|
+
企业项目ID。若为企业项目账号,该参数必填。
|
428
428
|
|
429
429
|
:return: The enterprise_project_id of this CreateInstanceByEngineReq.
|
430
430
|
:rtype: str
|
@@ -435,7 +435,7 @@ class CreateInstanceByEngineReq:
|
|
435
435
|
def enterprise_project_id(self, enterprise_project_id):
|
436
436
|
"""Sets the enterprise_project_id of this CreateInstanceByEngineReq.
|
437
437
|
|
438
|
-
企业项目ID
|
438
|
+
企业项目ID。若为企业项目账号,该参数必填。
|
439
439
|
|
440
440
|
:param enterprise_project_id: The enterprise_project_id of this CreateInstanceByEngineReq.
|
441
441
|
:type enterprise_project_id: str
|
@@ -87,7 +87,7 @@ class CreatePostPaidInstanceReq:
|
|
87
87
|
:type ssl_enable: bool
|
88
88
|
:param storage_spec_code: 存储IO规格。 - dms.physical.storage.high.v2: 高IO类型磁盘 - dms.physical.storage.ultra.v2: 超高IO类型磁盘
|
89
89
|
:type storage_spec_code: str
|
90
|
-
:param enterprise_project_id: 企业项目ID
|
90
|
+
:param enterprise_project_id: 企业项目ID。若为企业项目账号,该参数必填。
|
91
91
|
:type enterprise_project_id: str
|
92
92
|
:param enable_acl: 是否开启访问控制列表。
|
93
93
|
:type enable_acl: bool
|
@@ -417,7 +417,7 @@ class CreatePostPaidInstanceReq:
|
|
417
417
|
def enterprise_project_id(self):
|
418
418
|
"""Gets the enterprise_project_id of this CreatePostPaidInstanceReq.
|
419
419
|
|
420
|
-
企业项目ID
|
420
|
+
企业项目ID。若为企业项目账号,该参数必填。
|
421
421
|
|
422
422
|
:return: The enterprise_project_id of this CreatePostPaidInstanceReq.
|
423
423
|
:rtype: str
|
@@ -428,7 +428,7 @@ class CreatePostPaidInstanceReq:
|
|
428
428
|
def enterprise_project_id(self, enterprise_project_id):
|
429
429
|
"""Sets the enterprise_project_id of this CreatePostPaidInstanceReq.
|
430
430
|
|
431
|
-
企业项目ID
|
431
|
+
企业项目ID。若为企业项目账号,该参数必填。
|
432
432
|
|
433
433
|
:param enterprise_project_id: The enterprise_project_id of this CreatePostPaidInstanceReq.
|
434
434
|
:type enterprise_project_id: str
|
@@ -47,7 +47,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
47
47
|
:type queue_num: float
|
48
48
|
:param permission: 权限。
|
49
49
|
:type permission: str
|
50
|
-
:param message_type:
|
50
|
+
:param message_type: 消息类型(RocketMQ实例5.x版本才包含此参数)。
|
51
51
|
:type message_type: str
|
52
52
|
:param topics: 主题列表,当批量删除主题时使用。
|
53
53
|
:type topics: list[str]
|
@@ -168,7 +168,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
168
168
|
def message_type(self):
|
169
169
|
"""Gets the message_type of this CreateTopicOrBatchDeleteTopicReq.
|
170
170
|
|
171
|
-
|
171
|
+
消息类型(RocketMQ实例5.x版本才包含此参数)。
|
172
172
|
|
173
173
|
:return: The message_type of this CreateTopicOrBatchDeleteTopicReq.
|
174
174
|
:rtype: str
|
@@ -179,7 +179,7 @@ class CreateTopicOrBatchDeleteTopicReq:
|
|
179
179
|
def message_type(self, message_type):
|
180
180
|
"""Sets the message_type of this CreateTopicOrBatchDeleteTopicReq.
|
181
181
|
|
182
|
-
|
182
|
+
消息类型(RocketMQ实例5.x版本才包含此参数)。
|
183
183
|
|
184
184
|
:param message_type: The message_type of this CreateTopicOrBatchDeleteTopicReq.
|
185
185
|
:type message_type: str
|
@@ -45,7 +45,7 @@ class CreateTopicReq:
|
|
45
45
|
:type queue_num: float
|
46
46
|
:param permission: 权限。
|
47
47
|
:type permission: str
|
48
|
-
:param message_type:
|
48
|
+
:param message_type: 消息类型(RocketMQ实例5.x版本才包含此参数)。
|
49
49
|
:type message_type: str
|
50
50
|
"""
|
51
51
|
|
@@ -161,7 +161,7 @@ class CreateTopicReq:
|
|
161
161
|
def message_type(self):
|
162
162
|
"""Gets the message_type of this CreateTopicReq.
|
163
163
|
|
164
|
-
|
164
|
+
消息类型(RocketMQ实例5.x版本才包含此参数)。
|
165
165
|
|
166
166
|
:return: The message_type of this CreateTopicReq.
|
167
167
|
:rtype: str
|
@@ -172,7 +172,7 @@ class CreateTopicReq:
|
|
172
172
|
def message_type(self, message_type):
|
173
173
|
"""Sets the message_type of this CreateTopicReq.
|
174
174
|
|
175
|
-
|
175
|
+
消息类型(RocketMQ实例5.x版本才包含此参数)。
|
176
176
|
|
177
177
|
:param message_type: The message_type of this CreateTopicReq.
|
178
178
|
:type message_type: str
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ModifyConfigReq:
|
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
|
+
'rocketmq_configs': 'list[RocketMQConfigReq]'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'rocketmq_configs': 'rocketmq_configs'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, rocketmq_configs=None):
|
28
|
+
"""ModifyConfigReq
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param rocketmq_configs: RocketMQ配置。
|
33
|
+
:type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigReq`]
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._rocketmq_configs = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if rocketmq_configs is not None:
|
42
|
+
self.rocketmq_configs = rocketmq_configs
|
43
|
+
|
44
|
+
@property
|
45
|
+
def rocketmq_configs(self):
|
46
|
+
"""Gets the rocketmq_configs of this ModifyConfigReq.
|
47
|
+
|
48
|
+
RocketMQ配置。
|
49
|
+
|
50
|
+
:return: The rocketmq_configs of this ModifyConfigReq.
|
51
|
+
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigReq`]
|
52
|
+
"""
|
53
|
+
return self._rocketmq_configs
|
54
|
+
|
55
|
+
@rocketmq_configs.setter
|
56
|
+
def rocketmq_configs(self, rocketmq_configs):
|
57
|
+
"""Sets the rocketmq_configs of this ModifyConfigReq.
|
58
|
+
|
59
|
+
RocketMQ配置。
|
60
|
+
|
61
|
+
:param rocketmq_configs: The rocketmq_configs of this ModifyConfigReq.
|
62
|
+
:type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigReq`]
|
63
|
+
"""
|
64
|
+
self._rocketmq_configs = rocketmq_configs
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, ModifyConfigReq):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -0,0 +1,201 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ResizeEngineInstanceReq:
|
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
|
+
'oper_type': 'str',
|
21
|
+
'new_storage_space': 'int',
|
22
|
+
'new_product_id': 'str',
|
23
|
+
'new_broker_num': 'int'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'oper_type': 'oper_type',
|
28
|
+
'new_storage_space': 'new_storage_space',
|
29
|
+
'new_product_id': 'new_product_id',
|
30
|
+
'new_broker_num': 'new_broker_num'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, oper_type=None, new_storage_space=None, new_product_id=None, new_broker_num=None):
|
34
|
+
"""ResizeEngineInstanceReq
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param oper_type: 变更类型 取值范围: - storage:存储空间扩容,代理数量不变。 - horizontal:代理数量扩容,每个broker的存储空间不变。 - vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。
|
39
|
+
:type oper_type: str
|
40
|
+
:param new_storage_space: 当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 - 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。 - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
41
|
+
:type new_storage_space: int
|
42
|
+
:param new_product_id: 当oper_type类型是vertical时,该参数才有效且必填。
|
43
|
+
:type new_product_id: str
|
44
|
+
:param new_broker_num: 代理数量 当oper_type参数为horizontal时,该参数必填。
|
45
|
+
:type new_broker_num: int
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._oper_type = None
|
51
|
+
self._new_storage_space = None
|
52
|
+
self._new_product_id = None
|
53
|
+
self._new_broker_num = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
self.oper_type = oper_type
|
57
|
+
if new_storage_space is not None:
|
58
|
+
self.new_storage_space = new_storage_space
|
59
|
+
if new_product_id is not None:
|
60
|
+
self.new_product_id = new_product_id
|
61
|
+
if new_broker_num is not None:
|
62
|
+
self.new_broker_num = new_broker_num
|
63
|
+
|
64
|
+
@property
|
65
|
+
def oper_type(self):
|
66
|
+
"""Gets the oper_type of this ResizeEngineInstanceReq.
|
67
|
+
|
68
|
+
变更类型 取值范围: - storage:存储空间扩容,代理数量不变。 - horizontal:代理数量扩容,每个broker的存储空间不变。 - vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。
|
69
|
+
|
70
|
+
:return: The oper_type of this ResizeEngineInstanceReq.
|
71
|
+
:rtype: str
|
72
|
+
"""
|
73
|
+
return self._oper_type
|
74
|
+
|
75
|
+
@oper_type.setter
|
76
|
+
def oper_type(self, oper_type):
|
77
|
+
"""Sets the oper_type of this ResizeEngineInstanceReq.
|
78
|
+
|
79
|
+
变更类型 取值范围: - storage:存储空间扩容,代理数量不变。 - horizontal:代理数量扩容,每个broker的存储空间不变。 - vertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。
|
80
|
+
|
81
|
+
:param oper_type: The oper_type of this ResizeEngineInstanceReq.
|
82
|
+
:type oper_type: str
|
83
|
+
"""
|
84
|
+
self._oper_type = oper_type
|
85
|
+
|
86
|
+
@property
|
87
|
+
def new_storage_space(self):
|
88
|
+
"""Gets the new_storage_space of this ResizeEngineInstanceReq.
|
89
|
+
|
90
|
+
当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 - 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。 - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
91
|
+
|
92
|
+
:return: The new_storage_space of this ResizeEngineInstanceReq.
|
93
|
+
:rtype: int
|
94
|
+
"""
|
95
|
+
return self._new_storage_space
|
96
|
+
|
97
|
+
@new_storage_space.setter
|
98
|
+
def new_storage_space(self, new_storage_space):
|
99
|
+
"""Sets the new_storage_space of this ResizeEngineInstanceReq.
|
100
|
+
|
101
|
+
当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 - 当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。 - 当oper_type类型是horizontal时,每个broker的存储空间不变。
|
102
|
+
|
103
|
+
:param new_storage_space: The new_storage_space of this ResizeEngineInstanceReq.
|
104
|
+
:type new_storage_space: int
|
105
|
+
"""
|
106
|
+
self._new_storage_space = new_storage_space
|
107
|
+
|
108
|
+
@property
|
109
|
+
def new_product_id(self):
|
110
|
+
"""Gets the new_product_id of this ResizeEngineInstanceReq.
|
111
|
+
|
112
|
+
当oper_type类型是vertical时,该参数才有效且必填。
|
113
|
+
|
114
|
+
:return: The new_product_id of this ResizeEngineInstanceReq.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._new_product_id
|
118
|
+
|
119
|
+
@new_product_id.setter
|
120
|
+
def new_product_id(self, new_product_id):
|
121
|
+
"""Sets the new_product_id of this ResizeEngineInstanceReq.
|
122
|
+
|
123
|
+
当oper_type类型是vertical时,该参数才有效且必填。
|
124
|
+
|
125
|
+
:param new_product_id: The new_product_id of this ResizeEngineInstanceReq.
|
126
|
+
:type new_product_id: str
|
127
|
+
"""
|
128
|
+
self._new_product_id = new_product_id
|
129
|
+
|
130
|
+
@property
|
131
|
+
def new_broker_num(self):
|
132
|
+
"""Gets the new_broker_num of this ResizeEngineInstanceReq.
|
133
|
+
|
134
|
+
代理数量 当oper_type参数为horizontal时,该参数必填。
|
135
|
+
|
136
|
+
:return: The new_broker_num of this ResizeEngineInstanceReq.
|
137
|
+
:rtype: int
|
138
|
+
"""
|
139
|
+
return self._new_broker_num
|
140
|
+
|
141
|
+
@new_broker_num.setter
|
142
|
+
def new_broker_num(self, new_broker_num):
|
143
|
+
"""Sets the new_broker_num of this ResizeEngineInstanceReq.
|
144
|
+
|
145
|
+
代理数量 当oper_type参数为horizontal时,该参数必填。
|
146
|
+
|
147
|
+
:param new_broker_num: The new_broker_num of this ResizeEngineInstanceReq.
|
148
|
+
:type new_broker_num: int
|
149
|
+
"""
|
150
|
+
self._new_broker_num = new_broker_num
|
151
|
+
|
152
|
+
def to_dict(self):
|
153
|
+
"""Returns the model properties as a dict"""
|
154
|
+
result = {}
|
155
|
+
|
156
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
157
|
+
value = getattr(self, attr)
|
158
|
+
if isinstance(value, list):
|
159
|
+
result[attr] = list(map(
|
160
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
161
|
+
value
|
162
|
+
))
|
163
|
+
elif hasattr(value, "to_dict"):
|
164
|
+
result[attr] = value.to_dict()
|
165
|
+
elif isinstance(value, dict):
|
166
|
+
result[attr] = dict(map(
|
167
|
+
lambda item: (item[0], item[1].to_dict())
|
168
|
+
if hasattr(item[1], "to_dict") else item,
|
169
|
+
value.items()
|
170
|
+
))
|
171
|
+
else:
|
172
|
+
if attr in self.sensitive_list:
|
173
|
+
result[attr] = "****"
|
174
|
+
else:
|
175
|
+
result[attr] = value
|
176
|
+
|
177
|
+
return result
|
178
|
+
|
179
|
+
def to_str(self):
|
180
|
+
"""Returns the string representation of the model"""
|
181
|
+
import simplejson as json
|
182
|
+
if six.PY2:
|
183
|
+
import sys
|
184
|
+
reload(sys)
|
185
|
+
sys.setdefaultencoding("utf-8")
|
186
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
187
|
+
|
188
|
+
def __repr__(self):
|
189
|
+
"""For `print`"""
|
190
|
+
return self.to_str()
|
191
|
+
|
192
|
+
def __eq__(self, other):
|
193
|
+
"""Returns true if both objects are equal"""
|
194
|
+
if not isinstance(other, ResizeEngineInstanceReq):
|
195
|
+
return False
|
196
|
+
|
197
|
+
return self.__dict__ == other.__dict__
|
198
|
+
|
199
|
+
def __ne__(self, other):
|
200
|
+
"""Returns true if both objects are not equal"""
|
201
|
+
return not self == other
|