Skip to content

Commit 2d376cb

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for alb-Python-2020-04-01-online-335-2024_02_26_14_47_07
1 parent 4e57726 commit 2d376cb

22 files changed

+777
-22
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.0.66",
3-
"meta_commit": "766fe2f49fd2eb45cc5d4311318342f35aa05ad2"
2+
"lasted": "1.0.67",
3+
"meta_commit": "784ce604a3bfd6bf3642373426679e90985fce37"
44
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "1.0.66"
6+
VERSION = "1.0.67"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkalb/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@
171171
from volcenginesdkalb.models.replace_certificate_request import ReplaceCertificateRequest
172172
from volcenginesdkalb.models.replace_certificate_response import ReplaceCertificateResponse
173173
from volcenginesdkalb.models.result_for_describe_listener_health_output import ResultForDescribeListenerHealthOutput
174+
from volcenginesdkalb.models.rewrite_config_for_create_rules_input import RewriteConfigForCreateRulesInput
175+
from volcenginesdkalb.models.rewrite_config_for_describe_rules_output import RewriteConfigForDescribeRulesOutput
176+
from volcenginesdkalb.models.rewrite_config_for_modify_rules_input import RewriteConfigForModifyRulesInput
174177
from volcenginesdkalb.models.rule_for_create_rules_input import RuleForCreateRulesInput
175178
from volcenginesdkalb.models.rule_for_describe_rules_output import RuleForDescribeRulesOutput
176179
from volcenginesdkalb.models.rule_for_modify_rules_input import RuleForModifyRulesInput

volcenginesdkalb/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@
167167
from volcenginesdkalb.models.replace_certificate_request import ReplaceCertificateRequest
168168
from volcenginesdkalb.models.replace_certificate_response import ReplaceCertificateResponse
169169
from volcenginesdkalb.models.result_for_describe_listener_health_output import ResultForDescribeListenerHealthOutput
170+
from volcenginesdkalb.models.rewrite_config_for_create_rules_input import RewriteConfigForCreateRulesInput
171+
from volcenginesdkalb.models.rewrite_config_for_describe_rules_output import RewriteConfigForDescribeRulesOutput
172+
from volcenginesdkalb.models.rewrite_config_for_modify_rules_input import RewriteConfigForModifyRulesInput
170173
from volcenginesdkalb.models.rule_for_create_rules_input import RuleForCreateRulesInput
171174
from volcenginesdkalb.models.rule_for_describe_rules_output import RuleForDescribeRulesOutput
172175
from volcenginesdkalb.models.rule_for_modify_rules_input import RuleForModifyRulesInput

