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
@@ -33,11 +33,11 @@ class TopicBrokers:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param broker_name: 代理名称。
|
36
|
+
:param broker_name: **参数解释**: 代理名称。 **取值范围**: 不涉及。
|
37
37
|
:type broker_name: str
|
38
|
-
:param read_queue_num: 读队列个数。
|
38
|
+
:param read_queue_num: **参数解释**: 读队列个数。 **取值范围**: 不涉及。
|
39
39
|
:type read_queue_num: float
|
40
|
-
:param write_queue_num: 写队列个数。
|
40
|
+
:param write_queue_num: **参数解释**: 写队列个数。 **取值范围**: 不涉及。
|
41
41
|
:type write_queue_num: float
|
42
42
|
"""
|
43
43
|
|
@@ -59,7 +59,7 @@ class TopicBrokers:
|
|
59
59
|
def broker_name(self):
|
60
60
|
r"""Gets the broker_name of this TopicBrokers.
|
61
61
|
|
62
|
-
代理名称。
|
62
|
+
**参数解释**: 代理名称。 **取值范围**: 不涉及。
|
63
63
|
|
64
64
|
:return: The broker_name of this TopicBrokers.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class TopicBrokers:
|
|
70
70
|
def broker_name(self, broker_name):
|
71
71
|
r"""Sets the broker_name of this TopicBrokers.
|
72
72
|
|
73
|
-
代理名称。
|
73
|
+
**参数解释**: 代理名称。 **取值范围**: 不涉及。
|
74
74
|
|
75
75
|
:param broker_name: The broker_name of this TopicBrokers.
|
76
76
|
:type broker_name: str
|
@@ -81,7 +81,7 @@ class TopicBrokers:
|
|
81
81
|
def read_queue_num(self):
|
82
82
|
r"""Gets the read_queue_num of this TopicBrokers.
|
83
83
|
|
84
|
-
读队列个数。
|
84
|
+
**参数解释**: 读队列个数。 **取值范围**: 不涉及。
|
85
85
|
|
86
86
|
:return: The read_queue_num of this TopicBrokers.
|
87
87
|
:rtype: float
|
@@ -92,7 +92,7 @@ class TopicBrokers:
|
|
92
92
|
def read_queue_num(self, read_queue_num):
|
93
93
|
r"""Sets the read_queue_num of this TopicBrokers.
|
94
94
|
|
95
|
-
读队列个数。
|
95
|
+
**参数解释**: 读队列个数。 **取值范围**: 不涉及。
|
96
96
|
|
97
97
|
:param read_queue_num: The read_queue_num of this TopicBrokers.
|
98
98
|
:type read_queue_num: float
|
@@ -103,7 +103,7 @@ class TopicBrokers:
|
|
103
103
|
def write_queue_num(self):
|
104
104
|
r"""Gets the write_queue_num of this TopicBrokers.
|
105
105
|
|
106
|
-
写队列个数。
|
106
|
+
**参数解释**: 写队列个数。 **取值范围**: 不涉及。
|
107
107
|
|
108
108
|
:return: The write_queue_num of this TopicBrokers.
|
109
109
|
:rtype: float
|
@@ -114,7 +114,7 @@ class TopicBrokers:
|
|
114
114
|
def write_queue_num(self, write_queue_num):
|
115
115
|
r"""Sets the write_queue_num of this TopicBrokers.
|
116
116
|
|
117
|
-
写队列个数。
|
117
|
+
**参数解释**: 写队列个数。 **取值范围**: 不涉及。
|
118
118
|
|
119
119
|
:param write_queue_num: The write_queue_num of this TopicBrokers.
|
120
120
|
:type write_queue_num: float
|
@@ -33,9 +33,9 @@ class UpdateUserRequest:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param instance_id: 实例ID。
|
36
|
+
:param instance_id: **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
37
37
|
:type instance_id: str
|
38
|
-
:param user_name: 用户名。
|
38
|
+
:param user_name: **参数解释**: 用户名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
39
39
|
:type user_name: str
|
40
40
|
:param body: Body of the UpdateUserRequest
|
41
41
|
:type body: :class:`huaweicloudsdkrocketmq.v2.User`
|
@@ -57,7 +57,7 @@ class UpdateUserRequest:
|
|
57
57
|
def instance_id(self):
|
58
58
|
r"""Gets the instance_id of this UpdateUserRequest.
|
59
59
|
|
60
|
-
实例ID。
|
60
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
61
61
|
|
62
62
|
:return: The instance_id of this UpdateUserRequest.
|
63
63
|
:rtype: str
|
@@ -68,7 +68,7 @@ class UpdateUserRequest:
|
|
68
68
|
def instance_id(self, instance_id):
|
69
69
|
r"""Sets the instance_id of this UpdateUserRequest.
|
70
70
|
|
71
|
-
实例ID。
|
71
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
72
72
|
|
73
73
|
:param instance_id: The instance_id of this UpdateUserRequest.
|
74
74
|
:type instance_id: str
|
@@ -79,7 +79,7 @@ class UpdateUserRequest:
|
|
79
79
|
def user_name(self):
|
80
80
|
r"""Gets the user_name of this UpdateUserRequest.
|
81
81
|
|
82
|
-
用户名。
|
82
|
+
**参数解释**: 用户名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
83
83
|
|
84
84
|
:return: The user_name of this UpdateUserRequest.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class UpdateUserRequest:
|
|
90
90
|
def user_name(self, user_name):
|
91
91
|
r"""Sets the user_name of this UpdateUserRequest.
|
92
92
|
|
93
|
-
用户名。
|
93
|
+
**参数解释**: 用户名。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
94
94
|
|
95
95
|
:param user_name: The user_name of this UpdateUserRequest.
|
96
96
|
:type user_name: str
|
@@ -44,21 +44,21 @@ class UpdateUserResponse(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 UpdateUserResponse(SdkResponse):
|
|
95
95
|
def access_key(self):
|
96
96
|
r"""Gets the access_key of this UpdateUserResponse.
|
97
97
|
|
98
|
-
|
98
|
+
**参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
99
99
|
|
100
100
|
:return: The access_key of this UpdateUserResponse.
|
101
101
|
:rtype: str
|
@@ -106,7 +106,7 @@ class UpdateUserResponse(SdkResponse):
|
|
106
106
|
def access_key(self, access_key):
|
107
107
|
r"""Sets the access_key of this UpdateUserResponse.
|
108
108
|
|
109
|
-
|
109
|
+
**参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
110
110
|
|
111
111
|
:param access_key: The access_key of this UpdateUserResponse.
|
112
112
|
:type access_key: str
|
@@ -117,7 +117,7 @@ class UpdateUserResponse(SdkResponse):
|
|
117
117
|
def secret_key(self):
|
118
118
|
r"""Gets the secret_key of this UpdateUserResponse.
|
119
119
|
|
120
|
-
密钥。 8-32个字符。 至少包含以下字符中的3种:
|
120
|
+
**参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
121
121
|
|
122
122
|
:return: The secret_key of this UpdateUserResponse.
|
123
123
|
:rtype: str
|
@@ -128,7 +128,7 @@ class UpdateUserResponse(SdkResponse):
|
|
128
128
|
def secret_key(self, secret_key):
|
129
129
|
r"""Sets the secret_key of this UpdateUserResponse.
|
130
130
|
|
131
|
-
密钥。 8-32个字符。 至少包含以下字符中的3种:
|
131
|
+
**参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
132
132
|
|
133
133
|
:param secret_key: The secret_key of this UpdateUserResponse.
|
134
134
|
:type secret_key: str
|
@@ -139,7 +139,7 @@ class UpdateUserResponse(SdkResponse):
|
|
139
139
|
def white_remote_address(self):
|
140
140
|
r"""Gets the white_remote_address of this UpdateUserResponse.
|
141
141
|
|
142
|
-
IP白名单。
|
142
|
+
**参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
143
143
|
|
144
144
|
:return: The white_remote_address of this UpdateUserResponse.
|
145
145
|
:rtype: str
|
@@ -150,7 +150,7 @@ class UpdateUserResponse(SdkResponse):
|
|
150
150
|
def white_remote_address(self, white_remote_address):
|
151
151
|
r"""Sets the white_remote_address of this UpdateUserResponse.
|
152
152
|
|
153
|
-
IP白名单。
|
153
|
+
**参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
154
154
|
|
155
155
|
:param white_remote_address: The white_remote_address of this UpdateUserResponse.
|
156
156
|
:type white_remote_address: str
|
@@ -161,7 +161,7 @@ class UpdateUserResponse(SdkResponse):
|
|
161
161
|
def admin(self):
|
162
162
|
r"""Gets the admin of this UpdateUserResponse.
|
163
163
|
|
164
|
-
是否为管理员。
|
164
|
+
**参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
165
165
|
|
166
166
|
:return: The admin of this UpdateUserResponse.
|
167
167
|
:rtype: bool
|
@@ -172,7 +172,7 @@ class UpdateUserResponse(SdkResponse):
|
|
172
172
|
def admin(self, admin):
|
173
173
|
r"""Sets the admin of this UpdateUserResponse.
|
174
174
|
|
175
|
-
是否为管理员。
|
175
|
+
**参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
176
176
|
|
177
177
|
:param admin: The admin of this UpdateUserResponse.
|
178
178
|
:type admin: bool
|
@@ -183,7 +183,7 @@ class UpdateUserResponse(SdkResponse):
|
|
183
183
|
def default_topic_perm(self):
|
184
184
|
r"""Gets the default_topic_perm of this UpdateUserResponse.
|
185
185
|
|
186
|
-
默认的主题权限。
|
186
|
+
**参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
187
187
|
|
188
188
|
:return: The default_topic_perm of this UpdateUserResponse.
|
189
189
|
:rtype: str
|
@@ -194,7 +194,7 @@ class UpdateUserResponse(SdkResponse):
|
|
194
194
|
def default_topic_perm(self, default_topic_perm):
|
195
195
|
r"""Sets the default_topic_perm of this UpdateUserResponse.
|
196
196
|
|
197
|
-
默认的主题权限。
|
197
|
+
**参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
198
198
|
|
199
199
|
:param default_topic_perm: The default_topic_perm of this UpdateUserResponse.
|
200
200
|
:type default_topic_perm: str
|
@@ -205,7 +205,7 @@ class UpdateUserResponse(SdkResponse):
|
|
205
205
|
def default_group_perm(self):
|
206
206
|
r"""Gets the default_group_perm of this UpdateUserResponse.
|
207
207
|
|
208
|
-
默认的消费组权限。
|
208
|
+
**参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
209
209
|
|
210
210
|
:return: The default_group_perm of this UpdateUserResponse.
|
211
211
|
:rtype: str
|
@@ -216,7 +216,7 @@ class UpdateUserResponse(SdkResponse):
|
|
216
216
|
def default_group_perm(self, default_group_perm):
|
217
217
|
r"""Sets the default_group_perm of this UpdateUserResponse.
|
218
218
|
|
219
|
-
默认的消费组权限。
|
219
|
+
**参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
220
220
|
|
221
221
|
:param default_group_perm: The default_group_perm of this UpdateUserResponse.
|
222
222
|
:type default_group_perm: str
|
@@ -227,7 +227,7 @@ class UpdateUserResponse(SdkResponse):
|
|
227
227
|
def topic_perms(self):
|
228
228
|
r"""Gets the topic_perms of this UpdateUserResponse.
|
229
229
|
|
230
|
-
特殊的主题权限。
|
230
|
+
**参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
231
231
|
|
232
232
|
:return: The topic_perms of this UpdateUserResponse.
|
233
233
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
@@ -238,7 +238,7 @@ class UpdateUserResponse(SdkResponse):
|
|
238
238
|
def topic_perms(self, topic_perms):
|
239
239
|
r"""Sets the topic_perms of this UpdateUserResponse.
|
240
240
|
|
241
|
-
特殊的主题权限。
|
241
|
+
**参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
242
242
|
|
243
243
|
:param topic_perms: The topic_perms of this UpdateUserResponse.
|
244
244
|
:type topic_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
@@ -249,7 +249,7 @@ class UpdateUserResponse(SdkResponse):
|
|
249
249
|
def group_perms(self):
|
250
250
|
r"""Gets the group_perms of this UpdateUserResponse.
|
251
251
|
|
252
|
-
特殊的消费组权限。
|
252
|
+
**参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
253
253
|
|
254
254
|
:return: The group_perms of this UpdateUserResponse.
|
255
255
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
@@ -260,7 +260,7 @@ class UpdateUserResponse(SdkResponse):
|
|
260
260
|
def group_perms(self, group_perms):
|
261
261
|
r"""Sets the group_perms of this UpdateUserResponse.
|
262
262
|
|
263
|
-
特殊的消费组权限。
|
263
|
+
**参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
264
264
|
|
265
265
|
:param group_perms: The group_perms of this UpdateUserResponse.
|
266
266
|
:type group_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
@@ -43,21 +43,21 @@ class User:
|
|
43
43
|
|
44
44
|
The model defined in huaweicloud sdk
|
45
45
|
|
46
|
-
:param access_key:
|
46
|
+
:param access_key: **参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
47
47
|
:type access_key: str
|
48
|
-
:param secret_key: 密钥。 8-32个字符。 至少包含以下字符中的3种:
|
48
|
+
:param secret_key: **参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
49
49
|
:type secret_key: str
|
50
|
-
:param white_remote_address: IP白名单。
|
50
|
+
:param white_remote_address: **参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
51
51
|
:type white_remote_address: str
|
52
|
-
:param admin: 是否为管理员。
|
52
|
+
:param admin: **参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
53
53
|
:type admin: bool
|
54
|
-
:param default_topic_perm: 默认的主题权限。
|
54
|
+
:param default_topic_perm: **参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
55
55
|
:type default_topic_perm: str
|
56
|
-
:param default_group_perm: 默认的消费组权限。
|
56
|
+
:param default_group_perm: **参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
57
57
|
:type default_group_perm: str
|
58
|
-
:param topic_perms: 特殊的主题权限。
|
58
|
+
:param topic_perms: **参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
59
59
|
:type topic_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
60
|
-
:param group_perms: 特殊的消费组权限。
|
60
|
+
:param group_perms: **参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
61
61
|
:type group_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
62
62
|
"""
|
63
63
|
|
@@ -94,7 +94,7 @@ class User:
|
|
94
94
|
def access_key(self):
|
95
95
|
r"""Gets the access_key of this User.
|
96
96
|
|
97
|
-
|
97
|
+
**参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
98
98
|
|
99
99
|
:return: The access_key of this User.
|
100
100
|
:rtype: str
|
@@ -105,7 +105,7 @@ class User:
|
|
105
105
|
def access_key(self, access_key):
|
106
106
|
r"""Sets the access_key of this User.
|
107
107
|
|
108
|
-
|
108
|
+
**参数解释**: 用户名。 **约束限制**: 只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
109
109
|
|
110
110
|
:param access_key: The access_key of this User.
|
111
111
|
:type access_key: str
|
@@ -116,7 +116,7 @@ class User:
|
|
116
116
|
def secret_key(self):
|
117
117
|
r"""Gets the secret_key of this User.
|
118
118
|
|
119
|
-
密钥。 8-32个字符。 至少包含以下字符中的3种:
|
119
|
+
**参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
120
120
|
|
121
121
|
:return: The secret_key of this User.
|
122
122
|
:rtype: str
|
@@ -127,7 +127,7 @@ class User:
|
|
127
127
|
def secret_key(self, secret_key):
|
128
128
|
r"""Sets the secret_key of this User.
|
129
129
|
|
130
|
-
密钥。 8-32个字符。 至少包含以下字符中的3种:
|
130
|
+
**参数解释**: 密钥。 **约束限制**: 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?密钥。 不能与名称或倒序的名称相同。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
131
131
|
|
132
132
|
:param secret_key: The secret_key of this User.
|
133
133
|
:type secret_key: str
|
@@ -138,7 +138,7 @@ class User:
|
|
138
138
|
def white_remote_address(self):
|
139
139
|
r"""Gets the white_remote_address of this User.
|
140
140
|
|
141
|
-
IP白名单。
|
141
|
+
**参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
142
142
|
|
143
143
|
:return: The white_remote_address of this User.
|
144
144
|
:rtype: str
|
@@ -149,7 +149,7 @@ class User:
|
|
149
149
|
def white_remote_address(self, white_remote_address):
|
150
150
|
r"""Sets the white_remote_address of this User.
|
151
151
|
|
152
|
-
IP白名单。
|
152
|
+
**参数解释**: IP白名单。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
153
153
|
|
154
154
|
:param white_remote_address: The white_remote_address of this User.
|
155
155
|
:type white_remote_address: str
|
@@ -160,7 +160,7 @@ class User:
|
|
160
160
|
def admin(self):
|
161
161
|
r"""Gets the admin of this User.
|
162
162
|
|
163
|
-
是否为管理员。
|
163
|
+
**参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
164
164
|
|
165
165
|
:return: The admin of this User.
|
166
166
|
:rtype: bool
|
@@ -171,7 +171,7 @@ class User:
|
|
171
171
|
def admin(self, admin):
|
172
172
|
r"""Sets the admin of this User.
|
173
173
|
|
174
|
-
是否为管理员。
|
174
|
+
**参数解释**: 是否为管理员。 **约束限制**: 不涉及。 **取值范围**: - true:是管理员。 - false:不是管理员。 **默认取值**: 不涉及。
|
175
175
|
|
176
176
|
:param admin: The admin of this User.
|
177
177
|
:type admin: bool
|
@@ -182,7 +182,7 @@ class User:
|
|
182
182
|
def default_topic_perm(self):
|
183
183
|
r"""Gets the default_topic_perm of this User.
|
184
184
|
|
185
|
-
默认的主题权限。
|
185
|
+
**参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
186
186
|
|
187
187
|
:return: The default_topic_perm of this User.
|
188
188
|
:rtype: str
|
@@ -193,7 +193,7 @@ class User:
|
|
193
193
|
def default_topic_perm(self, default_topic_perm):
|
194
194
|
r"""Sets the default_topic_perm of this User.
|
195
195
|
|
196
|
-
默认的主题权限。
|
196
|
+
**参数解释**: 默认的主题权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
197
197
|
|
198
198
|
:param default_topic_perm: The default_topic_perm of this User.
|
199
199
|
:type default_topic_perm: str
|
@@ -204,7 +204,7 @@ class User:
|
|
204
204
|
def default_group_perm(self):
|
205
205
|
r"""Gets the default_group_perm of this User.
|
206
206
|
|
207
|
-
默认的消费组权限。
|
207
|
+
**参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
208
208
|
|
209
209
|
:return: The default_group_perm of this User.
|
210
210
|
:rtype: str
|
@@ -215,7 +215,7 @@ class User:
|
|
215
215
|
def default_group_perm(self, default_group_perm):
|
216
216
|
r"""Sets the default_group_perm of this User.
|
217
217
|
|
218
|
-
默认的消费组权限。
|
218
|
+
**参数解释**: 默认的消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
219
219
|
|
220
220
|
:param default_group_perm: The default_group_perm of this User.
|
221
221
|
:type default_group_perm: str
|
@@ -226,7 +226,7 @@ class User:
|
|
226
226
|
def topic_perms(self):
|
227
227
|
r"""Gets the topic_perms of this User.
|
228
228
|
|
229
|
-
特殊的主题权限。
|
229
|
+
**参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
230
230
|
|
231
231
|
:return: The topic_perms of this User.
|
232
232
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
@@ -237,7 +237,7 @@ class User:
|
|
237
237
|
def topic_perms(self, topic_perms):
|
238
238
|
r"""Sets the topic_perms of this User.
|
239
239
|
|
240
|
-
特殊的主题权限。
|
240
|
+
**参数解释**: 特殊的主题权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
241
241
|
|
242
242
|
:param topic_perms: The topic_perms of this User.
|
243
243
|
:type topic_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserTopicPerms`]
|
@@ -248,7 +248,7 @@ class User:
|
|
248
248
|
def group_perms(self):
|
249
249
|
r"""Gets the group_perms of this User.
|
250
250
|
|
251
|
-
特殊的消费组权限。
|
251
|
+
**参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
252
252
|
|
253
253
|
:return: The group_perms of this User.
|
254
254
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
@@ -259,7 +259,7 @@ class User:
|
|
259
259
|
def group_perms(self, group_perms):
|
260
260
|
r"""Sets the group_perms of this User.
|
261
261
|
|
262
|
-
特殊的消费组权限。
|
262
|
+
**参数解释**: 特殊的消费组权限。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
263
263
|
|
264
264
|
:param group_perms: The group_perms of this User.
|
265
265
|
:type group_perms: list[:class:`huaweicloudsdkrocketmq.v2.UserGroupPerms`]
|
@@ -31,9 +31,9 @@ class UserGroupPerms:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param name: 消费组名称。
|
34
|
+
:param name: **参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
35
35
|
:type name: str
|
36
|
-
:param perm:
|
36
|
+
:param perm: **参数解释**: 消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
37
37
|
:type perm: str
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class UserGroupPerms:
|
|
52
52
|
def name(self):
|
53
53
|
r"""Gets the name of this UserGroupPerms.
|
54
54
|
|
55
|
-
消费组名称。
|
55
|
+
**参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
56
56
|
|
57
57
|
:return: The name of this UserGroupPerms.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class UserGroupPerms:
|
|
63
63
|
def name(self, name):
|
64
64
|
r"""Sets the name of this UserGroupPerms.
|
65
65
|
|
66
|
-
消费组名称。
|
66
|
+
**参数解释**: 消费组名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
67
67
|
|
68
68
|
:param name: The name of this UserGroupPerms.
|
69
69
|
:type name: str
|
@@ -74,7 +74,7 @@ class UserGroupPerms:
|
|
74
74
|
def perm(self):
|
75
75
|
r"""Gets the perm of this UserGroupPerms.
|
76
76
|
|
77
|
-
|
77
|
+
**参数解释**: 消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
78
78
|
|
79
79
|
:return: The perm of this UserGroupPerms.
|
80
80
|
:rtype: str
|
@@ -85,7 +85,7 @@ class UserGroupPerms:
|
|
85
85
|
def perm(self, perm):
|
86
86
|
r"""Sets the perm of this UserGroupPerms.
|
87
87
|
|
88
|
-
|
88
|
+
**参数解释**: 消费组权限。 **约束限制**: 不涉及。 **取值范围**: - sub:拥有订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
89
89
|
|
90
90
|
:param perm: The perm of this UserGroupPerms.
|
91
91
|
:type perm: str
|
@@ -31,9 +31,9 @@ class UserTopicPerms:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param name: 主题名称。
|
34
|
+
:param name: **参数解释**: 主题名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
35
35
|
:type name: str
|
36
|
-
:param perm: 权限。
|
36
|
+
:param perm: **参数解释**: Topic权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
37
37
|
:type perm: str
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class UserTopicPerms:
|
|
52
52
|
def name(self):
|
53
53
|
r"""Gets the name of this UserTopicPerms.
|
54
54
|
|
55
|
-
主题名称。
|
55
|
+
**参数解释**: 主题名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
56
56
|
|
57
57
|
:return: The name of this UserTopicPerms.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class UserTopicPerms:
|
|
63
63
|
def name(self, name):
|
64
64
|
r"""Sets the name of this UserTopicPerms.
|
65
65
|
|
66
|
-
主题名称。
|
66
|
+
**参数解释**: 主题名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
67
67
|
|
68
68
|
:param name: The name of this UserTopicPerms.
|
69
69
|
:type name: str
|
@@ -74,7 +74,7 @@ class UserTopicPerms:
|
|
74
74
|
def perm(self):
|
75
75
|
r"""Gets the perm of this UserTopicPerms.
|
76
76
|
|
77
|
-
权限。
|
77
|
+
**参数解释**: Topic权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
78
78
|
|
79
79
|
:return: The perm of this UserTopicPerms.
|
80
80
|
:rtype: str
|
@@ -85,7 +85,7 @@ class UserTopicPerms:
|
|
85
85
|
def perm(self, perm):
|
86
86
|
r"""Sets the perm of this UserTopicPerms.
|
87
87
|
|
88
|
-
权限。
|
88
|
+
**参数解释**: Topic权限。 **约束限制**: 不涉及。 **取值范围**: - pub:拥有发布权限。 - sub:拥有订阅权限。 - PUB|sub:拥有发布订阅权限。 - DENY:无权限。 **默认取值**: 不涉及。
|
89
89
|
|
90
90
|
:param perm: The perm of this UserTopicPerms.
|
91
91
|
:type perm: str
|
@@ -56,6 +56,12 @@ class RocketMQRegion:
|
|
56
56
|
"https://dms.cn-east-5.myhuaweicloud.com")
|
57
57
|
MY_KUALALUMPUR_1 = Region("my-kualalumpur-1",
|
58
58
|
"https://dms.my-kualalumpur-1.myhuaweicloud.com")
|
59
|
+
CN_EAST_4 = Region("cn-east-4",
|
60
|
+
"https://dms.cn-east-4.myhuaweicloud.com")
|
61
|
+
AF_NORTH_1 = Region("af-north-1",
|
62
|
+
"https://dms.af-north-1.myhuaweicloud.com")
|
63
|
+
AP_SOUTHEAST_5 = Region("ap-southeast-5",
|
64
|
+
"https://dms.ap-southeast-5.myhuaweicloud.com")
|
59
65
|
|
60
66
|
static_fields = {
|
61
67
|
"eu-west-101": EU_WEST_101,
|
@@ -83,6 +89,9 @@ class RocketMQRegion:
|
|
83
89
|
"na-mexico-1": NA_MEXICO_1,
|
84
90
|
"cn-east-5": CN_EAST_5,
|
85
91
|
"my-kualalumpur-1": MY_KUALALUMPUR_1,
|
92
|
+
"cn-east-4": CN_EAST_4,
|
93
|
+
"af-north-1": AF_NORTH_1,
|
94
|
+
"ap-southeast-5": AP_SOUTHEAST_5,
|
86
95
|
}
|
87
96
|
|
88
97
|
@classmethod
|