tencentcloud-sdk-python-clb 3.0.1291__tar.gz → 3.0.1304__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/setup.py +1 -1
  3. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud/clb/v20180317/models.py +246 -20
  5. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-clb-3.0.1304/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-clb-3.0.1291/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/README.rst +0 -0
  9. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-clb-3.0.1291 → tencentcloud-sdk-python-clb-3.0.1304}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.0.1291
3
+ Version: 3.0.1304
4
4
  Summary: Tencent Cloud Clb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-clb',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1291"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1304"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Clb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1291'
17
+ __version__ = '3.0.1304'
@@ -115,6 +115,9 @@ class AssociationItem(AbstractModel):
115
115
  :type LoadBalancerName: str
116
116
  :param _ListenerName: 监听器名称
117
117
  :type ListenerName: str
118
+ :param _Weight: 关联目标组的权重, 该参数只有v2新版目标组生效。
119
+ 注意:此字段可能返回 null,表示取不到有效值。
120
+ :type Weight: int
118
121
  """
119
122
  self._LoadBalancerId = None
120
123
  self._ListenerId = None
@@ -125,6 +128,7 @@ class AssociationItem(AbstractModel):
125
128
  self._Url = None
126
129
  self._LoadBalancerName = None
127
130
  self._ListenerName = None
131
+ self._Weight = None
128
132
 
129
133
  @property
130
134
  def LoadBalancerId(self):
@@ -228,6 +232,18 @@ class AssociationItem(AbstractModel):
228
232
  def ListenerName(self, ListenerName):
229
233
  self._ListenerName = ListenerName
230
234
 
235
+ @property
236
+ def Weight(self):
237
+ """关联目标组的权重, 该参数只有v2新版目标组生效。
238
+ 注意:此字段可能返回 null,表示取不到有效值。
239
+ :rtype: int
240
+ """
241
+ return self._Weight
242
+
243
+ @Weight.setter
244
+ def Weight(self, Weight):
245
+ self._Weight = Weight
246
+
231
247
 
232
248
  def _deserialize(self, params):
233
249
  self._LoadBalancerId = params.get("LoadBalancerId")
@@ -239,6 +255,7 @@ class AssociationItem(AbstractModel):
239
255
  self._Url = params.get("Url")
240
256
  self._LoadBalancerName = params.get("LoadBalancerName")
241
257
  self._ListenerName = params.get("ListenerName")
258
+ self._Weight = params.get("Weight")
242
259
  memeber_set = set(params.keys())
243
260
  for name, value in vars(self).items():
244
261
  property_name = name[1:]
@@ -567,9 +584,12 @@ class BasicTargetGroupInfo(AbstractModel):
567
584
  :type TargetGroupId: str
568
585
  :param _TargetGroupName: 目标组名称
569
586
  :type TargetGroupName: str
587
+ :param _Weight: 权重
588
+ :type Weight: int
570
589
  """
571
590
  self._TargetGroupId = None
572
591
  self._TargetGroupName = None
592
+ self._Weight = None
573
593
 
574
594
  @property
575
595
  def TargetGroupId(self):
@@ -593,10 +613,22 @@ class BasicTargetGroupInfo(AbstractModel):
593
613
  def TargetGroupName(self, TargetGroupName):
594
614
  self._TargetGroupName = TargetGroupName
595
615
 
616
+ @property
617
+ def Weight(self):
618
+ """权重
619
+ :rtype: int
620
+ """
621
+ return self._Weight
622
+
623
+ @Weight.setter
624
+ def Weight(self, Weight):
625
+ self._Weight = Weight
626
+
596
627
 
597
628
  def _deserialize(self, params):
598
629
  self._TargetGroupId = params.get("TargetGroupId")
599
630
  self._TargetGroupName = params.get("TargetGroupName")
631
+ self._Weight = params.get("Weight")
600
632
  memeber_set = set(params.keys())
601
633
  for name, value in vars(self).items():
602
634
  property_name = name[1:]
