Skip to content

Commit f8e6007

Browse files
author
BitsAdmin
committed
Merge branch 'clb-Python-2020-04-01-online-1885-2025_11_26_22_10_15' into 'integration_2025-11-27_1087473846018'
feat: [development task] clb-1885-Python (1876850) See merge request iaasng/volcengine-python-sdk!933
2 parents f795503 + 8684177 commit f8e6007

4 files changed

+290
-4
lines changed

volcenginesdkclb/models/add_zone_mapping_for_modify_network_load_balancer_zones_input.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,42 @@ class AddZoneMappingForModifyNetworkLoadBalancerZonesInput(object):
3434
"""
3535
swagger_types = {
3636
'eip_id': 'str',
37+
'eip_isp': 'str',
38+
'eip_specific_egress': 'str',
3739
'ipv4_address': 'str',
3840
'subnet_id': 'str',
3941
'zone_id': 'str'
4042
}
4143

4244
attribute_map = {
4345
'eip_id': 'EipId',
46+
'eip_isp': 'EipIsp',
47+
'eip_specific_egress': 'EipSpecificEgress',
4448
'ipv4_address': 'Ipv4Address',
4549
'subnet_id': 'SubnetId',
4650
'zone_id': 'ZoneId'
4751
}
4852

49-
def __init__(self, eip_id=None, ipv4_address=None, subnet_id=None, zone_id=None, _configuration=None): # noqa: E501
53+
def __init__(self, eip_id=None, eip_isp=None, eip_specific_egress=None, ipv4_address=None, subnet_id=None, zone_id=None, _configuration=None): # noqa: E501
5054
"""AddZoneMappingForModifyNetworkLoadBalancerZonesInput - a model defined in Swagger""" # noqa: E501
5155
if _configuration is None:
5256
_configuration = Configuration()
5357
self._configuration = _configuration
5458

5559
self._eip_id = None
60+
self._eip_isp = None
61+
self._eip_specific_egress = None
5662
self._ipv4_address = None
5763
self._subnet_id = None
5864
self._zone_id = None
5965
self.discriminator = None
6066

6167
if eip_id is not None:
6268
self.eip_id = eip_id
69+
if eip_isp is not None:
70+
self.eip_isp = eip_isp
71+
if eip_specific_egress is not None:
72+
self.eip_specific_egress = eip_specific_egress
6373
if ipv4_address is not None:
6474
self.ipv4_address = ipv4_address
6575
if subnet_id is not None:
@@ -88,6 +98,48 @@ def eip_id(self, eip_id):
8898

8999
self._eip_id = eip_id
90100

101+
@property
102+
def eip_isp(self):
103+
"""Gets the eip_isp of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501
104+
105+
106+
:return: The eip_isp of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501
107+
:rtype: str
108+
"""
109+
return self._eip_isp
110+
111+
@eip_isp.setter
112+
def eip_isp(self, eip_isp):
113+
"""Sets the eip_isp of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput.
114+
115+
116+
:param eip_isp: The eip_isp of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501
117+
:type: str
118+
"""
119+
120+
self._eip_isp = eip_isp
121+
122+
@property
123+
def eip_specific_egress(self):
124+
"""Gets the eip_specific_egress of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501
125+
126+
127+
:return: The eip_specific_egress of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501
128+
:rtype: str
129+
"""
130+
return self._eip_specific_egress
131+
132+
@eip_specific_egress.setter
133+
def eip_specific_egress(self, eip_specific_egress):
134+
"""Sets the eip_specific_egress of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput.
135+
136+
137+
:param eip_specific_egress: The eip_specific_egress of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501
138+
:type: str
139+
"""
140+
141+
self._eip_specific_egress = eip_specific_egress
142+
91143
@property
92144
def ipv4_address(self):
93145
"""Gets the ipv4_address of this AddZoneMappingForModifyNetworkLoadBalancerZonesInput. # noqa: E501

volcenginesdkclb/models/listener_for_describe_nlb_listeners_output.py

