tencentcloud-sdk-python-clb 3.1.154__tar.gz → 3.1.160__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 (17) hide show
  1. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/setup.py +1 -1
  3. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/clb/v20180317/models.py +224 -18
  5. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_clb-3.1.160/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_clb-3.1.154/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/README.rst +0 -0
  9. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.160}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.154
3
+ Version: 3.1.160
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.154
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.154,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.160,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Clb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.154'
17
+ __version__ = '3.1.160'
@@ -1786,20 +1786,19 @@ class BatchTarget(AbstractModel):
1786
1786
 
1787
1787
  def __init__(self):
1788
1788
  r"""
1789
- :param _ListenerId: 监听器 ID
1789
+ :param _ListenerId: <p>监听器 ID。</p>
1790
1790
  :type ListenerId: str
1791
- :param _Port: 绑定端口。
1791
+ :param _Port: <p>绑定端口。</p>
1792
1792
  :type Port: int
1793
- :param _InstanceId: 子机 ID。表示绑定主网卡主 IP
1793
+ :param _InstanceId: <p>子机 ID。表示绑定主网卡主 IP。</p>
1794
1794
  :type InstanceId: str
1795
- :param _EniIp: 绑定 IP 时需要传入此参数,支持弹性网卡的 IP 和其他内网 IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。
1796
- 注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。
1795
+ :param _EniIp: <p>绑定 IP 时需要传入此参数,支持弹性网卡的 IP 和其他内网 IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。如果是跨地域绑定,则必须传该参数,不支持传InstanceId参数。</p>
1797
1796
  :type EniIp: str
1798
- :param _Weight: 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10
1797
+ :param _Weight: <p>子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。</p>
1799
1798
  :type Weight: int
1800
- :param _LocationId: 七层规则 ID。7层负载均衡该参数必填
1799
+ :param _LocationId: <p>七层规则 ID。7层负载均衡该参数必填</p>
1801
1800
  :type LocationId: str
1802
- :param _Tag: 标签。
1801
+ :param _Tag: <p>标签。</p>
1803
1802
  :type Tag: str
1804
1803
  """
1805
1804
  self._ListenerId = None
@@ -1812,7 +1811,7 @@ class BatchTarget(AbstractModel):
1812
1811
 
1813
1812
  @property
1814
1813
  def ListenerId(self):
1815
- r"""监听器 ID
1814
+ r"""<p>监听器 ID。</p>
1816
1815
  :rtype: str
1817
1816
  """
1818
1817
  return self._ListenerId
@@ -1823,7 +1822,7 @@ class BatchTarget(AbstractModel):
1823
1822
 
1824
1823
  @property
1825
1824
  def Port(self):
1826
- r"""绑定端口。
1825
+ r"""<p>绑定端口。</p>
1827
1826
  :rtype: int
1828
1827
  """
1829
1828
  return self._Port
@@ -1834,7 +1833,7 @@ class BatchTarget(AbstractModel):
1834
1833
 
1835
1834
  @property
1836
1835
  def InstanceId(self):
1837
- r"""子机 ID。表示绑定主网卡主 IP
1836
+ r"""<p>子机 ID。表示绑定主网卡主 IP。</p>
1838
1837
  :rtype: str
1839
1838
  """
1840
1839
  return self._InstanceId
@@ -1845,8 +1844,7 @@ class BatchTarget(AbstractModel):
1845
1844
 
1846
1845
  @property
1847
1846
  def EniIp(self):
1848
- r"""绑定 IP 时需要传入此参数,支持弹性网卡的 IP 和其他内网 IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。
1849
- 注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。
1847
+ r"""<p>绑定 IP 时需要传入此参数,支持弹性网卡的 IP 和其他内网 IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。如果是跨地域绑定,则必须传该参数,不支持传InstanceId参数。</p>
1850
1848
  :rtype: str
1851
1849
  """
1852
1850
  return self._EniIp
@@ -1857,7 +1855,7 @@ class BatchTarget(AbstractModel):
1857
1855
 
1858
1856
  @property
1859
1857
  def Weight(self):
1860
- r"""子机权重,范围[0, 100]。绑定时如果不存在,则默认为10
1858
+ r"""<p>子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。</p>
1861
1859
  :rtype: int
