Skip to content

Commit ad14e59

Browse files
author
李严
committed
Merge branch 'clb-Python-2020-04-01-online-197-2023_11_03_17_06_23' into 'master'
feat: auto generate for clb-Python-2020-04-01-online-197-2023_11_03_17_06_23 See merge request iaasng/volcengine-python-sdk!252
2 parents 744b68b + f3ddbb4 commit ad14e59

26 files changed

+1016
-36
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.54",
3-
"meta_commit": "d144bc67b17fdf3c1fb6b4b772a8995f8594d4c7"
2+
"lasted": "1.0.55",
3+
"meta_commit": "1007902d4a7e202c73408e9d25496897acefde72"
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.54"
6+
VERSION = "1.0.55"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkclb/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
from volcenginesdkclb.models.tag_for_create_acl_input import TagForCreateAclInput
148148
from volcenginesdkclb.models.tag_for_create_load_balancer_input import TagForCreateLoadBalancerInput
149149
from volcenginesdkclb.models.tag_for_describe_acl_attributes_output import TagForDescribeAclAttributesOutput
150+
from volcenginesdkclb.models.tag_for_describe_acls_output import TagForDescribeAclsOutput
151+
from volcenginesdkclb.models.tag_for_describe_certificates_output import TagForDescribeCertificatesOutput
150152
from volcenginesdkclb.models.tag_for_describe_load_balancer_attributes_output import TagForDescribeLoadBalancerAttributesOutput
151153
from volcenginesdkclb.models.tag_for_describe_load_balancers_output import TagForDescribeLoadBalancersOutput
152154
from volcenginesdkclb.models.tag_for_tag_resources_input import TagForTagResourcesInput

volcenginesdkclb/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@
143143
from volcenginesdkclb.models.tag_for_create_acl_input import TagForCreateAclInput
144144
from volcenginesdkclb.models.tag_for_create_load_balancer_input import TagForCreateLoadBalancerInput
145145
from volcenginesdkclb.models.tag_for_describe_acl_attributes_output import TagForDescribeAclAttributesOutput
146+
from volcenginesdkclb.models.tag_for_describe_acls_output import TagForDescribeAclsOutput
147+
from volcenginesdkclb.models.tag_for_describe_certificates_output import TagForDescribeCertificatesOutput
146148
from volcenginesdkclb.models.tag_for_describe_load_balancer_attributes_output import TagForDescribeLoadBalancerAttributesOutput
147149
from volcenginesdkclb.models.tag_for_describe_load_balancers_output import TagForDescribeLoadBalancersOutput
148150
from volcenginesdkclb.models.tag_for_tag_resources_input import TagForTagResourcesInput

volcenginesdkclb/models/acl_for_describe_acls_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class AclForDescribeAclsOutput(object):
4141
'listeners': 'list[str]',
4242
'project_name': 'str',
4343
'status': 'str',
44+
'tags': 'list[TagForDescribeAclsOutput]',
4445
'update_time': 'str'
4546
}
4647

@@ -53,10 +54,11 @@ class AclForDescribeAclsOutput(object):
5354
'listeners': 'Listeners',
5455
'project_name': 'ProjectName',
5556
'status': 'Status',
57+
'tags': 'Tags',
5658
'update_time': 'UpdateTime'
5759
}
5860

