huaweicloudsdkrocketmq 3.1.146__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.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/RECORD +69 -57
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +0 -1681
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,261 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListEngineProductsResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'total': 'float',
|
22
|
+
'next_offset': 'int',
|
23
|
+
'previous_offset': 'int',
|
24
|
+
'engine': 'str',
|
25
|
+
'versions': 'list[str]',
|
26
|
+
'products': 'list[ProductEntity]'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'total': 'total',
|
31
|
+
'next_offset': 'next_offset',
|
32
|
+
'previous_offset': 'previous_offset',
|
33
|
+
'engine': 'engine',
|
34
|
+
'versions': 'versions',
|
35
|
+
'products': 'products'
|
36
|
+
}
|
37
|
+
|
38
|
+
def __init__(self, total=None, next_offset=None, previous_offset=None, engine=None, versions=None, products=None):
|
39
|
+
r"""ListEngineProductsResponse
|
40
|
+
|
41
|
+
The model defined in huaweicloud sdk
|
42
|
+
|
43
|
+
:param total: **参数解释**: 总数。 **取值范围**: 大于等于0。
|
44
|
+
:type total: float
|
45
|
+
:param next_offset: **参数解释**: 下个分页的offset。 **取值范围**: 大于等于0。
|
46
|
+
:type next_offset: int
|
47
|
+
:param previous_offset: **参数解释**: 上个分页的offset。 **取值范围**: 大于等于0。
|
48
|
+
:type previous_offset: int
|
49
|
+
:param engine: **参数解释**: 引擎类型。 **取值范围**: 不涉及。
|
50
|
+
:type engine: str
|
51
|
+
:param versions: **参数解释**: 支持的版本。
|
52
|
+
:type versions: list[str]
|
53
|
+
:param products: **参数解释**: 产品详情列表。
|
54
|
+
:type products: list[:class:`huaweicloudsdkrocketmq.v2.ProductEntity`]
|
55
|
+
"""
|
56
|
+
|
57
|
+
super(ListEngineProductsResponse, self).__init__()
|
58
|
+
|
59
|
+
self._total = None
|
60
|
+
self._next_offset = None
|
61
|
+
self._previous_offset = None
|
62
|
+
self._engine = None
|
63
|
+
self._versions = None
|
64
|
+
self._products = None
|
65
|
+
self.discriminator = None
|
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
|
73
|
+
if engine is not None:
|
74
|
+
self.engine = engine
|
75
|
+
if versions is not None:
|
76
|
+
self.versions = versions
|
77
|
+
if products is not None:
|
78
|
+
self.products = products
|
79
|
+
|
80
|
+
@property
|
81
|
+
def total(self):
|
82
|
+
r"""Gets the total of this ListEngineProductsResponse.
|
83
|
+
|
84
|
+
**参数解释**: 总数。 **取值范围**: 大于等于0。
|
85
|
+
|
86
|
+
:return: The total of this ListEngineProductsResponse.
|
87
|
+
:rtype: float
|
88
|
+
"""
|
89
|
+
return self._total
|
90
|
+
|
91
|
+
@total.setter
|
92
|
+
def total(self, total):
|
93
|
+
r"""Sets the total of this ListEngineProductsResponse.
|
94
|
+
|
95
|
+
**参数解释**: 总数。 **取值范围**: 大于等于0。
|
96
|
+
|
97
|
+
:param total: The total of this ListEngineProductsResponse.
|
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 ListEngineProductsResponse.
|
105
|
+
|
106
|
+
**参数解释**: 下个分页的offset。 **取值范围**: 大于等于0。
|
107
|
+
|
108
|
+
:return: The next_offset of this ListEngineProductsResponse.
|
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 ListEngineProductsResponse.
|
116
|
+
|
117
|
+
**参数解释**: 下个分页的offset。 **取值范围**: 大于等于0。
|
118
|
+
|
119
|
+
:param next_offset: The next_offset of this ListEngineProductsResponse.
|
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 ListEngineProductsResponse.
|
127
|
+
|
128
|
+
**参数解释**: 上个分页的offset。 **取值范围**: 大于等于0。
|
129
|
+
|
130
|
+
:return: The previous_offset of this ListEngineProductsResponse.
|
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 ListEngineProductsResponse.
|
138
|
+
|
139
|
+
**参数解释**: 上个分页的offset。 **取值范围**: 大于等于0。
|
140
|
+
|
141
|
+
:param previous_offset: The previous_offset of this ListEngineProductsResponse.
|
142
|
+
:type previous_offset: int
|
143
|
+
"""
|
144
|
+
self._previous_offset = previous_offset
|
145
|
+
|
146
|
+
@property
|
147
|
+
def engine(self):
|
148
|
+
r"""Gets the engine of this ListEngineProductsResponse.
|
149
|
+
|
150
|
+
**参数解释**: 引擎类型。 **取值范围**: 不涉及。
|
151
|
+
|
152
|
+
:return: The engine of this ListEngineProductsResponse.
|
153
|
+
:rtype: str
|
154
|
+
"""
|
155
|
+
return self._engine
|
156
|
+
|
157
|
+
@engine.setter
|
158
|
+
def engine(self, engine):
|
159
|
+
r"""Sets the engine of this ListEngineProductsResponse.
|
160
|
+
|
161
|
+
**参数解释**: 引擎类型。 **取值范围**: 不涉及。
|
162
|
+
|
163
|
+
:param engine: The engine of this ListEngineProductsResponse.
|
164
|
+
:type engine: str
|
165
|
+
"""
|
166
|
+
self._engine = engine
|
167
|
+
|
168
|
+
@property
|
169
|
+
def versions(self):
|
170
|
+
r"""Gets the versions of this ListEngineProductsResponse.
|
171
|
+
|
172
|
+
**参数解释**: 支持的版本。
|
173
|
+
|
174
|
+
:return: The versions of this ListEngineProductsResponse.
|
175
|
+
:rtype: list[str]
|
176
|
+
"""
|
177
|
+
return self._versions
|
178
|
+
|
179
|
+
@versions.setter
|
180
|
+
def versions(self, versions):
|
181
|
+
r"""Sets the versions of this ListEngineProductsResponse.
|
182
|
+
|
183
|
+
**参数解释**: 支持的版本。
|
184
|
+
|
185
|
+
:param versions: The versions of this ListEngineProductsResponse.
|
186
|
+
:type versions: list[str]
|
187
|
+
"""
|
188
|
+
self._versions = versions
|
189
|
+
|
190
|
+
@property
|
191
|
+
def products(self):
|
192
|
+
r"""Gets the products of this ListEngineProductsResponse.
|
193
|
+
|
194
|
+
**参数解释**: 产品详情列表。
|
195
|
+
|
196
|
+
:return: The products of this ListEngineProductsResponse.
|
197
|
+
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.ProductEntity`]
|
198
|
+
"""
|
199
|
+
return self._products
|
200
|
+
|
201
|
+
@products.setter
|
202
|
+
def products(self, products):
|
203
|
+
r"""Sets the products of this ListEngineProductsResponse.
|
204
|
+
|
205
|
+
**参数解释**: 产品详情列表。
|
206
|
+
|
207
|
+
:param products: The products of this ListEngineProductsResponse.
|
208
|
+
:type products: list[:class:`huaweicloudsdkrocketmq.v2.ProductEntity`]
|
209
|
+
"""
|
210
|
+
self._products = products
|
211
|
+
|
212
|
+
def to_dict(self):
|
213
|
+
"""Returns the model properties as a dict"""
|
214
|
+
result = {}
|
215
|
+
|
216
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
217
|
+
value = getattr(self, attr)
|
218
|
+
if isinstance(value, list):
|
219
|
+
result[attr] = list(map(
|
220
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
221
|
+
value
|
222
|
+
))
|
223
|
+
elif hasattr(value, "to_dict"):
|
224
|
+
result[attr] = value.to_dict()
|
225
|
+
elif isinstance(value, dict):
|
226
|
+
result[attr] = dict(map(
|
227
|
+
lambda item: (item[0], item[1].to_dict())
|
228
|
+
if hasattr(item[1], "to_dict") else item,
|
229
|
+
value.items()
|
230
|
+
))
|
231
|
+
else:
|
232
|
+
if attr in self.sensitive_list:
|
233
|
+
result[attr] = "****"
|
234
|
+
else:
|
235
|
+
result[attr] = value
|
236
|
+
|
237
|
+
return result
|
238
|
+
|
239
|
+
def to_str(self):
|
240
|
+
"""Returns the string representation of the model"""
|
241
|
+
import simplejson as json
|
242
|
+
if six.PY2:
|
243
|
+
import sys
|
244
|
+
reload(sys)
|
245
|
+
sys.setdefaultencoding("utf-8")
|
246
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
247
|
+
|
248
|
+
def __repr__(self):
|
249
|
+
"""For `print`"""
|
250
|
+
return self.to_str()
|
251
|
+
|
252
|
+
def __eq__(self, other):
|
253
|
+
"""Returns true if both objects are equal"""
|
254
|
+
if not isinstance(other, ListEngineProductsResponse):
|
255
|
+
return False
|
256
|
+
|
257
|
+
return self.__dict__ == other.__dict__
|
258
|
+
|
259
|
+
def __ne__(self, other):
|
260
|
+
"""Returns true if both objects are not equal"""
|
261
|
+
return not self == other
|
@@ -35,13 +35,13 @@ class ListInstanceConsumerGroupsRequest:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param instance_id: 实例ID。
|
38
|
+
:param instance_id: **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
39
39
|
:type instance_id: str
|
40
|
-
:param group: 消费组名称。
|
40
|
+
:param group: **参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
41
41
|
:type group: str
|
42
|
-
:param limit: 查询数量。
|
42
|
+
:param limit: **参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
|
43
43
|
:type limit: int
|
44
|
-
:param offset:
|
44
|
+
:param offset: **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0。
|
45
45
|
:type offset: int
|
46
46
|
"""
|
47
47
|
|
@@ -65,7 +65,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
65
65
|
def instance_id(self):
|
66
66
|
r"""Gets the instance_id of this ListInstanceConsumerGroupsRequest.
|
67
67
|
|
68
|
-
实例ID。
|
68
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
69
69
|
|
70
70
|
:return: The instance_id of this ListInstanceConsumerGroupsRequest.
|
71
71
|
:rtype: str
|
@@ -76,7 +76,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
76
76
|
def instance_id(self, instance_id):
|
77
77
|
r"""Sets the instance_id of this ListInstanceConsumerGroupsRequest.
|
78
78
|
|
79
|
-
实例ID。
|
79
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
80
80
|
|
81
81
|
:param instance_id: The instance_id of this ListInstanceConsumerGroupsRequest.
|
82
82
|
:type instance_id: str
|
@@ -87,7 +87,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
87
87
|
def group(self):
|
88
88
|
r"""Gets the group of this ListInstanceConsumerGroupsRequest.
|
89
89
|
|
90
|
-
消费组名称。
|
90
|
+
**参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
91
91
|
|
92
92
|
:return: The group of this ListInstanceConsumerGroupsRequest.
|
93
93
|
:rtype: str
|
@@ -98,7 +98,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
98
98
|
def group(self, group):
|
99
99
|
r"""Sets the group of this ListInstanceConsumerGroupsRequest.
|
100
100
|
|
101
|
-
消费组名称。
|
101
|
+
**参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
102
102
|
|
103
103
|
:param group: The group of this ListInstanceConsumerGroupsRequest.
|
104
104
|
:type group: str
|
@@ -109,7 +109,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
109
109
|
def limit(self):
|
110
110
|
r"""Gets the limit of this ListInstanceConsumerGroupsRequest.
|
111
111
|
|
112
|
-
查询数量。
|
112
|
+
**参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
|
113
113
|
|
114
114
|
:return: The limit of this ListInstanceConsumerGroupsRequest.
|
115
115
|
:rtype: int
|
@@ -120,7 +120,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
120
120
|
def limit(self, limit):
|
121
121
|
r"""Sets the limit of this ListInstanceConsumerGroupsRequest.
|
122
122
|
|
123
|
-
查询数量。
|
123
|
+
**参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
|
124
124
|
|
125
125
|
:param limit: The limit of this ListInstanceConsumerGroupsRequest.
|
126
126
|
:type limit: int
|
@@ -131,7 +131,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
131
131
|
def offset(self):
|
132
132
|
r"""Gets the offset of this ListInstanceConsumerGroupsRequest.
|
133
133
|
|
134
|
-
|
134
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0。
|
135
135
|
|
136
136
|
:return: The offset of this ListInstanceConsumerGroupsRequest.
|
137
137
|
:rtype: int
|
@@ -142,7 +142,7 @@ class ListInstanceConsumerGroupsRequest:
|
|
142
142
|
def offset(self, offset):
|
143
143
|
r"""Sets the offset of this ListInstanceConsumerGroupsRequest.
|
144
144
|
|
145
|
-
|
145
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 0。
|
146
146
|
|
147
147
|
:param offset: The offset of this ListInstanceConsumerGroupsRequest.
|
148
148
|
:type offset: int
|
@@ -40,17 +40,17 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
40
40
|
|
41
41
|
The model defined in huaweicloud sdk
|
42
42
|
|
43
|
-
:param total: 消费组总数。
|
43
|
+
:param total: **参数解释**: 消费组总数。 **取值范围**: 不涉及。
|
44
44
|
:type total: float
|
45
|
-
:param groups: 消费组列表。
|
45
|
+
:param groups: **参数解释**: 消费组列表。
|
46
46
|
:type groups: list[:class:`huaweicloudsdkrocketmq.v2.ConsumerGroup`]
|
47
|
-
:param max: 最大可创建消费组数量。
|
47
|
+
:param max: **参数解释**: 最大可创建消费组数量。 **取值范围**: 不涉及。
|
48
48
|
:type max: int
|
49
|
-
:param remaining: 剩余可创建消费组数量。
|
49
|
+
:param remaining: **参数解释**: 剩余可创建消费组数量。 **取值范围**: 不涉及。
|
50
50
|
:type remaining: int
|
51
|
-
:param next_offset: 下个分页的offset。
|
51
|
+
:param next_offset: **参数解释**: 下个分页的offset。 **取值范围**: 不涉及。
|
52
52
|
:type next_offset: int
|
53
|
-
:param previous_offset: 上个分页的offset。
|
53
|
+
:param previous_offset: **参数解释**: 上个分页的offset。 **取值范围**: 不涉及。
|
54
54
|
:type previous_offset: int
|
55
55
|
"""
|
56
56
|
|
@@ -81,7 +81,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
81
81
|
def total(self):
|
82
82
|
r"""Gets the total of this ListInstanceConsumerGroupsResponse.
|
83
83
|
|
84
|
-
消费组总数。
|
84
|
+
**参数解释**: 消费组总数。 **取值范围**: 不涉及。
|
85
85
|
|
86
86
|
:return: The total of this ListInstanceConsumerGroupsResponse.
|
87
87
|
:rtype: float
|
@@ -92,7 +92,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
92
92
|
def total(self, total):
|
93
93
|
r"""Sets the total of this ListInstanceConsumerGroupsResponse.
|
94
94
|
|
95
|
-
消费组总数。
|
95
|
+
**参数解释**: 消费组总数。 **取值范围**: 不涉及。
|
96
96
|
|
97
97
|
:param total: The total of this ListInstanceConsumerGroupsResponse.
|
98
98
|
:type total: float
|
@@ -103,7 +103,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
103
103
|
def groups(self):
|
104
104
|
r"""Gets the groups of this ListInstanceConsumerGroupsResponse.
|
105
105
|
|
106
|
-
消费组列表。
|
106
|
+
**参数解释**: 消费组列表。
|
107
107
|
|
108
108
|
:return: The groups of this ListInstanceConsumerGroupsResponse.
|
109
109
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.ConsumerGroup`]
|
@@ -114,7 +114,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
114
114
|
def groups(self, groups):
|
115
115
|
r"""Sets the groups of this ListInstanceConsumerGroupsResponse.
|
116
116
|
|
117
|
-
消费组列表。
|
117
|
+
**参数解释**: 消费组列表。
|
118
118
|
|
119
119
|
:param groups: The groups of this ListInstanceConsumerGroupsResponse.
|
120
120
|
:type groups: list[:class:`huaweicloudsdkrocketmq.v2.ConsumerGroup`]
|
@@ -125,7 +125,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
125
125
|
def max(self):
|
126
126
|
r"""Gets the max of this ListInstanceConsumerGroupsResponse.
|
127
127
|
|
128
|
-
最大可创建消费组数量。
|
128
|
+
**参数解释**: 最大可创建消费组数量。 **取值范围**: 不涉及。
|
129
129
|
|
130
130
|
:return: The max of this ListInstanceConsumerGroupsResponse.
|
131
131
|
:rtype: int
|
@@ -136,7 +136,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
136
136
|
def max(self, max):
|
137
137
|
r"""Sets the max of this ListInstanceConsumerGroupsResponse.
|
138
138
|
|
139
|
-
最大可创建消费组数量。
|
139
|
+
**参数解释**: 最大可创建消费组数量。 **取值范围**: 不涉及。
|
140
140
|
|
141
141
|
:param max: The max of this ListInstanceConsumerGroupsResponse.
|
142
142
|
:type max: int
|
@@ -147,7 +147,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
147
147
|
def remaining(self):
|
148
148
|
r"""Gets the remaining of this ListInstanceConsumerGroupsResponse.
|
149
149
|
|
150
|
-
剩余可创建消费组数量。
|
150
|
+
**参数解释**: 剩余可创建消费组数量。 **取值范围**: 不涉及。
|
151
151
|
|
152
152
|
:return: The remaining of this ListInstanceConsumerGroupsResponse.
|
153
153
|
:rtype: int
|
@@ -158,7 +158,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
158
158
|
def remaining(self, remaining):
|
159
159
|
r"""Sets the remaining of this ListInstanceConsumerGroupsResponse.
|
160
160
|
|
161
|
-
剩余可创建消费组数量。
|
161
|
+
**参数解释**: 剩余可创建消费组数量。 **取值范围**: 不涉及。
|
162
162
|
|
163
163
|
:param remaining: The remaining of this ListInstanceConsumerGroupsResponse.
|
164
164
|
:type remaining: int
|
@@ -169,7 +169,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
169
169
|
def next_offset(self):
|
170
170
|
r"""Gets the next_offset of this ListInstanceConsumerGroupsResponse.
|
171
171
|
|
172
|
-
下个分页的offset。
|
172
|
+
**参数解释**: 下个分页的offset。 **取值范围**: 不涉及。
|
173
173
|
|
174
174
|
:return: The next_offset of this ListInstanceConsumerGroupsResponse.
|
175
175
|
:rtype: int
|
@@ -180,7 +180,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
180
180
|
def next_offset(self, next_offset):
|
181
181
|
r"""Sets the next_offset of this ListInstanceConsumerGroupsResponse.
|
182
182
|
|
183
|
-
下个分页的offset。
|
183
|
+
**参数解释**: 下个分页的offset。 **取值范围**: 不涉及。
|
184
184
|
|
185
185
|
:param next_offset: The next_offset of this ListInstanceConsumerGroupsResponse.
|
186
186
|
:type next_offset: int
|
@@ -191,7 +191,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
191
191
|
def previous_offset(self):
|
192
192
|
r"""Gets the previous_offset of this ListInstanceConsumerGroupsResponse.
|
193
193
|
|
194
|
-
上个分页的offset。
|
194
|
+
**参数解释**: 上个分页的offset。 **取值范围**: 不涉及。
|
195
195
|
|
196
196
|
:return: The previous_offset of this ListInstanceConsumerGroupsResponse.
|
197
197
|
:rtype: int
|
@@ -202,7 +202,7 @@ class ListInstanceConsumerGroupsResponse(SdkResponse):
|
|
202
202
|
def previous_offset(self, previous_offset):
|
203
203
|
r"""Sets the previous_offset of this ListInstanceConsumerGroupsResponse.
|
204
204
|
|
205
|
-
上个分页的offset。
|
205
|
+
**参数解释**: 上个分页的offset。 **取值范围**: 不涉及。
|
206
206
|
|
207
207
|
:param previous_offset: The previous_offset of this ListInstanceConsumerGroupsResponse.
|
208
208
|
:type previous_offset: int
|
@@ -45,23 +45,23 @@ class ListInstancesRequest:
|
|
45
45
|
|
46
46
|
The model defined in huaweicloud sdk
|
47
47
|
|
48
|
-
:param engine:
|
48
|
+
:param engine: **参数解释**: 消息引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
49
49
|
:type engine: str
|
50
|
-
:param name: 实例名称。
|
50
|
+
:param name: **参数解释**: 实例名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
51
51
|
:type name: str
|
52
|
-
:param instance_id: 实例ID。
|
52
|
+
:param instance_id: **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例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,sbc,hk_sbc,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs,fcs)
|
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,fcs) **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
55
55
|
:type status: str
|
56
|
-
:param include_failure: 是否返回创建失败的实例数。
|
56
|
+
:param include_failure: **参数解释**: 是否返回创建失败的实例数。 **约束限制**: 不涉及。 **取值范围**: - 'true':返回创建失败的实例数。 - 'false':不返回创建失败的实例数。 **默认取值**: 不涉及。
|
57
57
|
:type include_failure: str
|
58
|
-
:param exact_match_name: 是否按照实例名称进行精确匹配查询。
|
58
|
+
:param exact_match_name: **参数解释**: 是否按照实例名称进行精确匹配查询。 **约束限制**: 不涉及。 **取值范围**: - 'true':表示按照实例名称进行精确匹配查询。 - 'false':表示模糊匹配实例名称查询。 **默认取值**: 'false'。
|
59
59
|
:type exact_match_name: str
|
60
|
-
:param enterprise_project_id: 企业项目ID。
|
60
|
+
:param enterprise_project_id: **参数解释**: 企业项目ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
61
61
|
:type enterprise_project_id: str
|
62
|
-
:param limit:
|
62
|
+
:param limit: **参数解释**: 当次查询返回的实例最大个数。 **约束限制**: 不涉及。 **取值范围**: 1~50。 **默认取值**: 10。
|
63
63
|
:type limit: int
|
64
|
-
:param offset:
|
64
|
+
:param offset: **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
|
65
65
|
:type offset: int
|
66
66
|
"""
|
67
67
|
|
@@ -100,7 +100,7 @@ class ListInstancesRequest:
|
|
100
100
|
def engine(self):
|
101
101
|
r"""Gets the engine of this ListInstancesRequest.
|
102
102
|
|
103
|
-
|
103
|
+
**参数解释**: 消息引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
104
104
|
|
105
105
|
:return: The engine of this ListInstancesRequest.
|
106
106
|
:rtype: str
|
@@ -111,7 +111,7 @@ class ListInstancesRequest:
|
|
111
111
|
def engine(self, engine):
|
112
112
|
r"""Sets the engine of this ListInstancesRequest.
|
113
113
|
|
114
|
-
|
114
|
+
**参数解释**: 消息引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
115
115
|
|
116
116
|
:param engine: The engine of this ListInstancesRequest.
|
117
117
|
:type engine: str
|
@@ -122,7 +122,7 @@ class ListInstancesRequest:
|
|
122
122
|
def name(self):
|
123
123
|
r"""Gets the name of this ListInstancesRequest.
|
124
124
|
|
125
|
-
实例名称。
|
125
|
+
**参数解释**: 实例名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
126
126
|
|
127
127
|
:return: The name of this ListInstancesRequest.
|
128
128
|
:rtype: str
|
@@ -133,7 +133,7 @@ class ListInstancesRequest:
|
|
133
133
|
def name(self, name):
|
134
134
|
r"""Sets the name of this ListInstancesRequest.
|
135
135
|
|
136
|
-
实例名称。
|
136
|
+
**参数解释**: 实例名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
137
137
|
|
138
138
|
:param name: The name of this ListInstancesRequest.
|
139
139
|
:type name: str
|
@@ -144,7 +144,7 @@ class ListInstancesRequest:
|
|
144
144
|
def instance_id(self):
|
145
145
|
r"""Gets the instance_id of this ListInstancesRequest.
|
146
146
|
|
147
|
-
实例ID。
|
147
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
148
148
|
|
149
149
|
:return: The instance_id of this ListInstancesRequest.
|
150
150
|
:rtype: str
|
@@ -155,7 +155,7 @@ class ListInstancesRequest:
|
|
155
155
|
def instance_id(self, instance_id):
|
156
156
|
r"""Sets the instance_id of this ListInstancesRequest.
|
157
157
|
|
158
|
-
实例ID。
|
158
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
159
159
|
|
160
160
|
:param instance_id: The instance_id of this ListInstancesRequest.
|
161
161
|
:type instance_id: str
|
@@ -166,7 +166,7 @@ class ListInstancesRequest:
|
|
166
166
|
def status(self):
|
167
167
|
r"""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,sbc,hk_sbc,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs,fcs)
|
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,fcs) **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
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
|
r"""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,sbc,hk_sbc,cmcc,hk_tm)[详细状态说明请参考[实例状态说明](kafka-api-180514012.xml)。](tag:hcs,fcs)
|
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,fcs) **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
181
181
|
|
182
182
|
:param status: The status of this ListInstancesRequest.
|
183
183
|
:type status: str
|
@@ -188,7 +188,7 @@ class ListInstancesRequest:
|
|
188
188
|
def include_failure(self):
|
189
189
|
r"""Gets the include_failure of this ListInstancesRequest.
|
190
190
|
|
191
|
-
是否返回创建失败的实例数。
|
191
|
+
**参数解释**: 是否返回创建失败的实例数。 **约束限制**: 不涉及。 **取值范围**: - 'true':返回创建失败的实例数。 - 'false':不返回创建失败的实例数。 **默认取值**: 不涉及。
|
192
192
|
|
193
193
|
:return: The include_failure of this ListInstancesRequest.
|
194
194
|
:rtype: str
|
@@ -199,7 +199,7 @@ class ListInstancesRequest:
|
|
199
199
|
def include_failure(self, include_failure):
|
200
200
|
r"""Sets the include_failure of this ListInstancesRequest.
|
201
201
|
|
202
|
-
是否返回创建失败的实例数。
|
202
|
+
**参数解释**: 是否返回创建失败的实例数。 **约束限制**: 不涉及。 **取值范围**: - 'true':返回创建失败的实例数。 - 'false':不返回创建失败的实例数。 **默认取值**: 不涉及。
|
203
203
|
|
204
204
|
:param include_failure: The include_failure of this ListInstancesRequest.
|
205
205
|
:type include_failure: str
|
@@ -210,7 +210,7 @@ class ListInstancesRequest:
|
|
210
210
|
def exact_match_name(self):
|
211
211
|
r"""Gets the exact_match_name of this ListInstancesRequest.
|
212
212
|
|
213
|
-
是否按照实例名称进行精确匹配查询。
|
213
|
+
**参数解释**: 是否按照实例名称进行精确匹配查询。 **约束限制**: 不涉及。 **取值范围**: - 'true':表示按照实例名称进行精确匹配查询。 - 'false':表示模糊匹配实例名称查询。 **默认取值**: 'false'。
|
214
214
|
|
215
215
|
:return: The exact_match_name of this ListInstancesRequest.
|
216
216
|
:rtype: str
|
@@ -221,7 +221,7 @@ class ListInstancesRequest:
|
|
221
221
|
def exact_match_name(self, exact_match_name):
|
222
222
|
r"""Sets the exact_match_name of this ListInstancesRequest.
|
223
223
|
|
224
|
-
是否按照实例名称进行精确匹配查询。
|
224
|
+
**参数解释**: 是否按照实例名称进行精确匹配查询。 **约束限制**: 不涉及。 **取值范围**: - 'true':表示按照实例名称进行精确匹配查询。 - 'false':表示模糊匹配实例名称查询。 **默认取值**: 'false'。
|
225
225
|
|
226
226
|
:param exact_match_name: The exact_match_name of this ListInstancesRequest.
|
227
227
|
:type exact_match_name: str
|
@@ -232,7 +232,7 @@ class ListInstancesRequest:
|
|
232
232
|
def enterprise_project_id(self):
|
233
233
|
r"""Gets the enterprise_project_id of this ListInstancesRequest.
|
234
234
|
|
235
|
-
企业项目ID。
|
235
|
+
**参数解释**: 企业项目ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
236
236
|
|
237
237
|
:return: The enterprise_project_id of this ListInstancesRequest.
|
238
238
|
:rtype: str
|
@@ -243,7 +243,7 @@ class ListInstancesRequest:
|
|
243
243
|
def enterprise_project_id(self, enterprise_project_id):
|
244
244
|
r"""Sets the enterprise_project_id of this ListInstancesRequest.
|
245
245
|
|
246
|
-
企业项目ID。
|
246
|
+
**参数解释**: 企业项目ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
247
247
|
|
248
248
|
:param enterprise_project_id: The enterprise_project_id of this ListInstancesRequest.
|
249
249
|
:type enterprise_project_id: str
|
@@ -254,7 +254,7 @@ class ListInstancesRequest:
|
|
254
254
|
def limit(self):
|
255
255
|
r"""Gets the limit of this ListInstancesRequest.
|
256
256
|
|
257
|
-
|
257
|
+
**参数解释**: 当次查询返回的实例最大个数。 **约束限制**: 不涉及。 **取值范围**: 1~50。 **默认取值**: 10。
|
258
258
|
|
259
259
|
:return: The limit of this ListInstancesRequest.
|
260
260
|
:rtype: int
|
@@ -265,7 +265,7 @@ class ListInstancesRequest:
|
|
265
265
|
def limit(self, limit):
|
266
266
|
r"""Sets the limit of this ListInstancesRequest.
|
267
267
|
|
268
|
-
|
268
|
+
**参数解释**: 当次查询返回的实例最大个数。 **约束限制**: 不涉及。 **取值范围**: 1~50。 **默认取值**: 10。
|
269
269
|
|
270
270
|
:param limit: The limit of this ListInstancesRequest.
|
271
271
|
:type limit: int
|
@@ -276,7 +276,7 @@ class ListInstancesRequest:
|
|
276
276
|
def offset(self):
|
277
277
|
r"""Gets the offset of this ListInstancesRequest.
|
278
278
|
|
279
|
-
|
279
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
|
280
280
|
|
281
281
|
:return: The offset of this ListInstancesRequest.
|
282
282
|
:rtype: int
|
@@ -287,7 +287,7 @@ class ListInstancesRequest:
|
|
287
287
|
def offset(self, offset):
|
288
288
|
r"""Sets the offset of this ListInstancesRequest.
|
289
289
|
|
290
|
-
|
290
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
|
291
291
|
|
292
292
|
:param offset: The offset of this ListInstancesRequest.
|
293
293
|
:type offset: int
|