tencentcloud-sdk-python-clb 3.1.154__tar.gz → 3.1.157__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.
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/models.py +210 -2
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.157/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.154/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.154 → tencentcloud_sdk_python_clb-3.1.157}/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.
|
|
3
|
+
Version: 3.1.157
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.157,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -7653,7 +7653,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7653
7653
|
:type Port: int
|
|
7654
7654
|
:param _RateLimitConfig: <p>限速配置</p>
|
|
7655
7655
|
:type RateLimitConfig: :class:`tencentcloud.clb.v20180317.models.RateLimitConfigForModelRouter`
|
|
7656
|
-
:param _RouterSetting: <p>路由配置</p>
|
|
7656
|
+
:param _RouterSetting: <p>路由配置</p><p>新创建实例时,默认会开启粘连路由</p>
|
|
7657
7657
|
:type RouterSetting: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithoutFallBack`
|
|
7658
7658
|
:param _Schema: <p>模型路由实例的网络协议</p><p>枚举值:</p><ul><li>HTTP: HTTP协议</li><li>HTTPS: HTTPS协议</li></ul>
|
|
7659
7659
|
:type Schema: str
|
|
@@ -7667,6 +7667,10 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7667
7667
|
:type ModelRouterBillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigInput`
|
|
7668
7668
|
:param _ClientToken: <p>客户端Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。</p>
|
|
7669
7669
|
:type ClientToken: str
|
|
7670
|
+
:param _EipAddressId: <p>弹性公网IP的ID</p>
|
|
7671
|
+
:type EipAddressId: str
|
|
7672
|
+
:param _Bandwidth: <p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
7673
|
+
:type Bandwidth: int
|
|
7670
7674
|
"""
|
|
7671
7675
|
self._ModelRouterType = None
|
|
7672
7676
|
self._BudgetId = None
|
|
@@ -7683,6 +7687,8 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7683
7687
|
self._VpcId = None
|
|
7684
7688
|
self._ModelRouterBillingConfig = None
|
|
7685
7689
|
self._ClientToken = None
|
|
7690
|
+
self._EipAddressId = None
|
|
7691
|
+
self._Bandwidth = None
|
|
7686
7692
|
|
|
7687
7693
|
@property
|
|
7688
7694
|
def ModelRouterType(self):
|
|
@@ -7774,7 +7780,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7774
7780
|
|
|
7775
7781
|
@property
|
|
7776
7782
|
def RouterSetting(self):
|
|
7777
|
-
r"""<p>路由配置</p>
|
|
7783
|
+
r"""<p>路由配置</p><p>新创建实例时,默认会开启粘连路由</p>
|
|
7778
7784
|
:rtype: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithoutFallBack`
|
|
7779
7785
|
"""
|
|
7780
7786
|
return self._RouterSetting
|
|
@@ -7849,6 +7855,28 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7849
7855
|
def ClientToken(self, ClientToken):
|
|
7850
7856
|
self._ClientToken = ClientToken
|
|
7851
7857
|
|
|
7858
|
+
@property
|
|
7859
|
+
def EipAddressId(self):
|
|
7860
|
+
r"""<p>弹性公网IP的ID</p>
|
|
7861
|
+
:rtype: str
|
|
7862
|
+
"""
|
|
7863
|
+
return self._EipAddressId
|
|
7864
|
+
|
|
7865
|
+
@EipAddressId.setter
|
|
7866
|
+
def EipAddressId(self, EipAddressId):
|
|
7867
|
+
self._EipAddressId = EipAddressId
|
|
7868
|
+
|
|
7869
|
+
@property
|
|
7870
|
+
def Bandwidth(self):
|
|
7871
|
+
r"""<p>单位</p><p>取值范围:[1, 2048]</p><p>单位:Mbps</p>
|
|
7872
|
+
:rtype: int
|
|
7873
|
+
"""
|
|
7874
|
+
return self._Bandwidth
|
|
7875
|
+
|
|
7876
|
+
@Bandwidth.setter
|
|
7877
|
+
def Bandwidth(self, Bandwidth):
|
|
7878
|
+
self._Bandwidth = Bandwidth
|
|
7879
|
+
|
|
7852
7880
|
|
|
7853
7881
|
def _deserialize(self, params):
|
|
7854
7882
|
self._ModelRouterType = params.get("ModelRouterType")
|
|
@@ -7879,6 +7907,8 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7879
7907
|
self._ModelRouterBillingConfig = ModelRouterBillingConfigInput()
|
|
7880
7908
|
self._ModelRouterBillingConfig._deserialize(params.get("ModelRouterBillingConfig"))
|
|
7881
7909
|
self._ClientToken = params.get("ClientToken")
|
|
7910
|
+
self._EipAddressId = params.get("EipAddressId")
|
|
7911
|
+
self._Bandwidth = params.get("Bandwidth")
|
|
7882
7912
|
memeber_set = set(params.keys())
|
|
7883
7913
|
for name, value in vars(self).items():
|
|
7884
7914
|
property_name = name[1:]
|
|
@@ -25346,6 +25376,78 @@ class ModelRouterBillingConfigInput(AbstractModel):
|
|
|
25346
25376
|
|
|
25347
25377
|
|
|
25348
25378
|
|
|
25379
|
+
class ModelRouterBillingConfigOutput(AbstractModel):
|
|
25380
|
+
r"""模型路由计费信息
|
|
25381
|
+
|
|
25382
|
+
"""
|
|
25383
|
+
|
|
25384
|
+
def __init__(self):
|
|
25385
|
+
r"""
|
|
25386
|
+
:param _ChargeType: <p>模型路由计费模式</p><p>枚举值:</p><ul><li>POSTPAID_BY_HOUR: 按量计费</li><li>RESOURCE_PACKAGE: 按资源包抵扣</li></ul>
|
|
25387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25388
|
+
:type ChargeType: str
|
|
25389
|
+
: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>
|
|
25390
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25391
|
+
:type SlaType: str
|
|
25392
|
+
:param _AssociateResourcePackage: <p>是否关联资源包抵扣</p><p>枚举值:</p><ul><li>true: 关联</li><li>false: 不关联</li></ul>
|
|
25393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25394
|
+
:type AssociateResourcePackage: bool
|
|
25395
|
+
"""
|
|
25396
|
+
self._ChargeType = None
|
|
25397
|
+
self._SlaType = None
|
|
25398
|
+
self._AssociateResourcePackage = None
|
|
25399
|
+
|
|
25400
|
+
@property
|
|
25401
|
+
def ChargeType(self):
|
|
25402
|
+
r"""<p>模型路由计费模式</p><p>枚举值:</p><ul><li>POSTPAID_BY_HOUR: 按量计费</li><li>RESOURCE_PACKAGE: 按资源包抵扣</li></ul>
|
|
25403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25404
|
+
:rtype: str
|
|
25405
|
+
"""
|
|
25406
|
+
return self._ChargeType
|
|
25407
|
+
|
|
25408
|
+
@ChargeType.setter
|
|
25409
|
+
def ChargeType(self, ChargeType):
|
|
25410
|
+
self._ChargeType = ChargeType
|
|
25411
|
+
|
|
25412
|
+
@property
|
|
25413
|
+
def SlaType(self):
|
|
25414
|
+
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>
|
|
25415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25416
|
+
:rtype: str
|
|
25417
|
+
"""
|
|
25418
|
+
return self._SlaType
|
|
25419
|
+
|
|
25420
|
+
@SlaType.setter
|
|
25421
|
+
def SlaType(self, SlaType):
|
|
25422
|
+
self._SlaType = SlaType
|
|
25423
|
+
|
|
25424
|
+
@property
|
|
25425
|
+
def AssociateResourcePackage(self):
|
|
25426
|
+
r"""<p>是否关联资源包抵扣</p><p>枚举值:</p><ul><li>true: 关联</li><li>false: 不关联</li></ul>
|
|
25427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25428
|
+
:rtype: bool
|
|
25429
|
+
"""
|
|
25430
|
+
return self._AssociateResourcePackage
|
|
25431
|
+
|
|
25432
|
+
@AssociateResourcePackage.setter
|
|
25433
|
+
def AssociateResourcePackage(self, AssociateResourcePackage):
|
|
25434
|
+
self._AssociateResourcePackage = AssociateResourcePackage
|
|
25435
|
+
|
|
25436
|
+
|
|
25437
|
+
def _deserialize(self, params):
|
|
25438
|
+
self._ChargeType = params.get("ChargeType")
|
|
25439
|
+
self._SlaType = params.get("SlaType")
|
|
25440
|
+
self._AssociateResourcePackage = params.get("AssociateResourcePackage")
|
|
25441
|
+
memeber_set = set(params.keys())
|
|
25442
|
+
for name, value in vars(self).items():
|
|
25443
|
+
property_name = name[1:]
|
|
25444
|
+
if property_name in memeber_set:
|
|
25445
|
+
memeber_set.remove(property_name)
|
|
25446
|
+
if len(memeber_set) > 0:
|
|
25447
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25448
|
+
|
|
25449
|
+
|
|
25450
|
+
|
|
25349
25451
|
class ModelRouterDetail(AbstractModel):
|
|
25350
25452
|
r"""查询单个实例详细信息
|
|
25351
25453
|
|
|
@@ -25404,6 +25506,8 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25404
25506
|
:type Bandwidth: int
|
|
25405
25507
|
:param _EipAddressId: <p>弹性公网IP的ID</p>
|
|
25406
25508
|
:type EipAddressId: str
|
|
25509
|
+
:param _BillingConfig: <p>计费信息</p>
|
|
25510
|
+
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
25407
25511
|
"""
|
|
25408
25512
|
self._BudgetId = None
|
|
25409
25513
|
self._BudgetName = None
|
|
@@ -25429,6 +25533,7 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25429
25533
|
self._VpcId = None
|
|
25430
25534
|
self._Bandwidth = None
|
|
25431
25535
|
self._EipAddressId = None
|
|
25536
|
+
self._BillingConfig = None
|
|
25432
25537
|
|
|
25433
25538
|
@property
|
|
25434
25539
|
def BudgetId(self):
|
|
@@ -25697,6 +25802,17 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25697
25802
|
def EipAddressId(self, EipAddressId):
|
|
25698
25803
|
self._EipAddressId = EipAddressId
|
|
25699
25804
|
|
|
25805
|
+
@property
|
|
25806
|
+
def BillingConfig(self):
|
|
25807
|
+
r"""<p>计费信息</p>
|
|
25808
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
25809
|
+
"""
|
|
25810
|
+
return self._BillingConfig
|
|
25811
|
+
|
|
25812
|
+
@BillingConfig.setter
|
|
25813
|
+
def BillingConfig(self, BillingConfig):
|
|
25814
|
+
self._BillingConfig = BillingConfig
|
|
25815
|
+
|
|
25700
25816
|
|
|
25701
25817
|
def _deserialize(self, params):
|
|
25702
25818
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -25744,6 +25860,9 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25744
25860
|
self._VpcId = params.get("VpcId")
|
|
25745
25861
|
self._Bandwidth = params.get("Bandwidth")
|
|
25746
25862
|
self._EipAddressId = params.get("EipAddressId")
|
|
25863
|
+
if params.get("BillingConfig") is not None:
|
|
25864
|
+
self._BillingConfig = ModelRouterBillingConfigOutput()
|
|
25865
|
+
self._BillingConfig._deserialize(params.get("BillingConfig"))
|
|
25747
25866
|
memeber_set = set(params.keys())
|
|
25748
25867
|
for name, value in vars(self).items():
|
|
25749
25868
|
property_name = name[1:]
|
|
@@ -26690,9 +26809,12 @@ class ModelRouterSet(AbstractModel):
|
|
|
26690
26809
|
:param _VpcId: <p>模型路由实例所属VPC的ID</p>
|
|
26691
26810
|
:type VpcId: str
|
|
26692
26811
|
:param _Bandwidth: <p>带宽</p><p>单位:Mbps</p>
|
|
26812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26693
26813
|
:type Bandwidth: int
|
|
26694
26814
|
:param _EipAddressId: <p>弹性公网IP的ID</p>
|
|
26695
26815
|
:type EipAddressId: str
|
|
26816
|
+
:param _BillingConfig: <p>计费信息</p>
|
|
26817
|
+
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
26696
26818
|
"""
|
|
26697
26819
|
self._BudgetId = None
|
|
26698
26820
|
self._BudgetName = None
|
|
@@ -26713,6 +26835,7 @@ class ModelRouterSet(AbstractModel):
|
|
|
26713
26835
|
self._VpcId = None
|
|
26714
26836
|
self._Bandwidth = None
|
|
26715
26837
|
self._EipAddressId = None
|
|
26838
|
+
self._BillingConfig = None
|
|
26716
26839
|
|
|
26717
26840
|
@property
|
|
26718
26841
|
def BudgetId(self):
|
|
@@ -26906,6 +27029,7 @@ class ModelRouterSet(AbstractModel):
|
|
|
26906
27029
|
@property
|
|
26907
27030
|
def Bandwidth(self):
|
|
26908
27031
|
r"""<p>带宽</p><p>单位:Mbps</p>
|
|
27032
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26909
27033
|
:rtype: int
|
|
26910
27034
|
"""
|
|
26911
27035
|
return self._Bandwidth
|
|
@@ -26925,6 +27049,17 @@ class ModelRouterSet(AbstractModel):
|
|
|
26925
27049
|
def EipAddressId(self, EipAddressId):
|
|
26926
27050
|
self._EipAddressId = EipAddressId
|
|
26927
27051
|
|
|
27052
|
+
@property
|
|
27053
|
+
def BillingConfig(self):
|
|
27054
|
+
r"""<p>计费信息</p>
|
|
27055
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
27056
|
+
"""
|
|
27057
|
+
return self._BillingConfig
|
|
27058
|
+
|
|
27059
|
+
@BillingConfig.setter
|
|
27060
|
+
def BillingConfig(self, BillingConfig):
|
|
27061
|
+
self._BillingConfig = BillingConfig
|
|
27062
|
+
|
|
26928
27063
|
|
|
26929
27064
|
def _deserialize(self, params):
|
|
26930
27065
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -26958,6 +27093,9 @@ class ModelRouterSet(AbstractModel):
|
|
|
26958
27093
|
self._VpcId = params.get("VpcId")
|
|
26959
27094
|
self._Bandwidth = params.get("Bandwidth")
|
|
26960
27095
|
self._EipAddressId = params.get("EipAddressId")
|
|
27096
|
+
if params.get("BillingConfig") is not None:
|
|
27097
|
+
self._BillingConfig = ModelRouterBillingConfigOutput()
|
|
27098
|
+
self._BillingConfig._deserialize(params.get("BillingConfig"))
|
|
26961
27099
|
memeber_set = set(params.keys())
|
|
26962
27100
|
for name, value in vars(self).items():
|
|
26963
27101
|
property_name = name[1:]
|
|
@@ -32949,12 +33087,15 @@ class RouterSettingWithFallBack(AbstractModel):
|
|
|
32949
33087
|
:param _RoutingStrategyArgs: <p>L2模型组内路由调度算法参数</p>
|
|
32950
33088
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32951
33089
|
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33090
|
+
:param _StickyConfig: <p>粘连配置参数</p>
|
|
33091
|
+
:type StickyConfig: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
|
|
32952
33092
|
"""
|
|
32953
33093
|
self._CrossModelGroupRoutingStrategy = None
|
|
32954
33094
|
self._FallBack = None
|
|
32955
33095
|
self._RoutingStrategy = None
|
|
32956
33096
|
self._NumRetries = None
|
|
32957
33097
|
self._RoutingStrategyArgs = None
|
|
33098
|
+
self._StickyConfig = None
|
|
32958
33099
|
|
|
32959
33100
|
@property
|
|
32960
33101
|
def CrossModelGroupRoutingStrategy(self):
|
|
@@ -33016,6 +33157,17 @@ class RouterSettingWithFallBack(AbstractModel):
|
|
|
33016
33157
|
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
33017
33158
|
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
33018
33159
|
|
|
33160
|
+
@property
|
|
33161
|
+
def StickyConfig(self):
|
|
33162
|
+
r"""<p>粘连配置参数</p>
|
|
33163
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
|
|
33164
|
+
"""
|
|
33165
|
+
return self._StickyConfig
|
|
33166
|
+
|
|
33167
|
+
@StickyConfig.setter
|
|
33168
|
+
def StickyConfig(self, StickyConfig):
|
|
33169
|
+
self._StickyConfig = StickyConfig
|
|
33170
|
+
|
|
33019
33171
|
|
|
33020
33172
|
def _deserialize(self, params):
|
|
33021
33173
|
self._CrossModelGroupRoutingStrategy = params.get("CrossModelGroupRoutingStrategy")
|
|
@@ -33027,6 +33179,9 @@ class RouterSettingWithFallBack(AbstractModel):
|
|
|
33027
33179
|
if params.get("RoutingStrategyArgs") is not None:
|
|
33028
33180
|
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
33029
33181
|
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
33182
|
+
if params.get("StickyConfig") is not None:
|
|
33183
|
+
self._StickyConfig = StickyConfig()
|
|
33184
|
+
self._StickyConfig._deserialize(params.get("StickyConfig"))
|
|
33030
33185
|
memeber_set = set(params.keys())
|
|
33031
33186
|
for name, value in vars(self).items():
|
|
33032
33187
|
property_name = name[1:]
|
|
@@ -33052,11 +33207,14 @@ class RouterSettingWithoutFallBack(AbstractModel):
|
|
|
33052
33207
|
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33053
33208
|
:param _NumRetries: <p>CMR实例级别请求组内重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
33054
33209
|
:type NumRetries: int
|
|
33210
|
+
:param _StickyConfig: <p>粘连路由配置参数</p>
|
|
33211
|
+
:type StickyConfig: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
|
|
33055
33212
|
"""
|
|
33056
33213
|
self._RoutingStrategy = None
|
|
33057
33214
|
self._CrossModelGroupRoutingStrategy = None
|
|
33058
33215
|
self._RoutingStrategyArgs = None
|
|
33059
33216
|
self._NumRetries = None
|
|
33217
|
+
self._StickyConfig = None
|
|
33060
33218
|
|
|
33061
33219
|
@property
|
|
33062
33220
|
def RoutingStrategy(self):
|
|
@@ -33102,6 +33260,17 @@ class RouterSettingWithoutFallBack(AbstractModel):
|
|
|
33102
33260
|
def NumRetries(self, NumRetries):
|
|
33103
33261
|
self._NumRetries = NumRetries
|
|
33104
33262
|
|
|
33263
|
+
@property
|
|
33264
|
+
def StickyConfig(self):
|
|
33265
|
+
r"""<p>粘连路由配置参数</p>
|
|
33266
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
|
|
33267
|
+
"""
|
|
33268
|
+
return self._StickyConfig
|
|
33269
|
+
|
|
33270
|
+
@StickyConfig.setter
|
|
33271
|
+
def StickyConfig(self, StickyConfig):
|
|
33272
|
+
self._StickyConfig = StickyConfig
|
|
33273
|
+
|
|
33105
33274
|
|
|
33106
33275
|
def _deserialize(self, params):
|
|
33107
33276
|
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
@@ -33110,6 +33279,9 @@ class RouterSettingWithoutFallBack(AbstractModel):
|
|
|
33110
33279
|
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
33111
33280
|
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
33112
33281
|
self._NumRetries = params.get("NumRetries")
|
|
33282
|
+
if params.get("StickyConfig") is not None:
|
|
33283
|
+
self._StickyConfig = StickyConfig()
|
|
33284
|
+
self._StickyConfig._deserialize(params.get("StickyConfig"))
|
|
33113
33285
|
memeber_set = set(params.keys())
|
|
33114
33286
|
for name, value in vars(self).items():
|
|
33115
33287
|
property_name = name[1:]
|
|
@@ -35741,6 +35913,42 @@ class SpecAvailability(AbstractModel):
|
|
|
35741
35913
|
|
|
35742
35914
|
|
|
35743
35915
|
|
|
35916
|
+
class StickyConfig(AbstractModel):
|
|
35917
|
+
r"""粘连路由配置
|
|
35918
|
+
|
|
35919
|
+
"""
|
|
35920
|
+
|
|
35921
|
+
def __init__(self):
|
|
35922
|
+
r"""
|
|
35923
|
+
:param _Enabled: <p>是否开启粘连路由</p>
|
|
35924
|
+
:type Enabled: bool
|
|
35925
|
+
"""
|
|
35926
|
+
self._Enabled = None
|
|
35927
|
+
|
|
35928
|
+
@property
|
|
35929
|
+
def Enabled(self):
|
|
35930
|
+
r"""<p>是否开启粘连路由</p>
|
|
35931
|
+
:rtype: bool
|
|
35932
|
+
"""
|
|
35933
|
+
return self._Enabled
|
|
35934
|
+
|
|
35935
|
+
@Enabled.setter
|
|
35936
|
+
def Enabled(self, Enabled):
|
|
35937
|
+
self._Enabled = Enabled
|
|
35938
|
+
|
|
35939
|
+
|
|
35940
|
+
def _deserialize(self, params):
|
|
35941
|
+
self._Enabled = params.get("Enabled")
|
|
35942
|
+
memeber_set = set(params.keys())
|
|
35943
|
+
for name, value in vars(self).items():
|
|
35944
|
+
property_name = name[1:]
|
|
35945
|
+
if property_name in memeber_set:
|
|
35946
|
+
memeber_set.remove(property_name)
|
|
35947
|
+
if len(memeber_set) > 0:
|
|
35948
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35949
|
+
|
|
35950
|
+
|
|
35951
|
+
|
|
35744
35952
|
class TagInfo(AbstractModel):
|
|
35745
35953
|
r"""模型路由实例的标签信息
|
|
35746
35954
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.157
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.154
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|