huaweicloudsdkelb 3.1.153__py2.py3-none-any.whl → 3.1.155__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.
Files changed (30) hide show
  1. huaweicloudsdkelb/v2/__init__.py +1 -0
  2. huaweicloudsdkelb/v2/model/__init__.py +1 -0
  3. huaweicloudsdkelb/v2/model/create_loadbalancer_req.py +28 -3
  4. huaweicloudsdkelb/v2/model/prepaid_create_option.py +201 -0
  5. huaweicloudsdkelb/v3/__init__.py +3 -1
  6. huaweicloudsdkelb/v3/elb_async_client.py +83 -0
  7. huaweicloudsdkelb/v3/elb_client.py +83 -0
  8. huaweicloudsdkelb/v3/model/__init__.py +3 -1
  9. huaweicloudsdkelb/v3/model/batch_member.py +6 -6
  10. huaweicloudsdkelb/v3/model/batch_update_member.py +6 -6
  11. huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
  12. huaweicloudsdkelb/v3/model/create_listener_option.py +3 -3
  13. huaweicloudsdkelb/v3/model/create_pool_option.py +9 -9
  14. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  15. huaweicloudsdkelb/v3/model/list_certificates_request.py +32 -3
  16. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  17. huaweicloudsdkelb/v3/model/local_port.py +231 -0
  18. huaweicloudsdkelb/v3/model/member.py +6 -6
  19. huaweicloudsdkelb/v3/model/member_info.py +6 -6
  20. huaweicloudsdkelb/v3/model/pool.py +3 -3
  21. huaweicloudsdkelb/v3/model/show_load_balancer_ports_request.py +259 -0
  22. huaweicloudsdkelb/v3/model/show_load_balancer_ports_response.py +145 -0
  23. huaweicloudsdkelb/v3/model/update_pool_option.py +3 -3
  24. huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +3 -28
  25. {huaweicloudsdkelb-3.1.153.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/METADATA +2 -2
  26. {huaweicloudsdkelb-3.1.153.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/RECORD +29 -26
  27. huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +0 -200
  28. {huaweicloudsdkelb-3.1.153.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/LICENSE +0 -0
  29. {huaweicloudsdkelb-3.1.153.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/WHEEL +0 -0
  30. {huaweicloudsdkelb-3.1.153.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,259 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowLoadBalancerPortsRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'loadbalancer_id': 'str',
21
+ 'port_id': 'list[str]',
22
+ 'ip_address': 'list[str]',
23
+ 'ipv6_address': 'list[str]',
24
+ 'type': 'list[str]',
25
+ 'virsubnet_id': 'list[str]'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'loadbalancer_id': 'loadbalancer_id',
30
+ 'port_id': 'port_id',
31
+ 'ip_address': 'ip_address',
32
+ 'ipv6_address': 'ipv6_address',
33
+ 'type': 'type',
34
+ 'virsubnet_id': 'virsubnet_id'
35
+ }
36
+
37
+ def __init__(self, loadbalancer_id=None, port_id=None, ip_address=None, ipv6_address=None, type=None, virsubnet_id=None):
38
+ r"""ShowLoadBalancerPortsRequest
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param loadbalancer_id: 负载均衡器ID。
43
+ :type loadbalancer_id: str
44
+ :param port_id: port id。 支持多值查询,查询条件格式:*port_id=xxx&port_id=xxx*。
45
+ :type port_id: list[str]
46
+ :param ip_address: ipv4 地址。 支持多值查询,查询条件格式:*ip_address=xxx&ip_address=xxx*。
47
+ :type ip_address: list[str]
48
+ :param ipv6_address: ipv6 地址。 支持多值查询,查询条件格式:*ipv6_address=xxx&ipv6_address=xxx*。
49
+ :type ipv6_address: list[str]
50
+ :param type: port类型。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
51
+ :type type: list[str]
52
+ :param virsubnet_id: 虚拟网络id。 支持多值查询,查询条件格式:*virsubnet_id=xxx&virsubnet_id=xxx*。
53
+ :type virsubnet_id: list[str]
54
+ """
55
+
56
+
57
+
58
+ self._loadbalancer_id = None
59
+ self._port_id = None
60
+ self._ip_address = None
61
+ self._ipv6_address = None
62
+ self._type = None
63
+ self._virsubnet_id = None
64
+ self.discriminator = None
65
+
66
+ self.loadbalancer_id = loadbalancer_id
67
+ if port_id is not None:
68
+ self.port_id = port_id
69
+ if ip_address is not None:
70
+ self.ip_address = ip_address
71
+ if ipv6_address is not None:
72
+ self.ipv6_address = ipv6_address
73
+ if type is not None:
74
+ self.type = type
75
+ if virsubnet_id is not None:
76
+ self.virsubnet_id = virsubnet_id
77
+
78
+ @property
79
+ def loadbalancer_id(self):
80
+ r"""Gets the loadbalancer_id of this ShowLoadBalancerPortsRequest.
81
+
82
+ 负载均衡器ID。
83
+
84
+ :return: The loadbalancer_id of this ShowLoadBalancerPortsRequest.
85
+ :rtype: str
86
+ """
87
+ return self._loadbalancer_id
88
+
89
+ @loadbalancer_id.setter
90
+ def loadbalancer_id(self, loadbalancer_id):
91
+ r"""Sets the loadbalancer_id of this ShowLoadBalancerPortsRequest.
92
+
93
+ 负载均衡器ID。
94
+
95
+ :param loadbalancer_id: The loadbalancer_id of this ShowLoadBalancerPortsRequest.
96
+ :type loadbalancer_id: str
97
+ """
98
+ self._loadbalancer_id = loadbalancer_id
99
+
100
+ @property
101
+ def port_id(self):
102
+ r"""Gets the port_id of this ShowLoadBalancerPortsRequest.
103
+
104
+ port id。 支持多值查询,查询条件格式:*port_id=xxx&port_id=xxx*。
105
+
106
+ :return: The port_id of this ShowLoadBalancerPortsRequest.
107
+ :rtype: list[str]
108
+ """
109
+ return self._port_id
110
+
111
+ @port_id.setter
112
+ def port_id(self, port_id):
113
+ r"""Sets the port_id of this ShowLoadBalancerPortsRequest.
114
+
115
+ port id。 支持多值查询,查询条件格式:*port_id=xxx&port_id=xxx*。
116
+
117
+ :param port_id: The port_id of this ShowLoadBalancerPortsRequest.
118
+ :type port_id: list[str]
119
+ """
120
+ self._port_id = port_id
121
+
122
+ @property
123
+ def ip_address(self):
124
+ r"""Gets the ip_address of this ShowLoadBalancerPortsRequest.
125
+
126
+ ipv4 地址。 支持多值查询,查询条件格式:*ip_address=xxx&ip_address=xxx*。
127
+
128
+ :return: The ip_address of this ShowLoadBalancerPortsRequest.
129
+ :rtype: list[str]
130
+ """
131
+ return self._ip_address
132
+
133
+ @ip_address.setter
134
+ def ip_address(self, ip_address):
135
+ r"""Sets the ip_address of this ShowLoadBalancerPortsRequest.
136
+
137
+ ipv4 地址。 支持多值查询,查询条件格式:*ip_address=xxx&ip_address=xxx*。
138
+
139
+ :param ip_address: The ip_address of this ShowLoadBalancerPortsRequest.
140
+ :type ip_address: list[str]
141
+ """
142
+ self._ip_address = ip_address
143
+
144
+ @property
145
+ def ipv6_address(self):
146
+ r"""Gets the ipv6_address of this ShowLoadBalancerPortsRequest.
147
+
148
+ ipv6 地址。 支持多值查询,查询条件格式:*ipv6_address=xxx&ipv6_address=xxx*。
149
+
150
+ :return: The ipv6_address of this ShowLoadBalancerPortsRequest.
151
+ :rtype: list[str]
152
+ """
153
+ return self._ipv6_address
154
+
155
+ @ipv6_address.setter
156
+ def ipv6_address(self, ipv6_address):
157
+ r"""Sets the ipv6_address of this ShowLoadBalancerPortsRequest.
158
+
159
+ ipv6 地址。 支持多值查询,查询条件格式:*ipv6_address=xxx&ipv6_address=xxx*。
160
+
161
+ :param ipv6_address: The ipv6_address of this ShowLoadBalancerPortsRequest.
162
+ :type ipv6_address: list[str]
163
+ """
164
+ self._ipv6_address = ipv6_address
165
+
166
+ @property
167
+ def type(self):
168
+ r"""Gets the type of this ShowLoadBalancerPortsRequest.
169
+
170
+ port类型。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
171
+
172
+ :return: The type of this ShowLoadBalancerPortsRequest.
173
+ :rtype: list[str]
174
+ """
175
+ return self._type
176
+
177
+ @type.setter
178
+ def type(self, type):
179
+ r"""Sets the type of this ShowLoadBalancerPortsRequest.
180
+
181
+ port类型。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
182
+
183
+ :param type: The type of this ShowLoadBalancerPortsRequest.
184
+ :type type: list[str]
185
+ """
186
+ self._type = type
187
+
188
+ @property
189
+ def virsubnet_id(self):
190
+ r"""Gets the virsubnet_id of this ShowLoadBalancerPortsRequest.
191
+
192
+ 虚拟网络id。 支持多值查询,查询条件格式:*virsubnet_id=xxx&virsubnet_id=xxx*。
193
+
194
+ :return: The virsubnet_id of this ShowLoadBalancerPortsRequest.
195
+ :rtype: list[str]
196
+ """
197
+ return self._virsubnet_id
198
+
199
+ @virsubnet_id.setter
200
+ def virsubnet_id(self, virsubnet_id):
201
+ r"""Sets the virsubnet_id of this ShowLoadBalancerPortsRequest.
202
+
203
+ 虚拟网络id。 支持多值查询,查询条件格式:*virsubnet_id=xxx&virsubnet_id=xxx*。
204
+
205
+ :param virsubnet_id: The virsubnet_id of this ShowLoadBalancerPortsRequest.
206
+ :type virsubnet_id: list[str]
207
+ """
208
+ self._virsubnet_id = virsubnet_id
209
+
210
+ def to_dict(self):
211
+ """Returns the model properties as a dict"""
212
+ result = {}
213
+
214
+ for attr, _ in six.iteritems(self.openapi_types):
215
+ value = getattr(self, attr)
216
+ if isinstance(value, list):
217
+ result[attr] = list(map(
218
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
219
+ value
220
+ ))
221
+ elif hasattr(value, "to_dict"):
222
+ result[attr] = value.to_dict()
223
+ elif isinstance(value, dict):
224
+ result[attr] = dict(map(
225
+ lambda item: (item[0], item[1].to_dict())
226
+ if hasattr(item[1], "to_dict") else item,
227
+ value.items()
228
+ ))
229
+ else:
230
+ if attr in self.sensitive_list:
231
+ result[attr] = "****"
232
+ else:
233
+ result[attr] = value
234
+
235
+ return result
236
+
237
+ def to_str(self):
238
+ """Returns the string representation of the model"""
239
+ import simplejson as json
240
+ if six.PY2:
241
+ import sys
242
+ reload(sys)
243
+ sys.setdefaultencoding("utf-8")
244
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
245
+
246
+ def __repr__(self):
247
+ """For `print`"""
248
+ return self.to_str()
249
+
250
+ def __eq__(self, other):
251
+ """Returns true if both objects are equal"""
252
+ if not isinstance(other, ShowLoadBalancerPortsRequest):
253
+ return False
254
+
255
+ return self.__dict__ == other.__dict__
256
+
257
+ def __ne__(self, other):
258
+ """Returns true if both objects are not equal"""
259
+ return not self == other
@@ -0,0 +1,145 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowLoadBalancerPortsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'ports': 'list[LocalPort]',
22
+ 'request_id': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'ports': 'ports',
27
+ 'request_id': 'request_id'
28
+ }
29
+
30
+ def __init__(self, ports=None, request_id=None):
31
+ r"""ShowLoadBalancerPortsResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param ports: 当前ELB占用的ports列表。
36
+ :type ports: list[:class:`huaweicloudsdkelb.v3.LocalPort`]
37
+ :param request_id: 请求ID。 注:自动生成 。
38
+ :type request_id: str
39
+ """
40
+
41
+ super(ShowLoadBalancerPortsResponse, self).__init__()
42
+
43
+ self._ports = None
44
+ self._request_id = None
45
+ self.discriminator = None
46
+
47
+ if ports is not None:
48
+ self.ports = ports
49
+ if request_id is not None:
50
+ self.request_id = request_id
51
+
52
+ @property
53
+ def ports(self):
54
+ r"""Gets the ports of this ShowLoadBalancerPortsResponse.
55
+
56
+ 当前ELB占用的ports列表。
57
+
58
+ :return: The ports of this ShowLoadBalancerPortsResponse.
59
+ :rtype: list[:class:`huaweicloudsdkelb.v3.LocalPort`]
60
+ """
61
+ return self._ports
62
+
63
+ @ports.setter
64
+ def ports(self, ports):
65
+ r"""Sets the ports of this ShowLoadBalancerPortsResponse.
66
+
67
+ 当前ELB占用的ports列表。
68
+
69
+ :param ports: The ports of this ShowLoadBalancerPortsResponse.
70
+ :type ports: list[:class:`huaweicloudsdkelb.v3.LocalPort`]
71
+ """
72
+ self._ports = ports
73
+
74
+ @property
75
+ def request_id(self):
76
+ r"""Gets the request_id of this ShowLoadBalancerPortsResponse.
77
+
78
+ 请求ID。 注:自动生成 。
79
+
80
+ :return: The request_id of this ShowLoadBalancerPortsResponse.
81
+ :rtype: str
82
+ """
83
+ return self._request_id
84
+
85
+ @request_id.setter
86
+ def request_id(self, request_id):
87
+ r"""Sets the request_id of this ShowLoadBalancerPortsResponse.
88
+
89
+ 请求ID。 注:自动生成 。
90
+
91
+ :param request_id: The request_id of this ShowLoadBalancerPortsResponse.
92
+ :type request_id: str
93
+ """
94
+ self._request_id = request_id
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, ShowLoadBalancerPortsResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other
@@ -71,7 +71,7 @@ class UpdatePoolOption:
71
71
  :type session_persistence: :class:`huaweicloudsdkelb.v3.UpdatePoolSessionPersistenceOption`
72
72
  :param slow_start:
73
73
  :type slow_start: :class:`huaweicloudsdkelb.v3.UpdatePoolSlowStartOption`
74
- :param member_deletion_protection_enable: 是否开启删除保护。 取值:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
74
+ :param member_deletion_protection_enable: 参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
75
75
  :type member_deletion_protection_enable: bool
76
76
  :param vpc_id: 后端服务器组关联的虚拟私有云的ID。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 只有vpc_id为空时允许更新。
77
77
  :type vpc_id: str
@@ -274,7 +274,7 @@ class UpdatePoolOption:
274
274
  def member_deletion_protection_enable(self):
275
275
  r"""Gets the member_deletion_protection_enable of this UpdatePoolOption.
276
276
 
277
- 是否开启删除保护。 取值:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
277
+ 参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
278
278
 
279
279
  :return: The member_deletion_protection_enable of this UpdatePoolOption.
280
280
  :rtype: bool
@@ -285,7 +285,7 @@ class UpdatePoolOption:
285
285
  def member_deletion_protection_enable(self, member_deletion_protection_enable):
286
286
  r"""Sets the member_deletion_protection_enable of this UpdatePoolOption.
287
287
 
288
- 是否开启删除保护。 取值:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
288
+ 参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
289
289
 
290
290
  :param member_deletion_protection_enable: The member_deletion_protection_enable of this UpdatePoolOption.
291
291
  :type member_deletion_protection_enable: bool
@@ -23,8 +23,7 @@ class UpgradeV3RequestBody:
23
23
  'availability_zone_list': 'list[str]',
24
24
  'ipv6_vip_virsubnet_id': 'str',
25
25
  'ipv6_vip_address': 'str',
26
- 'elb_virsubnet_ids': 'list[str]',
27
- 'prepaid_options': 'UpgradePrepaidOption'
26
+ 'elb_virsubnet_ids': 'list[str]'
28
27
  }
29
28
 
30
29
  attribute_map = {
@@ -34,11 +33,10 @@ class UpgradeV3RequestBody:
34
33
  'availability_zone_list': 'availability_zone_list',
35
34
  'ipv6_vip_virsubnet_id': 'ipv6_vip_virsubnet_id',
36
35
  'ipv6_vip_address': 'ipv6_vip_address',
37
- 'elb_virsubnet_ids': 'elb_virsubnet_ids',
38
- 'prepaid_options': 'prepaid_options'
36
+ 'elb_virsubnet_ids': 'elb_virsubnet_ids'
39
37
  }
40
38
 
41
- def __init__(self, action=None, l4_flavor_id=None, l7_flavor_id=None, availability_zone_list=None, ipv6_vip_virsubnet_id=None, ipv6_vip_address=None, elb_virsubnet_ids=None, prepaid_options=None):
39
+ def __init__(self, action=None, l4_flavor_id=None, l7_flavor_id=None, availability_zone_list=None, ipv6_vip_virsubnet_id=None, ipv6_vip_address=None, elb_virsubnet_ids=None):
42
40
  r"""UpgradeV3RequestBody
43
41
 
44
42
  The model defined in huaweicloud sdk
@@ -57,8 +55,6 @@ class UpgradeV3RequestBody:
57
55
  :type ipv6_vip_address: str
58
56
  :param elb_virsubnet_ids: 下联面子网的网络ID列表。仅action为start时生效。 可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 若不指定该字段,则选择vip_subnet_cidr_id子网对应的网络ID。 下联面子网必须属于该LB所在的VPC。
59
57
  :type elb_virsubnet_ids: list[str]
60
- :param prepaid_options:
61
- :type prepaid_options: :class:`huaweicloudsdkelb.v3.UpgradePrepaidOption`
62
58
  """
63
59
 
64
60
 
@@ -70,7 +66,6 @@ class UpgradeV3RequestBody:
70
66
  self._ipv6_vip_virsubnet_id = None
71
67
  self._ipv6_vip_address = None
72
68
  self._elb_virsubnet_ids = None
73
- self._prepaid_options = None
74
69
  self.discriminator = None
75
70
 
76
71
  self.action = action
@@ -86,8 +81,6 @@ class UpgradeV3RequestBody:
86
81
  self.ipv6_vip_address = ipv6_vip_address
87
82
  if elb_virsubnet_ids is not None:
88
83
  self.elb_virsubnet_ids = elb_virsubnet_ids
89
- if prepaid_options is not None:
90
- self.prepaid_options = prepaid_options
91
84
 
92
85
  @property
93
86
  def action(self):
@@ -243,24 +236,6 @@ class UpgradeV3RequestBody:
243
236
  """
244
237
  self._elb_virsubnet_ids = elb_virsubnet_ids
245
238
 
246
- @property
247
- def prepaid_options(self):
248
- r"""Gets the prepaid_options of this UpgradeV3RequestBody.
249
-
250
- :return: The prepaid_options of this UpgradeV3RequestBody.
251
- :rtype: :class:`huaweicloudsdkelb.v3.UpgradePrepaidOption`
252
- """
253
- return self._prepaid_options
254
-
255
- @prepaid_options.setter
256
- def prepaid_options(self, prepaid_options):
257
- r"""Sets the prepaid_options of this UpgradeV3RequestBody.
258
-
259
- :param prepaid_options: The prepaid_options of this UpgradeV3RequestBody.
260
- :type prepaid_options: :class:`huaweicloudsdkelb.v3.UpgradePrepaidOption`
261
- """
262
- self._prepaid_options = prepaid_options
263
-
264
239
  def to_dict(self):
265
240
  """Returns the model properties as a dict"""
266
241
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkelb
3
- Version: 3.1.153
3
+ Version: 3.1.155
4
4
  Summary: ELB
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.153
25
+ Requires-Dist: huaweicloudsdkcore>=3.1.155
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).