tencentcloud-sdk-python-clb 3.0.1296__tar.gz → 3.0.1302__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.1296 → tencentcloud-sdk-python-clb-3.0.1302}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/setup.py +1 -1
  3. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud/clb/v20180317/models.py +68 -0
  5. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-clb-3.0.1302/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-clb-3.0.1296/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/README.rst +0 -0
  9. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-clb-3.0.1296 → tencentcloud-sdk-python-clb-3.0.1302}/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.1296
3
+ Version: 3.0.1302
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.1296"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1302"],
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.1296'
17
+ __version__ = '3.0.1302'
@@ -4890,11 +4890,22 @@ class CreateTargetGroupRequest(AbstractModel):
4890
4890
  :type Port: int
4891
4891
  :param _TargetGroupInstances: 目标组绑定的后端服务器
4892
4892
  :type TargetGroupInstances: list of TargetGroupInstance
4893
+ :param _Tags: 标签。
4894
+ :type Tags: list of TagInfo
4895
+ :param _Weight: 后端服务默认权重。
4896
+ <ul>
4897
+ <li>取值范围[0, 100]</li>
4898
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4899
+ </ul>
4900
+
4901
+ :type Weight: int
4893
4902
  """
4894
4903
  self._TargetGroupName = None
4895
4904
  self._VpcId = None
4896
4905
  self._Port = None
4897
4906
  self._TargetGroupInstances = None
4907
+ self._Tags = None
4908
+ self._Weight = None
4898
4909
 
4899
4910
  @property
4900
4911
  def TargetGroupName(self):
@@ -4941,6 +4952,33 @@ class CreateTargetGroupRequest(AbstractModel):
4941
4952
  def TargetGroupInstances(self, TargetGroupInstances):
4942
4953
  self._TargetGroupInstances = TargetGroupInstances
4943
4954
 
4955
+ @property
4956
+ def Tags(self):
4957
+ """标签。
4958
+ :rtype: list of TagInfo
4959
+ """
4960
+ return self._Tags
4961
+
4962
+ @Tags.setter
4963
+ def Tags(self, Tags):
4964
+ self._Tags = Tags
4965
+
4966
+ @property
4967
+ def Weight(self):
4968
+ """后端服务默认权重。
4969
+ <ul>
4970
+ <li>取值范围[0, 100]</li>
4971
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
4972
+ </ul>
4973
+
4974
+ :rtype: int
4975
+ """
4976
+ return self._Weight
4977
+
4978
+ @Weight.setter
4979
+ def Weight(self, Weight):
4980
+ self._Weight = Weight
4981
+
4944
4982
 
4945
4983
  def _deserialize(self, params):
4946
4984
  self._TargetGroupName = params.get("TargetGroupName")
@@ -4952,6 +4990,13 @@ class CreateTargetGroupRequest(AbstractModel):
4952
4990
  obj = TargetGroupInstance()
4953
4991
  obj._deserialize(item)
4954
4992
  self._TargetGroupInstances.append(obj)
4993
+ if params.get("Tags") is not None:
4994
+ self._Tags = []
4995
+ for item in params.get("Tags"):
4996
+ obj = TagInfo()
4997
+ obj._deserialize(item)
4998
+ self._Tags.append(obj)
4999
+ self._Weight = params.get("Weight")
4955
5000
  memeber_set = set(params.keys())
4956
5001
  for name, value in vars(self).items():
4957
5002
  property_name = name[1:]
@@ -16546,10 +16591,17 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16546
16591
  :type TargetGroupName: str
16547
16592
  :param _Port: 目标组的新默认端口。
16548
16593
  :type Port: int
16594
+ :param _Weight: 后端服务默认权重。
16595
+ <ul>
16596
+ <li>取值范围[0, 100]</li>
16597
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16598
+ </ul>
16599
+ :type Weight: int
16549
16600
  """
16550
16601
  self._TargetGroupId = None
16551
16602
  self._TargetGroupName = None
16552
16603
  self._Port = None
16604
+ self._Weight = None
16553
16605
 
16554
16606
  @property
16555
16607
  def TargetGroupId(self):
@@ -16584,11 +16636,27 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
16584
16636
  def Port(self, Port):
16585
16637
  self._Port = Port
16586
16638
 
16639
+ @property
16640
+ def Weight(self):
16641
+ """后端服务默认权重。
16642
+ <ul>
16643
+ <li>取值范围[0, 100]</li>
16644
+ <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
16645
+ </ul>
16646
+ :rtype: int
16647
+ """
16648
+ return self._Weight
16649
+
16650
+ @Weight.setter
16651
+ def Weight(self, Weight):
16652
+ self._Weight = Weight
16653
+
16587
16654
 
16588
16655
  def _deserialize(self, params):
16589
16656
  self._TargetGroupId = params.get("TargetGroupId")
16590
16657
  self._TargetGroupName = params.get("TargetGroupName")
16591
16658
  self._Port = params.get("Port")
16659
+ self._Weight = params.get("Weight")
16592
16660
  memeber_set = set(params.keys())
16593
16661
  for name, value in vars(self).items():
16594
16662
  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.1296
3
+ Version: 3.0.1302
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.1302
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1296