huaweicloudsdkdcs 3.1.132__py2.py3-none-any.whl → 3.1.134__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.
Potentially problematic release.
This version of huaweicloudsdkdcs might be problematic. Click here for more details.
- huaweicloudsdkdcs/v2/model/reset_password_response.py +90 -3
- huaweicloudsdkdcs/v2/model/slowlog_item.py +61 -3
- {huaweicloudsdkdcs-3.1.132.dist-info → huaweicloudsdkdcs-3.1.134.dist-info}/METADATA +2 -2
- {huaweicloudsdkdcs-3.1.132.dist-info → huaweicloudsdkdcs-3.1.134.dist-info}/RECORD +7 -7
- {huaweicloudsdkdcs-3.1.132.dist-info → huaweicloudsdkdcs-3.1.134.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdcs-3.1.132.dist-info → huaweicloudsdkdcs-3.1.134.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdcs-3.1.132.dist-info → huaweicloudsdkdcs-3.1.134.dist-info}/top_level.txt +0 -0
|
@@ -20,16 +20,22 @@ class ResetPasswordResponse(SdkResponse):
|
|
|
20
20
|
openapi_types = {
|
|
21
21
|
'retry_times_left': 'str',
|
|
22
22
|
'lock_time': 'str',
|
|
23
|
-
'lock_time_left': 'str'
|
|
23
|
+
'lock_time_left': 'str',
|
|
24
|
+
'code': 'str',
|
|
25
|
+
'message': 'str',
|
|
26
|
+
'ext_message': 'str'
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
attribute_map = {
|
|
27
30
|
'retry_times_left': 'retry_times_left',
|
|
28
31
|
'lock_time': 'lock_time',
|
|
29
|
-
'lock_time_left': 'lock_time_left'
|
|
32
|
+
'lock_time_left': 'lock_time_left',
|
|
33
|
+
'code': 'code',
|
|
34
|
+
'message': 'message',
|
|
35
|
+
'ext_message': 'ext_message'
|
|
30
36
|
}
|
|
31
37
|
|
|
32
|
-
def __init__(self, retry_times_left=None, lock_time=None, lock_time_left=None):
|
|
38
|
+
def __init__(self, retry_times_left=None, lock_time=None, lock_time_left=None, code=None, message=None, ext_message=None):
|
|
33
39
|
"""ResetPasswordResponse
|
|
34
40
|
|
|
35
41
|
The model defined in huaweicloud sdk
|
|
@@ -40,6 +46,12 @@ class ResetPasswordResponse(SdkResponse):
|
|
|
40
46
|
:type lock_time: str
|
|
41
47
|
:param lock_time_left: 锁定剩余时间
|
|
42
48
|
:type lock_time_left: str
|
|
49
|
+
:param code: **参数解释**: 重置密码结果编号。 **取值范围**: - 1:重置密码成功。 - 3:实例被锁定。
|
|
50
|
+
:type code: str
|
|
51
|
+
:param message: **参数解释**: 重置密码结果信息。 **取值范围**: - success - instance is locked
|
|
52
|
+
:type message: str
|
|
53
|
+
:param ext_message: **参数解释**: 重置密码错误信息,若重置密码成功,则为null。 **取值范围**: 不涉及。
|
|
54
|
+
:type ext_message: str
|
|
43
55
|
"""
|
|
44
56
|
|
|
45
57
|
super(ResetPasswordResponse, self).__init__()
|
|
@@ -47,6 +59,9 @@ class ResetPasswordResponse(SdkResponse):
|
|
|
47
59
|
self._retry_times_left = None
|
|
48
60
|
self._lock_time = None
|
|
49
61
|
self._lock_time_left = None
|
|
62
|
+
self._code = None
|
|
63
|
+
self._message = None
|
|
64
|
+
self._ext_message = None
|
|
50
65
|
self.discriminator = None
|
|
51
66
|
|
|
52
67
|
if retry_times_left is not None:
|
|
@@ -55,6 +70,12 @@ class ResetPasswordResponse(SdkResponse):
|
|
|
55
70
|
self.lock_time = lock_time
|
|
56
71
|
if lock_time_left is not None:
|
|
57
72
|
self.lock_time_left = lock_time_left
|
|
73
|
+
if code is not None:
|
|
74
|
+
self.code = code
|
|
75
|
+
if message is not None:
|
|
76
|
+
self.message = message
|
|
77
|
+
if ext_message is not None:
|
|
78
|
+
self.ext_message = ext_message
|
|
58
79
|
|
|
59
80
|
@property
|
|
60
81
|
def retry_times_left(self):
|
|
@@ -122,6 +143,72 @@ class ResetPasswordResponse(SdkResponse):
|
|
|
122
143
|
"""
|
|
123
144
|
self._lock_time_left = lock_time_left
|
|
124
145
|
|
|
146
|
+
@property
|
|
147
|
+
def code(self):
|
|
148
|
+
"""Gets the code of this ResetPasswordResponse.
|
|
149
|
+
|
|
150
|
+
**参数解释**: 重置密码结果编号。 **取值范围**: - 1:重置密码成功。 - 3:实例被锁定。
|
|
151
|
+
|
|
152
|
+
:return: The code of this ResetPasswordResponse.
|
|
153
|
+
:rtype: str
|
|
154
|
+
"""
|
|
155
|
+
return self._code
|
|
156
|
+
|
|
157
|
+
@code.setter
|
|
158
|
+
def code(self, code):
|
|
159
|
+
"""Sets the code of this ResetPasswordResponse.
|
|
160
|
+
|
|
161
|
+
**参数解释**: 重置密码结果编号。 **取值范围**: - 1:重置密码成功。 - 3:实例被锁定。
|
|
162
|
+
|
|
163
|
+
:param code: The code of this ResetPasswordResponse.
|
|
164
|
+
:type code: str
|
|
165
|
+
"""
|
|
166
|
+
self._code = code
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
def message(self):
|
|
170
|
+
"""Gets the message of this ResetPasswordResponse.
|
|
171
|
+
|
|
172
|
+
**参数解释**: 重置密码结果信息。 **取值范围**: - success - instance is locked
|
|
173
|
+
|
|
174
|
+
:return: The message of this ResetPasswordResponse.
|
|
175
|
+
:rtype: str
|
|
176
|
+
"""
|
|
177
|
+
return self._message
|
|
178
|
+
|
|
179
|
+
@message.setter
|
|
180
|
+
def message(self, message):
|
|
181
|
+
"""Sets the message of this ResetPasswordResponse.
|
|
182
|
+
|
|
183
|
+
**参数解释**: 重置密码结果信息。 **取值范围**: - success - instance is locked
|
|
184
|
+
|
|
185
|
+
:param message: The message of this ResetPasswordResponse.
|
|
186
|
+
:type message: str
|
|
187
|
+
"""
|
|
188
|
+
self._message = message
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def ext_message(self):
|
|
192
|
+
"""Gets the ext_message of this ResetPasswordResponse.
|
|
193
|
+
|
|
194
|
+
**参数解释**: 重置密码错误信息,若重置密码成功,则为null。 **取值范围**: 不涉及。
|
|
195
|
+
|
|
196
|
+
:return: The ext_message of this ResetPasswordResponse.
|
|
197
|
+
:rtype: str
|
|
198
|
+
"""
|
|
199
|
+
return self._ext_message
|
|
200
|
+
|
|
201
|
+
@ext_message.setter
|
|
202
|
+
def ext_message(self, ext_message):
|
|
203
|
+
"""Sets the ext_message of this ResetPasswordResponse.
|
|
204
|
+
|
|
205
|
+
**参数解释**: 重置密码错误信息,若重置密码成功,则为null。 **取值范围**: 不涉及。
|
|
206
|
+
|
|
207
|
+
:param ext_message: The ext_message of this ResetPasswordResponse.
|
|
208
|
+
:type ext_message: str
|
|
209
|
+
"""
|
|
210
|
+
self._ext_message = ext_message
|
|
211
|
+
|
|
125
212
|
def to_dict(self):
|
|
126
213
|
"""Returns the model properties as a dict"""
|
|
127
214
|
result = {}
|
|
@@ -23,7 +23,9 @@ class SlowlogItem:
|
|
|
23
23
|
'duration': 'str',
|
|
24
24
|
'shard_name': 'str',
|
|
25
25
|
'database_id': 'int',
|
|
26
|
-
'username': 'str'
|
|
26
|
+
'username': 'str',
|
|
27
|
+
'node_role': 'str',
|
|
28
|
+
'client_ip': 'str'
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
attribute_map = {
|
|
@@ -33,10 +35,12 @@ class SlowlogItem:
|
|
|
33
35
|
'duration': 'duration',
|
|
34
36
|
'shard_name': 'shard_name',
|
|
35
37
|
'database_id': 'database_id',
|
|
36
|
-
'username': 'username'
|
|
38
|
+
'username': 'username',
|
|
39
|
+
'node_role': 'node_role',
|
|
40
|
+
'client_ip': 'client_ip'
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
def __init__(self, id=None, command=None, start_time=None, duration=None, shard_name=None, database_id=None, username=None):
|
|
43
|
+
def __init__(self, id=None, command=None, start_time=None, duration=None, shard_name=None, database_id=None, username=None, node_role=None, client_ip=None):
|
|
40
44
|
"""SlowlogItem
|
|
41
45
|
|
|
42
46
|
The model defined in huaweicloud sdk
|
|
@@ -55,6 +59,10 @@ class SlowlogItem:
|
|
|
55
59
|
:type database_id: int
|
|
56
60
|
:param username: 操作慢日志的账号名称,当前只对指定客户开放
|
|
57
61
|
:type username: str
|
|
62
|
+
:param node_role: **参数解释**: 节点类型。 **取值范围**: 不涉及。
|
|
63
|
+
:type node_role: str
|
|
64
|
+
:param client_ip: **参数解释**: 客户端IP地址。 **取值范围**: 不涉及。
|
|
65
|
+
:type client_ip: str
|
|
58
66
|
"""
|
|
59
67
|
|
|
60
68
|
|
|
@@ -66,6 +74,8 @@ class SlowlogItem:
|
|
|
66
74
|
self._shard_name = None
|
|
67
75
|
self._database_id = None
|
|
68
76
|
self._username = None
|
|
77
|
+
self._node_role = None
|
|
78
|
+
self._client_ip = None
|
|
69
79
|
self.discriminator = None
|
|
70
80
|
|
|
71
81
|
if id is not None:
|
|
@@ -82,6 +92,10 @@ class SlowlogItem:
|
|
|
82
92
|
self.database_id = database_id
|
|
83
93
|
if username is not None:
|
|
84
94
|
self.username = username
|
|
95
|
+
if node_role is not None:
|
|
96
|
+
self.node_role = node_role
|
|
97
|
+
if client_ip is not None:
|
|
98
|
+
self.client_ip = client_ip
|
|
85
99
|
|
|
86
100
|
@property
|
|
87
101
|
def id(self):
|
|
@@ -237,6 +251,50 @@ class SlowlogItem:
|
|
|
237
251
|
"""
|
|
238
252
|
self._username = username
|
|
239
253
|
|
|
254
|
+
@property
|
|
255
|
+
def node_role(self):
|
|
256
|
+
"""Gets the node_role of this SlowlogItem.
|
|
257
|
+
|
|
258
|
+
**参数解释**: 节点类型。 **取值范围**: 不涉及。
|
|
259
|
+
|
|
260
|
+
:return: The node_role of this SlowlogItem.
|
|
261
|
+
:rtype: str
|
|
262
|
+
"""
|
|
263
|
+
return self._node_role
|
|
264
|
+
|
|
265
|
+
@node_role.setter
|
|
266
|
+
def node_role(self, node_role):
|
|
267
|
+
"""Sets the node_role of this SlowlogItem.
|
|
268
|
+
|
|
269
|
+
**参数解释**: 节点类型。 **取值范围**: 不涉及。
|
|
270
|
+
|
|
271
|
+
:param node_role: The node_role of this SlowlogItem.
|
|
272
|
+
:type node_role: str
|
|
273
|
+
"""
|
|
274
|
+
self._node_role = node_role
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
def client_ip(self):
|
|
278
|
+
"""Gets the client_ip of this SlowlogItem.
|
|
279
|
+
|
|
280
|
+
**参数解释**: 客户端IP地址。 **取值范围**: 不涉及。
|
|
281
|
+
|
|
282
|
+
:return: The client_ip of this SlowlogItem.
|
|
283
|
+
:rtype: str
|
|
284
|
+
"""
|
|
285
|
+
return self._client_ip
|
|
286
|
+
|
|
287
|
+
@client_ip.setter
|
|
288
|
+
def client_ip(self, client_ip):
|
|
289
|
+
"""Sets the client_ip of this SlowlogItem.
|
|
290
|
+
|
|
291
|
+
**参数解释**: 客户端IP地址。 **取值范围**: 不涉及。
|
|
292
|
+
|
|
293
|
+
:param client_ip: The client_ip of this SlowlogItem.
|
|
294
|
+
:type client_ip: str
|
|
295
|
+
"""
|
|
296
|
+
self._client_ip = client_ip
|
|
297
|
+
|
|
240
298
|
def to_dict(self):
|
|
241
299
|
"""Returns the model properties as a dict"""
|
|
242
300
|
result = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huaweicloudsdkdcs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.134
|
|
4
4
|
Summary: DCS
|
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
|
6
6
|
Author: HuaweiCloud SDK
|
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: huaweicloudsdkcore>=3.1.
|
|
25
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.134
|
|
26
26
|
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@@ -250,7 +250,7 @@ huaweicloudsdkdcs/v2/model/reset_acl_account_pass_word_request.py,sha256=hIBFLVK
|
|
|
250
250
|
huaweicloudsdkdcs/v2/model/reset_acl_account_pass_word_response.py,sha256=S84a5zjwevY3CP9e6El7qMWz3ojoBXmpT0xc8HXkiYI,7289
|
|
251
251
|
huaweicloudsdkdcs/v2/model/reset_instance_password_body.py,sha256=vZcisZEG9jOqwsnWRh2CQdwL0WpIgGTOCRmjFO8hnPM,4333
|
|
252
252
|
huaweicloudsdkdcs/v2/model/reset_password_request.py,sha256=UXWj0ZZ6KjLrqUE5e4viaZtMytujqm49UjgTrU2WBjE,3932
|
|
253
|
-
huaweicloudsdkdcs/v2/model/reset_password_response.py,sha256=
|
|
253
|
+
huaweicloudsdkdcs/v2/model/reset_password_response.py,sha256=rNt7dYqCd4HTVdaZ3lNQY9L3IB2WaXhWnvkqwraeI8c,8296
|
|
254
254
|
huaweicloudsdkdcs/v2/model/resize_instance_body.py,sha256=Duo_bfigg81--8qQvCniA3LEwfO0wby8zk4mjM6w3XY,14627
|
|
255
255
|
huaweicloudsdkdcs/v2/model/resize_instance_request.py,sha256=jJDlntmM2AKQuzSkLmzqgMmiwBAmiCL-uER11RGKQ7k,3916
|
|
256
256
|
huaweicloudsdkdcs/v2/model/resize_instance_response.py,sha256=pRbzx6KOe2d3m14Hzp56KuFcFC70tnKsdjjBkPalJ-g,2439
|
|
@@ -318,7 +318,7 @@ huaweicloudsdkdcs/v2/model/show_tags_request.py,sha256=d0bwOqn1EGQLfnBdfucgPaiQG
|
|
|
318
318
|
huaweicloudsdkdcs/v2/model/show_tags_response.py,sha256=pxklDJZOHyqeMkGpWrOjWVs4lKiR3MmTkU39UVy-cic,3225
|
|
319
319
|
huaweicloudsdkdcs/v2/model/simple_key_scan_record.py,sha256=nKr_8msHpgkQMhck5vH2v_2S10kStAbazF-CL8gIsr8,8617
|
|
320
320
|
huaweicloudsdkdcs/v2/model/single_background_task.py,sha256=TBXQIDM5kslYHNCNV6Tv4Gx47Z-EgLWEX7ml_xP8UtA,11037
|
|
321
|
-
huaweicloudsdkdcs/v2/model/slowlog_item.py,sha256=
|
|
321
|
+
huaweicloudsdkdcs/v2/model/slowlog_item.py,sha256=_Ou3GI1lfEACxjWsG1ej467zasECeNjN7IbUgrOK7iA,9852
|
|
322
322
|
huaweicloudsdkdcs/v2/model/source_instance_body.py,sha256=uXw6klP_K9Dcp-VHE8FZecg1tAFXQDfsuF-EwvtSDKo,8998
|
|
323
323
|
huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_request.py,sha256=iIQqJ6JCNgi8y-CUBjw-D3Ac493TU0GGYezwd7zrClU,4143
|
|
324
324
|
huaweicloudsdkdcs/v2/model/start_instance_resize_check_job_request_body.py,sha256=nh8mcIAod5dbocrZYk4Fx4SqmBirOjyYSRnZnvTl1Ro,4226
|
|
@@ -391,8 +391,8 @@ huaweicloudsdkdcs/v2/model/validate_deletable_replica_response.py,sha256=kadAH-P
|
|
|
391
391
|
huaweicloudsdkdcs/v2/model/whitelist.py,sha256=o3qGT2_1ARJ2RG6mEKaqXJHAT4eY9nTa6X_yLMzXdqQ,4334
|
|
392
392
|
huaweicloudsdkdcs/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
393
393
|
huaweicloudsdkdcs/v2/region/dcs_region.py,sha256=fL0F0SNVJ0e-EuI7u2G60YRJzkt8hRJlJYcYs_RmxYs,4861
|
|
394
|
-
huaweicloudsdkdcs-3.1.
|
|
395
|
-
huaweicloudsdkdcs-3.1.
|
|
396
|
-
huaweicloudsdkdcs-3.1.
|
|
397
|
-
huaweicloudsdkdcs-3.1.
|
|
398
|
-
huaweicloudsdkdcs-3.1.
|
|
394
|
+
huaweicloudsdkdcs-3.1.134.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
|
395
|
+
huaweicloudsdkdcs-3.1.134.dist-info/METADATA,sha256=IxSvmIG0Ghmp1ZtbTz0-b1Plg9AgVcwIHoJ_BXZyLCw,1135
|
|
396
|
+
huaweicloudsdkdcs-3.1.134.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
|
|
397
|
+
huaweicloudsdkdcs-3.1.134.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
|
|
398
|
+
huaweicloudsdkdcs-3.1.134.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|