@@ -2793,6 +2825,9 @@ class Cluster(AbstractModel):
2793
2825
  :param _IPVersion: IP版本
2794
2826
  注意:此字段可能返回 null,表示取不到有效值。
2795
2827
  :type IPVersion: str
2828
+ :param _Tag: 标签信息
2829
+ 注意:此字段可能返回 null,表示取不到有效值。
2830
+ :type Tag: list of TagInfo
2796
2831
  """
2797
2832
  self._ClusterId = None
2798
2833
  self._ClusterName = None
@@ -2819,6 +2854,7 @@ class Cluster(AbstractModel):
2819
2854
  self._DisasterRecoveryType = None
2820
2855
  self._Egress = None
2821
2856
  self._IPVersion = None
2857
+ self._Tag = None
2822
2858
 
2823
2859
  @property
2824
2860
  def ClusterId(self):
@@ -3114,6 +3150,18 @@ class Cluster(AbstractModel):
3114
3150
  def IPVersion(self, IPVersion):
3115
3151
  self._IPVersion = IPVersion
3116
3152
 
3153
+ @property
3154
+ def Tag(self):
3155
+ """标签信息
3156
+ 注意:此字段可能返回 null,表示取不到有效值。
3157
+ :rtype: list of TagInfo
3158
+ """
3159
+ return self._Tag
3160
+
3161
+ @Tag.setter
3162
+ def Tag(self, Tag):
3163
+ self._Tag = Tag
3164
+
3117
3165
 
3118
3166
  def _deserialize(self, params):
3119
3167
  self._ClusterId = params.get("ClusterId")
@@ -3143,6 +3191,12 @@ class Cluster(AbstractModel):
3143
3191
  self._DisasterRecoveryType = params.get("DisasterRecoveryType")
3144
3192
  self._Egress = params.get("Egress")
3145
3193
  self._IPVersion = params.get("IPVersion")
3194
+ if params.get("Tag") is not None:
3195
+ self._Tag = []
3196
+ for item in params.get("Tag"):
3197
+ obj = TagInfo()
3198
+ obj._deserialize(item)
3199
+ self._Tag.append(obj)
3146
3200
  memeber_set = set(params.keys())
3147
3201
  for name, value in vars(self).items():
3148
3202
  property_name = name[1:]
@@ -4858,11 +4912,22 @@ class CreateTargetGroupRequest(AbstractModel):
4858
4912
  :type Port: int
4859
4913
  :param _TargetGroupInstances: 目标组绑定的后端服务器
4860
4914
  :type TargetGroupInstances: list of TargetGroupInstance
4915
+ :param _Tags: 标签。
4916
+ :type Tags: list of TagInfo
4917
+ :param _Weight: 后端服务默认权重。
4918
+ <ul>
4919
+ <li>取值范围[0, 100]</li>
4920
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4921
+ </ul>
4922
+
4923
+ :type Weight: int
4861
4924
  """
4862
4925
  self._TargetGroupName = None
4863
4926
  self._VpcId = None
4864
4927
  self._Port = None
4865
4928
  self._TargetGroupInstances = None
4929
+ self._Tags = None
4930
+ self._Weight = None
4866
4931
 
4867
4932
  @property
4868
4933
  def TargetGroupName(self):
@@ -4909,6 +4974,33 @@ class CreateTargetGroupRequest(AbstractModel):
4909
4974
  def TargetGroupInstances(self, TargetGroupInstances):
4910
4975
  self._TargetGroupInstances = TargetGroupInstances
4911
4976
 
4977
+ @property
4978
+ def Tags(self):
4979
+ """标签。
4980
+ :rtype: list of TagInfo
4981
+ """
4982
+ return self._Tags
4983
+
4984
+ @Tags.setter
4985
+ def Tags(self, Tags):
4986
+ self._Tags = Tags
4987
+
4988
+ @property
4989
+ def Weight(self):
4990
+ """后端服务默认权重。
4991
+ <ul>
4992
+ <li>取值范围[0, 100]</li>
4993
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4994
+ </ul>
4995
+
4996
+ :rtype: int
4997
+ """
4998
+ return self._Weight
4999
+
5000
+ @Weight.setter
5001
+ def Weight(self, Weight):
5002
+ self._Weight = Weight
5003
+
4912
5004
 