1862
1860
  """
1863
1861
  return self._Weight
@@ -1868,7 +1866,7 @@ class BatchTarget(AbstractModel):
1868
1866
 
1869
1867
  @property
1870
1868
  def LocationId(self):
1871
- r"""七层规则 ID。7层负载均衡该参数必填
1869
+ r"""<p>七层规则 ID。7层负载均衡该参数必填</p>
1872
1870
  :rtype: str
1873
1871
  """
1874
1872
  return self._LocationId
@@ -1879,7 +1877,7 @@ class BatchTarget(AbstractModel):
1879
1877
 
1880
1878
  @property
1881
1879
  def Tag(self):
1882
- r"""标签。
1880
+ r"""<p>标签。</p>
1883
1881
  :rtype: str
1884
1882
  """
1885
1883
  return self._Tag
@@ -7653,7 +7651,7 @@ class CreateModelRouterRequest(AbstractModel):
7653
7651
  :type Port: int
7654
7652
  :param _RateLimitConfig: <p>限速配置</p>
7655
7653
  :type RateLimitConfig: :class:`tencentcloud.clb.v20180317.models.RateLimitConfigForModelRouter`
7656
- :param _RouterSetting: <p>路由配置</p>
7654
+ :param _RouterSetting: <p>路由配置</p><p>新创建实例时,默认会开启粘连路由</p>
7657
7655
  :type RouterSetting: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithoutFallBack`
7658
7656
  :param _Schema: <p>模型路由实例的网络协议</p><p>枚举值:</p><ul><li>HTTP: HTTP协议</li><li>HTTPS: HTTPS协议</li></ul>
7659
7657
  :type Schema: str
@@ -7667,6 +7665,10 @@ class CreateModelRouterRequest(AbstractModel):
7667
7665
  :type ModelRouterBillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigInput`
7668
7666
  :param _ClientToken: <p>客户端Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。</p>
7669
7667
  :type ClientToken: str
7668
+ :param _EipAddressId: <p>弹性公网IP的ID</p>
7669
+ :type EipAddressId: str
7670
+ :param _Bandwidth: <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
7671
+ :type Bandwidth: int
7670
7672
  """
7671
7673
  self._ModelRouterType = None
7672
7674
  self._BudgetId = None
@@ -7683,6 +7685,8 @@ class CreateModelRouterRequest(AbstractModel):
7683
7685
  self._VpcId = None
7684
7686
  self._ModelRouterBillingConfig = None
7685
7687
  self._ClientToken = None
7688
+ self._EipAddressId = None
7689
+ self._Bandwidth = None
7686
7690
 
7687
7691
  @property
7688
7692
  def ModelRouterType(self):
@@ -7774,7 +7778,7 @@ class CreateModelRouterRequest(AbstractModel):
7774
7778
 
7775
7779
  @property
7776
7780
  def RouterSetting(self):