volcenginesdkalb/models/acl_entry_for_add_acl_entries_input.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ def description(self, description):
7474
:param description: The description of this AclEntryForAddAclEntriesInput. # noqa: E501
7575
:type: str
7676
"""
77+
if (self._configuration.client_side_validation and
78+
description is not None and len(description) > 255):
79+
raise ValueError("Invalid value for `description`, length must be less than or equal to `255`") # noqa: E501
80+
if (self._configuration.client_side_validation and
81+
description is not None and len(description) < 1):
82+
raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501
7783

7884
self._description = description
7985

volcenginesdkalb/models/describe_load_balancers_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class DescribeLoadBalancersRequest(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'eip_address': 'str',
3637
'eni_address': 'str',
3738
'load_balancer_ids': 'list[str]',
3839
'load_balancer_name': 'str',
@@ -44,6 +45,7 @@ class DescribeLoadBalancersRequest(object):
4445
}
4546

4647
attribute_map = {
48+
'eip_address': 'EipAddress',
4749
'eni_address': 'EniAddress',
4850
'load_balancer_ids': 'LoadBalancerIds',
4951
'load_balancer_name': 'LoadBalancerName',
@@ -54,12 +56,13 @@ class DescribeLoadBalancersRequest(object):
5456
'vpc_id': 'VpcId'
5557
}
5658

57-
def __init__(self, eni_address=None, load_balancer_ids=None, load_balancer_name=None, page_number=None, page_size=None, project_name=None, tag_filters=None, vpc_id=None, _configuration=None): # noqa: E501
59+
def __init__(self, eip_address=None, eni_address=None, load_balancer_ids=None, load_balancer_name=None, page_number=None, page_size=None, project_name=None, tag_filters=None, vpc_id=None, _configuration=None): # noqa: E501
5860
"""DescribeLoadBalancersRequest - a model defined in Swagger""" # noqa: E501
5961
if _configuration is None:
6062
_configuration = Configuration()
6163
self._configuration = _configuration
6264

65+
self._eip_address = None
6366
self._eni_address = None
6467
self._load_balancer_ids = None
6568
self._load_balancer_name = None
@@ -70,6 +73,8 @@ def __init__(self, eni_address=None, load_balancer_ids=None, load_balancer_name=
7073
self._vpc_id = None
7174
self.discriminator = None
7275

76+
if eip_address is not None:
77+
self.eip_address = eip_address
7378
if eni_address is not None:
7479
self.eni_address = eni_address
7580
if load_balancer_ids is not None:
@@ -87,6 +92,27 @@ def __init__(self, eni_address=None, load_balancer_ids=None, load_balancer_name=
8792
if vpc_id is not None:
8893
self.vpc_id = vpc_id
8994

95+
@property
96+
def eip_address(self):
97+
"""Gets the eip_address of this DescribeLoadBalancersRequest. # noqa: E501
98+
99+
100+
:return: The eip_address of this DescribeLoadBalancersRequest. # noqa: E501
101+
:rtype: str
102+
"""
103+
return self._eip_address
104+
105+
@eip_address.setter
106+
def eip_address(self, eip_address):
107+
"""Sets the eip_address of this DescribeLoadBalancersRequest.
108+
109+
110+
:param eip_address: The eip_address of this DescribeLoadBalancersRequest. # noqa: E501
111+
:type: str
112+
"""
113+
114+
self._eip_address = eip_address
115+
90116
@property
91117
def eni_address(self):
92118
"""Gets the eni_address of this DescribeLoadBalancersRequest. # noqa: E501

volcenginesdkalb/models/health_check_for_create_server_group_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class HealthCheckForCreateServerGroupInput(object):
3737
'enabled': 'str',
3838
'healthy_threshold': 'str',
3939
'http_code': 'str',
40+
'http_version': 'str',
4041
'interval': 'str',
4142
'method': 'str',
4243
'protocol': 'str',
@@ -50,6 +51,7 @@ class HealthCheckForCreateServerGroupInput(object):
5051
'enabled': 'Enabled',
5152
'healthy_threshold': 'HealthyThreshold',
5253
'http_code': 'HttpCode',
54+
'http_version': 'HttpVersion',
5355
'interval': 'Interval',
5456
'method': 'Method',
5557
'protocol': 'Protocol',
@@ -58,7 +60,7 @@ class HealthCheckForCreateServerGroupInput(object):
5860
'unhealthy_threshold': 'UnhealthyThreshold'
5961
}
6062

61-
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
63+
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, http_version=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
6264
"""HealthCheckForCreateServerGroupInput - a model defined in Swagger""" # noqa: E501
6365
if _configuration is None:
6466
_configuration = Configuration()
@@ -68,6 +70,7 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
6870
self._enabled = None
6971
self._healthy_threshold = None
7072
self._http_code = None
73+
self._http_version = None
7174
self._interval = None
7275
self._method = None
7376
self._protocol = None
@@ -84,6 +87,8 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
8487
self.healthy_threshold = healthy_threshold
8588
if http_code is not None:
8689
self.http_code = http_code
90+
if http_version is not None:
91+
self.http_version = http_version
8792
if interval is not None:
8893
self.interval = interval
8994
if method is not None:
@@ -181,6 +186,27 @@ def http_code(self, http_code):
181186

182187
self._http_code = http_code
183188

