huaweicloudsdkrocketmq 3.1.145__py2.py3-none-any.whl → 3.1.147__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 +13 -1
- huaweicloudsdkrocketmq/v2/model/__init__.py +13 -1
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group.py +260 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +4 -4
- huaweicloudsdkrocketmq/v2/model/brokers.py +6 -6
- huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py +12 -12
- huaweicloudsdkrocketmq/v2/model/consumer_group.py +27 -27
- huaweicloudsdkrocketmq/v2/model/consumer_list.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +9 -9
- huaweicloudsdkrocketmq/v2/model/create_user_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_user_response.py +24 -24
- huaweicloudsdkrocketmq/v2/model/enable_dns_request.py +114 -0
- huaweicloudsdkrocketmq/v2/model/enable_dns_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/instance_detail.py +1942 -0
- huaweicloudsdkrocketmq/v2/model/list_available_zones_resp_available_zones.py +27 -27
- huaweicloudsdkrocketmq/v2/model/list_available_zones_response.py +6 -6
- huaweicloudsdkrocketmq/v2/model/list_brokers_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/list_brokers_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/list_engine_products_request.py +228 -0
- huaweicloudsdkrocketmq/v2/model/list_engine_products_response.py +261 -0
- huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_request.py +12 -12
- huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +27 -27
- huaweicloudsdkrocketmq/v2/model/list_instances_response.py +10 -10
- huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/list_message_trace_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_request.py +9 -9
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/product_entity.py +434 -0
- huaweicloudsdkrocketmq/v2/model/queue.py +15 -15
- huaweicloudsdkrocketmq/v2/model/quota_resource_entity.py +173 -0
- huaweicloudsdkrocketmq/v2/model/quotas_resp_quotas.py +115 -0
- huaweicloudsdkrocketmq/v2/model/resend_req.py +2 -4
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/restart_instance_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/restart_instance_response.py +174 -0
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_request.py +15 -15
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/show_instance_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +458 -168
- huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +15 -15
- huaweicloudsdkrocketmq/v2/model/show_quotas_request.py +84 -0
- huaweicloudsdkrocketmq/v2/model/show_quotas_response.py +112 -0
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_request.py +61 -1
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_response.py +91 -4
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/show_user_response.py +24 -24
- huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/topic.py +15 -15
- huaweicloudsdkrocketmq/v2/model/topic_brokers.py +9 -9
- huaweicloudsdkrocketmq/v2/model/update_user_request.py +6 -6
- huaweicloudsdkrocketmq/v2/model/update_user_response.py +24 -24
- huaweicloudsdkrocketmq/v2/model/user.py +24 -24
- huaweicloudsdkrocketmq/v2/model/user_group_perms.py +6 -6
- huaweicloudsdkrocketmq/v2/model/user_topic_perms.py +6 -6
- huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +9 -0
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +292 -0
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +292 -0
- {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/RECORD +69 -57
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +0 -1681
- {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/top_level.txt +0 -0
@@ -37,15 +37,15 @@ class ShowConsumerListOrDetailsRequest:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param instance_id: 实例ID。
|
40
|
+
:param instance_id: **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
41
41
|
:type instance_id: str
|
42
|
-
:param group: 消费组名称。
|
42
|
+
:param group: **参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
43
43
|
:type group: str
|
44
|
-
:param topic: 待查询的Topic,不指定时查询Topic列表,指定时查询详情。
|
44
|
+
:param topic: **参数解释**: 待查询的Topic,不指定时查询Topic列表,指定时查询详情。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
45
45
|
:type topic: str
|
46
|
-
:param limit:
|
46
|
+
:param limit: **参数解释**: 当次查询返回Topic的最大个数。 **约束限制**: 不涉及。 **取值范围**: 1~50。 **默认取值**: 10。
|
47
47
|
:type limit: int
|
48
|
-
:param offset:
|
48
|
+
:param offset: **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0。
|
49
49
|
:type offset: int
|
50
50
|
"""
|
51
51
|
|
@@ -71,7 +71,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
71
71
|
def instance_id(self):
|
72
72
|
r"""Gets the instance_id of this ShowConsumerListOrDetailsRequest.
|
73
73
|
|
74
|
-
实例ID。
|
74
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
75
75
|
|
76
76
|
:return: The instance_id of this ShowConsumerListOrDetailsRequest.
|
77
77
|
:rtype: str
|
@@ -82,7 +82,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
82
82
|
def instance_id(self, instance_id):
|
83
83
|
r"""Sets the instance_id of this ShowConsumerListOrDetailsRequest.
|
84
84
|
|
85
|
-
实例ID。
|
85
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
86
86
|
|
87
87
|
:param instance_id: The instance_id of this ShowConsumerListOrDetailsRequest.
|
88
88
|
:type instance_id: str
|
@@ -93,7 +93,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
93
93
|
def group(self):
|
94
94
|
r"""Gets the group of this ShowConsumerListOrDetailsRequest.
|
95
95
|
|
96
|
-
消费组名称。
|
96
|
+
**参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
97
97
|
|
98
98
|
:return: The group of this ShowConsumerListOrDetailsRequest.
|
99
99
|
:rtype: str
|
@@ -104,7 +104,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
104
104
|
def group(self, group):
|
105
105
|
r"""Sets the group of this ShowConsumerListOrDetailsRequest.
|
106
106
|
|
107
|
-
消费组名称。
|
107
|
+
**参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
108
108
|
|
109
109
|
:param group: The group of this ShowConsumerListOrDetailsRequest.
|
110
110
|
:type group: str
|
@@ -115,7 +115,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
115
115
|
def topic(self):
|
116
116
|
r"""Gets the topic of this ShowConsumerListOrDetailsRequest.
|
117
117
|
|
118
|
-
待查询的Topic,不指定时查询Topic列表,指定时查询详情。
|
118
|
+
**参数解释**: 待查询的Topic,不指定时查询Topic列表,指定时查询详情。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
119
119
|
|
120
120
|
:return: The topic of this ShowConsumerListOrDetailsRequest.
|
121
121
|
:rtype: str
|
@@ -126,7 +126,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
126
126
|
def topic(self, topic):
|
127
127
|
r"""Sets the topic of this ShowConsumerListOrDetailsRequest.
|
128
128
|
|
129
|
-
待查询的Topic,不指定时查询Topic列表,指定时查询详情。
|
129
|
+
**参数解释**: 待查询的Topic,不指定时查询Topic列表,指定时查询详情。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
130
130
|
|
131
131
|
:param topic: The topic of this ShowConsumerListOrDetailsRequest.
|
132
132
|
:type topic: str
|
@@ -137,7 +137,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
137
137
|
def limit(self):
|
138
138
|
r"""Gets the limit of this ShowConsumerListOrDetailsRequest.
|
139
139
|
|
140
|
-
|
140
|
+
**参数解释**: 当次查询返回Topic的最大个数。 **约束限制**: 不涉及。 **取值范围**: 1~50。 **默认取值**: 10。
|
141
141
|
|
142
142
|
:return: The limit of this ShowConsumerListOrDetailsRequest.
|
143
143
|
:rtype: int
|
@@ -148,7 +148,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
148
148
|
def limit(self, limit):
|
149
149
|
r"""Sets the limit of this ShowConsumerListOrDetailsRequest.
|
150
150
|
|
151
|
-
|
151
|
+
**参数解释**: 当次查询返回Topic的最大个数。 **约束限制**: 不涉及。 **取值范围**: 1~50。 **默认取值**: 10。
|
152
152
|
|
153
153
|
:param limit: The limit of this ShowConsumerListOrDetailsRequest.
|
154
154
|
:type limit: int
|
@@ -159,7 +159,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
159
159
|
def offset(self):
|
160
160
|
r"""Gets the offset of this ShowConsumerListOrDetailsRequest.
|
161
161
|
|
162
|
-
|
162
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0。
|
163
163
|
|
164
164
|
:return: The offset of this ShowConsumerListOrDetailsRequest.
|
165
165
|
:rtype: int
|
@@ -170,7 +170,7 @@ class ShowConsumerListOrDetailsRequest:
|
|
170
170
|
def offset(self, offset):
|
171
171
|
r"""Sets the offset of this ShowConsumerListOrDetailsRequest.
|
172
172
|
|
173
|
-
|
173
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0。
|
174
174
|
|
175
175
|
:param offset: The offset of this ShowConsumerListOrDetailsRequest.
|
176
176
|
:type offset: int
|
@@ -40,17 +40,17 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
40
40
|
|
41
41
|
The model defined in huaweicloud sdk
|
42
42
|
|
43
|
-
:param topics: Topic列表(当查询Topic消费“列表”时才显示此参数)。
|
43
|
+
:param topics: **参数解释**: Topic列表(当查询Topic消费“列表”时才显示此参数)。
|
44
44
|
:type topics: list[str]
|
45
|
-
:param total: Topic总数(当查询Topic消费“列表”时才显示此参数)。
|
45
|
+
:param total: **参数解释**: Topic总数(当查询Topic消费“列表”时才显示此参数)。 **取值范围**: 不涉及。
|
46
46
|
:type total: int
|
47
|
-
:param lag: 消费堆积总数。
|
47
|
+
:param lag: **参数解释**: 消费堆积总数。 **取值范围**: 不涉及。
|
48
48
|
:type lag: int
|
49
|
-
:param max_offset: 消息总数。
|
49
|
+
:param max_offset: **参数解释**: 消息总数。 **取值范围**: 不涉及。
|
50
50
|
:type max_offset: int
|
51
|
-
:param consumer_offset: 已消费消息数。
|
51
|
+
:param consumer_offset: **参数解释**: 已消费消息数。 **取值范围**: 不涉及。
|
52
52
|
:type consumer_offset: int
|
53
|
-
:param brokers: Topic关联代理(当查询Topic消费“详情”才显示此参数)。
|
53
|
+
:param brokers: **参数解释**: Topic关联代理(当查询Topic消费“详情”才显示此参数)。
|
54
54
|
:type brokers: list[:class:`huaweicloudsdkrocketmq.v2.Brokers`]
|
55
55
|
"""
|
56
56
|
|
@@ -81,7 +81,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
81
81
|
def topics(self):
|
82
82
|
r"""Gets the topics of this ShowConsumerListOrDetailsResponse.
|
83
83
|
|
84
|
-
Topic列表(当查询Topic消费“列表”时才显示此参数)。
|
84
|
+
**参数解释**: Topic列表(当查询Topic消费“列表”时才显示此参数)。
|
85
85
|
|
86
86
|
:return: The topics of this ShowConsumerListOrDetailsResponse.
|
87
87
|
:rtype: list[str]
|
@@ -92,7 +92,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
92
92
|
def topics(self, topics):
|
93
93
|
r"""Sets the topics of this ShowConsumerListOrDetailsResponse.
|
94
94
|
|
95
|
-
Topic列表(当查询Topic消费“列表”时才显示此参数)。
|
95
|
+
**参数解释**: Topic列表(当查询Topic消费“列表”时才显示此参数)。
|
96
96
|
|
97
97
|
:param topics: The topics of this ShowConsumerListOrDetailsResponse.
|
98
98
|
:type topics: list[str]
|
@@ -103,7 +103,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
103
103
|
def total(self):
|
104
104
|
r"""Gets the total of this ShowConsumerListOrDetailsResponse.
|
105
105
|
|
106
|
-
Topic总数(当查询Topic消费“列表”时才显示此参数)。
|
106
|
+
**参数解释**: Topic总数(当查询Topic消费“列表”时才显示此参数)。 **取值范围**: 不涉及。
|
107
107
|
|
108
108
|
:return: The total of this ShowConsumerListOrDetailsResponse.
|
109
109
|
:rtype: int
|
@@ -114,7 +114,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
114
114
|
def total(self, total):
|
115
115
|
r"""Sets the total of this ShowConsumerListOrDetailsResponse.
|
116
116
|
|
117
|
-
Topic总数(当查询Topic消费“列表”时才显示此参数)。
|
117
|
+
**参数解释**: Topic总数(当查询Topic消费“列表”时才显示此参数)。 **取值范围**: 不涉及。
|
118
118
|
|
119
119
|
:param total: The total of this ShowConsumerListOrDetailsResponse.
|
120
120
|
:type total: int
|
@@ -125,7 +125,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
125
125
|
def lag(self):
|
126
126
|
r"""Gets the lag of this ShowConsumerListOrDetailsResponse.
|
127
127
|
|
128
|
-
消费堆积总数。
|
128
|
+
**参数解释**: 消费堆积总数。 **取值范围**: 不涉及。
|
129
129
|
|
130
130
|
:return: The lag of this ShowConsumerListOrDetailsResponse.
|
131
131
|
:rtype: int
|
@@ -136,7 +136,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
136
136
|
def lag(self, lag):
|
137
137
|
r"""Sets the lag of this ShowConsumerListOrDetailsResponse.
|
138
138
|
|
139
|
-
消费堆积总数。
|
139
|
+
**参数解释**: 消费堆积总数。 **取值范围**: 不涉及。
|
140
140
|
|
141
141
|
:param lag: The lag of this ShowConsumerListOrDetailsResponse.
|
142
142
|
:type lag: int
|
@@ -147,7 +147,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
147
147
|
def max_offset(self):
|
148
148
|
r"""Gets the max_offset of this ShowConsumerListOrDetailsResponse.
|
149
149
|
|
150
|
-
消息总数。
|
150
|
+
**参数解释**: 消息总数。 **取值范围**: 不涉及。
|
151
151
|
|
152
152
|
:return: The max_offset of this ShowConsumerListOrDetailsResponse.
|
153
153
|
:rtype: int
|
@@ -158,7 +158,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
158
158
|
def max_offset(self, max_offset):
|
159
159
|
r"""Sets the max_offset of this ShowConsumerListOrDetailsResponse.
|
160
160
|
|
161
|
-
消息总数。
|
161
|
+
**参数解释**: 消息总数。 **取值范围**: 不涉及。
|
162
162
|
|
163
163
|
:param max_offset: The max_offset of this ShowConsumerListOrDetailsResponse.
|
164
164
|
:type max_offset: int
|
@@ -169,7 +169,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
169
169
|
def consumer_offset(self):
|
170
170
|
r"""Gets the consumer_offset of this ShowConsumerListOrDetailsResponse.
|
171
171
|
|
172
|
-
已消费消息数。
|
172
|
+
**参数解释**: 已消费消息数。 **取值范围**: 不涉及。
|
173
173
|
|
174
174
|
:return: The consumer_offset of this ShowConsumerListOrDetailsResponse.
|
175
175
|
:rtype: int
|
@@ -180,7 +180,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
180
180
|
def consumer_offset(self, consumer_offset):
|
181
181
|
r"""Sets the consumer_offset of this ShowConsumerListOrDetailsResponse.
|
182
182
|
|
183
|
-
已消费消息数。
|
183
|
+
**参数解释**: 已消费消息数。 **取值范围**: 不涉及。
|
184
184
|
|
185
185
|
:param consumer_offset: The consumer_offset of this ShowConsumerListOrDetailsResponse.
|
186
186
|
:type consumer_offset: int
|
@@ -191,7 +191,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
191
191
|
def brokers(self):
|
192
192
|
r"""Gets the brokers of this ShowConsumerListOrDetailsResponse.
|
193
193
|
|
194
|
-
Topic关联代理(当查询Topic消费“详情”才显示此参数)。
|
194
|
+
**参数解释**: Topic关联代理(当查询Topic消费“详情”才显示此参数)。
|
195
195
|
|
196
196
|
:return: The brokers of this ShowConsumerListOrDetailsResponse.
|
197
197
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.Brokers`]
|
@@ -202,7 +202,7 @@ class ShowConsumerListOrDetailsResponse(SdkResponse):
|
|
202
202
|
def brokers(self, brokers):
|
203
203
|
r"""Sets the brokers of this ShowConsumerListOrDetailsResponse.
|
204
204
|
|
205
|
-
Topic关联代理(当查询Topic消费“详情”才显示此参数)。
|
205
|
+
**参数解释**: Topic关联代理(当查询Topic消费“详情”才显示此参数)。
|
206
206
|
|
207
207
|
:param brokers: The brokers of this ShowConsumerListOrDetailsResponse.
|
208
208
|
:type brokers: list[:class:`huaweicloudsdkrocketmq.v2.Brokers`]
|
@@ -19,16 +19,20 @@ class ShowEngineInstanceExtendProductInfoRequest:
|
|
19
19
|
openapi_types = {
|
20
20
|
'engine': 'str',
|
21
21
|
'instance_id': 'str',
|
22
|
-
'type': 'str'
|
22
|
+
'type': 'str',
|
23
|
+
'limit': 'int',
|
24
|
+
'offset': 'int'
|
23
25
|
}
|
24
26
|
|
25
27
|
attribute_map = {
|
26
28
|
'engine': 'engine',
|
27
29
|
'instance_id': 'instance_id',
|
28
|
-
'type': 'type'
|
30
|
+
'type': 'type',
|
31
|
+
'limit': 'limit',
|
32
|
+
'offset': 'offset'
|
29
33
|
}
|
30
34
|
|
31
|
-
def __init__(self, engine=None, instance_id=None, type=None):
|
35
|
+
def __init__(self, engine=None, instance_id=None, type=None, limit=None, offset=None):
|
32
36
|
r"""ShowEngineInstanceExtendProductInfoRequest
|
33
37
|
|
34
38
|
The model defined in huaweicloud sdk
|
@@ -39,6 +43,10 @@ class ShowEngineInstanceExtendProductInfoRequest:
|
|
39
43
|
:type instance_id: str
|
40
44
|
:param type: 产品的类型。 advanced:专享版。
|
41
45
|
:type type: str
|
46
|
+
:param limit: 查询数量。
|
47
|
+
:type limit: int
|
48
|
+
:param offset: 偏移量,表示从此偏移量开始查询,offset大于等于0。
|
49
|
+
:type offset: int
|
42
50
|
"""
|
43
51
|
|
44
52
|
|
@@ -46,12 +54,18 @@ class ShowEngineInstanceExtendProductInfoRequest:
|
|
46
54
|
self._engine = None
|
47
55
|
self._instance_id = None
|
48
56
|
self._type = None
|
57
|
+
self._limit = None
|
58
|
+
self._offset = None
|
49
59
|
self.discriminator = None
|
50
60
|
|
51
61
|
self.engine = engine
|
52
62
|
self.instance_id = instance_id
|
53
63
|
if type is not None:
|
54
64
|
self.type = type
|
65
|
+
if limit is not None:
|
66
|
+
self.limit = limit
|
67
|
+
if offset is not None:
|
68
|
+
self.offset = offset
|
55
69
|
|
56
70
|
@property
|
57
71
|
def engine(self):
|
@@ -119,6 +133,50 @@ class ShowEngineInstanceExtendProductInfoRequest:
|
|
119
133
|
"""
|
120
134
|
self._type = type
|
121
135
|
|
136
|
+
@property
|
137
|
+
def limit(self):
|
138
|
+
r"""Gets the limit of this ShowEngineInstanceExtendProductInfoRequest.
|
139
|
+
|
140
|
+
查询数量。
|
141
|
+
|
142
|
+
:return: The limit of this ShowEngineInstanceExtendProductInfoRequest.
|
143
|
+
:rtype: int
|
144
|
+
"""
|
145
|
+
return self._limit
|
146
|
+
|
147
|
+
@limit.setter
|
148
|
+
def limit(self, limit):
|
149
|
+
r"""Sets the limit of this ShowEngineInstanceExtendProductInfoRequest.
|
150
|
+
|
151
|
+
查询数量。
|
152
|
+
|
153
|
+
:param limit: The limit of this ShowEngineInstanceExtendProductInfoRequest.
|
154
|
+
:type limit: int
|
155
|
+
"""
|
156
|
+
self._limit = limit
|
157
|
+
|
158
|
+
@property
|
159
|
+
def offset(self):
|
160
|
+
r"""Gets the offset of this ShowEngineInstanceExtendProductInfoRequest.
|
161
|
+
|
162
|
+
偏移量,表示从此偏移量开始查询,offset大于等于0。
|
163
|
+
|
164
|
+
:return: The offset of this ShowEngineInstanceExtendProductInfoRequest.
|
165
|
+
:rtype: int
|
166
|
+
"""
|
167
|
+
return self._offset
|
168
|
+
|
169
|
+
@offset.setter
|
170
|
+
def offset(self, offset):
|
171
|
+
r"""Sets the offset of this ShowEngineInstanceExtendProductInfoRequest.
|
172
|
+
|
173
|
+
偏移量,表示从此偏移量开始查询,offset大于等于0。
|
174
|
+
|
175
|
+
:param offset: The offset of this ShowEngineInstanceExtendProductInfoRequest.
|
176
|
+
:type offset: int
|
177
|
+
"""
|
178
|
+
self._offset = offset
|
179
|
+
|
122
180
|
def to_dict(self):
|
123
181
|
"""Returns the model properties as a dict"""
|
124
182
|
result = {}
|
@@ -18,22 +18,34 @@ class ShowEngineInstanceExtendProductInfoResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
+
'total': 'float',
|
22
|
+
'next_offset': 'int',
|
23
|
+
'previous_offset': 'int',
|
21
24
|
'engine': 'str',
|
22
25
|
'versions': 'list[str]',
|
23
26
|
'products': 'list[RocketMQExtendProductInfoEntity]'
|
24
27
|
}
|
25
28
|
|
26
29
|
attribute_map = {
|
30
|
+
'total': 'total',
|
31
|
+
'next_offset': 'next_offset',
|
32
|
+
'previous_offset': 'previous_offset',
|
27
33
|
'engine': 'engine',
|
28
34
|
'versions': 'versions',
|
29
35
|
'products': 'products'
|
30
36
|
}
|
31
37
|
|
32
|
-
def __init__(self, engine=None, versions=None, products=None):
|
38
|
+
def __init__(self, total=None, next_offset=None, previous_offset=None, engine=None, versions=None, products=None):
|
33
39
|
r"""ShowEngineInstanceExtendProductInfoResponse
|
34
40
|
|
35
41
|
The model defined in huaweicloud sdk
|
36
42
|
|
43
|
+
:param total: 总数。
|
44
|
+
:type total: float
|
45
|
+
:param next_offset: 下个分页的offset。
|
46
|
+
:type next_offset: int
|
47
|
+
:param previous_offset: 上个分页的offset。
|
48
|
+
:type previous_offset: int
|
37
49
|
:param engine: 消息引擎类型。
|
38
50
|
:type engine: str
|
39
51
|
:param versions: 消息引擎支持的版本。
|
@@ -44,11 +56,20 @@ class ShowEngineInstanceExtendProductInfoResponse(SdkResponse):
|
|
44
56
|
|
45
57
|
super(ShowEngineInstanceExtendProductInfoResponse, self).__init__()
|
46
58
|
|
59
|
+
self._total = None
|
60
|
+
self._next_offset = None
|
61
|
+
self._previous_offset = None
|
47
62
|
self._engine = None
|
48
63
|
self._versions = None
|
49
64
|
self._products = None
|
50
65
|
self.discriminator = None
|
51
66
|
|
67
|
+
if total is not None:
|
68
|
+
self.total = total
|
69
|
+
if next_offset is not None:
|
70
|
+
self.next_offset = next_offset
|
71
|
+
if previous_offset is not None:
|
72
|
+
self.previous_offset = previous_offset
|
52
73
|
if engine is not None:
|
53
74
|
self.engine = engine
|
54
75
|
if versions is not None:
|
@@ -56,6 +77,72 @@ class ShowEngineInstanceExtendProductInfoResponse(SdkResponse):
|
|
56
77
|
if products is not None:
|
57
78
|
self.products = products
|
58
79
|
|
80
|
+
@property
|
81
|
+
def total(self):
|
82
|
+
r"""Gets the total of this ShowEngineInstanceExtendProductInfoResponse.
|
83
|
+
|
84
|
+
总数。
|
85
|
+
|
86
|
+
:return: The total of this ShowEngineInstanceExtendProductInfoResponse.
|
87
|
+
:rtype: float
|
88
|
+
"""
|
89
|
+
return self._total
|
90
|
+
|
91
|
+
@total.setter
|
92
|
+
def total(self, total):
|
93
|
+
r"""Sets the total of this ShowEngineInstanceExtendProductInfoResponse.
|
94
|
+
|
95
|
+
总数。
|
96
|
+
|
97
|
+
:param total: The total of this ShowEngineInstanceExtendProductInfoResponse.
|
98
|
+
:type total: float
|
99
|
+
"""
|
100
|
+
self._total = total
|
101
|
+
|
102
|
+
@property
|
103
|
+
def next_offset(self):
|
104
|
+
r"""Gets the next_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
105
|
+
|
106
|
+
下个分页的offset。
|
107
|
+
|
108
|
+
:return: The next_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
109
|
+
:rtype: int
|
110
|
+
"""
|
111
|
+
return self._next_offset
|
112
|
+
|
113
|
+
@next_offset.setter
|
114
|
+
def next_offset(self, next_offset):
|
115
|
+
r"""Sets the next_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
116
|
+
|
117
|
+
下个分页的offset。
|
118
|
+
|
119
|
+
:param next_offset: The next_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
120
|
+
:type next_offset: int
|
121
|
+
"""
|
122
|
+
self._next_offset = next_offset
|
123
|
+
|
124
|
+
@property
|
125
|
+
def previous_offset(self):
|
126
|
+
r"""Gets the previous_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
127
|
+
|
128
|
+
上个分页的offset。
|
129
|
+
|
130
|
+
:return: The previous_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
131
|
+
:rtype: int
|
132
|
+
"""
|
133
|
+
return self._previous_offset
|
134
|
+
|
135
|
+
@previous_offset.setter
|
136
|
+
def previous_offset(self, previous_offset):
|
137
|
+
r"""Sets the previous_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
138
|
+
|
139
|
+
上个分页的offset。
|
140
|
+
|
141
|
+
:param previous_offset: The previous_offset of this ShowEngineInstanceExtendProductInfoResponse.
|
142
|
+
:type previous_offset: int
|
143
|
+
"""
|
144
|
+
self._previous_offset = previous_offset
|
145
|
+
|
59
146
|
@property
|
60
147
|
def engine(self):
|
61
148
|
r"""Gets the engine of this ShowEngineInstanceExtendProductInfoResponse.
|
@@ -29,7 +29,7 @@ class ShowInstanceRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param instance_id: 实例ID。
|
32
|
+
:param instance_id: **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
33
33
|
:type instance_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ShowInstanceRequest:
|
|
44
44
|
def instance_id(self):
|
45
45
|
r"""Gets the instance_id of this ShowInstanceRequest.
|
46
46
|
|
47
|
-
实例ID。
|
47
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
48
48
|
|
49
49
|
:return: The instance_id of this ShowInstanceRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowInstanceRequest:
|
|
55
55
|
def instance_id(self, instance_id):
|
56
56
|
r"""Sets the instance_id of this ShowInstanceRequest.
|
57
57
|
|
58
|
-
实例ID。
|
58
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
59
59
|
|
60
60
|
:param instance_id: The instance_id of this ShowInstanceRequest.
|
61
61
|
:type instance_id: str
|