4913
5005
  def _deserialize(self, params):
4914
5006
  self._TargetGroupName = params.get("TargetGroupName")
@@ -4920,6 +5012,13 @@ class CreateTargetGroupRequest(AbstractModel):
4920
5012
  obj = TargetGroupInstance()
4921
5013
  obj._deserialize(item)
4922
5014
  self._TargetGroupInstances.append(obj)
5015
+ if params.get("Tags") is not None:
5016
+ self._Tags = []
5017
+ for item in params.get("Tags"):
5018
+ obj = TagInfo()
5019
+ obj._deserialize(item)
5020
+ self._Tags.append(obj)
5021
+ self._Weight = params.get("Weight")
4923
5022
  memeber_set = set(params.keys())
4924
5023
  for name, value in vars(self).items():
4925
5024
  property_name = name[1:]
@@ -7658,7 +7757,7 @@ class DescribeExclusiveClustersRequest(AbstractModel):
7658
7757
  <li> cluster-name - String - 是否必填:否 - (过滤条件)按照 集群 的名称过滤。</li>
7659
7758
  <li> cluster-tag - String - 是否必填:否 - (过滤条件)按照 集群 的标签过滤。(只有TGW/STGW集群有集群标签) </li>
7660
7759
  <li> vip - String - 是否必填:否 - (过滤条件)按照 集群 内的vip过滤。</li>
7661
- <li> loadblancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7760
+ <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7662
7761
  <li> network - String - 是否必填:否 - (过滤条件)按照 集群 的网络类型过滤,如:"Public","Private"。</li>
7663
7762
  <li> zone - String - 是否必填:否 - (过滤条件)按照 集群 所在可用区过滤,如:"ap-guangzhou-1"(广州一区)。</li>
7664
7763
  <li> isp -- String - 是否必填:否 - (过滤条件)按照TGW集群的 Isp 类型过滤,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。</li>
@@ -7698,7 +7797,7 @@ class DescribeExclusiveClustersRequest(AbstractModel):
7698
7797
  <li> cluster-name - String - 是否必填:否 - (过滤条件)按照 集群 的名称过滤。</li>
7699
7798
  <li> cluster-tag - String - 是否必填:否 - (过滤条件)按照 集群 的标签过滤。(只有TGW/STGW集群有集群标签) </li>
7700
7799
  <li> vip - String - 是否必填:否 - (过滤条件)按照 集群 内的vip过滤。</li>
7701
- <li> loadblancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7800
+ <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
7702
7801
  <li> network - String - 是否必填:否 - (过滤条件)按照 集群 的网络类型过滤,如:"Public","Private"。</li>
7703
7802
  <li> zone - String - 是否必填:否 - (过滤条件)按照 集群 所在可用区过滤,如:"ap-guangzhou-1"(广州一区)。</li>
7704
7803
  <li> isp -- String - 是否必填:否 - (过滤条件)按照TGW集群的 Isp 类型过滤,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。</li>
@@ -8654,16 +8753,11 @@ OPEN:公网属性, INTERNAL:内网属性。
8654
8753
  :type SecurityGroup: str
