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
@@ -18,35 +18,122 @@ class ShowRocketmqProjectTagsResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
+
'total': 'float',
|
22
|
+
'next_offset': 'int',
|
23
|
+
'previous_offset': 'int',
|
21
24
|
'tags': 'list[TagMultyValueEntity]'
|
22
25
|
}
|
23
26
|
|
24
27
|
attribute_map = {
|
28
|
+
'total': 'total',
|
29
|
+
'next_offset': 'next_offset',
|
30
|
+
'previous_offset': 'previous_offset',
|
25
31
|
'tags': 'tags'
|
26
32
|
}
|
27
33
|
|
28
|
-
def __init__(self, tags=None):
|
34
|
+
def __init__(self, total=None, next_offset=None, previous_offset=None, tags=None):
|
29
35
|
r"""ShowRocketmqProjectTagsResponse
|
30
36
|
|
31
37
|
The model defined in huaweicloud sdk
|
32
38
|
|
33
|
-
:param
|
39
|
+
:param total: **参数解释**: 总数。 **取值范围**: 不涉及。
|
40
|
+
:type total: float
|
41
|
+
:param next_offset: **参数解释**: 下个分页的offset。 **取值范围**: 不涉及。
|
42
|
+
:type next_offset: int
|
43
|
+
:param previous_offset: **参数解释**: 上个分页的offset。 **取值范围**: 不涉及。
|
44
|
+
:type previous_offset: int
|
45
|
+
:param tags: **参数解释**: 标签列表。
|
34
46
|
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagMultyValueEntity`]
|
35
47
|
"""
|
36
48
|
|
37
49
|
super(ShowRocketmqProjectTagsResponse, self).__init__()
|
38
50
|
|
51
|
+
self._total = None
|
52
|
+
self._next_offset = None
|
53
|
+
self._previous_offset = None
|
39
54
|
self._tags = None
|
40
55
|
self.discriminator = None
|
41
56
|
|
57
|
+
if total is not None:
|
58
|
+
self.total = total
|
59
|
+
if next_offset is not None:
|
60
|
+
self.next_offset = next_offset
|
61
|
+
if previous_offset is not None:
|
62
|
+
self.previous_offset = previous_offset
|
42
63
|
if tags is not None:
|
43
64
|
self.tags = tags
|
44
65
|
|
66
|
+
@property
|
67
|
+
def total(self):
|
68
|
+
r"""Gets the total of this ShowRocketmqProjectTagsResponse.
|
69
|
+
|
70
|
+
**参数解释**: 总数。 **取值范围**: 不涉及。
|
71
|
+
|
72
|
+
:return: The total of this ShowRocketmqProjectTagsResponse.
|
73
|
+
:rtype: float
|
74
|
+
"""
|
75
|
+
return self._total
|
76
|
+
|
77
|
+
@total.setter
|
78
|
+
def total(self, total):
|
79
|
+
r"""Sets the total of this ShowRocketmqProjectTagsResponse.
|
80
|
+
|
81
|
+
**参数解释**: 总数。 **取值范围**: 不涉及。
|
82
|
+
|
83
|
+
:param total: The total of this ShowRocketmqProjectTagsResponse.
|
84
|
+
:type total: float
|
85
|
+
"""
|
86
|
+
self._total = total
|
87
|
+
|
88
|
+
@property
|
89
|
+
def next_offset(self):
|
90
|
+
r"""Gets the next_offset of this ShowRocketmqProjectTagsResponse.
|
91
|
+
|
92
|
+
**参数解释**: 下个分页的offset。 **取值范围**: 不涉及。
|
93
|
+
|
94
|
+
:return: The next_offset of this ShowRocketmqProjectTagsResponse.
|
95
|
+
:rtype: int
|
96
|
+
"""
|
97
|
+
return self._next_offset
|
98
|
+
|
99
|
+
@next_offset.setter
|
100
|
+
def next_offset(self, next_offset):
|
101
|
+
r"""Sets the next_offset of this ShowRocketmqProjectTagsResponse.
|
102
|
+
|
103
|
+
**参数解释**: 下个分页的offset。 **取值范围**: 不涉及。
|
104
|
+
|
105
|
+
:param next_offset: The next_offset of this ShowRocketmqProjectTagsResponse.
|
106
|
+
:type next_offset: int
|
107
|
+
"""
|
108
|
+
self._next_offset = next_offset
|
109
|
+
|
110
|
+
@property
|
111
|
+
def previous_offset(self):
|
112
|
+
r"""Gets the previous_offset of this ShowRocketmqProjectTagsResponse.
|
113
|
+
|
114
|
+
**参数解释**: 上个分页的offset。 **取值范围**: 不涉及。
|
115
|
+
|
116
|
+
:return: The previous_offset of this ShowRocketmqProjectTagsResponse.
|
117
|
+
:rtype: int
|
118
|
+
"""
|
119
|
+
return self._previous_offset
|
120
|
+
|
121
|
+
@previous_offset.setter
|
122
|
+
def previous_offset(self, previous_offset):
|
123
|
+
r"""Sets the previous_offset of this ShowRocketmqProjectTagsResponse.
|
124
|
+
|
125
|
+
**参数解释**: 上个分页的offset。 **取值范围**: 不涉及。
|
126
|
+
|
127
|
+
:param previous_offset: The previous_offset of this ShowRocketmqProjectTagsResponse.
|
128
|
+
:type previous_offset: int
|
129
|
+
"""
|
130
|
+
self._previous_offset = previous_offset
|
131
|
+
|
45
132
|
@property
|
46
133
|
def tags(self):
|
47
134
|
r"""Gets the tags of this ShowRocketmqProjectTagsResponse.
|
48
135
|
|
49
|
-
|
136
|
+
**参数解释**: 标签列表。
|
50
137
|
|
51
138
|
:return: The tags of this ShowRocketmqProjectTagsResponse.
|
52
139
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.TagMultyValueEntity`]
|
@@ -57,7 +144,7 @@ class ShowRocketmqProjectTagsResponse(SdkResponse):
|
|
57
144
|
def tags(self, tags):
|
58
145
|
r"""Sets the tags of this ShowRocketmqProjectTagsResponse.
|
59
146
|
|
60
|
-
|
147
|
+
**参数解释**: 标签列表。
|
61
148
|
|
62
149
|
:param tags: The tags of this ShowRocketmqProjectTagsResponse.
|
63
150
|
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagMultyValueEntity`]
|
@@ -17,28 +17,42 @@ class ShowRocketmqTagsRequest:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'instance_id': 'str'
|
20
|
+
'instance_id': 'str',
|
21
|
+
'limit': 'int',
|
22
|
+
'offset': 'int'
|
21
23
|
}
|
22
24
|
|
23
25
|
attribute_map = {
|
24
|
-
'instance_id': 'instance_id'
|
26
|
+
'instance_id': 'instance_id',
|
27
|
+
'limit': 'limit',
|
28
|
+
'offset': 'offset'
|
25
29
|
}
|
26
30
|
|
27
|
-
def __init__(self, instance_id=None):
|
31
|
+
def __init__(self, instance_id=None, limit=None, offset=None):
|
28
32
|
r"""ShowRocketmqTagsRequest
|
29
33
|
|
30
34
|
The model defined in huaweicloud sdk
|
31
35
|
|
32
36
|
:param instance_id: 实例ID。
|
33
37
|
:type instance_id: str
|
38
|
+
:param limit: 查询数量。
|
39
|
+
:type limit: int
|
40
|
+
:param offset: 偏移量,表示从此偏移量开始查询,offset大于等于0。
|
41
|
+
:type offset: int
|
34
42
|
"""
|
35
43
|
|
36
44
|
|
37
45
|
|
38
46
|
self._instance_id = None
|
47
|
+
self._limit = None
|
48
|
+
self._offset = None
|
39
49
|
self.discriminator = None
|
40
50
|
|
41
51
|
self.instance_id = instance_id
|
52
|
+
if limit is not None:
|
53
|
+
self.limit = limit
|
54
|
+
if offset is not None:
|
55
|
+
self.offset = offset
|
42
56
|
|
43
57
|
@property
|
44
58
|
def instance_id(self):
|
@@ -62,6 +76,50 @@ class ShowRocketmqTagsRequest:
|
|
62
76
|
"""
|
63
77
|
self._instance_id = instance_id
|
64
78
|
|
79
|
+
@property
|
80
|
+
def limit(self):
|
81
|
+
r"""Gets the limit of this ShowRocketmqTagsRequest.
|
82
|
+
|
83
|
+
查询数量。
|
84
|
+
|
85
|
+
:return: The limit of this ShowRocketmqTagsRequest.
|
86
|
+
:rtype: int
|
87
|
+
"""
|
88
|
+
return self._limit
|
89
|
+
|
90
|
+
@limit.setter
|
91
|
+
def limit(self, limit):
|
92
|
+
r"""Sets the limit of this ShowRocketmqTagsRequest.
|
93
|
+
|
94
|
+
查询数量。
|
95
|
+
|
96
|
+
:param limit: The limit of this ShowRocketmqTagsRequest.
|
97
|
+
:type limit: int
|
98
|
+
"""
|
99
|
+
self._limit = limit
|
100
|
+
|
101
|
+
@property
|
102
|
+
def offset(self):
|
103
|
+
r"""Gets the offset of this ShowRocketmqTagsRequest.
|
104
|
+
|
105
|
+
偏移量,表示从此偏移量开始查询,offset大于等于0。
|
106
|
+
|
107
|
+
:return: The offset of this ShowRocketmqTagsRequest.
|
108
|
+
:rtype: int
|
109
|
+
"""
|
110
|
+
return self._offset
|
111
|
+
|
112
|
+
@offset.setter
|
113
|
+
def offset(self, offset):
|
114
|
+
r"""Sets the offset of this ShowRocketmqTagsRequest.
|
115
|
+
|
116
|
+
偏移量,表示从此偏移量开始查询,offset大于等于0。
|
117
|
+
|
118
|
+
:param offset: The offset of this ShowRocketmqTagsRequest.
|
119
|
+
:type offset: int
|
120
|
+
"""
|
121
|
+
self._offset = offset
|
122
|
+
|
65
123
|
def to_dict(self):
|
66
124
|
"""Returns the model properties as a dict"""
|
67
125
|
result = {}
|
@@ -18,30 +18,117 @@ class ShowRocketmqTagsResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
+
'total': 'float',
|
22
|
+
'next_offset': 'int',
|
23
|
+
'previous_offset': 'int',
|
21
24
|
'tags': 'list[TagEntity]'
|
22
25
|
}
|
23
26
|
|
24
27
|
attribute_map = {
|
28
|
+
'total': 'total',
|
29
|
+
'next_offset': 'next_offset',
|
30
|
+
'previous_offset': 'previous_offset',
|
25
31
|
'tags': 'tags'
|
26
32
|
}
|
27
33
|
|
28
|
-
def __init__(self, tags=None):
|
34
|
+
def __init__(self, total=None, next_offset=None, previous_offset=None, tags=None):
|
29
35
|
r"""ShowRocketmqTagsResponse
|
30
36
|
|
31
37
|
The model defined in huaweicloud sdk
|
32
38
|
|
39
|
+
:param total: 总数。
|
40
|
+
:type total: float
|
41
|
+
:param next_offset: 下个分页的offset。
|
42
|
+
:type next_offset: int
|
43
|
+
:param previous_offset: 上个分页的offset。
|
44
|
+
:type previous_offset: int
|
33
45
|
:param tags: 标签列表
|
34
46
|
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
|
35
47
|
"""
|
36
48
|
|
37
49
|
super(ShowRocketmqTagsResponse, self).__init__()
|
38
50
|
|
51
|
+
self._total = None
|
52
|
+
self._next_offset = None
|
53
|
+
self._previous_offset = None
|
39
54
|
self._tags = None
|
40
55
|
self.discriminator = None
|
41
56
|
|
57
|
+
if total is not None:
|
58
|
+
self.total = total
|
59
|
+
if next_offset is not None:
|
60
|
+
self.next_offset = next_offset
|
61
|
+
if previous_offset is not None:
|
62
|
+
self.previous_offset = previous_offset
|
42
63
|
if tags is not None:
|
43
64
|
self.tags = tags
|
44
65
|
|
66
|
+
@property
|
67
|
+
def total(self):
|
68
|
+
r"""Gets the total of this ShowRocketmqTagsResponse.
|
69
|
+
|
70
|
+
总数。
|
71
|
+
|
72
|
+
:return: The total of this ShowRocketmqTagsResponse.
|
73
|
+
:rtype: float
|
74
|
+
"""
|
75
|
+
return self._total
|
76
|
+
|
77
|
+
@total.setter
|
78
|
+
def total(self, total):
|
79
|
+
r"""Sets the total of this ShowRocketmqTagsResponse.
|
80
|
+
|
81
|
+
总数。
|
82
|
+
|
83
|
+
:param total: The total of this ShowRocketmqTagsResponse.
|
84
|
+
:type total: float
|
85
|
+
"""
|
86
|
+
self._total = total
|
87
|
+
|
88
|
+
@property
|
89
|
+
def next_offset(self):
|
90
|
+
r"""Gets the next_offset of this ShowRocketmqTagsResponse.
|
91
|
+
|
92
|
+
下个分页的offset。
|
93
|
+
|
94
|
+
:return: The next_offset of this ShowRocketmqTagsResponse.
|
95
|
+
:rtype: int
|
96
|
+
"""
|
97
|
+
return self._next_offset
|
98
|
+
|
99
|
+
@next_offset.setter
|
100
|
+
def next_offset(self, next_offset):
|
101
|
+
r"""Sets the next_offset of this ShowRocketmqTagsResponse.
|
102
|
+
|
103
|
+
下个分页的offset。
|
104
|
+
|
105
|
+
:param next_offset: The next_offset of this ShowRocketmqTagsResponse.
|
106
|
+
:type next_offset: int
|
107
|
+
"""
|
108
|
+
self._next_offset = next_offset
|
109
|
+
|
110
|
+
@property
|
111
|
+
def previous_offset(self):
|
112
|
+
r"""Gets the previous_offset of this ShowRocketmqTagsResponse.
|
113
|
+
|
114
|
+
上个分页的offset。
|
115
|
+
|
116
|
+
:return: The previous_offset of this ShowRocketmqTagsResponse.
|
117
|
+
:rtype: int
|
118
|
+
"""
|
119
|
+
return self._previous_offset
|
120
|
+
|
121
|
+
@previous_offset.setter
|
122
|
+
def previous_offset(self, previous_offset):
|
123
|
+
r"""Sets the previous_offset of this ShowRocketmqTagsResponse.
|
124
|
+
|
125
|
+
上个分页的offset。
|
126
|
+
|
127
|
+
:param previous_offset: The previous_offset of this ShowRocketmqTagsResponse.
|
128
|
+
:type previous_offset: int
|
129
|
+
"""
|
130
|
+
self._previous_offset = previous_offset
|
131
|
+
|
45
132
|
@property
|
46
133
|
def tags(self):
|
47
134
|
r"""Gets the tags of this ShowRocketmqTagsResponse.
|
@@ -44,21 +44,21 @@ class ShowUserResponse(SdkResponse):
|
|
44
44
|
|
45
45
|
The model defined in huaweicloud sdk
|
46
46
|
|
47
|
-
:param access_key:
|
47
|
+
:param access_key: **参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
48
48
|
:type access_key: str
|
49
|
-
:param secret_key: 密钥。 8-32个字符。 至少包含以下字符中的3种:
|
49
|
+
:param secret_key: **参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
50
50
|
:type secret_key: str
|
51
|
-
:param white_remote_address: IP白名单。
|
51
|
+
:param white_remote_address: **参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
52
52
|
:type white_remote_address: str
|
53
|
-
:param admin: 是否为管理员。
|
53
|
+
:param admin: **参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
54
54
|
:type admin: bool
|
55
|
-
:param default_topic_perm: 默认的主题权限。
|
55
|
+
:param default_topic_perm: **参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
56
56
|
:type default_topic_perm: str
|
57
|
-
:param default_group_perm: 默认的消费组权限。
|
57
|
+
:param default_group_perm: **参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
58
58
|
:type default_group_perm: str
|
59
|
-
:param topic_perms: 特殊的主题权限。
|
59
|
+
:param topic_perms: **参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
60
60
|
:type topic_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
61
|
-
:param group_perms: 特殊的消费组权限。
|
61
|
+
:param group_perms: **参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
62
62
|
:type group_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
63
63
|
"""
|
64
64
|
|
@@ -95,7 +95,7 @@ class ShowUserResponse(SdkResponse):
|
|
95
95
|
def access_key(self):
|
96
96
|
r"""Gets the access_key of this ShowUserResponse.
|
97
97
|
|
98
|
-
|
98
|
+
**参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
99
99
|
|
100
100
|
:return: The access_key of this ShowUserResponse.
|
101
101
|
:rtype: str
|
@@ -106,7 +106,7 @@ class ShowUserResponse(SdkResponse):
|
|
106
106
|
def access_key(self, access_key):
|
107
107
|
r"""Sets the access_key of this ShowUserResponse.
|
108
108
|
|
109
|
-
|
109
|
+
**参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
110
110
|
|
111
111
|
:param access_key: The access_key of this ShowUserResponse.
|
112
112
|
:type access_key: str
|
@@ -117,7 +117,7 @@ class ShowUserResponse(SdkResponse):
|
|
117
117
|
def secret_key(self):
|
118
118
|
r"""Gets the secret_key of this ShowUserResponse.
|
119
119
|
|
120
|
-
密钥。 8-32个字符。 至少包含以下字符中的3种:
|
120
|
+
**参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
121
121
|
|
122
122
|
:return: The secret_key of this ShowUserResponse.
|
123
123
|
:rtype: str
|
@@ -128,7 +128,7 @@ class ShowUserResponse(SdkResponse):
|
|
128
128
|
def secret_key(self, secret_key):
|
129
129
|
r"""Sets the secret_key of this ShowUserResponse.
|
130
130
|
|
131
|
-
密钥。 8-32个字符。 至少包含以下字符中的3种:
|
131
|
+
**参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
132
132
|
|
133
133
|
:param secret_key: The secret_key of this ShowUserResponse.
|
134
134
|
:type secret_key: str
|
@@ -139,7 +139,7 @@ class ShowUserResponse(SdkResponse):
|
|
139
139
|
def white_remote_address(self):
|
140
140
|
r"""Gets the white_remote_address of this ShowUserResponse.
|
141
141
|
|
142
|
-
IP白名单。
|
142
|
+
**参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
143
143
|
|
144
144
|
:return: The white_remote_address of this ShowUserResponse.
|
145
145
|
:rtype: str
|
@@ -150,7 +150,7 @@ class ShowUserResponse(SdkResponse):
|
|
150
150
|
def white_remote_address(self, white_remote_address):
|
151
151
|
r"""Sets the white_remote_address of this ShowUserResponse.
|
152
152
|
|
153
|
-
IP白名单。
|
153
|
+
**参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
154
154
|
|
155
155
|
:param white_remote_address: The white_remote_address of this ShowUserResponse.
|
156
156
|
:type white_remote_address: str
|
@@ -161,7 +161,7 @@ class ShowUserResponse(SdkResponse):
|
|
161
161
|
def admin(self):
|
162
162
|
r"""Gets the admin of this ShowUserResponse.
|
163
163
|
|
164
|
-
是否为管理员。
|
164
|
+
**参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
165
165
|
|
166
166
|
:return: The admin of this ShowUserResponse.
|
167
167
|
:rtype: bool
|
@@ -172,7 +172,7 @@ class ShowUserResponse(SdkResponse):
|
|
172
172
|
def admin(self, admin):
|
173
173
|
r"""Sets the admin of this ShowUserResponse.
|
174
174
|
|
175
|
-
是否为管理员。
|
175
|
+
**参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
176
176
|
|
177
177
|
:param admin: The admin of this ShowUserResponse.
|
178
178
|
:type admin: bool
|
@@ -183,7 +183,7 @@ class ShowUserResponse(SdkResponse):
|
|
183
183
|
def default_topic_perm(self):
|
184
184
|
r"""Gets the default_topic_perm of this ShowUserResponse.
|
185
185
|
|
186
|
-
默认的主题权限。
|
186
|
+
**参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
187
187
|
|
188
188
|
:return: The default_topic_perm of this ShowUserResponse.
|
189
189
|
:rtype: str
|
@@ -194,7 +194,7 @@ class ShowUserResponse(SdkResponse):
|
|
194
194
|
def default_topic_perm(self, default_topic_perm):
|
195
195
|
r"""Sets the default_topic_perm of this ShowUserResponse.
|
196
196
|
|
197
|
-
默认的主题权限。
|
197
|
+
**参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
198
198
|
|
199
199
|
:param default_topic_perm: The default_topic_perm of this ShowUserResponse.
|
200
200
|
:type default_topic_perm: str
|
@@ -205,7 +205,7 @@ class ShowUserResponse(SdkResponse):
|
|
205
205
|
def default_group_perm(self):
|
206
206
|
r"""Gets the default_group_perm of this ShowUserResponse.
|
207
207
|
|
208
|
-
默认的消费组权限。
|
208
|
+
**参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
209
209
|
|
210
210
|
:return: The default_group_perm of this ShowUserResponse.
|
211
211
|
:rtype: str
|
@@ -216,7 +216,7 @@ class ShowUserResponse(SdkResponse):
|
|
216
216
|
def default_group_perm(self, default_group_perm):
|
217
217
|
r"""Sets the default_group_perm of this ShowUserResponse.
|
218
218
|
|
219
|
-
默认的消费组权限。
|
219
|
+
**参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
220
220
|
|
221
221
|
:param default_group_perm: The default_group_perm of this ShowUserResponse.
|
222
222
|
:type default_group_perm: str
|
@@ -227,7 +227,7 @@ class ShowUserResponse(SdkResponse):
|
|
227
227
|
def topic_perms(self):
|
228
228
|
r"""Gets the topic_perms of this ShowUserResponse.
|
229
229
|
|
230
|
-
特殊的主题权限。
|
230
|
+
**参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
231
231
|
|
232
232
|
:return: The topic_perms of this ShowUserResponse.
|
233
233
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
@@ -238,7 +238,7 @@ class ShowUserResponse(SdkResponse):
|
|
238
238
|
def topic_perms(self, topic_perms):
|
239
239
|
r"""Sets the topic_perms of this ShowUserResponse.
|
240
240
|
|
241
|
-
特殊的主题权限。
|
241
|
+
**参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
242
242
|
|
243
243
|
:param topic_perms: The topic_perms of this ShowUserResponse.
|
244
244
|
:type topic_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
@@ -249,7 +249,7 @@ class ShowUserResponse(SdkResponse):
|
|
249
249
|
def group_perms(self):
|
250
250
|
r"""Gets the group_perms of this ShowUserResponse.
|
251
251
|
|
252
|
-
特殊的消费组权限。
|
252
|
+
**参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
253
253
|
|
254
254
|
:return: The group_perms of this ShowUserResponse.
|
255
255
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
@@ -260,7 +260,7 @@ class ShowUserResponse(SdkResponse):
|
|
260
260
|
def group_perms(self, group_perms):
|
261
261
|
r"""Sets the group_perms of this ShowUserResponse.
|
262
262
|
|
263
|
-
特殊的消费组权限。
|
263
|
+
**参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
264
264
|
|
265
265
|
:param group_perms: The group_perms of this ShowUserResponse.
|
266
266
|
:type group_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
@@ -31,9 +31,9 @@ class TagMultyValueEntity:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key: 标签键。
|
34
|
+
:param key: **参数解释**: 标签键。 **取值范围**: 不涉及。
|
35
35
|
:type key: str
|
36
|
-
:param values: 标签值。
|
36
|
+
:param values: **参数解释**: 标签值。
|
37
37
|
:type values: list[str]
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class TagMultyValueEntity:
|
|
52
52
|
def key(self):
|
53
53
|
r"""Gets the key of this TagMultyValueEntity.
|
54
54
|
|
55
|
-
标签键。
|
55
|
+
**参数解释**: 标签键。 **取值范围**: 不涉及。
|
56
56
|
|
57
57
|
:return: The key of this TagMultyValueEntity.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class TagMultyValueEntity:
|
|
63
63
|
def key(self, key):
|
64
64
|
r"""Sets the key of this TagMultyValueEntity.
|
65
65
|
|
66
|
-
标签键。
|
66
|
+
**参数解释**: 标签键。 **取值范围**: 不涉及。
|
67
67
|
|
68
68
|
:param key: The key of this TagMultyValueEntity.
|
69
69
|
:type key: str
|
@@ -74,7 +74,7 @@ class TagMultyValueEntity:
|
|
74
74
|
def values(self):
|
75
75
|
r"""Gets the values of this TagMultyValueEntity.
|
76
76
|
|
77
|
-
标签值。
|
77
|
+
**参数解释**: 标签值。
|
78
78
|
|
79
79
|
:return: The values of this TagMultyValueEntity.
|
80
80
|
:rtype: list[str]
|
@@ -85,7 +85,7 @@ class TagMultyValueEntity:
|
|
85
85
|
def values(self, values):
|
86
86
|
r"""Sets the values of this TagMultyValueEntity.
|
87
87
|
|
88
|
-
标签值。
|
88
|
+
**参数解释**: 标签值。
|
89
89
|
|
90
90
|
:param values: The values of this TagMultyValueEntity.
|
91
91
|
:type values: list[str]
|
@@ -39,17 +39,17 @@ class Topic:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param name: Topic名称。
|
42
|
+
:param name: **参数解释**: Topic名称。 **取值范围**: 不涉及。
|
43
43
|
:type name: str
|
44
|
-
:param total_read_queue_num: 总读队列个数。
|
44
|
+
:param total_read_queue_num: **参数解释**: 总读队列个数。 **取值范围**: 不涉及。
|
45
45
|
:type total_read_queue_num: float
|
46
|
-
:param total_write_queue_num: 总写队列个数。
|
46
|
+
:param total_write_queue_num: **参数解释**: 总写队列个数。 **取值范围**: 不涉及。
|
47
47
|
:type total_write_queue_num: float
|
48
|
-
:param permission: 权限。
|
48
|
+
:param permission: **参数解释**: 权限。 **取值范围**: - sub:拥有订阅权限。 - pub:拥有发布权限。 - all:拥有发布、订阅权限。
|
49
49
|
:type permission: str
|
50
50
|
:param brokers: 关联的代理。
|
51
51
|
:type brokers: list[:class:`huaweicloudsdkrocketmq.v2.TopicBrokers`]
|
52
|
-
:param message_type: 消息类型(RocketMQ实例5.x版本才包含此参数)。
|
52
|
+
:param message_type: **参数解释**: 消息类型(RocketMQ实例5.x版本才包含此参数)。 **取值范围**: - NORMAL:普通消息。 - FIFO:顺序消息。 - DELAY:定时消息。 - TRANSACTION:事务消息。
|
53
53
|
:type message_type: str
|
54
54
|
"""
|
55
55
|
|
@@ -80,7 +80,7 @@ class Topic:
|
|
80
80
|
def name(self):
|
81
81
|
r"""Gets the name of this Topic.
|
82
82
|
|
83
|
-
Topic名称。
|
83
|
+
**参数解释**: Topic名称。 **取值范围**: 不涉及。
|
84
84
|
|
85
85
|
:return: The name of this Topic.
|
86
86
|
:rtype: str
|
@@ -91,7 +91,7 @@ class Topic:
|
|
91
91
|
def name(self, name):
|
92
92
|
r"""Sets the name of this Topic.
|
93
93
|
|
94
|
-
Topic名称。
|
94
|
+
**参数解释**: Topic名称。 **取值范围**: 不涉及。
|
95
95
|
|
96
96
|
:param name: The name of this Topic.
|
97
97
|
:type name: str
|
@@ -102,7 +102,7 @@ class Topic:
|
|
102
102
|
def total_read_queue_num(self):
|
103
103
|
r"""Gets the total_read_queue_num of this Topic.
|
104
104
|
|
105
|
-
总读队列个数。
|
105
|
+
**参数解释**: 总读队列个数。 **取值范围**: 不涉及。
|
106
106
|
|
107
107
|
:return: The total_read_queue_num of this Topic.
|
108
108
|
:rtype: float
|
@@ -113,7 +113,7 @@ class Topic:
|
|
113
113
|
def total_read_queue_num(self, total_read_queue_num):
|
114
114
|
r"""Sets the total_read_queue_num of this Topic.
|
115
115
|
|
116
|
-
总读队列个数。
|
116
|
+
**参数解释**: 总读队列个数。 **取值范围**: 不涉及。
|
117
117
|
|
118
118
|
:param total_read_queue_num: The total_read_queue_num of this Topic.
|
119
119
|
:type total_read_queue_num: float
|
@@ -124,7 +124,7 @@ class Topic:
|
|
124
124
|
def total_write_queue_num(self):
|
125
125
|
r"""Gets the total_write_queue_num of this Topic.
|
126
126
|
|
127
|
-
总写队列个数。
|
127
|
+
**参数解释**: 总写队列个数。 **取值范围**: 不涉及。
|
128
128
|
|
129
129
|
:return: The total_write_queue_num of this Topic.
|
130
130
|
:rtype: float
|
@@ -135,7 +135,7 @@ class Topic:
|
|
135
135
|
def total_write_queue_num(self, total_write_queue_num):
|
136
136
|
r"""Sets the total_write_queue_num of this Topic.
|
137
137
|
|
138
|
-
总写队列个数。
|
138
|
+
**参数解释**: 总写队列个数。 **取值范围**: 不涉及。
|
139
139
|
|
140
140
|
:param total_write_queue_num: The total_write_queue_num of this Topic.
|
141
141
|
:type total_write_queue_num: float
|
@@ -146,7 +146,7 @@ class Topic:
|
|
146
146
|
def permission(self):
|
147
147
|
r"""Gets the permission of this Topic.
|
148
148
|
|
149
|
-
权限。
|
149
|
+
**参数解释**: 权限。 **取值范围**: - sub:拥有订阅权限。 - pub:拥有发布权限。 - all:拥有发布、订阅权限。
|
150
150
|
|
151
151
|
:return: The permission of this Topic.
|
152
152
|
:rtype: str
|
@@ -157,7 +157,7 @@ class Topic:
|
|
157
157
|
def permission(self, permission):
|
158
158
|
r"""Sets the permission of this Topic.
|
159
159
|
|
160
|
-
权限。
|
160
|
+
**参数解释**: 权限。 **取值范围**: - sub:拥有订阅权限。 - pub:拥有发布权限。 - all:拥有发布、订阅权限。
|
161
161
|
|
162
162
|
:param permission: The permission of this Topic.
|
163
163
|
:type permission: str
|
@@ -190,7 +190,7 @@ class Topic:
|
|
190
190
|
def message_type(self):
|
191
191
|
r"""Gets the message_type of this Topic.
|
192
192
|
|
193
|
-
消息类型(RocketMQ实例5.x版本才包含此参数)。
|
193
|
+
**参数解释**: 消息类型(RocketMQ实例5.x版本才包含此参数)。 **取值范围**: - NORMAL:普通消息。 - FIFO:顺序消息。 - DELAY:定时消息。 - TRANSACTION:事务消息。
|
194
194
|
|
195
195
|
:return: The message_type of this Topic.
|
196
196
|
:rtype: str
|
@@ -201,7 +201,7 @@ class Topic:
|
|
201
201
|
def message_type(self, message_type):
|
202
202
|
r"""Sets the message_type of this Topic.
|
203
203
|
|
204
|
-
消息类型(RocketMQ实例5.x版本才包含此参数)。
|
204
|
+
**参数解释**: 消息类型(RocketMQ实例5.x版本才包含此参数)。 **取值范围**: - NORMAL:普通消息。 - FIFO:顺序消息。 - DELAY:定时消息。 - TRANSACTION:事务消息。
|
205
205
|
|
206
206
|
:param message_type: The message_type of this Topic.
|
207
207
|
:type message_type: str
|