59-
def __init__(self, acl_entry_count=None, acl_id=None, acl_name=None, create_time=None, description=None, listeners=None, project_name=None, status=None, update_time=None, _configuration=None): # noqa: E501
61+
def __init__(self, acl_entry_count=None, acl_id=None, acl_name=None, create_time=None, description=None, listeners=None, project_name=None, status=None, tags=None, update_time=None, _configuration=None): # noqa: E501
6062
"""AclForDescribeAclsOutput - a model defined in Swagger""" # noqa: E501
6163
if _configuration is None:
6264
_configuration = Configuration()
@@ -70,6 +72,7 @@ def __init__(self, acl_entry_count=None, acl_id=None, acl_name=None, create_time
7072
self._listeners = None
7173
self._project_name = None
7274
self._status = None
75+
self._tags = None
7376
self._update_time = None
7477
self.discriminator = None
7578

@@ -89,6 +92,8 @@ def __init__(self, acl_entry_count=None, acl_id=None, acl_name=None, create_time
8992
self.project_name = project_name
9093
if status is not None:
9194
self.status = status
95+
if tags is not None:
96+
self.tags = tags
9297
if update_time is not None:
9398
self.update_time = update_time
9499

@@ -260,6 +265,27 @@ def status(self, status):
260265

261266
self._status = status
262267

268+
@property
269+
def tags(self):
270+
"""Gets the tags of this AclForDescribeAclsOutput. # noqa: E501
271+
272+
273+
:return: The tags of this AclForDescribeAclsOutput. # noqa: E501
274+
:rtype: list[TagForDescribeAclsOutput]
275+
"""
276+
return self._tags
277+
278+
@tags.setter
279+
def tags(self, tags):
280+
"""Sets the tags of this AclForDescribeAclsOutput.
281+
282+
283+
:param tags: The tags of this AclForDescribeAclsOutput. # noqa: E501
284+
:type: list[TagForDescribeAclsOutput]
285+
"""
286+
287+
self._tags = tags
288+
263289
@property
264290
def update_time(self):
265291
"""Gets the update_time of this AclForDescribeAclsOutput. # noqa: E501

volcenginesdkclb/models/convert_load_balancer_billing_type_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,36 @@ class ConvertLoadBalancerBillingTypeRequest(object):
3535
swagger_types = {
3636
'load_balancer_billing_type': 'int',
3737
'load_balancer_id': 'str',
38+
'load_balancer_spec': 'str',
3839
'period': 'int',
3940
'period_unit': 'str'
4041
}
4142

4243
attribute_map = {
4344
'load_balancer_billing_type': 'LoadBalancerBillingType',
4445
'load_balancer_id': 'LoadBalancerId',
46+
'load_balancer_spec': 'LoadBalancerSpec',
4547
'period': 'Period',
4648
'period_unit': 'PeriodUnit'
4749
}
4850

49-
def __init__(self, load_balancer_billing_type=None, load_balancer_id=None, period=None, period_unit=None, _configuration=None): # noqa: E501
51+
def __init__(self, load_balancer_billing_type=None, load_balancer_id=None, load_balancer_spec=None, period=None, period_unit=None, _configuration=None): # noqa: E501
5052
"""ConvertLoadBalancerBillingTypeRequest - a model defined in Swagger""" # noqa: E501
5153
if _configuration is None:
5254
_configuration = Configuration()
5355
self._configuration = _configuration
5456

5557
self._load_balancer_billing_type = None
5658
self._load_balancer_id = None
59+
self._load_balancer_spec = None
5760
self._period = None
5861
self._period_unit = None
5962
self.discriminator = None
6063

6164
self.load_balancer_billing_type = load_balancer_billing_type
6265
self.load_balancer_id = load_balancer_id
66+
if load_balancer_spec is not None:
67+
self.load_balancer_spec = load_balancer_spec
6368
if period is not None:
6469
self.period = period
6570
if period_unit is not None:
@@ -111,6 +116,27 @@ def load_balancer_id(self, load_balancer_id):
111116

112117
self._load_balancer_id = load_balancer_id
113118

119+
@property
120+
def load_balancer_spec(self):
121+
"""Gets the load_balancer_spec of this ConvertLoadBalancerBillingTypeRequest. # noqa: E501
122+
123+
124+
:return: The load_balancer_spec of this ConvertLoadBalancerBillingTypeRequest. # noqa: E501
125+
:rtype: str
126+
"""
127+
return self._load_balancer_spec
128+
129+
@load_balancer_spec.setter
130+
def load_balancer_spec(self, load_balancer_spec):
131+
"""Sets the load_balancer_spec of this ConvertLoadBalancerBillingTypeRequest.
132+
133+
134+
:param load_balancer_spec: The load_balancer_spec of this ConvertLoadBalancerBillingTypeRequest. # noqa: E501
135+
:type: str
136+
"""
137+
138+
self._load_balancer_spec = load_balancer_spec
139+
114140
@property
115141
def period(self):
116142
"""Gets the period of this ConvertLoadBalancerBillingTypeRequest. # noqa: E501

volcenginesdkclb/models/create_load_balancer_request.py

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class CreateLoadBalancerRequest(object):
5353
'subnet_id': 'str',
5454
'tags': 'list[TagForCreateLoadBalancerInput]',
5555
'type': 'str',
56-
'vpc_id': 'str'
56+
'vpc_id': 'str',
57+
'zone_type': 'str'
5758
}
5859

5960
attribute_map = {
@@ -77,10 +78,11 @@ class CreateLoadBalancerRequest(object):
7778
'subnet_id': 'SubnetId',
7879
'tags': 'Tags',
7980
'type': 'Type',
80-
'vpc_id': 'VpcId'
81+
'vpc_id': 'VpcId',
82+
'zone_type': 'ZoneType'
8183
}
8284

83-
def __init__(self, address_ip_version=None, client_token=None, description=None, eip_billing_config=None, eni_address=None, eni_ipv6_address=None, load_balancer_billing_type=None, load_balancer_name=None, load_balancer_spec=None, master_zone_id=None, modification_protection_reason=None, modification_protection_status=None, period=None, period_unit=None, project_name=None, region_id=None, slave_zone_id=None, subnet_id=None, tags=None, type=None, vpc_id=None, _configuration=None): # noqa: E501
85+
def __init__(self, address_ip_version=None, client_token=None, description=None, eip_billing_config=None, eni_address=None, eni_ipv6_address=None, load_balancer_billing_type=None, load_balancer_name=None, load_balancer_spec=None, master_zone_id=None, modification_protection_reason=None, modification_protection_status=None, period=None, period_unit=None, project_name=None, region_id=None, slave_zone_id=None, subnet_id=None, tags=None, type=None, vpc_id=None, zone_type=None, _configuration=None): # noqa: E501
8486
"""CreateLoadBalancerRequest - a model defined in Swagger""" # noqa: E501
8587
if _configuration is None:
8688
_configuration = Configuration()
@@ -107,6 +109,7 @@ def __init__(self, address_ip_version=None, client_token=None, description=None,
107109
self._tags = None
108110
self._type = None
109111
self._vpc_id = None
112+
self._zone_type = None
110113
self.discriminator = None
111114

112115
if address_ip_version is not None:
@@ -125,8 +128,7 @@ def __init__(self, address_ip_version=None, client_token=None, description=None,
125128
self.load_balancer_billing_type = load_balancer_billing_type
126129
if load_balancer_name is not None:
127130
self.load_balancer_name = load_balancer_name
128-
if load_balancer_spec is not None:
129-
self.load_balancer_spec = load_balancer_spec
131+
self.load_balancer_spec = load_balancer_spec
130132
if master_zone_id is not None:
131133
self.master_zone_id = master_zone_id
132134
if modification_protection_reason is not None:
@@ -148,6 +150,8 @@ def __init__(self, address_ip_version=None, client_token=None, description=None,
148150
self.type = type
149151
if vpc_id is not None:
150152
self.vpc_id = vpc_id
153+
if zone_type is not None:
154+
self.zone_type = zone_type
151155

152156
@property
153157
def address_ip_version(self):
@@ -335,6 +339,8 @@ def load_balancer_spec(self, load_balancer_spec):
335339
:param load_balancer_spec: The load_balancer_spec of this CreateLoadBalancerRequest. # noqa: E501
336340
:type: str
337341
"""
342+
if self._configuration.client_side_validation and load_balancer_spec is None:
343+
raise ValueError("Invalid value for `load_balancer_spec`, must not be `None`") # noqa: E501
338344

339345
self._load_balancer_spec = load_balancer_spec
340346

@@ -596,6 +602,27 @@ def vpc_id(self, vpc_id):
596602

597603
self._vpc_id = vpc_id
598604

605+
@property
606+
def zone_type(self):
607+
"""Gets the zone_type of this CreateLoadBalancerRequest. # noqa: E501
608+
609+
610+
:return: The zone_type of this CreateLoadBalancerRequest. # noqa: E501
611+
:rtype: str
612+
"""
613+
return self._zone_type
614+
615+
@zone_type.setter
616+
def zone_type(self, zone_type):
617+
"""Sets the zone_type of this CreateLoadBalancerRequest.
618+
619+
620+
:param zone_type: The zone_type of this CreateLoadBalancerRequest. # noqa: E501
621+
:type: str
622+
"""
623+
624+
self._zone_type = zone_type
625+
599626
def to_dict(self):
600627
"""Returns the model properties as a dict"""
601628
result = {}

volcenginesdkclb/models/create_server_group_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class CreateServerGroupRequest(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'address_ip_version': 'str',
3637
'description': 'str',
3738
'load_balancer_id': 'str',
3839
'server_group_name': 'str',
@@ -41,26 +42,30 @@ class CreateServerGroupRequest(object):
4142
}
4243

4344
attribute_map = {
45+
'address_ip_version': 'AddressIpVersion',
4446
'description': 'Description',
4547
'load_balancer_id': 'LoadBalancerId',
4648
'server_group_name': 'ServerGroupName',
4749
'servers': 'Servers',
4850
'type': 'Type'
4951
}
5052

51-
def __init__(self, description=None, load_balancer_id=None, server_group_name=None, servers=None, type=None, _configuration=None): # noqa: E501
53+
def __init__(self, address_ip_version=None, description=None, load_balancer_id=None, server_group_name=None, servers=None, type=None, _configuration=None): # noqa: E501
5254
"""CreateServerGroupRequest - a model defined in Swagger""" # noqa: E501
5355
if _configuration is None:
5456
_configuration = Configuration()
5557
self._configuration = _configuration
5658

59+
self._address_ip_version = None
5760
self._description = None
5861
self._load_balancer_id = None
5962
self._server_group_name = None
6063
self._servers = None
6164
self._type = None
6265
self.discriminator = None
6366

67+
if address_ip_version is not None:
68+
self.address_ip_version = address_ip_version
6469
if description is not None:
6570
self.description = description
6671
self.load_balancer_id = load_balancer_id
@@ -71,6 +76,27 @@ def __init__(self, description=None, load_balancer_id=None, server_group_name=No
7176
if type is not None:
7277
self.type = type
7378

79+
@property
80+
def address_ip_version(self):
81+
"""Gets the address_ip_version of this CreateServerGroupRequest. # noqa: E501
82+
83+
84+
:return: The address_ip_version of this CreateServerGroupRequest. # noqa: E501
85+
:rtype: str
86+
"""
87+
return self._address_ip_version
88+
89+
@address_ip_version.setter
90+
def address_ip_version(self, address_ip_version):
91+
"""Sets the address_ip_version of this CreateServerGroupRequest.
92+
93+
94+
:param address_ip_version: The address_ip_version of this CreateServerGroupRequest. # noqa: E501
95+
:type: str
96+
"""
97+
98+
self._address_ip_version = address_ip_version
99+
74100
@property
75101
def description(self):
76102
"""Gets the description of this CreateServerGroupRequest. # noqa: E501

0 commit comments

Comments
 (0)