8655
8754
  :param _MasterZone: 主可用区ID,如 :"100001" (对应的是广州一区)。可通过[DescribeZones](https://cloud.tencent.com/document/product/213/15707)获取可用区列表。
8656
8755
  :type MasterZone: str
8657
- :param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
8658
- <li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li>
8659
- <li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li>
8660
- <li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li>
8661
- <li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li>
8662
- <li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li>
8663
- <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
8664
- <li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li>
8665
- <li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge"。</li>
8756
+ :param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:<li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li><li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li><li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li><li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li><li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li><li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li><li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li><li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c1.small","clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge","others"。</li><li> exclusive - uint64 - 是否必填:否 - (过滤条件)按照独占实例进行过滤。</li>
8666
8757
  :type Filters: list of Filter
8758
+ :param _AdditionalFields: 选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:
8759
+ <li> TargetCount:绑定的后端服务数量</li>
8760
+ :type AdditionalFields: list of str
8667
8761
  """
8668
8762
  self._LoadBalancerIds = None
8669
8763
  self._LoadBalancerType = None
@@ -8684,6 +8778,7 @@ OPEN:公网属性, INTERNAL:内网属性。
8684
8778
  self._SecurityGroup = None
8685
8779
  self._MasterZone = None
8686
8780
  self._Filters = None
8781
+ self._AdditionalFields = None
8687
8782
 
8688
8783
  @property
8689
8784
  def LoadBalancerIds(self):
@@ -8887,15 +8982,7 @@ OPEN:公网属性, INTERNAL:内网属性。
8887
8982
 
8888
8983
  @property
8889
8984
  def Filters(self):
8890
- """每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
8891
- <li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li>
8892
- <li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li>
8893
- <li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li>
8894
- <li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li>
8895
- <li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li>
8896
- <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
8897
- <li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li>
8898
- <li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge"。</li>
8985
+ """每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:<li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li><li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li><li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li><li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li><li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li><li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li><li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li><li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c1.small","clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge","others"。</li><li> exclusive - uint64 - 是否必填:否 - (过滤条件)按照独占实例进行过滤。</li>
8899
8986
  :rtype: list of Filter
8900
8987
  """
8901
8988
  return self._Filters
@@ -8904,6 +8991,18 @@ OPEN:公网属性, INTERNAL:内网属性。
8904
8991
  def Filters(self, Filters):
8905
8992
  self._Filters = Filters
8906
8993
 
8994
+ @property
8995
+ def AdditionalFields(self):
8996
+ """选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:
8997
+ <li> TargetCount:绑定的后端服务数量</li>
8998
+ :rtype: list of str
8999
+ """
9000
+ return self._AdditionalFields
9001
+
9002
+ @AdditionalFields.setter
9003
+ def AdditionalFields(self, AdditionalFields):
9004
+ self._AdditionalFields = AdditionalFields
9005
+
8907
9006
 
8908
9007
  def _deserialize(self, params):
8909
9008
  self._LoadBalancerIds = params.get("LoadBalancerIds")
@@ -8930,6 +9029,7 @@ OPEN:公网属性, INTERNAL:内网属性。
8930
9029
  obj = Filter()
8931
9030
  obj._deserialize(item)
8932
9031
  self._Filters.append(obj)
9032
+ self._AdditionalFields = params.get("AdditionalFields")
8933
9033
  memeber_set = set(params.keys())
8934
9034
  for name, value in vars(self).items():
8935
9035
  property_name = name[1:]
@@ -12937,6 +13037,8 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
12937
13037
  :param _Exclusive: 实例类型是否为独占型。1:独占型实例。0:非独占型实例。
12938
13038
  注意:此字段可能返回 null,表示取不到有效值。
12939
13039
  :type Exclusive: int
13040
+ :param _TargetCount: 已绑定的后端服务数量。
13041
+ :type TargetCount: int
12940
13042
  """
12941
13043
  self._LoadBalancerId = None
12942
13044
  self._LoadBalancerName = None
@@ -12994,6 +13096,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
12994
13096
  self._LoadBalancerDomain = None
12995
13097
  self._Egress = None
12996
13098
  self._Exclusive = None
13099
+ self._TargetCount = None
12997
13100
 
12998
13101
  @property
12999
13102
  def LoadBalancerId(self):
@@ -13668,6 +13771,17 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13668
13771
  def Exclusive(self, Exclusive):
13669
13772
  self._Exclusive = Exclusive
13670
13773
 
13774
+ @property
13775
+ def TargetCount(self):
13776
+ """已绑定的后端服务数量。
13777
+ :rtype: int
13778
+ """
13779
+ return self._TargetCount
13780
+
13781
+ @TargetCount.setter
13782
+ def TargetCount(self, TargetCount):
13783
+ self._TargetCount = TargetCount
13784
+
13671
13785
 
13672
13786
  def _deserialize(self, params):
13673
13787
  self._LoadBalancerId = params.get("LoadBalancerId")
@@ -13753,6 +13867,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
13753
13867
  self._LoadBalancerDomain = params.get("LoadBalancerDomain")
13754
13868
  self._Egress = params.get("Egress")
13755
13869
  self._Exclusive = params.get("Exclusive")
13870
+ self._TargetCount = params.get("TargetCount")
13756
13871
  memeber_set = set(params.keys())
13757
13872
  for name, value in vars(self).items():
13758
13873
  property_name = name[1:]
@@ -16514,10 +16629,17 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16514
16629
  :type TargetGroupName: str
16515
16630
  :param _Port: 目标组的新默认端口。
16516
16631
  :type Port: int
16632
+ :param _Weight: 后端服务默认权重。
16633
+ <ul>
16634
+ <li>取值范围[0, 100]</li>
16635
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16636
+ </ul>
16637
+ :type Weight: int
16517
16638
  """
16518
16639
  self._TargetGroupId = None
16519
16640
  self._TargetGroupName = None
16520
16641
  self._Port = None
16642
+ self._Weight = None
16521
16643
 
16522
16644
  @property
16523
16645
  def TargetGroupId(self):
@@ -16552,11 +16674,27 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16552
16674
  def Port(self, Port):
16553
16675
  self._Port = Port
16554
16676
 
16677
+ @property
16678
+ def Weight(self):
16679
+ """后端服务默认权重。
16680
+ <ul>
16681
+ <li>取值范围[0, 100]</li>
16682
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16683
+ </ul>
16684
+ :rtype: int
16685
+ """
16686
+ return self._Weight
16687
+
16688
+ @Weight.setter
16689
+ def Weight(self, Weight):
16690
+ self._Weight = Weight
16691
+
16555
16692
 
16556
16693
  def _deserialize(self, params):
16557
16694
  self._TargetGroupId = params.get("TargetGroupId")
16558
16695
  self._TargetGroupName = params.get("TargetGroupName")
16559
16696
  self._Port = params.get("Port")
16697
+ self._Weight = params.get("Weight")
16560
16698
  memeber_set = set(params.keys())
16561
16699
  for name, value in vars(self).items():
16562
16700
  property_name = name[1:]
@@ -20636,6 +20774,20 @@ class TargetGroupInfo(AbstractModel):
20636
20774
  :param _AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
20637
20775
  注意:此字段可能返回 null,表示取不到有效值。
20638
20776
  :type AssociatedRule: list of AssociationItem
20777
+ :param _TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
20778
+ 注意:此字段可能返回 null,表示取不到有效值。
20779
+ :type TargetGroupType: str
20780
+ :param _AssociatedRuleCount: 目标组已关联的规则数。
20781
+ 注意:此字段可能返回 null,表示取不到有效值。
20782
+ :type AssociatedRuleCount: int
20783
+ :param _RegisteredInstancesCount: 目标组内的实例数量。
20784
+ 注意:此字段可能返回 null,表示取不到有效值。
20785
+ :type RegisteredInstancesCount: int
20786
+ :param _Tag: 标签。
20787
+ :type Tag: list of TagInfo
20788
+ :param _Weight: 默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
20789
+ 注意:此字段可能返回 null,表示取不到有效值。
20790
+ :type Weight: int
20639
20791
  """
20640
20792
  self._TargetGroupId = None
20641
20793
  self._VpcId = None
@@ -20644,6 +20796,11 @@ class TargetGroupInfo(AbstractModel):
20644
20796
  self._CreatedTime = None
20645
20797
  self._UpdatedTime = None
20646
20798
  self._AssociatedRule = None
20799
+ self._TargetGroupType = None
20800
+ self._AssociatedRuleCount = None
20801
+ self._RegisteredInstancesCount = None
20802
+ self._Tag = None
20803
+ self._Weight = None
20647
20804
 
20648
20805
  @property
20649
20806
  def TargetGroupId(self):
@@ -20724,6 +20881,65 @@ class TargetGroupInfo(AbstractModel):
20724
20881
  def AssociatedRule(self, AssociatedRule):
20725
20882
  self._AssociatedRule = AssociatedRule
20726
20883
 
20884
+ @property
20885
+ def TargetGroupType(self):
20886
+ """目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
20887
+ 注意:此字段可能返回 null,表示取不到有效值。
20888
+ :rtype: str
20889
+ """
20890
+ return self._TargetGroupType
20891
+
20892
+ @TargetGroupType.setter
20893
+ def TargetGroupType(self, TargetGroupType):
20894
+ self._TargetGroupType = TargetGroupType
20895
+
20896
+ @property
20897
+ def AssociatedRuleCount(self):
20898
+ """目标组已关联的规则数。
20899
+ 注意:此字段可能返回 null,表示取不到有效值。
20900
+ :rtype: int
20901
+ """
20902
+ return self._AssociatedRuleCount
20903
+
20904
+ @AssociatedRuleCount.setter
20905
+ def AssociatedRuleCount(self, AssociatedRuleCount):
20906
+ self._AssociatedRuleCount = AssociatedRuleCount
20907
+
20908
+ @property
20909
+ def RegisteredInstancesCount(self):
20910
+ """目标组内的实例数量。
20911
+ 注意:此字段可能返回 null,表示取不到有效值。
20912
+ :rtype: int
20913
+ """
20914
+ return self._RegisteredInstancesCount
20915
+
20916
+ @RegisteredInstancesCount.setter
20917
+ def RegisteredInstancesCount(self, RegisteredInstancesCount):
20918
+ self._RegisteredInstancesCount = RegisteredInstancesCount
20919
+
20920
+ @property
20921
+ def Tag(self):
20922
+ """标签。
20923
+ :rtype: list of TagInfo
20924
+ """
20925
+ return self._Tag
20926
+
20927
+ @Tag.setter
20928
+ def Tag(self, Tag):
20929
+ self._Tag = Tag
20930
+
20931
+ @property
20932
+ def Weight(self):
20933
+ """默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
20934
+ 注意:此字段可能返回 null,表示取不到有效值。
20935
+ :rtype: int
20936
+ """
20937
+ return self._Weight
20938
+
20939
+ @Weight.setter
20940
+ def Weight(self, Weight):
20941
+ self._Weight = Weight
20942
+
20727
20943
 
20728
20944
  def _deserialize(self, params):
20729
20945
  self._TargetGroupId = params.get("TargetGroupId")
@@ -20738,6 +20954,16 @@ class TargetGroupInfo(AbstractModel):
20738
20954
  obj = AssociationItem()
20739
20955
  obj._deserialize(item)
20740
20956
  self._AssociatedRule.append(obj)
20957
+ self._TargetGroupType = params.get("TargetGroupType")
20958
+ self._AssociatedRuleCount = params.get("AssociatedRuleCount")
20959
+ self._RegisteredInstancesCount = params.get("RegisteredInstancesCount")
20960
+ if params.get("Tag") is not None:
20961
+ self._Tag = []
20962
+ for item in params.get("Tag"):
20963
+ obj = TagInfo()
20964
+ obj._deserialize(item)
20965
+ self._Tag.append(obj)
20966
+ self._Weight = params.get("Weight")
20741
20967
  memeber_set = set(params.keys())
20742
20968
  for name, value in vars(self).items():
20743
20969
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.0.1291
3
+ Version: 3.0.1304
4
4
  Summary: Tencent Cloud Clb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1304
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1291