189+
@property
190+
def http_version(self):
191+
"""Gets the http_version of this HealthCheckForCreateServerGroupInput. # noqa: E501
192+
193+
194+
:return: The http_version of this HealthCheckForCreateServerGroupInput. # noqa: E501
195+
:rtype: str
196+
"""
197+
return self._http_version
198+
199+
@http_version.setter
200+
def http_version(self, http_version):
201+
"""Sets the http_version of this HealthCheckForCreateServerGroupInput.
202+
203+
204+
:param http_version: The http_version of this HealthCheckForCreateServerGroupInput. # noqa: E501
205+
:type: str
206+
"""
207+
208+
self._http_version = http_version
209+
184210
@property
185211
def interval(self):
186212
"""Gets the interval of this HealthCheckForCreateServerGroupInput. # noqa: E501

volcenginesdkalb/models/health_check_for_describe_server_group_attributes_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class HealthCheckForDescribeServerGroupAttributesOutput(object):
3737
'enabled': 'str',
3838
'healthy_threshold': 'int',
3939
'http_code': 'str',
40+
'http_version': 'str',
4041
'interval': 'int',
4142
'method': 'str',
4243
'protocol': 'str',
@@ -50,6 +51,7 @@ class HealthCheckForDescribeServerGroupAttributesOutput(object):
5051
'enabled': 'Enabled',
5152
'healthy_threshold': 'HealthyThreshold',
5253
'http_code': 'HttpCode',
54+
'http_version': 'HttpVersion',
5355
'interval': 'Interval',
5456
'method': 'Method',
5557
'protocol': 'Protocol',
@@ -58,7 +60,7 @@ class HealthCheckForDescribeServerGroupAttributesOutput(object):
5860
'unhealthy_threshold': 'UnhealthyThreshold'
5961
}
6062

61-
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
63+
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, http_version=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
6264
"""HealthCheckForDescribeServerGroupAttributesOutput - a model defined in Swagger""" # noqa: E501
6365
if _configuration is None:
6466
_configuration = Configuration()
@@ -68,6 +70,7 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
6870
self._enabled = None
6971
self._healthy_threshold = None
7072
self._http_code = None
73+
self._http_version = None
7174
self._interval = None
7275
self._method = None
7376
self._protocol = None
@@ -84,6 +87,8 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
8487
self.healthy_threshold = healthy_threshold
8588
if http_code is not None:
8689
self.http_code = http_code
90+
if http_version is not None:
91+
self.http_version = http_version
8792
if interval is not None:
8893
self.interval = interval
8994
if method is not None:
@@ -181,6 +186,27 @@ def http_code(self, http_code):
181186

182187
self._http_code = http_code
183188

189+
@property
190+
def http_version(self):
191+
"""Gets the http_version of this HealthCheckForDescribeServerGroupAttributesOutput. # noqa: E501
192+
193+
194+
:return: The http_version of this HealthCheckForDescribeServerGroupAttributesOutput. # noqa: E501
195+
:rtype: str
196+
"""
197+
return self._http_version
198+
199+
@http_version.setter
200+
def http_version(self, http_version):
201+
"""Sets the http_version of this HealthCheckForDescribeServerGroupAttributesOutput.
202+
203+
204+
:param http_version: The http_version of this HealthCheckForDescribeServerGroupAttributesOutput. # noqa: E501
205+
:type: str
206+
"""
207+
208+
self._http_version = http_version
209+
184210
@property
185211
def interval(self):
186212
"""Gets the interval of this HealthCheckForDescribeServerGroupAttributesOutput. # noqa: E501

volcenginesdkalb/models/health_check_for_describe_server_groups_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class HealthCheckForDescribeServerGroupsOutput(object):
3737
'enabled': 'str',
3838
'healthy_threshold': 'int',
3939
'http_code': 'str',
40+
'http_version': 'str',
4041
'interval': 'int',
4142
'method': 'str',
4243
'protocol': 'str',
@@ -50,6 +51,7 @@ class HealthCheckForDescribeServerGroupsOutput(object):
5051
'enabled': 'Enabled',
5152
'healthy_threshold': 'HealthyThreshold',
5253
'http_code': 'HttpCode',
54+
'http_version': 'HttpVersion',
5355
'interval': 'Interval',
5456
'method': 'Method',
5557
'protocol': 'Protocol',
@@ -58,7 +60,7 @@ class HealthCheckForDescribeServerGroupsOutput(object):
5860
'unhealthy_threshold': 'UnhealthyThreshold'
5961
}
6062