Lines changed: 131 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ class ListenerForDescribeNLBListenersOutput(object):
3434
"""
3535
swagger_types = {
3636
'account_id': 'str',
37+
'ca_certificate_id': 'str',
38+
'ca_certificate_source': 'str',
39+
'ca_enabled': 'bool',
3740
'certificate_id': 'str',
41+
'certificate_source': 'str',
3842
'connection_timeout': 'int',
3943
'create_time': 'str',
4044
'description': 'str',
@@ -43,6 +47,7 @@ class ListenerForDescribeNLBListenersOutput(object):
4347
'listener_id': 'str',
4448
'listener_name': 'str',
4549
'load_balancer_id': 'str',
50+
'pca_certificate_id': 'str',
4651
'port': 'int',
4752
'protocol': 'str',
4853
'security_policy_id': 'str',
@@ -56,7 +61,11 @@ class ListenerForDescribeNLBListenersOutput(object):
5661

5762
attribute_map = {
5863
'account_id': 'AccountId',
64+
'ca_certificate_id': 'CACertificateId',
65+
'ca_certificate_source': 'CACertificateSource',
66+
'ca_enabled': 'CAEnabled',
5967
'certificate_id': 'CertificateId',
68+
'certificate_source': 'CertificateSource',
6069
'connection_timeout': 'ConnectionTimeout',
6170
'create_time': 'CreateTime',
6271
'description': 'Description',
@@ -65,6 +74,7 @@ class ListenerForDescribeNLBListenersOutput(object):
6574
'listener_id': 'ListenerId',
6675
'listener_name': 'ListenerName',
6776
'load_balancer_id': 'LoadBalancerId',
77+
'pca_certificate_id': 'PCACertificateId',
6878
'port': 'Port',
6979
'protocol': 'Protocol',
7080
'security_policy_id': 'SecurityPolicyId',
@@ -76,14 +86,18 @@ class ListenerForDescribeNLBListenersOutput(object):
7686
'update_time': 'UpdateTime'
7787
}
7888

79-
def __init__(self, account_id=None, certificate_id=None, connection_timeout=None, create_time=None, description=None, enabled=None, end_port=None, listener_id=None, listener_name=None, load_balancer_id=None, port=None, protocol=None, security_policy_id=None, security_policy_type=None, server_group_id=None, start_port=None, status=None, tags=None, update_time=None, _configuration=None): # noqa: E501
89+
def __init__(self, account_id=None, ca_certificate_id=None, ca_certificate_source=None, ca_enabled=None, certificate_id=None, certificate_source=None, connection_timeout=None, create_time=None, description=None, enabled=None, end_port=None, listener_id=None, listener_name=None, load_balancer_id=None, pca_certificate_id=None, port=None, protocol=None, security_policy_id=None, security_policy_type=None, server_group_id=None, start_port=None, status=None, tags=None, update_time=None, _configuration=None): # noqa: E501
8090
"""ListenerForDescribeNLBListenersOutput - a model defined in Swagger""" # noqa: E501
8191
if _configuration is None:
8292
_configuration = Configuration()
8393
self._configuration = _configuration
8494

8595
self._account_id = None
96+
self._ca_certificate_id = None
97+
self._ca_certificate_source = None
98+
self._ca_enabled = None
8699
self._certificate_id = None
100+
self._certificate_source = None
87101
self._connection_timeout = None
88102
self._create_time = None
89103
self._description = None
@@ -92,6 +106,7 @@ def __init__(self, account_id=None, certificate_id=None, connection_timeout=None
92106
self._listener_id = None
93107
self._listener_name = None
94108
self._load_balancer_id = None
109+
self._pca_certificate_id = None
95110
self._port = None
96111
self._protocol = None
97112
self._security_policy_id = None
@@ -105,8 +120,16 @@ def __init__(self, account_id=None, certificate_id=None, connection_timeout=None
105120

106121
if account_id is not None:
107122
self.account_id = account_id
123+
if ca_certificate_id is not None:
124+
self.ca_certificate_id = ca_certificate_id
125+
if ca_certificate_source is not None:
126+
self.ca_certificate_source = ca_certificate_source
127+
if ca_enabled is not None:
128+
self.ca_enabled = ca_enabled
108129
if certificate_id is not None:
109130
self.certificate_id = certificate_id
131+
if certificate_source is not None:
132+
self.certificate_source = certificate_source
110133
if connection_timeout is not None:
111134
self.connection_timeout = connection_timeout
112135
if create_time is not None:
@@ -123,6 +146,8 @@ def __init__(self, account_id=None, certificate_id=None, connection_timeout=None
123146
self.listener_name = listener_name
124147
if load_balancer_id is not None:
125148
self.load_balancer_id = load_balancer_id
149+
if pca_certificate_id is not None:
150+
self.pca_certificate_id = pca_certificate_id
126151
if port is not None:
127152
self.port = port
128153
if protocol is not None:
@@ -163,6 +188,69 @@ def account_id(self, account_id):
163188

164189
self._account_id = account_id
165190

191+
@property
192+
def ca_certificate_id(self):
193+
"""Gets the ca_certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
194+
195+
196+
:return: The ca_certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
197+
:rtype: str
198+
"""
199+
return self._ca_certificate_id
200+
201+
@ca_certificate_id.setter
202+
def ca_certificate_id(self, ca_certificate_id):
203+
"""Sets the ca_certificate_id of this ListenerForDescribeNLBListenersOutput.
204+
205+
206+
:param ca_certificate_id: The ca_certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
207+
:type: str
208+
"""
209+
210+
self._ca_certificate_id = ca_certificate_id
211+
212+
@property
213+
def ca_certificate_source(self):
214+
"""Gets the ca_certificate_source of this ListenerForDescribeNLBListenersOutput. # noqa: E501
215+
216+
217+
:return: The ca_certificate_source of this ListenerForDescribeNLBListenersOutput. # noqa: E501
218+
:rtype: str
219+
"""
220+
return self._ca_certificate_source
221+
222+
@ca_certificate_source.setter
223+
def ca_certificate_source(self, ca_certificate_source):
224+
"""Sets the ca_certificate_source of this ListenerForDescribeNLBListenersOutput.
225+
226+
227+
:param ca_certificate_source: The ca_certificate_source of this ListenerForDescribeNLBListenersOutput. # noqa: E501
228+
:type: str
229+
"""
230+
231+
self._ca_certificate_source = ca_certificate_source
232+
233+
@property
234+
def ca_enabled(self):
235+
"""Gets the ca_enabled of this ListenerForDescribeNLBListenersOutput. # noqa: E501
236+
237+
238+
:return: The ca_enabled of this ListenerForDescribeNLBListenersOutput. # noqa: E501
239+
:rtype: bool
240+
"""
241+
return self._ca_enabled
242+
243+
@ca_enabled.setter
244+
def ca_enabled(self, ca_enabled):
245+
"""Sets the ca_enabled of this ListenerForDescribeNLBListenersOutput.
246+
247+
248+
:param ca_enabled: The ca_enabled of this ListenerForDescribeNLBListenersOutput. # noqa: E501
249+
:type: bool
250+
"""
251+
252+
self._ca_enabled = ca_enabled
253+
166254
@property
167255
def certificate_id(self):
168256
"""Gets the certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
@@ -184,6 +272,27 @@ def certificate_id(self, certificate_id):
184272