7777
- r"""<p>路由配置</p>
7781
+ r"""<p>路由配置</p><p>新创建实例时,默认会开启粘连路由</p>
7778
7782
  :rtype: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithoutFallBack`
7779
7783
  """
7780
7784
  return self._RouterSetting
@@ -7849,6 +7853,28 @@ class CreateModelRouterRequest(AbstractModel):
7849
7853
  def ClientToken(self, ClientToken):
7850
7854
  self._ClientToken = ClientToken
7851
7855
 
7856
+ @property
7857
+ def EipAddressId(self):
7858
+ r"""<p>弹性公网IP的ID</p>
7859
+ :rtype: str
7860
+ """
7861
+ return self._EipAddressId
7862
+
7863
+ @EipAddressId.setter
7864
+ def EipAddressId(self, EipAddressId):
7865
+ self._EipAddressId = EipAddressId
7866
+
7867
+ @property
7868
+ def Bandwidth(self):
7869
+ r"""<p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
7870
+ :rtype: int
7871
+ """
7872
+ return self._Bandwidth
7873
+
7874
+ @Bandwidth.setter
7875
+ def Bandwidth(self, Bandwidth):
7876
+ self._Bandwidth = Bandwidth
7877
+
7852
7878
 
7853
7879
  def _deserialize(self, params):
7854
7880
  self._ModelRouterType = params.get("ModelRouterType")
@@ -7879,6 +7905,8 @@ class CreateModelRouterRequest(AbstractModel):
7879
7905
  self._ModelRouterBillingConfig = ModelRouterBillingConfigInput()
7880
7906
  self._ModelRouterBillingConfig._deserialize(params.get("ModelRouterBillingConfig"))
7881
7907
  self._ClientToken = params.get("ClientToken")
7908
+ self._EipAddressId = params.get("EipAddressId")
7909
+ self._Bandwidth = params.get("Bandwidth")
7882
7910
  memeber_set = set(params.keys())
7883
7911
  for name, value in vars(self).items():
7884
7912
  property_name = name[1:]
@@ -25346,6 +25374,78 @@ class ModelRouterBillingConfigInput(AbstractModel):
25346
25374
 
25347
25375
 
25348
25376
 
25377
+ class ModelRouterBillingConfigOutput(AbstractModel):
25378
+ r"""模型路由计费信息
25379
+
25380
+ """
25381
+
25382
+ def __init__(self):
25383
+ r"""
25384
+ :param _ChargeType: <p>模型路由计费模式</p><p>枚举值:</p><ul><li>POSTPAID_BY_HOUR: 按量计费</li><li>RESOURCE_PACKAGE: 按资源包抵扣</li></ul>
25385
+ 注意:此字段可能返回 null,表示取不到有效值。
25386
+ :type ChargeType: str
25387
+ :param _SlaType: <p>实例规格</p><p>枚举值:</p><ul><li>t1.nano-01: 入门版</li><li>t1.nano-02: 轻量版</li><li>t1.nano-03: 轻量增强版</li><li>t1.micro-01: 微型版</li><li>t1.micro-02: 基础版</li><li>t1.small-01: 标准版</li><li>t1.small-02: 标准增强版</li><li>t1.medium-01: 进阶版</li><li>t1.medium-02: 进阶增强版</li><li>t1.large-01: 专业版</li><li>t1.large-02: 专业增强版</li><li>t1.xlarge-01: 旗舰版</li><li>t1.xlarge-02: 至尊版</li></ul>
25388
+ 注意:此字段可能返回 null,表示取不到有效值。
25389
+ :type SlaType: str
25390
+ :param _AssociateResourcePackage: <p>是否关联资源包抵扣</p><p>枚举值:</p><ul><li>true: 关联</li><li>false: 不关联</li></ul>
25391
+ 注意:此字段可能返回 null,表示取不到有效值。
25392
+ :type AssociateResourcePackage: bool
25393
+ """
25394
+ self._ChargeType = None
25395
+ self._SlaType = None
25396
+ self._AssociateResourcePackage = None
25397
+
25398
+ @property
25399
+ def ChargeType(self):
25400
+ r"""<p>模型路由计费模式</p><p>枚举值:</p><ul><li>POSTPAID_BY_HOUR: 按量计费</li><li>RESOURCE_PACKAGE: 按资源包抵扣</li></ul>
25401
+ 注意:此字段可能返回 null,表示取不到有效值。
25402
+ :rtype: str
25403
+ """
25404
+ return self._ChargeType
25405
+
25406
+ @ChargeType.setter
25407
+ def ChargeType(self, ChargeType):
25408
+ self._ChargeType = ChargeType
25409
+
25410
+ @property
25411
+ def SlaType(self):
25412
+ r"""<p>实例规格</p><p>枚举值:</p><ul><li>t1.nano-01: 入门版</li><li>t1.nano-02: 轻量版</li><li>t1.nano-03: 轻量增强版</li><li>t1.micro-01: 微型版</li><li>t1.micro-02: 基础版</li><li>t1.small-01: 标准版</li><li>t1.small-02: 标准增强版</li><li>t1.medium-01: 进阶版</li><li>t1.medium-02: 进阶增强版</li><li>t1.large-01: 专业版</li><li>t1.large-02: 专业增强版</li><li>t1.xlarge-01: 旗舰版</li><li>t1.xlarge-02: 至尊版</li></ul>
25413
+ 注意:此字段可能返回 null,表示取不到有效值。
25414
+ :rtype: str
25415
+ """
25416
+ return self._SlaType
25417
+
25418
+ @SlaType.setter
25419
+ def SlaType(self, SlaType):
25420
+ self._SlaType = SlaType
25421
+
25422
+ @property
25423
+ def AssociateResourcePackage(self):
25424
+ r"""<p>是否关联资源包抵扣</p><p>枚举值:</p><ul><li>true: 关联</li><li>false: 不关联</li></ul>
25425
+ 注意:此字段可能返回 null,表示取不到有效值。
25426
+ :rtype: bool
25427
+ """
25428
+ return self._AssociateResourcePackage
25429
+
25430
+ @AssociateResourcePackage.setter
25431
+ def AssociateResourcePackage(self, AssociateResourcePackage):
25432
+ self._AssociateResourcePackage = AssociateResourcePackage
25433
+
25434
+
25435
+ def _deserialize(self, params):
25436
+ self._ChargeType = params.get("ChargeType")
25437
+ self._SlaType = params.get("SlaType")
25438
+ self._AssociateResourcePackage = params.get("AssociateResourcePackage")
25439
+ memeber_set = set(params.keys())
25440
+ for name, value in vars(self).items():
25441
+ property_name = name[1:]
25442
+ if property_name in memeber_set:
25443
+ memeber_set.remove(property_name)
25444
+ if len(memeber_set) > 0:
25445
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25446
+
25447
+
25448
+
25349
25449
  class ModelRouterDetail(AbstractModel):
25350
25450
  r"""查询单个实例详细信息
25351
25451
 
@@ -25404,6 +25504,8 @@ class ModelRouterDetail(AbstractModel):
25404
25504
  :type Bandwidth: int
25405
25505
  :param _EipAddressId: <p>弹性公网IP的ID</p>
25406
25506
  :type EipAddressId: str
25507
+ :param _BillingConfig: <p>计费信息</p>
25508
+ :type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
25407
25509
  """
25408
25510
  self._BudgetId = None
25409
25511
  self._BudgetName = None
@@ -25429,6 +25531,7 @@ class ModelRouterDetail(AbstractModel):
25429
25531
  self._VpcId = None
25430
25532
  self._Bandwidth = None
25431
25533
  self._EipAddressId = None
25534
+ self._BillingConfig = None
25432
25535
 
25433
25536
  @property
25434
25537
  def BudgetId(self):
@@ -25697,6 +25800,17 @@ class ModelRouterDetail(AbstractModel):
25697
25800
  def EipAddressId(self, EipAddressId):
25698
25801
  self._EipAddressId = EipAddressId
25699
25802
 
25803
+ @property
25804
+ def BillingConfig(self):
25805
+ r"""<p>计费信息</p>
25806
+ :rtype: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
25807
+ """
25808
+ return self._BillingConfig
25809
+
25810
+ @BillingConfig.setter
25811
+ def BillingConfig(self, BillingConfig):
25812
+ self._BillingConfig = BillingConfig
25813
+
25700
25814
 
25701
25815
  def _deserialize(self, params):
25702
25816
  self._BudgetId = params.get("BudgetId")
@@ -25744,6 +25858,9 @@ class ModelRouterDetail(AbstractModel):
25744
25858
  self._VpcId = params.get("VpcId")
25745
25859
  self._Bandwidth = params.get("Bandwidth")
25746
25860
  self._EipAddressId = params.get("EipAddressId")
25861
+ if params.get("BillingConfig") is not None:
25862
+ self._BillingConfig = ModelRouterBillingConfigOutput()
25863
+ self._BillingConfig._deserialize(params.get("BillingConfig"))
25747
25864
  memeber_set = set(params.keys())
25748
25865
  for name, value in vars(self).items():
25749
25866
  property_name = name[1:]
@@ -26690,9 +26807,12 @@ class ModelRouterSet(AbstractModel):
26690
26807
  :param _VpcId: <p>模型路由实例所属VPC的ID</p>
26691
26808
  :type VpcId: str
26692
26809
  :param _Bandwidth: <p>带宽</p><p>单位:Mbps</p>
26810
+ 注意:此字段可能返回 null,表示取不到有效值。
26693
26811
  :type Bandwidth: int
26694
26812
  :param _EipAddressId: <p>弹性公网IP的ID</p>
26695
26813
  :type EipAddressId: str
26814
+ :param _BillingConfig: <p>计费信息</p>
26815
+ :type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
26696
26816
  """
26697
26817
  self._BudgetId = None
26698
26818
  self._BudgetName = None
@@ -26713,6 +26833,7 @@ class ModelRouterSet(AbstractModel):
26713
26833
  self._VpcId = None
26714
26834
  self._Bandwidth = None
26715
26835
  self._EipAddressId = None
26836
+ self._BillingConfig = None
26716
26837
 
26717
26838
  @property
26718
26839
  def BudgetId(self):
@@ -26906,6 +27027,7 @@ class ModelRouterSet(AbstractModel):
26906
27027
  @property
26907
27028
  def Bandwidth(self):
26908
27029
  r"""<p>带宽</p><p>单位:Mbps</p>
27030
+ 注意:此字段可能返回 null,表示取不到有效值。
26909
27031
  :rtype: int
26910
27032
  """
26911
27033
  return self._Bandwidth
@@ -26925,6 +27047,17 @@ class ModelRouterSet(AbstractModel):
26925
27047
  def EipAddressId(self, EipAddressId):
26926
27048
  self._EipAddressId = EipAddressId
26927
27049
 
27050
+ @property
27051
+ def BillingConfig(self):
27052
+ r"""<p>计费信息</p>
27053
+ :rtype: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
27054
+ """
27055
+ return self._BillingConfig
27056
+
27057
+ @BillingConfig.setter
27058
+ def BillingConfig(self, BillingConfig):
27059
+ self._BillingConfig = BillingConfig
27060
+
26928
27061
 
26929
27062
  def _deserialize(self, params):
26930
27063
  self._BudgetId = params.get("BudgetId")
@@ -26958,6 +27091,9 @@ class ModelRouterSet(AbstractModel):
26958
27091
  self._VpcId = params.get("VpcId")
26959
27092
  self._Bandwidth = params.get("Bandwidth")
26960
27093
  self._EipAddressId = params.get("EipAddressId")
27094
+ if params.get("BillingConfig") is not None:
27095
+ self._BillingConfig = ModelRouterBillingConfigOutput()
27096
+ self._BillingConfig._deserialize(params.get("BillingConfig"))
26961
27097
  memeber_set = set(params.keys())
26962
27098
  for name, value in vars(self).items():
26963
27099
  property_name = name[1:]
@@ -32949,12 +33085,15 @@ class RouterSettingWithFallBack(AbstractModel):
32949
33085
  :param _RoutingStrategyArgs: <p>L2模型组内路由调度算法参数</p>
32950
33086
  注意:此字段可能返回 null,表示取不到有效值。
32951
33087
  :type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
33088
+ :param _StickyConfig: <p>粘连配置参数</p>
33089
+ :type StickyConfig: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
32952
33090
  """
32953
33091
  self._CrossModelGroupRoutingStrategy = None
32954
33092
  self._FallBack = None
32955
33093
  self._RoutingStrategy = None
32956
33094
  self._NumRetries = None
32957
33095
  self._RoutingStrategyArgs = None
33096
+ self._StickyConfig = None
32958
33097
 
32959
33098
  @property
32960
33099
  def CrossModelGroupRoutingStrategy(self):
@@ -33016,6 +33155,17 @@ class RouterSettingWithFallBack(AbstractModel):
33016
33155
  def RoutingStrategyArgs(self, RoutingStrategyArgs):
33017
33156
  self._RoutingStrategyArgs = RoutingStrategyArgs
33018
33157
 
33158
+ @property
33159
+ def StickyConfig(self):
33160
+ r"""<p>粘连配置参数</p>
33161
+ :rtype: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
33162
+ """
33163
+ return self._StickyConfig
33164
+
33165
+ @StickyConfig.setter
33166
+ def StickyConfig(self, StickyConfig):
33167
+ self._StickyConfig = StickyConfig
33168
+
33019
33169
 
33020
33170
  def _deserialize(self, params):
33021
33171
  self._CrossModelGroupRoutingStrategy = params.get("CrossModelGroupRoutingStrategy")
@@ -33027,6 +33177,9 @@ class RouterSettingWithFallBack(AbstractModel):
33027
33177
  if params.get("RoutingStrategyArgs") is not None:
33028
33178
  self._RoutingStrategyArgs = RoutingStrategyArgs()
33029
33179
  self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
33180
+ if params.get("StickyConfig") is not None:
33181
+ self._StickyConfig = StickyConfig()
33182
+ self._StickyConfig._deserialize(params.get("StickyConfig"))
33030
33183
  memeber_set = set(params.keys())
33031
33184
  for name, value in vars(self).items():
33032
33185
  property_name = name[1:]
@@ -33052,11 +33205,14 @@ class RouterSettingWithoutFallBack(AbstractModel):
33052
33205
  :type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
33053
33206
  :param _NumRetries: <p>CMR实例级别请求组内重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
33054
33207
  :type NumRetries: int
33208
+ :param _StickyConfig: <p>粘连路由配置参数</p>
33209
+ :type StickyConfig: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
33055
33210
  """
33056
33211
  self._RoutingStrategy = None
33057
33212
  self._CrossModelGroupRoutingStrategy = None
33058
33213
  self._RoutingStrategyArgs = None
33059
33214
  self._NumRetries = None
33215
+ self._StickyConfig = None
33060
33216
 
33061
33217
  @property
33062
33218
  def RoutingStrategy(self):
@@ -33102,6 +33258,17 @@ class RouterSettingWithoutFallBack(AbstractModel):
33102
33258
  def NumRetries(self, NumRetries):
33103
33259
  self._NumRetries = NumRetries
33104
33260
 
33261
+ @property
33262
+ def StickyConfig(self):
33263
+ r"""<p>粘连路由配置参数</p>
33264
+ :rtype: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
33265
+ """
33266
+ return self._StickyConfig
33267
+
33268
+ @StickyConfig.setter
33269
+ def StickyConfig(self, StickyConfig):
33270
+ self._StickyConfig = StickyConfig
33271
+
33105
33272
 
33106
33273
  def _deserialize(self, params):
33107
33274
  self._RoutingStrategy = params.get("RoutingStrategy")
@@ -33110,6 +33277,9 @@ class RouterSettingWithoutFallBack(AbstractModel):
33110
33277
  self._RoutingStrategyArgs = RoutingStrategyArgs()
33111
33278
  self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
33112
33279
  self._NumRetries = params.get("NumRetries")
33280
+ if params.get("StickyConfig") is not None:
33281
+ self._StickyConfig = StickyConfig()
33282
+ self._StickyConfig._deserialize(params.get("StickyConfig"))
33113
33283
  memeber_set = set(params.keys())
33114
33284
  for name, value in vars(self).items():
33115
33285
  property_name = name[1:]
@@ -35741,6 +35911,42 @@ class SpecAvailability(AbstractModel):
35741
35911
 
35742
35912
 
35743
35913
 
35914
+ class StickyConfig(AbstractModel):
35915
+ r"""粘连路由配置
35916
+
35917
+ """
35918
+
35919
+ def __init__(self):
35920
+ r"""
35921
+ :param _Enabled: <p>是否开启粘连路由</p>
35922
+ :type Enabled: bool
35923
+ """
35924
+ self._Enabled = None
35925
+
35926
+ @property
35927
+ def Enabled(self):
35928
+ r"""<p>是否开启粘连路由</p>
35929
+ :rtype: bool
35930
+ """
35931
+ return self._Enabled
35932
+
35933
+ @Enabled.setter
35934
+ def Enabled(self, Enabled):
35935
+ self._Enabled = Enabled
35936
+
35937
+
35938
+ def _deserialize(self, params):
35939
+ self._Enabled = params.get("Enabled")
35940
+ memeber_set = set(params.keys())
35941
+ for name, value in vars(self).items():
35942
+ property_name = name[1:]
35943
+ if property_name in memeber_set:
35944
+ memeber_set.remove(property_name)
35945
+ if len(memeber_set) > 0:
35946
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
35947
+
35948
+
35949
+
35744
35950
  class TagInfo(AbstractModel):
35745
35951
  r"""模型路由实例的标签信息
35746
35952
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.154
3
+ Version: 3.1.160
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.154
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.160
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.154