huaweicloudsdkdcs 3.1.131__py2.py3-none-any.whl → 3.1.133__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/bandwidth_auto_scaling_policy.py +1 -2
- huaweicloudsdkdcs/v2/model/bandwidth_info.py +61 -3
- huaweicloudsdkdcs/v2/model/reset_password_response.py +90 -3
- huaweicloudsdkdcs/v2/model/resize_instance_body.py +3 -3
- huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_response.py +1 -2
- huaweicloudsdkdcs/v2/model/slowlog_item.py +61 -3
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request_body.py +1 -2
- huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_response.py +1 -2
- huaweicloudsdkdcs/v2/region/dcs_region.py +3 -0
- {huaweicloudsdkdcs-3.1.131.dist-info → huaweicloudsdkdcs-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkdcs-3.1.131.dist-info → huaweicloudsdkdcs-3.1.133.dist-info}/RECORD +14 -14
- {huaweicloudsdkdcs-3.1.131.dist-info → huaweicloudsdkdcs-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdcs-3.1.131.dist-info → huaweicloudsdkdcs-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdcs-3.1.131.dist-info → huaweicloudsdkdcs-3.1.133.dist-info}/top_level.txt +0 -0
|
@@ -65,8 +65,7 @@ class BandwidthAutoScalingPolicy:
|
|
|
65
65
|
|
|
66
66
|
self.window_size = window_size
|
|
67
67
|
self.bandwidth_usage_upper_threshold = bandwidth_usage_upper_threshold
|
|
68
|
-
|
|
69
|
-
self.scale_out_cooldown = scale_out_cooldown
|
|
68
|
+
self.scale_out_cooldown = scale_out_cooldown
|
|
70
69
|
if scale_in_enabled is not None:
|
|
71
70
|
self.scale_in_enabled = scale_in_enabled
|
|
72
71
|
if bandwidth_usage_lower_threshold is not None:
|
|
@@ -26,7 +26,9 @@ class BandwidthInfo:
|
|
|
26
26
|
'expand_effect_time': 'int',
|
|
27
27
|
'expand_interval_time': 'int',
|
|
28
28
|
'max_expand_count': 'int',
|
|
29
|
-
'task_running': 'bool'
|
|
29
|
+
'task_running': 'bool',
|
|
30
|
+
'assured_bandwidth': 'int',
|
|
31
|
+
'max_bandwidth_for_node': 'int'
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
attribute_map = {
|
|
@@ -39,10 +41,12 @@ class BandwidthInfo:
|
|
|
39
41
|
'expand_effect_time': 'expand_effect_time',
|
|
40
42
|
'expand_interval_time': 'expand_interval_time',
|
|
41
43
|
'max_expand_count': 'max_expand_count',
|
|
42
|
-
'task_running': 'task_running'
|
|
44
|
+
'task_running': 'task_running',
|
|
45
|
+
'assured_bandwidth': 'assured_bandwidth',
|
|
46
|
+
'max_bandwidth_for_node': 'max_bandwidth_for_node'
|
|
43
47
|
}
|
|
44
48
|
|
|
45
|
-
def __init__(self, begin_time=None, end_time=None, current_time=None, bandwidth=None, next_expand_time=None, expand_count=None, expand_effect_time=None, expand_interval_time=None, max_expand_count=None, task_running=None):
|
|
49
|
+
def __init__(self, begin_time=None, end_time=None, current_time=None, bandwidth=None, next_expand_time=None, expand_count=None, expand_effect_time=None, expand_interval_time=None, max_expand_count=None, task_running=None, assured_bandwidth=None, max_bandwidth_for_node=None):
|
|
46
50
|
"""BandwidthInfo
|
|
47
51
|
|
|
48
52
|
The model defined in huaweicloud sdk
|
|
@@ -67,6 +71,10 @@ class BandwidthInfo:
|
|
|
67
71
|
:type max_expand_count: int
|
|
68
72
|
:param task_running: 任务是否运行
|
|
69
73
|
:type task_running: bool
|
|
74
|
+
:param assured_bandwidth: **参数解释**: 实例基准带宽。 **取值范围**: 不涉及。
|
|
75
|
+
:type assured_bandwidth: int
|
|
76
|
+
:param max_bandwidth_for_node: **参数解释**: 节点最大带宽。 **取值范围**: 不涉及。
|
|
77
|
+
:type max_bandwidth_for_node: int
|
|
70
78
|
"""
|
|
71
79
|
|
|
72
80
|
|
|
@@ -81,6 +89,8 @@ class BandwidthInfo:
|
|
|
81
89
|
self._expand_interval_time = None
|
|
82
90
|
self._max_expand_count = None
|
|
83
91
|
self._task_running = None
|
|
92
|
+
self._assured_bandwidth = None
|
|
93
|
+
self._max_bandwidth_for_node = None
|
|
84
94
|
self.discriminator = None
|
|
85
95
|
|
|
86
96
|
if begin_time is not None:
|
|
@@ -103,6 +113,10 @@ class BandwidthInfo:
|
|
|
103
113
|
self.max_expand_count = max_expand_count
|
|
104
114
|
if task_running is not None:
|
|
105
115
|
self.task_running = task_running
|
|
116
|
+
if assured_bandwidth is not None:
|
|
117
|
+
self.assured_bandwidth = assured_bandwidth
|
|
118
|
+
if max_bandwidth_for_node is not None:
|
|
119
|
+
self.max_bandwidth_for_node = max_bandwidth_for_node
|
|
106
120
|
|
|
107
121
|
@property
|
|
108
122
|
def begin_time(self):
|
|
@@ -324,6 +338,50 @@ class BandwidthInfo:
|
|
|
324
338
|
"""
|
|
325
339
|
self._task_running = task_running
|
|
326
340
|
|
|
341
|
+
@property
|
|
342
|
+
def assured_bandwidth(self):
|
|
343
|
+
"""Gets the assured_bandwidth of this BandwidthInfo.
|
|
344
|
+
|
|
345
|
+
**参数解释**: 实例基准带宽。 **取值范围**: 不涉及。
|
|
346
|
+
|
|
347
|
+
:return: The assured_bandwidth of this BandwidthInfo.
|
|
348
|
+
:rtype: int
|
|
349
|
+
"""
|
|
350
|
+
return self._assured_bandwidth
|
|
351
|
+
|
|
352
|
+
@assured_bandwidth.setter
|
|
353
|
+
def assured_bandwidth(self, assured_bandwidth):
|
|
354
|
+
"""Sets the assured_bandwidth of this BandwidthInfo.
|
|
355
|
+
|
|
356
|
+
**参数解释**: 实例基准带宽。 **取值范围**: 不涉及。
|
|
357
|
+
|
|
358
|
+
:param assured_bandwidth: The assured_bandwidth of this BandwidthInfo.
|
|
359
|
+
:type assured_bandwidth: int
|
|
360
|
+
"""
|
|
361
|
+
self._assured_bandwidth = assured_bandwidth
|
|
362
|
+
|
|
363
|
+
@property
|
|
364
|
+
def max_bandwidth_for_node(self):
|
|
365
|
+
"""Gets the max_bandwidth_for_node of this BandwidthInfo.
|
|
366
|
+
|
|
367
|
+
**参数解释**: 节点最大带宽。 **取值范围**: 不涉及。
|
|
368
|
+
|
|
369
|
+
:return: The max_bandwidth_for_node of this BandwidthInfo.
|
|
370
|
+
:rtype: int
|
|
371
|
+
"""
|
|
372
|
+
return self._max_bandwidth_for_node
|
|
373
|
+
|
|
374
|
+
@max_bandwidth_for_node.setter
|
|
375
|
+
def max_bandwidth_for_node(self, max_bandwidth_for_node):
|
|
376
|
+
"""Sets the max_bandwidth_for_node of this BandwidthInfo.
|
|
377
|
+
|
|
378
|
+
**参数解释**: 节点最大带宽。 **取值范围**: 不涉及。
|
|
379
|
+
|
|
380
|
+
:param max_bandwidth_for_node: The max_bandwidth_for_node of this BandwidthInfo.
|
|
381
|
+
:type max_bandwidth_for_node: int
|
|
382
|
+
"""
|
|
383
|
+
self._max_bandwidth_for_node = max_bandwidth_for_node
|
|
384
|
+
|
|
327
385
|
def to_dict(self):
|
|
328
386
|
"""Returns the model properties as a dict"""
|
|
329
387
|
result = {}
|
|
@@ -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 = {}
|
|
@@ -51,7 +51,7 @@ class ResizeInstanceBody:
|
|
|
51
51
|
:type bss_param: :class:`huaweicloudsdkdcs.v2.BssParamEntity`
|
|
52
52
|
:param reserved_ip: 需要保留的节点ip。cluster集群缩容时需要填写,不填写时系统将随机删除多余的分片
|
|
53
53
|
:type reserved_ip: list[str]
|
|
54
|
-
:param change_type: 变更类型,Redis 4.0或者5.0
|
|
54
|
+
:param change_type: 变更类型,Redis 4.0或者5.0实例进行副本数变更时必选。 - createReplication: 添加副本 - deleteReplication: 删除副本 - addSharding: 添加分片 - instanceType: 实例类型变更[,目前仅支持Redis 4.0/5.0/6.0实例中的主备实例/读写分离实例变更为proxy集群实例、proxy集群实例变更为主备实例/读写分离实例](tag:hws,hws_hk,hws_eu,ctc,sbc,hk_sbc,g42,hk_g42,otc)。
|
|
55
55
|
:type change_type: str
|
|
56
56
|
:param available_zones: Redis 4.0或者5.0主备实例进行添加副本时必选,指定每个副本所在的可用区Code,使用前需要先确认该可用区资源是否售罄。 具体查询方法,请参考[查询可用区信息](https://support.huaweicloud.com/api-dcs/ListAvailableZones.html)
|
|
57
57
|
:type available_zones: list[str]
|
|
@@ -176,7 +176,7 @@ class ResizeInstanceBody:
|
|
|
176
176
|
def change_type(self):
|
|
177
177
|
"""Gets the change_type of this ResizeInstanceBody.
|
|
178
178
|
|
|
179
|
-
变更类型,Redis 4.0或者5.0
|
|
179
|
+
变更类型,Redis 4.0或者5.0实例进行副本数变更时必选。 - createReplication: 添加副本 - deleteReplication: 删除副本 - addSharding: 添加分片 - instanceType: 实例类型变更[,目前仅支持Redis 4.0/5.0/6.0实例中的主备实例/读写分离实例变更为proxy集群实例、proxy集群实例变更为主备实例/读写分离实例](tag:hws,hws_hk,hws_eu,ctc,sbc,hk_sbc,g42,hk_g42,otc)。
|
|
180
180
|
|
|
181
181
|
:return: The change_type of this ResizeInstanceBody.
|
|
182
182
|
:rtype: str
|
|
@@ -187,7 +187,7 @@ class ResizeInstanceBody:
|
|
|
187
187
|
def change_type(self, change_type):
|
|
188
188
|
"""Sets the change_type of this ResizeInstanceBody.
|
|
189
189
|
|
|
190
|
-
变更类型,Redis 4.0或者5.0
|
|
190
|
+
变更类型,Redis 4.0或者5.0实例进行副本数变更时必选。 - createReplication: 添加副本 - deleteReplication: 删除副本 - addSharding: 添加分片 - instanceType: 实例类型变更[,目前仅支持Redis 4.0/5.0/6.0实例中的主备实例/读写分离实例变更为proxy集群实例、proxy集群实例变更为主备实例/读写分离实例](tag:hws,hws_hk,hws_eu,ctc,sbc,hk_sbc,g42,hk_g42,otc)。
|
|
191
191
|
|
|
192
192
|
:param change_type: The change_type of this ResizeInstanceBody.
|
|
193
193
|
:type change_type: str
|
|
@@ -66,8 +66,7 @@ class ShowInstanceBandwidthAutoScalingPolicyResponse(SdkResponse):
|
|
|
66
66
|
|
|
67
67
|
self.window_size = window_size
|
|
68
68
|
self.bandwidth_usage_upper_threshold = bandwidth_usage_upper_threshold
|
|
69
|
-
|
|
70
|
-
self.scale_out_cooldown = scale_out_cooldown
|
|
69
|
+
self.scale_out_cooldown = scale_out_cooldown
|
|
71
70
|
if scale_in_enabled is not None:
|
|
72
71
|
self.scale_in_enabled = scale_in_enabled
|
|
73
72
|
if bandwidth_usage_lower_threshold is not None:
|
|
@@ -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 = {}
|
|
@@ -65,8 +65,7 @@ class UpdateInstanceBandwidthAutoScalingPolicyRequestBody:
|
|
|
65
65
|
|
|
66
66
|
self.window_size = window_size
|
|
67
67
|
self.bandwidth_usage_upper_threshold = bandwidth_usage_upper_threshold
|
|
68
|
-
|
|
69
|
-
self.scale_out_cooldown = scale_out_cooldown
|
|
68
|
+
self.scale_out_cooldown = scale_out_cooldown
|
|
70
69
|
if scale_in_enabled is not None:
|
|
71
70
|
self.scale_in_enabled = scale_in_enabled
|
|
72
71
|
if bandwidth_usage_lower_threshold is not None:
|
|
@@ -66,8 +66,7 @@ class UpdateInstanceBandwidthAutoScalingPolicyResponse(SdkResponse):
|
|
|
66
66
|
|
|
67
67
|
self.window_size = window_size
|
|
68
68
|
self.bandwidth_usage_upper_threshold = bandwidth_usage_upper_threshold
|
|
69
|
-
|
|
70
|
-
self.scale_out_cooldown = scale_out_cooldown
|
|
69
|
+
self.scale_out_cooldown = scale_out_cooldown
|
|
71
70
|
if scale_in_enabled is not None:
|
|
72
71
|
self.scale_in_enabled = scale_in_enabled
|
|
73
72
|
if bandwidth_usage_lower_threshold is not None:
|
|
@@ -60,6 +60,8 @@ class DcsRegion:
|
|
|
60
60
|
"https://dcs.my-kualalumpur-1.myhuaweicloud.com")
|
|
61
61
|
RU_MOSCOW_1 = Region("ru-moscow-1",
|
|
62
62
|
"https://dcs.ru-moscow-1.myhuaweicloud.com")
|
|
63
|
+
CN_EAST_4 = Region("cn-east-4",
|
|
64
|
+
"https://dcs.cn-east-4.myhuaweicloud.com")
|
|
63
65
|
|
|
64
66
|
static_fields = {
|
|
65
67
|
"af-south-1": AF_SOUTH_1,
|
|
@@ -89,6 +91,7 @@ class DcsRegion:
|
|
|
89
91
|
"cn-east-5": CN_EAST_5,
|
|
90
92
|
"my-kualalumpur-1": MY_KUALALUMPUR_1,
|
|
91
93
|
"ru-moscow-1": RU_MOSCOW_1,
|
|
94
|
+
"cn-east-4": CN_EAST_4,
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
@classmethod
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huaweicloudsdkdcs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.133
|
|
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.133
|
|
26
26
|
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@@ -15,8 +15,8 @@ huaweicloudsdkdcs/v2/model/backup_instance_body.py,sha256=qW1ppGY06rGP2x_MJMV9ct
|
|
|
15
15
|
huaweicloudsdkdcs/v2/model/backup_plan.py,sha256=-BzO1BZl1glOnmbvdKBOJA0PcKAf74ahchFBr72KP3A,6116
|
|
16
16
|
huaweicloudsdkdcs/v2/model/backup_policy.py,sha256=OsTxUcs5QzTpMATenBq_zJAOb8w3m0q6aWq_nErx5Bk,5358
|
|
17
17
|
huaweicloudsdkdcs/v2/model/backup_record_response.py,sha256=cFFB4sgPcw8aWwECYn69XGjGaukiWUVMK5gYoWrC-Wk,16878
|
|
18
|
-
huaweicloudsdkdcs/v2/model/bandwidth_auto_scaling_policy.py,sha256=
|
|
19
|
-
huaweicloudsdkdcs/v2/model/bandwidth_info.py,sha256=
|
|
18
|
+
huaweicloudsdkdcs/v2/model/bandwidth_auto_scaling_policy.py,sha256=M7bHrGE185T_3vAph3U6_16UinG1lgP52cj3Y1dRy7w,10712
|
|
19
|
+
huaweicloudsdkdcs/v2/model/bandwidth_info.py,sha256=uQi4NZMtwGIru46UONVoLln_PoxZb7gAbpBP1TPSFog,13523
|
|
20
20
|
huaweicloudsdkdcs/v2/model/batch_create_or_delete_tags_request.py,sha256=H9rVE5Kbl4ofmXP8xZ45Ob85yQgkTGk2ZWmm0pHsyuY,4056
|
|
21
21
|
huaweicloudsdkdcs/v2/model/batch_create_or_delete_tags_response.py,sha256=EzKa0sYh66s6xxwQWMWRbuA3CWUMoYGGfo9OE7Ctig8,2475
|
|
22
22
|
huaweicloudsdkdcs/v2/model/batch_delete_body.py,sha256=A-WCSHEpWn5US9ZECJOgTuDep6k04bDSlu9EaSEcN_o,3408
|
|
@@ -250,8 +250,8 @@ 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=
|
|
254
|
-
huaweicloudsdkdcs/v2/model/resize_instance_body.py,sha256=
|
|
253
|
+
huaweicloudsdkdcs/v2/model/reset_password_response.py,sha256=rNt7dYqCd4HTVdaZ3lNQY9L3IB2WaXhWnvkqwraeI8c,8296
|
|
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
|
|
257
257
|
huaweicloudsdkdcs/v2/model/resource_tag.py,sha256=NKaNeU5pKOh87RNX00jrIgV2XBVwcsBygEgLcP8uNvI,4204
|
|
@@ -293,7 +293,7 @@ huaweicloudsdkdcs/v2/model/show_hotkey_autoscan_config_response.py,sha256=D_ki5h
|
|
|
293
293
|
huaweicloudsdkdcs/v2/model/show_hotkey_task_details_request.py,sha256=HJX0FI_Of-b0HO57sW4d2Yi31D-1D_j_369UUnNKCLo,3976
|
|
294
294
|
huaweicloudsdkdcs/v2/model/show_hotkey_task_details_response.py,sha256=qdDBHTy8Nckrr0-tGDZp9SrwfQpL8T0f803gzKu8VEY,10212
|
|
295
295
|
huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_request.py,sha256=UOceBcN7LAuKZ61y07bkOwit0Hp7ez8JoUS6rLAW888,3282
|
|
296
|
-
huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_response.py,sha256=
|
|
296
|
+
huaweicloudsdkdcs/v2/model/show_instance_bandwidth_auto_scaling_policy_response.py,sha256=ePPtk9usTO-dBTumwEMd6icD-F_Tj4ofihfJKerMgXU,11391
|
|
297
297
|
huaweicloudsdkdcs/v2/model/show_instance_request.py,sha256=35JBZAz4wYNtYz9JJusxPMdg2JV_dHnHXX6ofZFoRG0,3100
|
|
298
298
|
huaweicloudsdkdcs/v2/model/show_instance_response.py,sha256=Ey4o7pePcc3AxZOjSdXBtB5nn7tdzVvStpa31QfwVEk,61945
|
|
299
299
|
huaweicloudsdkdcs/v2/model/show_instance_ssl_detail_request.py,sha256=fA8gaxN68SgH_-2ihl09A2O5jhtUOAvLmpl3TTuW2_U,3163
|
|
@@ -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
|
|
@@ -361,8 +361,8 @@ huaweicloudsdkdcs/v2/model/update_group_bandwidth_info_request.py,sha256=1KgeUn0
|
|
|
361
361
|
huaweicloudsdkdcs/v2/model/update_hotkey_auto_scan_config_request.py,sha256=p81xmzHWI8KaY4_z8DubG69qKubauwrVvC3oINYahsk,4072
|
|
362
362
|
huaweicloudsdkdcs/v2/model/update_hotkey_auto_scan_config_response.py,sha256=Q9Z9hcKR-XbpbS0D6H_kZdr4RTw7mTkV3tJ4YsJlWlM,6414
|
|
363
363
|
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request.py,sha256=cF5Nh95wh6QOavIClm74SCSXRh5fAMtfKtBBBR1k3e8,4360
|
|
364
|
-
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request_body.py,sha256=
|
|
365
|
-
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_response.py,sha256=
|
|
364
|
+
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_request_body.py,sha256=7rUGvRQHlg5qhOzhTT7ldlx6_BBbxjdVRUI_m1yTnvo,11387
|
|
365
|
+
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_auto_scaling_policy_response.py,sha256=CW-coTRabL9mmoGKmnftPIQYKm7QHucafj_brfga0zU,11447
|
|
366
366
|
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_request.py,sha256=ATpyWqWC2LceO2o7iiVut_BwTTXsk-SKhqIvQL9lnTs,3168
|
|
367
367
|
huaweicloudsdkdcs/v2/model/update_instance_bandwidth_response.py,sha256=mv1rizbP2HUYecGd48EP59wCqyNgGECGbyQCXCSavjY,2475
|
|
368
368
|
huaweicloudsdkdcs/v2/model/update_instance_config_request.py,sha256=Hx28aCLZ2nC1jt6XVFIriDQTQqcu0kgt13dVAs8b7Sw,3991
|
|
@@ -390,9 +390,9 @@ huaweicloudsdkdcs/v2/model/validate_deletable_replica_request.py,sha256=lG8XKqCU
|
|
|
390
390
|
huaweicloudsdkdcs/v2/model/validate_deletable_replica_response.py,sha256=kadAH-PhZuoFMeCk8eLqi6MVDrZ5FdONCdwrHQRaA-M,5687
|
|
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
|
-
huaweicloudsdkdcs/v2/region/dcs_region.py,sha256=
|
|
394
|
-
huaweicloudsdkdcs-3.1.
|
|
395
|
-
huaweicloudsdkdcs-3.1.
|
|
396
|
-
huaweicloudsdkdcs-3.1.
|
|
397
|
-
huaweicloudsdkdcs-3.1.
|
|
398
|
-
huaweicloudsdkdcs-3.1.
|
|
393
|
+
huaweicloudsdkdcs/v2/region/dcs_region.py,sha256=fL0F0SNVJ0e-EuI7u2G60YRJzkt8hRJlJYcYs_RmxYs,4861
|
|
394
|
+
huaweicloudsdkdcs-3.1.133.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
|
395
|
+
huaweicloudsdkdcs-3.1.133.dist-info/METADATA,sha256=ivCQt6yVXMUyjlRc2kU1KYhZY2UcZbrlgoLS0O-epXg,1135
|
|
396
|
+
huaweicloudsdkdcs-3.1.133.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
|
|
397
|
+
huaweicloudsdkdcs-3.1.133.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
|
|
398
|
+
huaweicloudsdkdcs-3.1.133.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|