61-
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
63+
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, http_version=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
6264
"""HealthCheckForDescribeServerGroupsOutput - a model defined in Swagger""" # noqa: E501
6365
if _configuration is None:
6466
_configuration = Configuration()
@@ -68,6 +70,7 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
6870
self._enabled = None
6971
self._healthy_threshold = None
7072
self._http_code = None
73+
self._http_version = None
7174
self._interval = None
7275
self._method = None
7376
self._protocol = None
@@ -84,6 +87,8 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
8487
self.healthy_threshold = healthy_threshold
8588
if http_code is not None:
8689
self.http_code = http_code
90+
if http_version is not None:
91+
self.http_version = http_version
8792
if interval is not None:
8893
self.interval = interval
8994
if method is not None:
@@ -181,6 +186,27 @@ def http_code(self, http_code):
181186

182187
self._http_code = http_code
183188

189+
@property
190+
def http_version(self):
191+
"""Gets the http_version of this HealthCheckForDescribeServerGroupsOutput. # noqa: E501
192+
193+
194+
:return: The http_version of this HealthCheckForDescribeServerGroupsOutput. # noqa: E501
195+
:rtype: str
196+
"""
197+
return self._http_version
198+
199+
@http_version.setter
200+
def http_version(self, http_version):
201+
"""Sets the http_version of this HealthCheckForDescribeServerGroupsOutput.
202+
203+
204+
:param http_version: The http_version of this HealthCheckForDescribeServerGroupsOutput. # noqa: E501
205+
:type: str
206+
"""
207+
208+
self._http_version = http_version
209+
184210
@property
185211
def interval(self):
186212
"""Gets the interval of this HealthCheckForDescribeServerGroupsOutput. # noqa: E501

volcenginesdkalb/models/health_check_for_modify_server_group_attributes_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class HealthCheckForModifyServerGroupAttributesInput(object):
3737
'enabled': 'str',
3838
'healthy_threshold': 'str',
3939
'http_code': 'str',
40+
'http_version': 'str',
4041
'interval': 'str',
4142
'method': 'str',
4243
'protocol': 'str',
@@ -50,6 +51,7 @@ class HealthCheckForModifyServerGroupAttributesInput(object):
5051
'enabled': 'Enabled',
5152
'healthy_threshold': 'HealthyThreshold',
5253
'http_code': 'HttpCode',
54+
'http_version': 'HttpVersion',
5355
'interval': 'Interval',
5456
'method': 'Method',
5557
'protocol': 'Protocol',
@@ -58,7 +60,7 @@ class HealthCheckForModifyServerGroupAttributesInput(object):
5860
'unhealthy_threshold': 'UnhealthyThreshold'
5961
}
6062

61-
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
63+
def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=None, http_version=None, interval=None, method=None, protocol=None, timeout=None, uri=None, unhealthy_threshold=None, _configuration=None): # noqa: E501
6264
"""HealthCheckForModifyServerGroupAttributesInput - a model defined in Swagger""" # noqa: E501
6365
if _configuration is None:
6466
_configuration = Configuration()
@@ -68,6 +70,7 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
6870
self._enabled = None
6971
self._healthy_threshold = None
7072
self._http_code = None
73+
self._http_version = None
7174
self._interval = None
7275
self._method = None
7376
self._protocol = None
@@ -84,6 +87,8 @@ def __init__(self, domain=None, enabled=None, healthy_threshold=None, http_code=
8487
self.healthy_threshold = healthy_threshold
8588
if http_code is not None:
8689
self.http_code = http_code
90+
if http_version is not None:
91+
self.http_version = http_version
8792
if interval is not None:
8893
self.interval = interval
8994
if method is not None:
@@ -181,6 +186,27 @@ def http_code(self, http_code):
181186

182187
self._http_code = http_code
183188

189+
@property
190+
def http_version(self):
191+
"""Gets the http_version of this HealthCheckForModifyServerGroupAttributesInput. # noqa: E501
192+
193+
194+
:return: The http_version of this HealthCheckForModifyServerGroupAttributesInput. # noqa: E501
195+
:rtype: str
196+
"""
197+
return self._http_version
198+
199+
@http_version.setter
200+
def http_version(self, http_version):
201+
"""Sets the http_version of this HealthCheckForModifyServerGroupAttributesInput.
202+
203+
204+
:param http_version: The http_version of this HealthCheckForModifyServerGroupAttributesInput. # noqa: E501
205+
:type: str
206+
"""
207+
208+
self._http_version = http_version
209+
184210
@property
185211
def interval(self):
186212
"""Gets the interval of this HealthCheckForModifyServerGroupAttributesInput. # noqa: E501

0 commit comments

Comments
 (0)