huaweicloudsdkas 3.1.96__py2.py3-none-any.whl → 3.1.98__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/create_scaling_group_option.py +32 -3
- huaweicloudsdkas/v1/model/scaling_groups.py +32 -3
- {huaweicloudsdkas-3.1.96.dist-info → huaweicloudsdkas-3.1.98.dist-info}/METADATA +2 -2
- {huaweicloudsdkas-3.1.96.dist-info → huaweicloudsdkas-3.1.98.dist-info}/RECORD +7 -7
- {huaweicloudsdkas-3.1.96.dist-info → huaweicloudsdkas-3.1.98.dist-info}/LICENSE +0 -0
- {huaweicloudsdkas-3.1.96.dist-info → huaweicloudsdkas-3.1.98.dist-info}/WHEEL +0 -0
- {huaweicloudsdkas-3.1.96.dist-info → huaweicloudsdkas-3.1.98.dist-info}/top_level.txt +0 -0
|
@@ -39,7 +39,8 @@ class CreateScalingGroupOption:
|
|
|
39
39
|
'enterprise_project_id': 'str',
|
|
40
40
|
'multi_az_priority_policy': 'str',
|
|
41
41
|
'iam_agency_name': 'str',
|
|
42
|
-
'description': 'str'
|
|
42
|
+
'description': 'str',
|
|
43
|
+
'tags': 'list[TagsSingleValue]'
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
attribute_map = {
|
|
@@ -65,10 +66,11 @@ class CreateScalingGroupOption:
|
|
|
65
66
|
'enterprise_project_id': 'enterprise_project_id',
|
|
66
67
|
'multi_az_priority_policy': 'multi_az_priority_policy',
|
|
67
68
|
'iam_agency_name': 'iam_agency_name',
|
|
68
|
-
'description': 'description'
|
|
69
|
+
'description': 'description',
|
|
70
|
+
'tags': 'tags'
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
def __init__(self, scaling_group_name=None, scaling_configuration_id=None, desire_instance_number=None, min_instance_number=None, max_instance_number=None, cool_down_time=None, lb_listener_id=None, lbaas_listeners=None, available_zones=None, networks=None, security_groups=None, vpc_id=None, health_periodic_audit_method=None, health_periodic_audit_time=None, health_periodic_audit_grace_period=None, instance_terminate_policy=None, notifications=None, delete_publicip=None, delete_volume=None, enterprise_project_id=None, multi_az_priority_policy=None, iam_agency_name=None, description=None):
|
|
73
|
+
def __init__(self, scaling_group_name=None, scaling_configuration_id=None, desire_instance_number=None, min_instance_number=None, max_instance_number=None, cool_down_time=None, lb_listener_id=None, lbaas_listeners=None, available_zones=None, networks=None, security_groups=None, vpc_id=None, health_periodic_audit_method=None, health_periodic_audit_time=None, health_periodic_audit_grace_period=None, instance_terminate_policy=None, notifications=None, delete_publicip=None, delete_volume=None, enterprise_project_id=None, multi_az_priority_policy=None, iam_agency_name=None, description=None, tags=None):
|
|
72
74
|
"""CreateScalingGroupOption
|
|
73
75
|
|
|
74
76
|
The model defined in huaweicloud sdk
|
|
@@ -119,6 +121,8 @@ class CreateScalingGroupOption:
|
|
|
119
121
|
:type iam_agency_name: str
|
|
120
122
|
:param description: 伸缩组描述信息(0-256个字符)
|
|
121
123
|
:type description: str
|
|
124
|
+
:param tags: 创建特定标签并将其添加到伸缩组。每个伸缩组最多添加10个标签。
|
|
125
|
+
:type tags: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
|
|
122
126
|
"""
|
|
123
127
|
|
|
124
128
|
|
|
@@ -146,6 +150,7 @@ class CreateScalingGroupOption:
|
|
|
146
150
|
self._multi_az_priority_policy = None
|
|
147
151
|
self._iam_agency_name = None
|
|
148
152
|
self._description = None
|
|
153
|
+
self._tags = None
|
|
149
154
|
self.discriminator = None
|
|
150
155
|
|
|
151
156
|
self.scaling_group_name = scaling_group_name
|
|
@@ -190,6 +195,8 @@ class CreateScalingGroupOption:
|
|
|
190
195
|
self.iam_agency_name = iam_agency_name
|
|
191
196
|
if description is not None:
|
|
192
197
|
self.description = description
|
|
198
|
+
if tags is not None:
|
|
199
|
+
self.tags = tags
|
|
193
200
|
|
|
194
201
|
@property
|
|
195
202
|
def scaling_group_name(self):
|
|
@@ -697,6 +704,28 @@ class CreateScalingGroupOption:
|
|
|
697
704
|
"""
|
|
698
705
|
self._description = description
|
|
699
706
|
|
|
707
|
+
@property
|
|
708
|
+
def tags(self):
|
|
709
|
+
"""Gets the tags of this CreateScalingGroupOption.
|
|
710
|
+
|
|
711
|
+
创建特定标签并将其添加到伸缩组。每个伸缩组最多添加10个标签。
|
|
712
|
+
|
|
713
|
+
:return: The tags of this CreateScalingGroupOption.
|
|
714
|
+
:rtype: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
|
|
715
|
+
"""
|
|
716
|
+
return self._tags
|
|
717
|
+
|
|
718
|
+
@tags.setter
|
|
719
|
+
def tags(self, tags):
|
|
720
|
+
"""Sets the tags of this CreateScalingGroupOption.
|
|
721
|
+
|
|
722
|
+
创建特定标签并将其添加到伸缩组。每个伸缩组最多添加10个标签。
|
|
723
|
+
|
|
724
|
+
:param tags: The tags of this CreateScalingGroupOption.
|
|
725
|
+
:type tags: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
|
|
726
|
+
"""
|
|
727
|
+
self._tags = tags
|
|
728
|
+
|
|
700
729
|
def to_dict(self):
|
|
701
730
|
"""Returns the model properties as a dict"""
|
|
702
731
|
result = {}
|
|
@@ -48,7 +48,8 @@ class ScalingGroups:
|
|
|
48
48
|
'activity_type': 'str',
|
|
49
49
|
'multi_az_priority_policy': 'str',
|
|
50
50
|
'iam_agency_name': 'str',
|
|
51
|
-
'description': 'str'
|
|
51
|
+
'description': 'str',
|
|
52
|
+
'tags': 'list[TagsSingleValue]'
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
attribute_map = {
|
|
@@ -83,10 +84,11 @@ class ScalingGroups:
|
|
|
83
84
|
'activity_type': 'activity_type',
|
|
84
85
|
'multi_az_priority_policy': 'multi_az_priority_policy',
|
|
85
86
|
'iam_agency_name': 'iam_agency_name',
|
|
86
|
-
'description': 'description'
|
|
87
|
+
'description': 'description',
|
|
88
|
+
'tags': 'tags'
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
def __init__(self, scaling_group_name=None, scaling_group_id=None, scaling_group_status=None, scaling_configuration_id=None, scaling_configuration_name=None, current_instance_number=None, desire_instance_number=None, min_instance_number=None, max_instance_number=None, cool_down_time=None, lb_listener_id=None, lbaas_listeners=None, available_zones=None, networks=None, security_groups=None, create_time=None, vpc_id=None, detail=None, is_scaling=None, health_periodic_audit_method=None, health_periodic_audit_time=None, health_periodic_audit_grace_period=None, instance_terminate_policy=None, notifications=None, delete_publicip=None, delete_volume=None, cloud_location_id=None, enterprise_project_id=None, activity_type=None, multi_az_priority_policy=None, iam_agency_name=None, description=None):
|
|
91
|
+
def __init__(self, scaling_group_name=None, scaling_group_id=None, scaling_group_status=None, scaling_configuration_id=None, scaling_configuration_name=None, current_instance_number=None, desire_instance_number=None, min_instance_number=None, max_instance_number=None, cool_down_time=None, lb_listener_id=None, lbaas_listeners=None, available_zones=None, networks=None, security_groups=None, create_time=None, vpc_id=None, detail=None, is_scaling=None, health_periodic_audit_method=None, health_periodic_audit_time=None, health_periodic_audit_grace_period=None, instance_terminate_policy=None, notifications=None, delete_publicip=None, delete_volume=None, cloud_location_id=None, enterprise_project_id=None, activity_type=None, multi_az_priority_policy=None, iam_agency_name=None, description=None, tags=None):
|
|
90
92
|
"""ScalingGroups
|
|
91
93
|
|
|
92
94
|
The model defined in huaweicloud sdk
|
|
@@ -155,6 +157,8 @@ class ScalingGroups:
|
|
|
155
157
|
:type iam_agency_name: str
|
|
156
158
|
:param description: 伸缩组描述信息
|
|
157
159
|
:type description: str
|
|
160
|
+
:param tags: 添加到伸缩组的标签。
|
|
161
|
+
:type tags: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
|
|
158
162
|
"""
|
|
159
163
|
|
|
160
164
|
|
|
@@ -191,6 +195,7 @@ class ScalingGroups:
|
|
|
191
195
|
self._multi_az_priority_policy = None
|
|
192
196
|
self._iam_agency_name = None
|
|
193
197
|
self._description = None
|
|
198
|
+
self._tags = None
|
|
194
199
|
self.discriminator = None
|
|
195
200
|
|
|
196
201
|
if scaling_group_name is not None:
|
|
@@ -257,6 +262,8 @@ class ScalingGroups:
|
|
|
257
262
|
self.iam_agency_name = iam_agency_name
|
|
258
263
|
if description is not None:
|
|
259
264
|
self.description = description
|
|
265
|
+
if tags is not None:
|
|
266
|
+
self.tags = tags
|
|
260
267
|
|
|
261
268
|
@property
|
|
262
269
|
def scaling_group_name(self):
|
|
@@ -962,6 +969,28 @@ class ScalingGroups:
|
|
|
962
969
|
"""
|
|
963
970
|
self._description = description
|
|
964
971
|
|
|
972
|
+
@property
|
|
973
|
+
def tags(self):
|
|
974
|
+
"""Gets the tags of this ScalingGroups.
|
|
975
|
+
|
|
976
|
+
添加到伸缩组的标签。
|
|
977
|
+
|
|
978
|
+
:return: The tags of this ScalingGroups.
|
|
979
|
+
:rtype: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
|
|
980
|
+
"""
|
|
981
|
+
return self._tags
|
|
982
|
+
|
|
983
|
+
@tags.setter
|
|
984
|
+
def tags(self, tags):
|
|
985
|
+
"""Sets the tags of this ScalingGroups.
|
|
986
|
+
|
|
987
|
+
添加到伸缩组的标签。
|
|
988
|
+
|
|
989
|
+
:param tags: The tags of this ScalingGroups.
|
|
990
|
+
:type tags: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
|
|
991
|
+
"""
|
|
992
|
+
self._tags = tags
|
|
993
|
+
|
|
965
994
|
def to_dict(self):
|
|
966
995
|
"""Returns the model properties as a dict"""
|
|
967
996
|
result = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huaweicloudsdkas
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.98
|
|
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.98
|
|
26
26
|
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@@ -50,7 +50,7 @@ huaweicloudsdkas/v1/model/create_notification_option.py,sha256=KYWdk0yylVeaYwGwC
|
|
|
50
50
|
huaweicloudsdkas/v1/model/create_scaling_config_option.py,sha256=xrUdkozp36JHk2Muj4jNh-GMmzxyadOa3w7IUUc6_fA,8645
|
|
51
51
|
huaweicloudsdkas/v1/model/create_scaling_config_request.py,sha256=HzuvsLafGs_OnATfwPt7s8eBFc1jFvcisUcqmTs1QsQ,3188
|
|
52
52
|
huaweicloudsdkas/v1/model/create_scaling_config_response.py,sha256=M8SM-M_8-ObrIOAU2xU5z3mygjaAexREL8xSNm7kv_U,3624
|
|
53
|
-
huaweicloudsdkas/v1/model/create_scaling_group_option.py,sha256=
|
|
53
|
+
huaweicloudsdkas/v1/model/create_scaling_group_option.py,sha256=EfK3xci-LZvkLGRodMTmq3nFcRKSpCVqkbWGR4b_HVM,42425
|
|
54
54
|
huaweicloudsdkas/v1/model/create_scaling_group_request.py,sha256=Dsy7VOHsWj_8FXx8-aWkZMkFGyEPkrDdYMw-M8iQnhY,3176
|
|
55
55
|
huaweicloudsdkas/v1/model/create_scaling_group_response.py,sha256=1HhZ5LoRI6i7A2AMq97PlzA9zhoqc-y8obuBeDadUUE,3423
|
|
56
56
|
huaweicloudsdkas/v1/model/create_scaling_notification_request.py,sha256=fCjP4qppwgX4RuAfnnhPtzRt8p_Ra7fI8W8PK7zKNyM,4200
|
|
@@ -167,7 +167,7 @@ huaweicloudsdkas/v1/model/scaling_activity_log_v2.py,sha256=3nkO13stvCwAjSoGwhuv
|
|
|
167
167
|
huaweicloudsdkas/v1/model/scaling_all_policy_detail.py,sha256=NOnNJlxCKax7NKNGNNtsu8uQqeR7fQXRlYRiA4kj-PI,16847
|
|
168
168
|
huaweicloudsdkas/v1/model/scaling_configuration.py,sha256=I7H1O3yV4IhqLO6huKeRDh5u8ruqEOXRoBvRO7pktqg,8426
|
|
169
169
|
huaweicloudsdkas/v1/model/scaling_group_instance.py,sha256=vi3e0rrS9OoJVA6jsicAgA3ak1OmA0zAiPtfP_zmp3Y,13842
|
|
170
|
-
huaweicloudsdkas/v1/model/scaling_groups.py,sha256=
|
|
170
|
+
huaweicloudsdkas/v1/model/scaling_groups.py,sha256=sPtg0IWdPnKlACkT9uPNrfhuwknsqOQ3aNHYyit1ADg,36809
|
|
171
171
|
huaweicloudsdkas/v1/model/scaling_instance.py,sha256=NrKmgwqWuPeQ0pNrSDshvw1xoleSpyvcoVU9g7qujXQ,6775
|
|
172
172
|
huaweicloudsdkas/v1/model/scaling_policies_v2.py,sha256=avUVPpN3qw03KCPzOdTJYSw_uVYQJgaetaTlT45C8vE,16572
|
|
173
173
|
huaweicloudsdkas/v1/model/scaling_policy_action_v1.py,sha256=moOvd7fh9ZMQaaGKmYA3A3SKdG8g2eELjYAO3leCzH8,7396
|
|
@@ -220,8 +220,8 @@ huaweicloudsdkas/v1/model/version_info.py,sha256=ZoSCNFKzi6pIGXRbAvB6mIpSgOnUZpj
|
|
|
220
220
|
huaweicloudsdkas/v1/model/vm_meta_data.py,sha256=GU4Te8qWXF1CclUyLa0Ob5PZ-fT5p4OebODE8sDVZ2c,4673
|
|
221
221
|
huaweicloudsdkas/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
222
222
|
huaweicloudsdkas/v1/region/as_region.py,sha256=DlH0xzZ5Ljr0WyWoJRZ7xgzUGs-XbA5gYDqphGUeL2U,4301
|
|
223
|
-
huaweicloudsdkas-3.1.
|
|
224
|
-
huaweicloudsdkas-3.1.
|
|
225
|
-
huaweicloudsdkas-3.1.
|
|
226
|
-
huaweicloudsdkas-3.1.
|
|
227
|
-
huaweicloudsdkas-3.1.
|
|
223
|
+
huaweicloudsdkas-3.1.98.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
|
224
|
+
huaweicloudsdkas-3.1.98.dist-info/METADATA,sha256=eaiQbKf7nn3GxYkxtEjRof2Sz2BYmVk-ZRypV5hrm1A,1131
|
|
225
|
+
huaweicloudsdkas-3.1.98.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
226
|
+
huaweicloudsdkas-3.1.98.dist-info/top_level.txt,sha256=dgGlzxcKTIbmcaoJpGjIcPn2cUQUfCO_hGpSYSc0rZQ,17
|
|
227
|
+
huaweicloudsdkas-3.1.98.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|