185273
self._certificate_id = certificate_id
186274

275+
@property
276+
def certificate_source(self):
277+
"""Gets the certificate_source of this ListenerForDescribeNLBListenersOutput. # noqa: E501
278+
279+
280+
:return: The certificate_source of this ListenerForDescribeNLBListenersOutput. # noqa: E501
281+
:rtype: str
282+
"""
283+
return self._certificate_source
284+
285+
@certificate_source.setter
286+
def certificate_source(self, certificate_source):
287+
"""Sets the certificate_source of this ListenerForDescribeNLBListenersOutput.
288+
289+
290+
:param certificate_source: The certificate_source of this ListenerForDescribeNLBListenersOutput. # noqa: E501
291+
:type: str
292+
"""
293+
294+
self._certificate_source = certificate_source
295+
187296
@property
188297
def connection_timeout(self):
189298
"""Gets the connection_timeout of this ListenerForDescribeNLBListenersOutput. # noqa: E501
@@ -352,6 +461,27 @@ def load_balancer_id(self, load_balancer_id):
352461

353462
self._load_balancer_id = load_balancer_id
354463

464+
@property
465+
def pca_certificate_id(self):
466+
"""Gets the pca_certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
467+
468+
469+
:return: The pca_certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
470+
:rtype: str
471+
"""
472+
return self._pca_certificate_id
473+
474+
@pca_certificate_id.setter
475+
def pca_certificate_id(self, pca_certificate_id):
476+
"""Sets the pca_certificate_id of this ListenerForDescribeNLBListenersOutput.
477+
478+
479+
:param pca_certificate_id: The pca_certificate_id of this ListenerForDescribeNLBListenersOutput. # noqa: E501
480+
:type: str
481+
"""
482+
483+
self._pca_certificate_id = pca_certificate_id
484+
355485
@property
356486
def port(self):
357487
"""Gets the port of this ListenerForDescribeNLBListenersOutput. # noqa: E501

0 commit comments

Comments
 (0)