tencentcloud-sdk-python-clb 3.1.152__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.152 → tencentcloud_sdk_python_clb-3.1.157}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/models.py +338 -4
- {tencentcloud_sdk_python_clb-3.1.152 → 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.152/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → tencentcloud_sdk_python_clb-3.1.157}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.152 → 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',
|
|
@@ -7357,6 +7357,8 @@ class CreateModelRequest(AbstractModel):
|
|
|
7357
7357
|
:type Tags: list of TagInfo
|
|
7358
7358
|
:param _VerifySSL: <p>是否校验服务提供商的SSL证书</p>
|
|
7359
7359
|
:type VerifySSL: bool
|
|
7360
|
+
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
7361
|
+
:type HealthCheckConfig: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigInput`
|
|
7360
7362
|
"""
|
|
7361
7363
|
self._AccessType = None
|
|
7362
7364
|
self._ModelProvider = None
|
|
@@ -7371,6 +7373,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
7371
7373
|
self._HostHeader = None
|
|
7372
7374
|
self._Tags = None
|
|
7373
7375
|
self._VerifySSL = None
|
|
7376
|
+
self._HealthCheckConfig = None
|
|
7374
7377
|
|
|
7375
7378
|
@property
|
|
7376
7379
|
def AccessType(self):
|
|
@@ -7515,6 +7518,17 @@ class CreateModelRequest(AbstractModel):
|
|
|
7515
7518
|
def VerifySSL(self, VerifySSL):
|
|
7516
7519
|
self._VerifySSL = VerifySSL
|
|
7517
7520
|
|
|
7521
|
+
@property
|
|
7522
|
+
def HealthCheckConfig(self):
|
|
7523
|
+
r"""<p>健康检查配置</p>
|
|
7524
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigInput`
|
|
7525
|
+
"""
|
|
7526
|
+
return self._HealthCheckConfig
|
|
7527
|
+
|
|
7528
|
+
@HealthCheckConfig.setter
|
|
7529
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
|
7530
|
+
self._HealthCheckConfig = HealthCheckConfig
|
|
7531
|
+
|
|
7518
7532
|
|
|
7519
7533
|
def _deserialize(self, params):
|
|
7520
7534
|
self._AccessType = params.get("AccessType")
|
|
@@ -7545,6 +7559,9 @@ class CreateModelRequest(AbstractModel):
|
|
|
7545
7559
|
obj._deserialize(item)
|
|
7546
7560
|
self._Tags.append(obj)
|
|
7547
7561
|
self._VerifySSL = params.get("VerifySSL")
|
|
7562
|
+
if params.get("HealthCheckConfig") is not None:
|
|
7563
|
+
self._HealthCheckConfig = ServiceProviderHealthCheckConfigInput()
|
|
7564
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
|
7548
7565
|
memeber_set = set(params.keys())
|
|
7549
7566
|
for name, value in vars(self).items():
|
|
7550
7567
|
property_name = name[1:]
|
|
@@ -7636,7 +7653,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7636
7653
|
:type Port: int
|
|
7637
7654
|
:param _RateLimitConfig: <p>限速配置</p>
|
|
7638
7655
|
:type RateLimitConfig: :class:`tencentcloud.clb.v20180317.models.RateLimitConfigForModelRouter`
|
|
7639
|
-
:param _RouterSetting: <p>路由配置</p>
|
|
7656
|
+
:param _RouterSetting: <p>路由配置</p><p>新创建实例时,默认会开启粘连路由</p>
|
|
7640
7657
|
:type RouterSetting: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithoutFallBack`
|
|
7641
7658
|
:param _Schema: <p>模型路由实例的网络协议</p><p>枚举值:</p><ul><li>HTTP: HTTP协议</li><li>HTTPS: HTTPS协议</li></ul>
|
|
7642
7659
|
:type Schema: str
|
|
@@ -7650,6 +7667,10 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7650
7667
|
:type ModelRouterBillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigInput`
|
|
7651
7668
|
:param _ClientToken: <p>客户端Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。</p>
|
|
7652
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
|
|
7653
7674
|
"""
|
|
7654
7675
|
self._ModelRouterType = None
|
|
7655
7676
|
self._BudgetId = None
|
|
@@ -7666,6 +7687,8 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7666
7687
|
self._VpcId = None
|
|
7667
7688
|
self._ModelRouterBillingConfig = None
|
|
7668
7689
|
self._ClientToken = None
|
|
7690
|
+
self._EipAddressId = None
|
|
7691
|
+
self._Bandwidth = None
|
|
7669
7692
|
|
|
7670
7693
|
@property
|
|
7671
7694
|
def ModelRouterType(self):
|
|
@@ -7757,7 +7780,7 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7757
7780
|
|
|
7758
7781
|
@property
|
|
7759
7782
|
def RouterSetting(self):
|
|
7760
|
-
r"""<p>路由配置</p>
|
|
7783
|
+
r"""<p>路由配置</p><p>新创建实例时,默认会开启粘连路由</p>
|
|
7761
7784
|
:rtype: :class:`tencentcloud.clb.v20180317.models.RouterSettingWithoutFallBack`
|
|
7762
7785
|
"""
|
|
7763
7786
|
return self._RouterSetting
|
|
@@ -7832,6 +7855,28 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7832
7855
|
def ClientToken(self, ClientToken):
|
|
7833
7856
|
self._ClientToken = ClientToken
|
|
7834
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
|
+
|
|
7835
7880
|
|
|
7836
7881
|
def _deserialize(self, params):
|
|
7837
7882
|
self._ModelRouterType = params.get("ModelRouterType")
|
|
@@ -7862,6 +7907,8 @@ class CreateModelRouterRequest(AbstractModel):
|
|
|
7862
7907
|
self._ModelRouterBillingConfig = ModelRouterBillingConfigInput()
|
|
7863
7908
|
self._ModelRouterBillingConfig._deserialize(params.get("ModelRouterBillingConfig"))
|
|
7864
7909
|
self._ClientToken = params.get("ClientToken")
|
|
7910
|
+
self._EipAddressId = params.get("EipAddressId")
|
|
7911
|
+
self._Bandwidth = params.get("Bandwidth")
|
|
7865
7912
|
memeber_set = set(params.keys())
|
|
7866
7913
|
for name, value in vars(self).items():
|
|
7867
7914
|
property_name = name[1:]
|
|
@@ -14990,10 +15037,13 @@ class DescribeModelNamesRequest(AbstractModel):
|
|
|
14990
15037
|
:type Limit: int
|
|
14991
15038
|
:param _VpcId: <p>过滤PrivateCustom类型自建模型。如果传递了此参数,则只返回具有相同VPC Id的模型。</p>
|
|
14992
15039
|
:type VpcId: str
|
|
15040
|
+
:param _Filters: <p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照模态过滤。</li></ul>
|
|
15041
|
+
:type Filters: list of Filter
|
|
14993
15042
|
"""
|
|
14994
15043
|
self._Offset = None
|
|
14995
15044
|
self._Limit = None
|
|
14996
15045
|
self._VpcId = None
|
|
15046
|
+
self._Filters = None
|
|
14997
15047
|
|
|
14998
15048
|
@property
|
|
14999
15049
|
def Offset(self):
|
|
@@ -15028,11 +15078,28 @@ class DescribeModelNamesRequest(AbstractModel):
|
|
|
15028
15078
|
def VpcId(self, VpcId):
|
|
15029
15079
|
self._VpcId = VpcId
|
|
15030
15080
|
|
|
15081
|
+
@property
|
|
15082
|
+
def Filters(self):
|
|
15083
|
+
r"""<p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照模态过滤。</li></ul>
|
|
15084
|
+
:rtype: list of Filter
|
|
15085
|
+
"""
|
|
15086
|
+
return self._Filters
|
|
15087
|
+
|
|
15088
|
+
@Filters.setter
|
|
15089
|
+
def Filters(self, Filters):
|
|
15090
|
+
self._Filters = Filters
|
|
15091
|
+
|
|
15031
15092
|
|
|
15032
15093
|
def _deserialize(self, params):
|
|
15033
15094
|
self._Offset = params.get("Offset")
|
|
15034
15095
|
self._Limit = params.get("Limit")
|
|
15035
15096
|
self._VpcId = params.get("VpcId")
|
|
15097
|
+
if params.get("Filters") is not None:
|
|
15098
|
+
self._Filters = []
|
|
15099
|
+
for item in params.get("Filters"):
|
|
15100
|
+
obj = Filter()
|
|
15101
|
+
obj._deserialize(item)
|
|
15102
|
+
self._Filters.append(obj)
|
|
15036
15103
|
memeber_set = set(params.keys())
|
|
15037
15104
|
for name, value in vars(self).items():
|
|
15038
15105
|
property_name = name[1:]
|
|
@@ -24887,7 +24954,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24887
24954
|
:param _ServiceProviderName: <p>服务提供商自定义名称</p>
|
|
24888
24955
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24889
24956
|
:type ServiceProviderName: str
|
|
24890
|
-
:param _Status: <p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li
|
|
24957
|
+
:param _Status: <p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li></ul>
|
|
24891
24958
|
:type Status: str
|
|
24892
24959
|
:param _SubnetId: <p>子网 ID</p>
|
|
24893
24960
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -24899,6 +24966,8 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24899
24966
|
:param _VpcId: <p>VPC 实例 ID</p>
|
|
24900
24967
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24901
24968
|
:type VpcId: str
|
|
24969
|
+
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
24970
|
+
:type HealthCheckConfig: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigOutput`
|
|
24902
24971
|
"""
|
|
24903
24972
|
self._AccessType = None
|
|
24904
24973
|
self._ApiBase = None
|
|
@@ -24917,6 +24986,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24917
24986
|
self._Tags = None
|
|
24918
24987
|
self._VerifySSL = None
|
|
24919
24988
|
self._VpcId = None
|
|
24989
|
+
self._HealthCheckConfig = None
|
|
24920
24990
|
|
|
24921
24991
|
@property
|
|
24922
24992
|
def AccessType(self):
|
|
@@ -25056,7 +25126,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25056
25126
|
|
|
25057
25127
|
@property
|
|
25058
25128
|
def Status(self):
|
|
25059
|
-
r"""<p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li
|
|
25129
|
+
r"""<p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li></ul>
|
|
25060
25130
|
:rtype: str
|
|
25061
25131
|
"""
|
|
25062
25132
|
return self._Status
|
|
@@ -25111,6 +25181,17 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25111
25181
|
def VpcId(self, VpcId):
|
|
25112
25182
|
self._VpcId = VpcId
|
|
25113
25183
|
|
|
25184
|
+
@property
|
|
25185
|
+
def HealthCheckConfig(self):
|
|
25186
|
+
r"""<p>健康检查配置</p>
|
|
25187
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigOutput`
|
|
25188
|
+
"""
|
|
25189
|
+
return self._HealthCheckConfig
|
|
25190
|
+
|
|
25191
|
+
@HealthCheckConfig.setter
|
|
25192
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
|
25193
|
+
self._HealthCheckConfig = HealthCheckConfig
|
|
25194
|
+
|
|
25114
25195
|
|
|
25115
25196
|
def _deserialize(self, params):
|
|
25116
25197
|
self._AccessType = params.get("AccessType")
|
|
@@ -25145,6 +25226,9 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25145
25226
|
self._Tags.append(obj)
|
|
25146
25227
|
self._VerifySSL = params.get("VerifySSL")
|
|
25147
25228
|
self._VpcId = params.get("VpcId")
|
|
25229
|
+
if params.get("HealthCheckConfig") is not None:
|
|
25230
|
+
self._HealthCheckConfig = ServiceProviderHealthCheckConfigOutput()
|
|
25231
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
|
25148
25232
|
memeber_set = set(params.keys())
|
|
25149
25233
|
for name, value in vars(self).items():
|
|
25150
25234
|
property_name = name[1:]
|
|
@@ -25292,6 +25376,78 @@ class ModelRouterBillingConfigInput(AbstractModel):
|
|
|
25292
25376
|
|
|
25293
25377
|
|
|
25294
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
|
+
|
|
25295
25451
|
class ModelRouterDetail(AbstractModel):
|
|
25296
25452
|
r"""查询单个实例详细信息
|
|
25297
25453
|
|
|
@@ -25350,6 +25506,8 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25350
25506
|
:type Bandwidth: int
|
|
25351
25507
|
:param _EipAddressId: <p>弹性公网IP的ID</p>
|
|
25352
25508
|
:type EipAddressId: str
|
|
25509
|
+
:param _BillingConfig: <p>计费信息</p>
|
|
25510
|
+
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
25353
25511
|
"""
|
|
25354
25512
|
self._BudgetId = None
|
|
25355
25513
|
self._BudgetName = None
|
|
@@ -25375,6 +25533,7 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25375
25533
|
self._VpcId = None
|
|
25376
25534
|
self._Bandwidth = None
|
|
25377
25535
|
self._EipAddressId = None
|
|
25536
|
+
self._BillingConfig = None
|
|
25378
25537
|
|
|
25379
25538
|
@property
|
|
25380
25539
|
def BudgetId(self):
|
|
@@ -25643,6 +25802,17 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25643
25802
|
def EipAddressId(self, EipAddressId):
|
|
25644
25803
|
self._EipAddressId = EipAddressId
|
|
25645
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
|
+
|
|
25646
25816
|
|
|
25647
25817
|
def _deserialize(self, params):
|
|
25648
25818
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -25690,6 +25860,9 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25690
25860
|
self._VpcId = params.get("VpcId")
|
|
25691
25861
|
self._Bandwidth = params.get("Bandwidth")
|
|
25692
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"))
|
|
25693
25866
|
memeber_set = set(params.keys())
|
|
25694
25867
|
for name, value in vars(self).items():
|
|
25695
25868
|
property_name = name[1:]
|
|
@@ -26636,9 +26809,12 @@ class ModelRouterSet(AbstractModel):
|
|
|
26636
26809
|
:param _VpcId: <p>模型路由实例所属VPC的ID</p>
|
|
26637
26810
|
:type VpcId: str
|
|
26638
26811
|
:param _Bandwidth: <p>带宽</p><p>单位:Mbps</p>
|
|
26812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26639
26813
|
:type Bandwidth: int
|
|
26640
26814
|
:param _EipAddressId: <p>弹性公网IP的ID</p>
|
|
26641
26815
|
:type EipAddressId: str
|
|
26816
|
+
:param _BillingConfig: <p>计费信息</p>
|
|
26817
|
+
:type BillingConfig: :class:`tencentcloud.clb.v20180317.models.ModelRouterBillingConfigOutput`
|
|
26642
26818
|
"""
|
|
26643
26819
|
self._BudgetId = None
|
|
26644
26820
|
self._BudgetName = None
|
|
@@ -26659,6 +26835,7 @@ class ModelRouterSet(AbstractModel):
|
|
|
26659
26835
|
self._VpcId = None
|
|
26660
26836
|
self._Bandwidth = None
|
|
26661
26837
|
self._EipAddressId = None
|
|
26838
|
+
self._BillingConfig = None
|
|
26662
26839
|
|
|
26663
26840
|
@property
|
|
26664
26841
|
def BudgetId(self):
|
|
@@ -26852,6 +27029,7 @@ class ModelRouterSet(AbstractModel):
|
|
|
26852
27029
|
@property
|
|
26853
27030
|
def Bandwidth(self):
|
|
26854
27031
|
r"""<p>带宽</p><p>单位:Mbps</p>
|
|
27032
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26855
27033
|
:rtype: int
|
|
26856
27034
|
"""
|
|
26857
27035
|
return self._Bandwidth
|
|
@@ -26871,6 +27049,17 @@ class ModelRouterSet(AbstractModel):
|
|
|
26871
27049
|
def EipAddressId(self, EipAddressId):
|
|
26872
27050
|
self._EipAddressId = EipAddressId
|
|
26873
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
|
+
|
|
26874
27063
|
|
|
26875
27064
|
def _deserialize(self, params):
|
|
26876
27065
|
self._BudgetId = params.get("BudgetId")
|
|
@@ -26904,6 +27093,9 @@ class ModelRouterSet(AbstractModel):
|
|
|
26904
27093
|
self._VpcId = params.get("VpcId")
|
|
26905
27094
|
self._Bandwidth = params.get("Bandwidth")
|
|
26906
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"))
|
|
26907
27099
|
memeber_set = set(params.keys())
|
|
26908
27100
|
for name, value in vars(self).items():
|
|
26909
27101
|
property_name = name[1:]
|
|
@@ -32895,12 +33087,15 @@ class RouterSettingWithFallBack(AbstractModel):
|
|
|
32895
33087
|
:param _RoutingStrategyArgs: <p>L2模型组内路由调度算法参数</p>
|
|
32896
33088
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32897
33089
|
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
33090
|
+
:param _StickyConfig: <p>粘连配置参数</p>
|
|
33091
|
+
:type StickyConfig: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
|
|
32898
33092
|
"""
|
|
32899
33093
|
self._CrossModelGroupRoutingStrategy = None
|
|
32900
33094
|
self._FallBack = None
|
|
32901
33095
|
self._RoutingStrategy = None
|
|
32902
33096
|
self._NumRetries = None
|
|
32903
33097
|
self._RoutingStrategyArgs = None
|
|
33098
|
+
self._StickyConfig = None
|
|
32904
33099
|
|
|
32905
33100
|
@property
|
|
32906
33101
|
def CrossModelGroupRoutingStrategy(self):
|
|
@@ -32962,6 +33157,17 @@ class RouterSettingWithFallBack(AbstractModel):
|
|
|
32962
33157
|
def RoutingStrategyArgs(self, RoutingStrategyArgs):
|
|
32963
33158
|
self._RoutingStrategyArgs = RoutingStrategyArgs
|
|
32964
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
|
+
|
|
32965
33171
|
|
|
32966
33172
|
def _deserialize(self, params):
|
|
32967
33173
|
self._CrossModelGroupRoutingStrategy = params.get("CrossModelGroupRoutingStrategy")
|
|
@@ -32973,6 +33179,9 @@ class RouterSettingWithFallBack(AbstractModel):
|
|
|
32973
33179
|
if params.get("RoutingStrategyArgs") is not None:
|
|
32974
33180
|
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
32975
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"))
|
|
32976
33185
|
memeber_set = set(params.keys())
|
|
32977
33186
|
for name, value in vars(self).items():
|
|
32978
33187
|
property_name = name[1:]
|
|
@@ -32998,11 +33207,14 @@ class RouterSettingWithoutFallBack(AbstractModel):
|
|
|
32998
33207
|
:type RoutingStrategyArgs: :class:`tencentcloud.clb.v20180317.models.RoutingStrategyArgs`
|
|
32999
33208
|
:param _NumRetries: <p>CMR实例级别请求组内重试次数</p><p>取值范围:[0, 5]</p><p>默认值:2</p>
|
|
33000
33209
|
:type NumRetries: int
|
|
33210
|
+
:param _StickyConfig: <p>粘连路由配置参数</p>
|
|
33211
|
+
:type StickyConfig: :class:`tencentcloud.clb.v20180317.models.StickyConfig`
|
|
33001
33212
|
"""
|
|
33002
33213
|
self._RoutingStrategy = None
|
|
33003
33214
|
self._CrossModelGroupRoutingStrategy = None
|
|
33004
33215
|
self._RoutingStrategyArgs = None
|
|
33005
33216
|
self._NumRetries = None
|
|
33217
|
+
self._StickyConfig = None
|
|
33006
33218
|
|
|
33007
33219
|
@property
|
|
33008
33220
|
def RoutingStrategy(self):
|
|
@@ -33048,6 +33260,17 @@ class RouterSettingWithoutFallBack(AbstractModel):
|
|
|
33048
33260
|
def NumRetries(self, NumRetries):
|
|
33049
33261
|
self._NumRetries = NumRetries
|
|
33050
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
|
+
|
|
33051
33274
|
|
|
33052
33275
|
def _deserialize(self, params):
|
|
33053
33276
|
self._RoutingStrategy = params.get("RoutingStrategy")
|
|
@@ -33056,6 +33279,9 @@ class RouterSettingWithoutFallBack(AbstractModel):
|
|
|
33056
33279
|
self._RoutingStrategyArgs = RoutingStrategyArgs()
|
|
33057
33280
|
self._RoutingStrategyArgs._deserialize(params.get("RoutingStrategyArgs"))
|
|
33058
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"))
|
|
33059
33285
|
memeber_set = set(params.keys())
|
|
33060
33286
|
for name, value in vars(self).items():
|
|
33061
33287
|
property_name = name[1:]
|
|
@@ -34632,6 +34858,78 @@ class ServiceProviderCoefficient(AbstractModel):
|
|
|
34632
34858
|
|
|
34633
34859
|
|
|
34634
34860
|
|
|
34861
|
+
class ServiceProviderHealthCheckConfigInput(AbstractModel):
|
|
34862
|
+
r"""健康检查配置
|
|
34863
|
+
|
|
34864
|
+
"""
|
|
34865
|
+
|
|
34866
|
+
def __init__(self):
|
|
34867
|
+
r"""
|
|
34868
|
+
:param _HealthCheckEnabled: <p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34869
|
+
:type HealthCheckEnabled: bool
|
|
34870
|
+
"""
|
|
34871
|
+
self._HealthCheckEnabled = None
|
|
34872
|
+
|
|
34873
|
+
@property
|
|
34874
|
+
def HealthCheckEnabled(self):
|
|
34875
|
+
r"""<p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34876
|
+
:rtype: bool
|
|
34877
|
+
"""
|
|
34878
|
+
return self._HealthCheckEnabled
|
|
34879
|
+
|
|
34880
|
+
@HealthCheckEnabled.setter
|
|
34881
|
+
def HealthCheckEnabled(self, HealthCheckEnabled):
|
|
34882
|
+
self._HealthCheckEnabled = HealthCheckEnabled
|
|
34883
|
+
|
|
34884
|
+
|
|
34885
|
+
def _deserialize(self, params):
|
|
34886
|
+
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
34887
|
+
memeber_set = set(params.keys())
|
|
34888
|
+
for name, value in vars(self).items():
|
|
34889
|
+
property_name = name[1:]
|
|
34890
|
+
if property_name in memeber_set:
|
|
34891
|
+
memeber_set.remove(property_name)
|
|
34892
|
+
if len(memeber_set) > 0:
|
|
34893
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34894
|
+
|
|
34895
|
+
|
|
34896
|
+
|
|
34897
|
+
class ServiceProviderHealthCheckConfigOutput(AbstractModel):
|
|
34898
|
+
r"""健康检查配置
|
|
34899
|
+
|
|
34900
|
+
"""
|
|
34901
|
+
|
|
34902
|
+
def __init__(self):
|
|
34903
|
+
r"""
|
|
34904
|
+
:param _HealthCheckEnabled: <p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34905
|
+
:type HealthCheckEnabled: bool
|
|
34906
|
+
"""
|
|
34907
|
+
self._HealthCheckEnabled = None
|
|
34908
|
+
|
|
34909
|
+
@property
|
|
34910
|
+
def HealthCheckEnabled(self):
|
|
34911
|
+
r"""<p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34912
|
+
:rtype: bool
|
|
34913
|
+
"""
|
|
34914
|
+
return self._HealthCheckEnabled
|
|
34915
|
+
|
|
34916
|
+
@HealthCheckEnabled.setter
|
|
34917
|
+
def HealthCheckEnabled(self, HealthCheckEnabled):
|
|
34918
|
+
self._HealthCheckEnabled = HealthCheckEnabled
|
|
34919
|
+
|
|
34920
|
+
|
|
34921
|
+
def _deserialize(self, params):
|
|
34922
|
+
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
34923
|
+
memeber_set = set(params.keys())
|
|
34924
|
+
for name, value in vars(self).items():
|
|
34925
|
+
property_name = name[1:]
|
|
34926
|
+
if property_name in memeber_set:
|
|
34927
|
+
memeber_set.remove(property_name)
|
|
34928
|
+
if len(memeber_set) > 0:
|
|
34929
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34930
|
+
|
|
34931
|
+
|
|
34932
|
+
|
|
34635
34933
|
class ServiceProviderItem(AbstractModel):
|
|
34636
34934
|
r"""服务商详情
|
|
34637
34935
|
|
|
@@ -35615,6 +35913,42 @@ class SpecAvailability(AbstractModel):
|
|
|
35615
35913
|
|
|
35616
35914
|
|
|
35617
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
|
+
|
|
35618
35952
|
class TagInfo(AbstractModel):
|
|
35619
35953
|
r"""模型路由实例的标签信息
|
|
35620
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.152
|
|
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
|