huaweicloudsdkas 3.1.105__py2.py3-none-any.whl → 3.1.107__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 huaweicloudsdkas might be problematic. Click here for more details.
- huaweicloudsdkas/v1/model/interval_alarm_actions_v2.py +39 -10
- {huaweicloudsdkas-3.1.105.dist-info → huaweicloudsdkas-3.1.107.dist-info}/METADATA +2 -2
- {huaweicloudsdkas-3.1.105.dist-info → huaweicloudsdkas-3.1.107.dist-info}/RECORD +6 -6
- {huaweicloudsdkas-3.1.105.dist-info → huaweicloudsdkas-3.1.107.dist-info}/LICENSE +0 -0
- {huaweicloudsdkas-3.1.105.dist-info → huaweicloudsdkas-3.1.107.dist-info}/WHEEL +0 -0
- {huaweicloudsdkas-3.1.105.dist-info → huaweicloudsdkas-3.1.107.dist-info}/top_level.txt +0 -0
|
@@ -20,8 +20,9 @@ class IntervalAlarmActionsV2:
|
|
|
20
20
|
'operation': 'str',
|
|
21
21
|
'limits': 'int',
|
|
22
22
|
'size': 'int',
|
|
23
|
-
'lower_bound': '
|
|
24
|
-
'upper_bound': '
|
|
23
|
+
'lower_bound': 'float',
|
|
24
|
+
'upper_bound': 'float',
|
|
25
|
+
'percentage': 'int'
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
attribute_map = {
|
|
@@ -29,10 +30,11 @@ class IntervalAlarmActionsV2:
|
|
|
29
30
|
'limits': 'limits',
|
|
30
31
|
'size': 'size',
|
|
31
32
|
'lower_bound': 'lower_bound',
|
|
32
|
-
'upper_bound': 'upper_bound'
|
|
33
|
+
'upper_bound': 'upper_bound',
|
|
34
|
+
'percentage': 'percentage'
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
def __init__(self, operation=None, limits=None, size=None, lower_bound=None, upper_bound=None):
|
|
37
|
+
def __init__(self, operation=None, limits=None, size=None, lower_bound=None, upper_bound=None, percentage=None):
|
|
36
38
|
"""IntervalAlarmActionsV2
|
|
37
39
|
|
|
38
40
|
The model defined in huaweicloud sdk
|
|
@@ -44,9 +46,11 @@ class IntervalAlarmActionsV2:
|
|
|
44
46
|
:param size: 操作大小,取值范围为0到300的整数,默认为1。当scaling_resource_type为SCALING_GROUP时,size为实例个数,取值范围为0-300的整数,默认为1。当scaling_resource_type为BANDWIDTH时,size表示带宽大小,单位为Mbit/s,取值范围为1到300的整数,默认为1。当scaling_resource_type为SCALING_GROUP时,size和percentage参数只能选其中一个进行配置。
|
|
45
47
|
:type size: int
|
|
46
48
|
:param lower_bound:
|
|
47
|
-
:type lower_bound:
|
|
49
|
+
:type lower_bound: float
|
|
48
50
|
:param upper_bound:
|
|
49
|
-
:type upper_bound:
|
|
51
|
+
:type upper_bound: float
|
|
52
|
+
:param percentage: 操作百分比,取值为0到20000的整数。当scaling_resource_type为SCALING_GROUP时,size和instance_percentage参数均无配置,则size默认为1。当scaling_resource_type为BANDWIDTH时,不支持配置instance_percentage参数。
|
|
53
|
+
:type percentage: int
|
|
50
54
|
"""
|
|
51
55
|
|
|
52
56
|
|
|
@@ -56,6 +60,7 @@ class IntervalAlarmActionsV2:
|
|
|
56
60
|
self._size = None
|
|
57
61
|
self._lower_bound = None
|
|
58
62
|
self._upper_bound = None
|
|
63
|
+
self._percentage = None
|
|
59
64
|
self.discriminator = None
|
|
60
65
|
|
|
61
66
|
if operation is not None:
|
|
@@ -68,6 +73,8 @@ class IntervalAlarmActionsV2:
|
|
|
68
73
|
self.lower_bound = lower_bound
|
|
69
74
|
if upper_bound is not None:
|
|
70
75
|
self.upper_bound = upper_bound
|
|
76
|
+
if percentage is not None:
|
|
77
|
+
self.percentage = percentage
|
|
71
78
|
|
|
72
79
|
@property
|
|
73
80
|
def operation(self):
|
|
@@ -140,7 +147,7 @@ class IntervalAlarmActionsV2:
|
|
|
140
147
|
"""Gets the lower_bound of this IntervalAlarmActionsV2.
|
|
141
148
|
|
|
142
149
|
:return: The lower_bound of this IntervalAlarmActionsV2.
|
|
143
|
-
:rtype:
|
|
150
|
+
:rtype: float
|
|
144
151
|
"""
|
|
145
152
|
return self._lower_bound
|
|
146
153
|
|
|
@@ -149,7 +156,7 @@ class IntervalAlarmActionsV2:
|
|
|
149
156
|
"""Sets the lower_bound of this IntervalAlarmActionsV2.
|
|
150
157
|
|
|
151
158
|
:param lower_bound: The lower_bound of this IntervalAlarmActionsV2.
|
|
152
|
-
:type lower_bound:
|
|
159
|
+
:type lower_bound: float
|
|
153
160
|
"""
|
|
154
161
|
self._lower_bound = lower_bound
|
|
155
162
|
|
|
@@ -158,7 +165,7 @@ class IntervalAlarmActionsV2:
|
|
|
158
165
|
"""Gets the upper_bound of this IntervalAlarmActionsV2.
|
|
159
166
|
|
|
160
167
|
:return: The upper_bound of this IntervalAlarmActionsV2.
|
|
161
|
-
:rtype:
|
|
168
|
+
:rtype: float
|
|
162
169
|
"""
|
|
163
170
|
return self._upper_bound
|
|
164
171
|
|
|
@@ -167,10 +174,32 @@ class IntervalAlarmActionsV2:
|
|
|
167
174
|
"""Sets the upper_bound of this IntervalAlarmActionsV2.
|
|
168
175
|
|
|
169
176
|
:param upper_bound: The upper_bound of this IntervalAlarmActionsV2.
|
|
170
|
-
:type upper_bound:
|
|
177
|
+
:type upper_bound: float
|
|
171
178
|
"""
|
|
172
179
|
self._upper_bound = upper_bound
|
|
173
180
|
|
|
181
|
+
@property
|
|
182
|
+
def percentage(self):
|
|
183
|
+
"""Gets the percentage of this IntervalAlarmActionsV2.
|
|
184
|
+
|
|
185
|
+
操作百分比,取值为0到20000的整数。当scaling_resource_type为SCALING_GROUP时,size和instance_percentage参数均无配置,则size默认为1。当scaling_resource_type为BANDWIDTH时,不支持配置instance_percentage参数。
|
|
186
|
+
|
|
187
|
+
:return: The percentage of this IntervalAlarmActionsV2.
|
|
188
|
+
:rtype: int
|
|
189
|
+
"""
|
|
190
|
+
return self._percentage
|
|
191
|
+
|
|
192
|
+
@percentage.setter
|
|
193
|
+
def percentage(self, percentage):
|
|
194
|
+
"""Sets the percentage of this IntervalAlarmActionsV2.
|
|
195
|
+
|
|
196
|
+
操作百分比,取值为0到20000的整数。当scaling_resource_type为SCALING_GROUP时,size和instance_percentage参数均无配置,则size默认为1。当scaling_resource_type为BANDWIDTH时,不支持配置instance_percentage参数。
|
|
197
|
+
|
|
198
|
+
:param percentage: The percentage of this IntervalAlarmActionsV2.
|
|
199
|
+
:type percentage: int
|
|
200
|
+
"""
|
|
201
|
+
self._percentage = percentage
|
|
202
|
+
|
|
174
203
|
def to_dict(self):
|
|
175
204
|
"""Returns the model properties as a dict"""
|
|
176
205
|
result = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huaweicloudsdkas
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.107
|
|
4
4
|
Summary: AS
|
|
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.107
|
|
26
26
|
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@@ -94,7 +94,7 @@ huaweicloudsdkas/v1/model/instance_config.py,sha256=K_L1oMQ7Swj3pOiwftMhC6LxeNEu
|
|
|
94
94
|
huaweicloudsdkas/v1/model/instance_config_result.py,sha256=aitAg_rN9lY8ae4jLcS-sgT5zpmg6UJBmGE1Kkx2X1E,19992
|
|
95
95
|
huaweicloudsdkas/v1/model/instance_hanging_infos.py,sha256=05ElwVuW_oFny8iAX9c22tBubEhzMGp4jT0ZpKhHAcY,9581
|
|
96
96
|
huaweicloudsdkas/v1/model/integer_range.py,sha256=BlNoqUPlI9IwJW58nT4GItwRCy5m0vbrHQnNY1V37rU,4319
|
|
97
|
-
huaweicloudsdkas/v1/model/interval_alarm_actions_v2.py,sha256=
|
|
97
|
+
huaweicloudsdkas/v1/model/interval_alarm_actions_v2.py,sha256=8ti4rAKd0dMLHo4Jvu_UcMvB4rrjy4RdXYbYFZIrCbQ,10232
|
|
98
98
|
huaweicloudsdkas/v1/model/ipv6_bandwidth.py,sha256=610uZv7Qei2fQFnqlsmSkclCRXfmJ4kDj4dVtc3hW7U,2899
|
|
99
99
|
huaweicloudsdkas/v1/model/job_records.py,sha256=_NgUuyZ2LY8mh2f3FSmiql6pIgdqdiLFI2R0UxYMYRQ,8778
|
|
100
100
|
huaweicloudsdkas/v1/model/lbaas_listener.py,sha256=Fuioc-XbC1y0CHLnIFIT4-KqYl38-fFl3awJvmBK9mg,5706
|
|
@@ -221,8 +221,8 @@ huaweicloudsdkas/v1/model/version_info.py,sha256=ZoSCNFKzi6pIGXRbAvB6mIpSgOnUZpj
|
|
|
221
221
|
huaweicloudsdkas/v1/model/vm_meta_data.py,sha256=GU4Te8qWXF1CclUyLa0Ob5PZ-fT5p4OebODE8sDVZ2c,4673
|
|
222
222
|
huaweicloudsdkas/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
223
223
|
huaweicloudsdkas/v1/region/as_region.py,sha256=DlH0xzZ5Ljr0WyWoJRZ7xgzUGs-XbA5gYDqphGUeL2U,4301
|
|
224
|
-
huaweicloudsdkas-3.1.
|
|
225
|
-
huaweicloudsdkas-3.1.
|
|
226
|
-
huaweicloudsdkas-3.1.
|
|
227
|
-
huaweicloudsdkas-3.1.
|
|
228
|
-
huaweicloudsdkas-3.1.
|
|
224
|
+
huaweicloudsdkas-3.1.107.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
|
225
|
+
huaweicloudsdkas-3.1.107.dist-info/METADATA,sha256=Ibs33Vhg7NbN153U_eh-zm87allCLCWRyQ0KU_Vp2w0,1133
|
|
226
|
+
huaweicloudsdkas-3.1.107.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
227
|
+
huaweicloudsdkas-3.1.107.dist-info/top_level.txt,sha256=dgGlzxcKTIbmcaoJpGjIcPn2cUQUfCO_hGpSYSc0rZQ,17
|
|
228
|
+
huaweicloudsdkas-3.1.107.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|