tencentcloud-sdk-python 3.0.1374__py2.py3-none-any.whl → 3.0.1375__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +14 -0
- tencentcloud/apm/v20210622/models.py +60 -0
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +8 -0
- tencentcloud/bh/v20230418/models.py +4 -8
- tencentcloud/clb/v20180317/clb_client.py +17 -9
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/clb/v20180317/models.py +232 -98
- tencentcloud/cloudaudit/v20190319/models.py +0 -64
- tencentcloud/config/v20220802/models.py +0 -150
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +113 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +23 -0
- tencentcloud/dsgc/v20190723/models.py +384 -0
- tencentcloud/ocr/v20181119/models.py +20 -2
- tencentcloud/organization/v20210331/models.py +0 -12
- tencentcloud/tdmq/v20200217/models.py +185 -15
- tencentcloud/thpc/v20230321/errorcodes.py +3 -0
- tencentcloud/trocket/v20230308/models.py +190 -12
- tencentcloud/trocket/v20230308/trocket_client.py +0 -1
- tencentcloud/vpc/v20170312/models.py +120 -136
- tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- tencentcloud/waf/v20180125/models.py +34 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +1674 -0
- tencentcloud/wedata/v20210820/wedata_client.py +121 -5
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/RECORD +33 -33
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/top_level.txt +0 -0
@@ -218,14 +218,18 @@ class AssociateTargetGroupsRequest(AbstractModel):
|
|
218
218
|
|
219
219
|
def __init__(self):
|
220
220
|
r"""
|
221
|
-
:param _Associations:
|
221
|
+
:param _Associations: 绑定的关系数组,目标组类型需要一致。
|
222
|
+
一次请求最多支持20个。
|
223
|
+
|
222
224
|
:type Associations: list of TargetGroupAssociation
|
223
225
|
"""
|
224
226
|
self._Associations = None
|
225
227
|
|
226
228
|
@property
|
227
229
|
def Associations(self):
|
228
|
-
"""
|
230
|
+
"""绑定的关系数组,目标组类型需要一致。
|
231
|
+
一次请求最多支持20个。
|
232
|
+
|
229
233
|
:rtype: list of TargetGroupAssociation
|
230
234
|
"""
|
231
235
|
return self._Associations
|
@@ -1812,9 +1816,9 @@ class CertificateInput(AbstractModel):
|
|
1812
1816
|
:type CertKey: str
|
1813
1817
|
:param _CertContent: 上传服务端证书的内容,如果没有 CertId,则此项必传。
|
1814
1818
|
:type CertContent: str
|
1815
|
-
:param _CertCaName: 上传客户端 CA 证书的名称,如果 SSLMode=
|
1819
|
+
:param _CertCaName: 上传客户端 CA 证书的名称,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1816
1820
|
:type CertCaName: str
|
1817
|
-
:param _CertCaContent: 上传客户端证书的内容,如果 SSLMode=
|
1821
|
+
:param _CertCaContent: 上传客户端证书的内容,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1818
1822
|
:type CertCaContent: str
|
1819
1823
|
"""
|
1820
1824
|
self._SSLMode = None
|
@@ -1907,7 +1911,7 @@ class CertificateInput(AbstractModel):
|
|
1907
1911
|
|
1908
1912
|
@property
|
1909
1913
|
def CertCaName(self):
|
1910
|
-
"""上传客户端 CA 证书的名称,如果 SSLMode=
|
1914
|
+
"""上传客户端 CA 证书的名称,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1911
1915
|
:rtype: str
|
1912
1916
|
"""
|
1913
1917
|
return self._CertCaName
|
@@ -1918,7 +1922,7 @@ class CertificateInput(AbstractModel):
|
|
1918
1922
|
|
1919
1923
|
@property
|
1920
1924
|
def CertCaContent(self):
|
1921
|
-
"""上传客户端证书的内容,如果 SSLMode=
|
1925
|
+
"""上传客户端证书的内容,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1922
1926
|
:rtype: str
|
1923
1927
|
"""
|
1924
1928
|
return self._CertCaContent
|
@@ -3725,15 +3729,17 @@ class ConfigListItem(AbstractModel):
|
|
3725
3729
|
r"""
|
3726
3730
|
:param _UconfigId: 配置ID
|
3727
3731
|
:type UconfigId: str
|
3728
|
-
:param _ConfigType:
|
3732
|
+
:param _ConfigType: 配置类型, 可选值:CLB(实例维度配置), SERVER(服务维度配置),LOCATION(规则维度配置)
|
3729
3733
|
:type ConfigType: str
|
3730
3734
|
:param _ConfigName: 配置名字
|
3731
3735
|
:type ConfigName: str
|
3732
3736
|
:param _ConfigContent: 配置内容
|
3733
3737
|
:type ConfigContent: str
|
3734
|
-
:param _CreateTimestamp:
|
3738
|
+
:param _CreateTimestamp: 配置的创建时间。
|
3739
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3735
3740
|
:type CreateTimestamp: str
|
3736
|
-
:param _UpdateTimestamp:
|
3741
|
+
:param _UpdateTimestamp: 配置的修改时间。
|
3742
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3737
3743
|
:type UpdateTimestamp: str
|
3738
3744
|
"""
|
3739
3745
|
self._UconfigId = None
|
@@ -3756,7 +3762,7 @@ class ConfigListItem(AbstractModel):
|
|
3756
3762
|
|
3757
3763
|
@property
|
3758
3764
|
def ConfigType(self):
|
3759
|
-
"""
|
3765
|
+
"""配置类型, 可选值:CLB(实例维度配置), SERVER(服务维度配置),LOCATION(规则维度配置)
|
3760
3766
|
:rtype: str
|
3761
3767
|
"""
|
3762
3768
|
return self._ConfigType
|
@@ -3789,7 +3795,8 @@ class ConfigListItem(AbstractModel):
|
|
3789
3795
|
|
3790
3796
|
@property
|
3791
3797
|
def CreateTimestamp(self):
|
3792
|
-
"""
|
3798
|
+
"""配置的创建时间。
|
3799
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3793
3800
|
:rtype: str
|
3794
3801
|
"""
|
3795
3802
|
return self._CreateTimestamp
|
@@ -3800,7 +3807,8 @@ class ConfigListItem(AbstractModel):
|
|
3800
3807
|
|
3801
3808
|
@property
|
3802
3809
|
def UpdateTimestamp(self):
|
3803
|
-
"""
|
3810
|
+
"""配置的修改时间。
|
3811
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3804
3812
|
:rtype: str
|
3805
3813
|
"""
|
3806
3814
|
return self._UpdateTimestamp
|
@@ -4939,9 +4947,9 @@ class CreateLoadBalancerSnatIpsRequest(AbstractModel):
|
|
4939
4947
|
|
4940
4948
|
def __init__(self):
|
4941
4949
|
r"""
|
4942
|
-
:param _LoadBalancerId: 负载均衡唯一性ID
|
4950
|
+
:param _LoadBalancerId: 负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。
|
4943
4951
|
:type LoadBalancerId: str
|
4944
|
-
:param _SnatIps: 添加的SnatIp信息,可指定IP
|
4952
|
+
:param _SnatIps: 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。
|
4945
4953
|
:type SnatIps: list of SnatIp
|
4946
4954
|
:param _Number: 添加的SnatIp的个数,可与SnatIps一起使用,但若指定IP时,则不能指定创建的SnatIp个数。默认值为1,数量上限与用户配置有关,默认上限为10。
|
4947
4955
|
:type Number: int
|
@@ -4952,7 +4960,7 @@ class CreateLoadBalancerSnatIpsRequest(AbstractModel):
|
|
4952
4960
|
|
4953
4961
|
@property
|
4954
4962
|
def LoadBalancerId(self):
|
4955
|
-
"""负载均衡唯一性ID
|
4963
|
+
"""负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。
|
4956
4964
|
:rtype: str
|
4957
4965
|
"""
|
4958
4966
|
return self._LoadBalancerId
|
@@ -4963,7 +4971,7 @@ class CreateLoadBalancerSnatIpsRequest(AbstractModel):
|
|
4963
4971
|
|
4964
4972
|
@property
|
4965
4973
|
def SnatIps(self):
|
4966
|
-
"""添加的SnatIp信息,可指定IP
|
4974
|
+
"""添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。
|
4967
4975
|
:rtype: list of SnatIp
|
4968
4976
|
"""
|
4969
4977
|
return self._SnatIps
|
@@ -5038,9 +5046,9 @@ class CreateRuleRequest(AbstractModel):
|
|
5038
5046
|
|
5039
5047
|
def __init__(self):
|
5040
5048
|
r"""
|
5041
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
5049
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取
|
5042
5050
|
:type LoadBalancerId: str
|
5043
|
-
:param _ListenerId: 监听器 ID
|
5051
|
+
:param _ListenerId: 监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取
|
5044
5052
|
:type ListenerId: str
|
5045
5053
|
:param _Rules: 新建转发规则的信息。
|
5046
5054
|
:type Rules: list of RuleInput
|
@@ -5051,7 +5059,7 @@ class CreateRuleRequest(AbstractModel):
|
|
5051
5059
|
|
5052
5060
|
@property
|
5053
5061
|
def LoadBalancerId(self):
|
5054
|
-
"""负载均衡实例 ID
|
5062
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取
|
5055
5063
|
:rtype: str
|
5056
5064
|
"""
|
5057
5065
|
return self._LoadBalancerId
|
@@ -5062,7 +5070,7 @@ class CreateRuleRequest(AbstractModel):
|
|
5062
5070
|
|
5063
5071
|
@property
|
5064
5072
|
def ListenerId(self):
|
5065
|
-
"""监听器 ID
|
5073
|
+
"""监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取
|
5066
5074
|
:rtype: str
|
5067
5075
|
"""
|
5068
5076
|
return self._ListenerId
|
@@ -5172,10 +5180,14 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5172
5180
|
<li>取值范围[0, 100]</li>
|
5173
5181
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
5174
5182
|
</ul>
|
5175
|
-
|
5183
|
+
v1 目标组类型不支持设置 Weight 参数。
|
5176
5184
|
:type Weight: int
|
5177
5185
|
:param _FullListenSwitch: 全监听目标组标识,为true表示是全监听目标组,false表示不是全监听目标组。
|
5178
5186
|
:type FullListenSwitch: bool
|
5187
|
+
:param _KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,0:关闭;1:开启, 默认关闭。
|
5188
|
+
:type KeepaliveEnable: bool
|
5189
|
+
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
|
5190
|
+
:type SessionExpireTime: int
|
5179
5191
|
"""
|
5180
5192
|
self._TargetGroupName = None
|
5181
5193
|
self._VpcId = None
|
@@ -5186,6 +5198,8 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5186
5198
|
self._Tags = None
|
5187
5199
|
self._Weight = None
|
5188
5200
|
self._FullListenSwitch = None
|
5201
|
+
self._KeepaliveEnable = None
|
5202
|
+
self._SessionExpireTime = None
|
5189
5203
|
|
5190
5204
|
@property
|
5191
5205
|
def TargetGroupName(self):
|
@@ -5272,7 +5286,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5272
5286
|
<li>取值范围[0, 100]</li>
|
5273
5287
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
5274
5288
|
</ul>
|
5275
|
-
|
5289
|
+
v1 目标组类型不支持设置 Weight 参数。
|
5276
5290
|
:rtype: int
|
5277
5291
|
"""
|
5278
5292
|
return self._Weight
|
@@ -5292,6 +5306,28 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5292
5306
|
def FullListenSwitch(self, FullListenSwitch):
|
5293
5307
|
self._FullListenSwitch = FullListenSwitch
|
5294
5308
|
|
5309
|
+
@property
|
5310
|
+
def KeepaliveEnable(self):
|
5311
|
+
"""是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,0:关闭;1:开启, 默认关闭。
|
5312
|
+
:rtype: bool
|
5313
|
+
"""
|
5314
|
+
return self._KeepaliveEnable
|
5315
|
+
|
5316
|
+
@KeepaliveEnable.setter
|
5317
|
+
def KeepaliveEnable(self, KeepaliveEnable):
|
5318
|
+
self._KeepaliveEnable = KeepaliveEnable
|
5319
|
+
|
5320
|
+
@property
|
5321
|
+
def SessionExpireTime(self):
|
5322
|
+
"""会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
|
5323
|
+
:rtype: int
|
5324
|
+
"""
|
5325
|
+
return self._SessionExpireTime
|
5326
|
+
|
5327
|
+
@SessionExpireTime.setter
|
5328
|
+
def SessionExpireTime(self, SessionExpireTime):
|
5329
|
+
self._SessionExpireTime = SessionExpireTime
|
5330
|
+
|
5295
5331
|
|
5296
5332
|
def _deserialize(self, params):
|
5297
5333
|
self._TargetGroupName = params.get("TargetGroupName")
|
@@ -5313,6 +5349,8 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5313
5349
|
self._Tags.append(obj)
|
5314
5350
|
self._Weight = params.get("Weight")
|
5315
5351
|
self._FullListenSwitch = params.get("FullListenSwitch")
|
5352
|
+
self._KeepaliveEnable = params.get("KeepaliveEnable")
|
5353
|
+
self._SessionExpireTime = params.get("SessionExpireTime")
|
5316
5354
|
memeber_set = set(params.keys())
|
5317
5355
|
for name, value in vars(self).items():
|
5318
5356
|
property_name = name[1:]
|
@@ -5379,7 +5417,7 @@ class CreateTopicRequest(AbstractModel):
|
|
5379
5417
|
:type PartitionCount: int
|
5380
5418
|
:param _TopicType: 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
|
5381
5419
|
:type TopicType: str
|
5382
|
-
:param _Period:
|
5420
|
+
:param _Period: 存储时间,单位天,默认为 30。
|
5383
5421
|
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
5384
5422
|
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
5385
5423
|
:type Period: int
|
@@ -5427,7 +5465,7 @@ class CreateTopicRequest(AbstractModel):
|
|
5427
5465
|
|
5428
5466
|
@property
|
5429
5467
|
def Period(self):
|
5430
|
-
"""
|
5468
|
+
"""存储时间,单位天,默认为 30。
|
5431
5469
|
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
5432
5470
|
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
5433
5471
|
:rtype: int
|
@@ -5960,9 +5998,9 @@ class DeleteLoadBalancerSnatIpsRequest(AbstractModel):
|
|
5960
5998
|
|
5961
5999
|
def __init__(self):
|
5962
6000
|
r"""
|
5963
|
-
:param _LoadBalancerId: 负载均衡唯一ID
|
6001
|
+
:param _LoadBalancerId: 负载均衡唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。例如:lb-12345678。
|
5964
6002
|
:type LoadBalancerId: str
|
5965
|
-
:param _Ips: 删除SnatIp
|
6003
|
+
:param _Ips: 删除SnatIp地址数组,最大支持删除数量为20个。
|
5966
6004
|
:type Ips: list of str
|
5967
6005
|
"""
|
5968
6006
|
self._LoadBalancerId = None
|
@@ -5970,7 +6008,7 @@ class DeleteLoadBalancerSnatIpsRequest(AbstractModel):
|
|
5970
6008
|
|
5971
6009
|
@property
|
5972
6010
|
def LoadBalancerId(self):
|
5973
|
-
"""负载均衡唯一ID
|
6011
|
+
"""负载均衡唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。例如:lb-12345678。
|
5974
6012
|
:rtype: str
|
5975
6013
|
"""
|
5976
6014
|
return self._LoadBalancerId
|
@@ -5981,7 +6019,7 @@ class DeleteLoadBalancerSnatIpsRequest(AbstractModel):
|
|
5981
6019
|
|
5982
6020
|
@property
|
5983
6021
|
def Ips(self):
|
5984
|
-
"""删除SnatIp
|
6022
|
+
"""删除SnatIp地址数组,最大支持删除数量为20个。
|
5985
6023
|
:rtype: list of str
|
5986
6024
|
"""
|
5987
6025
|
return self._Ips
|
@@ -6502,7 +6540,8 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
|
|
6502
6540
|
r"""
|
6503
6541
|
:param _TargetGroupId: 目标组ID。
|
6504
6542
|
:type TargetGroupId: str
|
6505
|
-
:param _TargetGroupInstances:
|
6543
|
+
:param _TargetGroupInstances: 待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
|
6544
|
+
|
6506
6545
|
:type TargetGroupInstances: list of TargetGroupInstance
|
6507
6546
|
"""
|
6508
6547
|
self._TargetGroupId = None
|
@@ -6521,7 +6560,8 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
|
|
6521
6560
|
|
6522
6561
|
@property
|
6523
6562
|
def TargetGroupInstances(self):
|
6524
|
-
"""
|
6563
|
+
"""待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
|
6564
|
+
|
6525
6565
|
:rtype: list of TargetGroupInstance
|
6526
6566
|
"""
|
6527
6567
|
return self._TargetGroupInstances
|
@@ -7935,17 +7975,25 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7935
7975
|
r"""
|
7936
7976
|
:param _ConfigType: 配置类型:CLB 负载均衡维度。 SERVER 域名维度。 LOCATION 规则维度。
|
7937
7977
|
:type ConfigType: str
|
7938
|
-
:param _Offset: 拉取页偏移,默认值0
|
7978
|
+
:param _Offset: 拉取页偏移,默认值0。
|
7939
7979
|
:type Offset: int
|
7940
|
-
:param _Limit: 拉取数目,默认值20
|
7980
|
+
:param _Limit: 拉取数目,默认值20。
|
7941
7981
|
:type Limit: int
|
7942
7982
|
:param _ConfigName: 拉取指定配置名字,模糊匹配。
|
7943
7983
|
:type ConfigName: str
|
7944
|
-
:param _UconfigIds: 配置ID
|
7984
|
+
:param _UconfigIds: 配置ID,可以通过 [DescribeCustomizedConfigList](https://cloud.tencent.com/document/api/214/60009) 接口查询。
|
7945
7985
|
:type UconfigIds: list of str
|
7946
7986
|
:param _Filters: 过滤条件如下:
|
7947
|
-
|
7948
|
-
|
7987
|
+
- loadbalancer-id
|
7988
|
+
按照【负载均衡 ID】进行过滤。实例计费模式例如:lb-9vxezxza。
|
7989
|
+
类型:String
|
7990
|
+
必选:否
|
7991
|
+
获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
|
7992
|
+
- vip
|
7993
|
+
按照【负载均衡VIP】进行过滤。网络计费模式例如:"1.1.1.1","2204::22:3"。
|
7994
|
+
类型:String
|
7995
|
+
必选:否
|
7996
|
+
获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
|
7949
7997
|
:type Filters: list of Filter
|
7950
7998
|
"""
|
7951
7999
|
self._ConfigType = None
|
@@ -7968,7 +8016,7 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7968
8016
|
|
7969
8017
|
@property
|
7970
8018
|
def Offset(self):
|
7971
|
-
"""拉取页偏移,默认值0
|
8019
|
+
"""拉取页偏移,默认值0。
|
7972
8020
|
:rtype: int
|
7973
8021
|
"""
|
7974
8022
|
return self._Offset
|
@@ -7979,7 +8027,7 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7979
8027
|
|
7980
8028
|
@property
|
7981
8029
|
def Limit(self):
|
7982
|
-
"""拉取数目,默认值20
|
8030
|
+
"""拉取数目,默认值20。
|
7983
8031
|
:rtype: int
|
7984
8032
|
"""
|
7985
8033
|
return self._Limit
|
@@ -8001,7 +8049,7 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
8001
8049
|
|
8002
8050
|
@property
|
8003
8051
|
def UconfigIds(self):
|
8004
|
-
"""配置ID
|
8052
|
+
"""配置ID,可以通过 [DescribeCustomizedConfigList](https://cloud.tencent.com/document/api/214/60009) 接口查询。
|
8005
8053
|
:rtype: list of str
|
8006
8054
|
"""
|
8007
8055
|
return self._UconfigIds
|
@@ -8013,8 +8061,16 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
8013
8061
|
@property
|
8014
8062
|
def Filters(self):
|
8015
8063
|
"""过滤条件如下:
|
8016
|
-
|
8017
|
-
|
8064
|
+
- loadbalancer-id
|
8065
|
+
按照【负载均衡 ID】进行过滤。实例计费模式例如:lb-9vxezxza。
|
8066
|
+
类型:String
|
8067
|
+
必选:否
|
8068
|
+
获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
|
8069
|
+
- vip
|
8070
|
+
按照【负载均衡VIP】进行过滤。网络计费模式例如:"1.1.1.1","2204::22:3"。
|
8071
|
+
类型:String
|
8072
|
+
必选:否
|
8073
|
+
获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
|
8018
8074
|
:rtype: list of Filter
|
8019
8075
|
"""
|
8020
8076
|
return self._Filters
|
@@ -8630,14 +8686,16 @@ class DescribeLoadBalancerListByCertIdRequest(AbstractModel):
|
|
8630
8686
|
|
8631
8687
|
def __init__(self):
|
8632
8688
|
r"""
|
8633
|
-
:param _CertIds: 服务端证书的ID,或客户端证书的ID
|
8689
|
+
:param _CertIds: 服务端证书的ID,或客户端证书的ID。可以通过 [DescribeCertificate](https://cloud.tencent.com/document/api/400/41674) 接口查询。
|
8690
|
+
数组最大长度为20。
|
8634
8691
|
:type CertIds: list of str
|
8635
8692
|
"""
|
8636
8693
|
self._CertIds = None
|
8637
8694
|
|
8638
8695
|
@property
|
8639
8696
|
def CertIds(self):
|
8640
|
-
"""服务端证书的ID,或客户端证书的ID
|
8697
|
+
"""服务端证书的ID,或客户端证书的ID。可以通过 [DescribeCertificate](https://cloud.tencent.com/document/api/400/41674) 接口查询。
|
8698
|
+
数组最大长度为20。
|
8641
8699
|
:rtype: list of str
|
8642
8700
|
"""
|
8643
8701
|
return self._CertIds
|
@@ -9712,8 +9770,20 @@ class DescribeResourcesRequest(AbstractModel):
|
|
9712
9770
|
:param _Offset: 返回可用区资源列表起始偏移量,默认0。
|
9713
9771
|
:type Offset: int
|
9714
9772
|
:param _Filters: 查询可用区资源列表条件,详细的过滤条件如下:
|
9715
|
-
|
9716
|
-
|
9773
|
+
- master-zone
|
9774
|
+
按照【地域可用区】进行过滤,例如:ap-guangzhou-2。
|
9775
|
+
类型:String
|
9776
|
+
必选:否
|
9777
|
+
- ip-version
|
9778
|
+
按照【IP 类型】进行过滤,例如:IPv4。
|
9779
|
+
类型:String
|
9780
|
+
必选:否
|
9781
|
+
可选项:IPv4、IPv6、IPv6_Nat
|
9782
|
+
- isp
|
9783
|
+
按照【ISP 类型】进行过滤,例如:BGP。
|
9784
|
+
类型:String
|
9785
|
+
必选:否
|
9786
|
+
可选项:BGP、CMCC(中国移动)、CUCC(中国联通)、CTCC(中国电信)、BGP_PRO、INTERNAL(内网)
|
9717
9787
|
:type Filters: list of Filter
|
9718
9788
|
"""
|
9719
9789
|
self._Limit = None
|
@@ -9745,8 +9815,20 @@ class DescribeResourcesRequest(AbstractModel):
|
|
9745
9815
|
@property
|
9746
9816
|
def Filters(self):
|
9747
9817
|
"""查询可用区资源列表条件,详细的过滤条件如下:
|
9748
|
-
|
9749
|
-
|
9818
|
+
- master-zone
|
9819
|
+
按照【地域可用区】进行过滤,例如:ap-guangzhou-2。
|
9820
|
+
类型:String
|
9821
|
+
必选:否
|
9822
|
+
- ip-version
|
9823
|
+
按照【IP 类型】进行过滤,例如:IPv4。
|
9824
|
+
类型:String
|
9825
|
+
必选:否
|
9826
|
+
可选项:IPv4、IPv6、IPv6_Nat
|
9827
|
+
- isp
|
9828
|
+
按照【ISP 类型】进行过滤,例如:BGP。
|
9829
|
+
类型:String
|
9830
|
+
必选:否
|
9831
|
+
可选项:BGP、CMCC(中国移动)、CUCC(中国联通)、CTCC(中国电信)、BGP_PRO、INTERNAL(内网)
|
9750
9832
|
:rtype: list of Filter
|
9751
9833
|
"""
|
9752
9834
|
return self._Filters
|
@@ -9959,7 +10041,7 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
9959
10041
|
|
9960
10042
|
def __init__(self):
|
9961
10043
|
r"""
|
9962
|
-
:param _Filters:
|
10044
|
+
:param _Filters: 过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
|
9963
10045
|
:type Filters: list of Filter
|
9964
10046
|
:param _Limit: 显示数量限制,默认20。
|
9965
10047
|
:type Limit: int
|
@@ -9972,7 +10054,7 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
9972
10054
|
|
9973
10055
|
@property
|
9974
10056
|
def Filters(self):
|
9975
|
-
"""
|
10057
|
+
"""过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
|
9976
10058
|
:rtype: list of Filter
|
9977
10059
|
"""
|
9978
10060
|
return self._Filters
|
@@ -10263,7 +10345,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
10263
10345
|
:type Limit: int
|
10264
10346
|
:param _Offset: 显示的偏移起始量。
|
10265
10347
|
:type Offset: int
|
10266
|
-
:param _Filters: 过滤条件数组,与TargetGroupIds互斥,支持TargetGroupVpcId
|
10348
|
+
:param _Filters: 过滤条件数组,与TargetGroupIds互斥,支持 TargetGroupVpcId(私有网络 ID)和 TargetGroupName(目标组名称)以及 Tag(标签)。
|
10267
10349
|
:type Filters: list of Filter
|
10268
10350
|
"""
|
10269
10351
|
self._TargetGroupIds = None
|
@@ -10306,7 +10388,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
10306
10388
|
|
10307
10389
|
@property
|
10308
10390
|
def Filters(self):
|
10309
|
-
"""过滤条件数组,与TargetGroupIds互斥,支持TargetGroupVpcId
|
10391
|
+
"""过滤条件数组,与TargetGroupIds互斥,支持 TargetGroupVpcId(私有网络 ID)和 TargetGroupName(目标组名称)以及 Tag(标签)。
|
10310
10392
|
:rtype: list of Filter
|
10311
10393
|
"""
|
10312
10394
|
return self._Filters
|
@@ -10889,14 +10971,14 @@ class DisassociateTargetGroupsRequest(AbstractModel):
|
|
10889
10971
|
|
10890
10972
|
def __init__(self):
|
10891
10973
|
r"""
|
10892
|
-
:param _Associations:
|
10974
|
+
:param _Associations: 待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
|
10893
10975
|
:type Associations: list of TargetGroupAssociation
|
10894
10976
|
"""
|
10895
10977
|
self._Associations = None
|
10896
10978
|
|
10897
10979
|
@property
|
10898
10980
|
def Associations(self):
|
10899
|
-
"""
|
10981
|
+
"""待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
|
10900
10982
|
:rtype: list of TargetGroupAssociation
|
10901
10983
|
"""
|
10902
10984
|
return self._Associations
|
@@ -11935,7 +12017,7 @@ class InquiryPriceModifyLoadBalancerRequest(AbstractModel):
|
|
11935
12017
|
|
11936
12018
|
def __init__(self):
|
11937
12019
|
r"""
|
11938
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
12020
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
11939
12021
|
:type LoadBalancerId: str
|
11940
12022
|
:param _InternetAccessible: 修改后的网络带宽信息
|
11941
12023
|
:type InternetAccessible: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
@@ -11945,7 +12027,7 @@ class InquiryPriceModifyLoadBalancerRequest(AbstractModel):
|
|
11945
12027
|
|
11946
12028
|
@property
|
11947
12029
|
def LoadBalancerId(self):
|
11948
|
-
"""负载均衡实例ID
|
12030
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
11949
12031
|
:rtype: str
|
11950
12032
|
"""
|
11951
12033
|
return self._LoadBalancerId
|
@@ -12114,7 +12196,7 @@ class InquiryPriceRenewLoadBalancerRequest(AbstractModel):
|
|
12114
12196
|
|
12115
12197
|
def __init__(self):
|
12116
12198
|
r"""
|
12117
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
12199
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
12118
12200
|
:type LoadBalancerId: str
|
12119
12201
|
:param _LoadBalancerChargePrepaid: 续费周期
|
12120
12202
|
:type LoadBalancerChargePrepaid: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
@@ -12124,7 +12206,7 @@ class InquiryPriceRenewLoadBalancerRequest(AbstractModel):
|
|
12124
12206
|
|
12125
12207
|
@property
|
12126
12208
|
def LoadBalancerId(self):
|
12127
|
-
"""负载均衡实例ID
|
12209
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
12128
12210
|
:rtype: str
|
12129
12211
|
"""
|
12130
12212
|
return self._LoadBalancerId
|
@@ -12565,8 +12647,10 @@ class LbRsItem(AbstractModel):
|
|
12565
12647
|
def __init__(self):
|
12566
12648
|
r"""
|
12567
12649
|
:param _VpcId: vpc的字符串id,只支持字符串id。
|
12650
|
+
可以通过 [DescribeVpcs](https://cloud.tencent.com/document/api/215/15778) 接口查询。
|
12568
12651
|
:type VpcId: str
|
12569
|
-
:param _PrivateIp: 需要查询后端的内网
|
12652
|
+
:param _PrivateIp: 需要查询后端的内网 IP,可以是 CVM 和弹性网卡。
|
12653
|
+
可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
|
12570
12654
|
:type PrivateIp: str
|
12571
12655
|
"""
|
12572
12656
|
self._VpcId = None
|
@@ -12575,6 +12659,7 @@ class LbRsItem(AbstractModel):
|
|
12575
12659
|
@property
|
12576
12660
|
def VpcId(self):
|
12577
12661
|
"""vpc的字符串id,只支持字符串id。
|
12662
|
+
可以通过 [DescribeVpcs](https://cloud.tencent.com/document/api/215/15778) 接口查询。
|
12578
12663
|
:rtype: str
|
12579
12664
|
"""
|
12580
12665
|
return self._VpcId
|
@@ -12585,7 +12670,8 @@ class LbRsItem(AbstractModel):
|
|
12585
12670
|
|
12586
12671
|
@property
|
12587
12672
|
def PrivateIp(self):
|
12588
|
-
"""需要查询后端的内网
|
12673
|
+
"""需要查询后端的内网 IP,可以是 CVM 和弹性网卡。
|
12674
|
+
可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
|
12589
12675
|
:rtype: str
|
12590
12676
|
"""
|
12591
12677
|
return self._PrivateIp
|
@@ -13518,9 +13604,9 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
|
|
13518
13604
|
:type VpcId: str
|
13519
13605
|
:param _OpenBgp: 高防 LB 的标识,1:高防负载均衡 0:非高防负载均衡。
|
13520
13606
|
:type OpenBgp: int
|
13521
|
-
:param _Snat:
|
13607
|
+
:param _Snat: 是否开启 SNAT,在 2016 年 12 月份之前的传统型内网负载均衡都是开启了 SNAT 的。
|
13522
13608
|
:type Snat: bool
|
13523
|
-
:param _Isolation: 0:表示未被隔离,1:表示被隔离。
|
13609
|
+
:param _Isolation: 是否被隔离,0:表示未被隔离,1:表示被隔离。
|
13524
13610
|
:type Isolation: int
|
13525
13611
|
:param _Log: 用户开启日志的信息,日志只有公网属性创建了 HTTP 、HTTPS 监听器的负载均衡才会有日志。
|
13526
13612
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -13854,7 +13940,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
|
|
13854
13940
|
|
13855
13941
|
@property
|
13856
13942
|
def Snat(self):
|
13857
|
-
"""
|
13943
|
+
"""是否开启 SNAT,在 2016 年 12 月份之前的传统型内网负载均衡都是开启了 SNAT 的。
|
13858
13944
|
:rtype: bool
|
13859
13945
|
"""
|
13860
13946
|
return self._Snat
|
@@ -13865,7 +13951,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
|
|
13865
13951
|
|
13866
13952
|
@property
|
13867
13953
|
def Isolation(self):
|
13868
|
-
"""0:表示未被隔离,1:表示被隔离。
|
13954
|
+
"""是否被隔离,0:表示未被隔离,1:表示被隔离。
|
13869
13955
|
:rtype: int
|
13870
13956
|
"""
|
13871
13957
|
return self._Isolation
|
@@ -16221,7 +16307,7 @@ class ModifyFunctionTargetsRequest(AbstractModel):
|
|
16221
16307
|
:type LoadBalancerId: str
|
16222
16308
|
:param _ListenerId: 负载均衡监听器ID。
|
16223
16309
|
:type ListenerId: str
|
16224
|
-
:param _FunctionTargets:
|
16310
|
+
:param _FunctionTargets: 要修改的后端云函数服务列表,仅支持 Event 函数类型。
|
16225
16311
|
:type FunctionTargets: list of FunctionTarget
|
16226
16312
|
:param _LocationId: 转发规则的ID,当绑定机器到七层转发规则时,必须提供此参数或Domain+Url两者之一。
|
16227
16313
|
:type LocationId: str
|
@@ -16261,7 +16347,7 @@ class ModifyFunctionTargetsRequest(AbstractModel):
|
|
16261
16347
|
|
16262
16348
|
@property
|
16263
16349
|
def FunctionTargets(self):
|
16264
|
-
"""
|
16350
|
+
"""要修改的后端云函数服务列表,仅支持 Event 函数类型。
|
16265
16351
|
:rtype: list of FunctionTarget
|
16266
16352
|
"""
|
16267
16353
|
return self._FunctionTargets
|
@@ -16901,6 +16987,7 @@ class ModifyLoadBalancerMixIpTargetRequest(AbstractModel):
|
|
16901
16987
|
def __init__(self):
|
16902
16988
|
r"""
|
16903
16989
|
:param _LoadBalancerIds: 负载均衡实例ID数组,默认支持20个负载均衡实例ID。
|
16990
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
16904
16991
|
:type LoadBalancerIds: list of str
|
16905
16992
|
:param _MixIpTarget: 开启/关闭IPv6FullChain负载均衡7层监听器支持混绑IPv4/IPv6目标特性。
|
16906
16993
|
:type MixIpTarget: bool
|
@@ -16911,6 +16998,7 @@ class ModifyLoadBalancerMixIpTargetRequest(AbstractModel):
|
|
16911
16998
|
@property
|
16912
16999
|
def LoadBalancerIds(self):
|
16913
17000
|
"""负载均衡实例ID数组,默认支持20个负载均衡实例ID。
|
17001
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
16914
17002
|
:rtype: list of str
|
16915
17003
|
"""
|
16916
17004
|
return self._LoadBalancerIds
|
@@ -17063,7 +17151,8 @@ class ModifyLoadBalancersProjectRequest(AbstractModel):
|
|
17063
17151
|
|
17064
17152
|
def __init__(self):
|
17065
17153
|
r"""
|
17066
|
-
:param _LoadBalancerIds: 一个或多个待操作的负载均衡实例ID
|
17154
|
+
:param _LoadBalancerIds: 一个或多个待操作的负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
17155
|
+
列表支持最大长度为20。
|
17067
17156
|
:type LoadBalancerIds: list of str
|
17068
17157
|
:param _ProjectId: 项目ID。可以通过 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 接口获取。
|
17069
17158
|
:type ProjectId: int
|
@@ -17073,7 +17162,8 @@ class ModifyLoadBalancersProjectRequest(AbstractModel):
|
|
17073
17162
|
|
17074
17163
|
@property
|
17075
17164
|
def LoadBalancerIds(self):
|
17076
|
-
"""一个或多个待操作的负载均衡实例ID
|
17165
|
+
"""一个或多个待操作的负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
17166
|
+
列表支持最大长度为20。
|
17077
17167
|
:rtype: list of str
|
17078
17168
|
"""
|
17079
17169
|
return self._LoadBalancerIds
|
@@ -17375,12 +17465,19 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
17375
17465
|
<li>取值范围[0, 100]</li>
|
17376
17466
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
17377
17467
|
</ul>
|
17468
|
+
v1目标组类型不支持设置Weight参数。
|
17378
17469
|
:type Weight: int
|
17470
|
+
:param _KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,true:关闭;false:开启, 默认关闭。
|
17471
|
+
:type KeepaliveEnable: bool
|
17472
|
+
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
|
17473
|
+
:type SessionExpireTime: int
|
17379
17474
|
"""
|
17380
17475
|
self._TargetGroupId = None
|
17381
17476
|
self._TargetGroupName = None
|
17382
17477
|
self._Port = None
|
17383
17478
|
self._Weight = None
|
17479
|
+
self._KeepaliveEnable = None
|
17480
|
+
self._SessionExpireTime = None
|
17384
17481
|
|
17385
17482
|
@property
|
17386
17483
|
def TargetGroupId(self):
|
@@ -17422,6 +17519,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
17422
17519
|
<li>取值范围[0, 100]</li>
|
17423
17520
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
17424
17521
|
</ul>
|
17522
|
+
v1目标组类型不支持设置Weight参数。
|
17425
17523
|
:rtype: int
|
17426
17524
|
"""
|
17427
17525
|
return self._Weight
|
@@ -17430,12 +17528,36 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
17430
17528
|
def Weight(self, Weight):
|
17431
17529
|
self._Weight = Weight
|
17432
17530
|
|
17531
|
+
@property
|
17532
|
+
def KeepaliveEnable(self):
|
17533
|
+
"""是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,true:关闭;false:开启, 默认关闭。
|
17534
|
+
:rtype: bool
|
17535
|
+
"""
|
17536
|
+
return self._KeepaliveEnable
|
17537
|
+
|
17538
|
+
@KeepaliveEnable.setter
|
17539
|
+
def KeepaliveEnable(self, KeepaliveEnable):
|
17540
|
+
self._KeepaliveEnable = KeepaliveEnable
|
17541
|
+
|
17542
|
+
@property
|
17543
|
+
def SessionExpireTime(self):
|
17544
|
+
"""会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
|
17545
|
+
:rtype: int
|
17546
|
+
"""
|
17547
|
+
return self._SessionExpireTime
|
17548
|
+
|
17549
|
+
@SessionExpireTime.setter
|
17550
|
+
def SessionExpireTime(self, SessionExpireTime):
|
17551
|
+
self._SessionExpireTime = SessionExpireTime
|
17552
|
+
|
17433
17553
|
|
17434
17554
|
def _deserialize(self, params):
|
17435
17555
|
self._TargetGroupId = params.get("TargetGroupId")
|
17436
17556
|
self._TargetGroupName = params.get("TargetGroupName")
|
17437
17557
|
self._Port = params.get("Port")
|
17438
17558
|
self._Weight = params.get("Weight")
|
17559
|
+
self._KeepaliveEnable = params.get("KeepaliveEnable")
|
17560
|
+
self._SessionExpireTime = params.get("SessionExpireTime")
|
17439
17561
|
memeber_set = set(params.keys())
|
17440
17562
|
for name, value in vars(self).items():
|
17441
17563
|
property_name = name[1:]
|
@@ -17483,7 +17605,7 @@ class ModifyTargetGroupInstancesPortRequest(AbstractModel):
|
|
17483
17605
|
r"""
|
17484
17606
|
:param _TargetGroupId: 目标组ID。
|
17485
17607
|
:type TargetGroupId: str
|
17486
|
-
:param _TargetGroupInstances:
|
17608
|
+
:param _TargetGroupInstances: 待修改端口的服务器数组,在这个接口 NewPort 和 Port 为必填项。
|
17487
17609
|
:type TargetGroupInstances: list of TargetGroupInstance
|
17488
17610
|
"""
|
17489
17611
|
self._TargetGroupId = None
|
@@ -17502,7 +17624,7 @@ class ModifyTargetGroupInstancesPortRequest(AbstractModel):
|
|
17502
17624
|
|
17503
17625
|
@property
|
17504
17626
|
def TargetGroupInstances(self):
|
17505
|
-
"""
|
17627
|
+
"""待修改端口的服务器数组,在这个接口 NewPort 和 Port 为必填项。
|
17506
17628
|
:rtype: list of TargetGroupInstance
|
17507
17629
|
"""
|
17508
17630
|
return self._TargetGroupInstances
|
@@ -17567,7 +17689,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
17567
17689
|
r"""
|
17568
17690
|
:param _TargetGroupId: 目标组ID。
|
17569
17691
|
:type TargetGroupId: str
|
17570
|
-
:param _TargetGroupInstances:
|
17692
|
+
:param _TargetGroupInstances: 待修改权重的服务器数组,在这个接口 Port 为必填项。
|
17571
17693
|
:type TargetGroupInstances: list of TargetGroupInstance
|
17572
17694
|
"""
|
17573
17695
|
self._TargetGroupId = None
|
@@ -17586,7 +17708,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
17586
17708
|
|
17587
17709
|
@property
|
17588
17710
|
def TargetGroupInstances(self):
|
17589
|
-
"""
|
17711
|
+
"""待修改权重的服务器数组,在这个接口 Port 为必填项。
|
17590
17712
|
:rtype: list of TargetGroupInstance
|
17591
17713
|
"""
|
17592
17714
|
return self._TargetGroupInstances
|
@@ -18183,8 +18305,9 @@ class Quota(AbstractModel):
|
|
18183
18305
|
<li> TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额 </li>
|
18184
18306
|
<li> TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额 </li>
|
18185
18307
|
<li> TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额 </li>
|
18186
|
-
<li>
|
18308
|
+
<li> TOTAL_SNAT_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额 </li>
|
18187
18309
|
<li>TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额 </li>
|
18310
|
+
<li>TOTAL_FULL_PORT_RANGE_LISTENER_QUOTA:一个CLB实例下的单个协议全端口段监听器配额</li>
|
18188
18311
|
:type QuotaId: str
|
18189
18312
|
:param _QuotaCurrent: 当前使用数量,为 null 时表示无意义。
|
18190
18313
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -18204,8 +18327,9 @@ class Quota(AbstractModel):
|
|
18204
18327
|
<li> TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额 </li>
|
18205
18328
|
<li> TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额 </li>
|
18206
18329
|
<li> TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额 </li>
|
18207
|
-
<li>
|
18330
|
+
<li> TOTAL_SNAT_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额 </li>
|
18208
18331
|
<li>TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额 </li>
|
18332
|
+
<li>TOTAL_FULL_PORT_RANGE_LISTENER_QUOTA:一个CLB实例下的单个协议全端口段监听器配额</li>
|
18209
18333
|
:rtype: str
|
18210
18334
|
"""
|
18211
18335
|
return self._QuotaId
|
@@ -18405,7 +18529,7 @@ class RegisterTargetGroupInstancesRequest(AbstractModel):
|
|
18405
18529
|
r"""
|
18406
18530
|
:param _TargetGroupId: 目标组ID
|
18407
18531
|
:type TargetGroupId: str
|
18408
|
-
:param _TargetGroupInstances:
|
18532
|
+
:param _TargetGroupInstances: 服务器实例数组,服务器和目标组的 VPC 需相同。
|
18409
18533
|
:type TargetGroupInstances: list of TargetGroupInstance
|
18410
18534
|
"""
|
18411
18535
|
self._TargetGroupId = None
|
@@ -18424,7 +18548,7 @@ class RegisterTargetGroupInstancesRequest(AbstractModel):
|
|
18424
18548
|
|
18425
18549
|
@property
|
18426
18550
|
def TargetGroupInstances(self):
|
18427
|
-
"""
|
18551
|
+
"""服务器实例数组,服务器和目标组的 VPC 需相同。
|
18428
18552
|
:rtype: list of TargetGroupInstance
|
18429
18553
|
"""
|
18430
18554
|
return self._TargetGroupInstances
|
@@ -18493,7 +18617,7 @@ class RegisterTargetsRequest(AbstractModel):
|
|
18493
18617
|
:type ListenerId: str
|
18494
18618
|
:param _Targets: 待绑定的后端服务列表,数组长度最大支持20。
|
18495
18619
|
:type Targets: list of Target
|
18496
|
-
:param _LocationId: 转发规则的ID
|
18620
|
+
:param _LocationId: 转发规则的ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取,当绑定后端服务到七层转发规则时,必须提供此参数或Domain+Url两者之一。
|
18497
18621
|
:type LocationId: str
|
18498
18622
|
:param _Domain: 目标转发规则的域名,提供LocationId参数时本参数不生效。
|
18499
18623
|
:type Domain: str
|
@@ -18542,7 +18666,7 @@ class RegisterTargetsRequest(AbstractModel):
|
|
18542
18666
|
|
18543
18667
|
@property
|
18544
18668
|
def LocationId(self):
|
18545
|
-
"""转发规则的ID
|
18669
|
+
"""转发规则的ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取,当绑定后端服务到七层转发规则时,必须提供此参数或Domain+Url两者之一。
|
18546
18670
|
:rtype: str
|
18547
18671
|
"""
|
18548
18672
|
return self._LocationId
|
@@ -19447,7 +19571,7 @@ class RuleInput(AbstractModel):
|
|
19447
19571
|
:param _Scheduler: 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH
|
19448
19572
|
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
|
19449
19573
|
:type Scheduler: str
|
19450
|
-
:param _ForwardType: 负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/TRPC,TRPC暂未对外开放,默认HTTP。
|
19574
|
+
:param _ForwardType: 负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。
|
19451
19575
|
:type ForwardType: str
|
19452
19576
|
:param _DefaultServer: 是否将该域名设为默认域名,注意,一个监听器下只能设置一个默认域名。
|
19453
19577
|
:type DefaultServer: bool
|
@@ -19551,7 +19675,7 @@ class RuleInput(AbstractModel):
|
|
19551
19675
|
|
19552
19676
|
@property
|
19553
19677
|
def ForwardType(self):
|
19554
|
-
"""负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/TRPC,TRPC暂未对外开放,默认HTTP。
|
19678
|
+
"""负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。
|
19555
19679
|
:rtype: str
|
19556
19680
|
"""
|
19557
19681
|
return self._ForwardType
|
@@ -20285,7 +20409,7 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20285
20409
|
def __init__(self):
|
20286
20410
|
r"""
|
20287
20411
|
:param _OperationType: 操作类型。
|
20288
|
-
- ADD
|
20412
|
+
- ADD:创建
|
20289
20413
|
- DELETE:删除
|
20290
20414
|
- UPDATE:修改
|
20291
20415
|
- BIND:绑定
|
@@ -20293,11 +20417,13 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20293
20417
|
:type OperationType: str
|
20294
20418
|
:param _UconfigId: 个性化配置ID。除了创建个性化配置外,必传此字段,如:pz-1234abcd
|
20295
20419
|
:type UconfigId: str
|
20296
|
-
:param _ConfigContent:
|
20420
|
+
:param _ConfigContent: 个性化配置内容。创建个性化配置或修改个性化配置的内容时,必传此字段。
|
20421
|
+
具体限制查看 [七层个性化配置](https://cloud.tencent.com/document/product/214/15171)
|
20297
20422
|
:type ConfigContent: str
|
20298
|
-
:param _ConfigName:
|
20423
|
+
:param _ConfigName: 个性化配置名称。创建个性化配置或修改个性化配置的名字时,必传此字段。
|
20299
20424
|
:type ConfigName: str
|
20300
|
-
:param _LoadBalancerIds: 负载均衡实例ID
|
20425
|
+
:param _LoadBalancerIds: 负载均衡实例ID。绑定解绑时,必传此字段。
|
20426
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20301
20427
|
:type LoadBalancerIds: list of str
|
20302
20428
|
"""
|
20303
20429
|
self._OperationType = None
|
@@ -20309,7 +20435,7 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20309
20435
|
@property
|
20310
20436
|
def OperationType(self):
|
20311
20437
|
"""操作类型。
|
20312
|
-
- ADD
|
20438
|
+
- ADD:创建
|
20313
20439
|
- DELETE:删除
|
20314
20440
|
- UPDATE:修改
|
20315
20441
|
- BIND:绑定
|
@@ -20335,7 +20461,8 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20335
20461
|
|
20336
20462
|
@property
|
20337
20463
|
def ConfigContent(self):
|
20338
|
-
"""
|
20464
|
+
"""个性化配置内容。创建个性化配置或修改个性化配置的内容时,必传此字段。
|
20465
|
+
具体限制查看 [七层个性化配置](https://cloud.tencent.com/document/product/214/15171)
|
20339
20466
|
:rtype: str
|
20340
20467
|
"""
|
20341
20468
|
return self._ConfigContent
|
@@ -20346,7 +20473,7 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20346
20473
|
|
20347
20474
|
@property
|
20348
20475
|
def ConfigName(self):
|
20349
|
-
"""
|
20476
|
+
"""个性化配置名称。创建个性化配置或修改个性化配置的名字时,必传此字段。
|
20350
20477
|
:rtype: str
|
20351
20478
|
"""
|
20352
20479
|
return self._ConfigName
|
@@ -20357,7 +20484,8 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20357
20484
|
|
20358
20485
|
@property
|
20359
20486
|
def LoadBalancerIds(self):
|
20360
|
-
"""负载均衡实例ID
|
20487
|
+
"""负载均衡实例ID。绑定解绑时,必传此字段。
|
20488
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20361
20489
|
:rtype: list of str
|
20362
20490
|
"""
|
20363
20491
|
return self._LoadBalancerIds
|
@@ -20433,7 +20561,7 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
|
|
20433
20561
|
|
20434
20562
|
def __init__(self):
|
20435
20563
|
r"""
|
20436
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
20564
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20437
20565
|
:type LoadBalancerId: str
|
20438
20566
|
:param _LogSetId: 日志服务(CLS)的日志集 ID。
|
20439
20567
|
<li>增加和更新日志主题时可调用 [DescribeLogsets](https://cloud.tencent.com/document/product/614/58624) 接口获取日志集 ID。</li>
|
@@ -20456,7 +20584,7 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
|
|
20456
20584
|
|
20457
20585
|
@property
|
20458
20586
|
def LoadBalancerId(self):
|
20459
|
-
"""负载均衡实例 ID
|
20587
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20460
20588
|
:rtype: str
|
20461
20589
|
"""
|
20462
20590
|
return self._LoadBalancerId
|
@@ -20556,9 +20684,10 @@ class SetLoadBalancerSecurityGroupsRequest(AbstractModel):
|
|
20556
20684
|
|
20557
20685
|
def __init__(self):
|
20558
20686
|
r"""
|
20559
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
20687
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20560
20688
|
:type LoadBalancerId: str
|
20561
20689
|
:param _SecurityGroups: 安全组ID构成的数组,一个负载均衡实例最多可绑定50个安全组,如果要解绑所有安全组,可不传此参数。
|
20690
|
+
可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口查询。
|
20562
20691
|
:type SecurityGroups: list of str
|
20563
20692
|
"""
|
20564
20693
|
self._LoadBalancerId = None
|
@@ -20566,7 +20695,7 @@ class SetLoadBalancerSecurityGroupsRequest(AbstractModel):
|
|
20566
20695
|
|
20567
20696
|
@property
|
20568
20697
|
def LoadBalancerId(self):
|
20569
|
-
"""负载均衡实例 ID
|
20698
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20570
20699
|
:rtype: str
|
20571
20700
|
"""
|
20572
20701
|
return self._LoadBalancerId
|
@@ -20578,6 +20707,7 @@ class SetLoadBalancerSecurityGroupsRequest(AbstractModel):
|
|
20578
20707
|
@property
|
20579
20708
|
def SecurityGroups(self):
|
20580
20709
|
"""安全组ID构成的数组,一个负载均衡实例最多可绑定50个安全组,如果要解绑所有安全组,可不传此参数。
|
20710
|
+
可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口查询。
|
20581
20711
|
:rtype: list of str
|
20582
20712
|
"""
|
20583
20713
|
return self._SecurityGroups
|
@@ -20729,12 +20859,13 @@ class SetSecurityGroupForLoadbalancersRequest(AbstractModel):
|
|
20729
20859
|
|
20730
20860
|
def __init__(self):
|
20731
20861
|
r"""
|
20732
|
-
:param _SecurityGroup: 安全组ID,如 sg-12345678
|
20862
|
+
:param _SecurityGroup: 安全组ID,如 sg-12345678。可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口获取。
|
20733
20863
|
:type SecurityGroup: str
|
20734
20864
|
:param _OperationType: ADD 绑定安全组;
|
20735
20865
|
DEL 解绑安全组
|
20736
20866
|
:type OperationType: str
|
20737
|
-
:param _LoadBalancerIds: 负载均衡实例ID
|
20867
|
+
:param _LoadBalancerIds: 负载均衡实例ID数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20868
|
+
列表支持的最大长度为20。
|
20738
20869
|
:type LoadBalancerIds: list of str
|
20739
20870
|
"""
|
20740
20871
|
self._SecurityGroup = None
|
@@ -20743,7 +20874,7 @@ DEL 解绑安全组
|
|
20743
20874
|
|
20744
20875
|
@property
|
20745
20876
|
def SecurityGroup(self):
|
20746
|
-
"""安全组ID,如 sg-12345678
|
20877
|
+
"""安全组ID,如 sg-12345678。可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口获取。
|
20747
20878
|
:rtype: str
|
20748
20879
|
"""
|
20749
20880
|
return self._SecurityGroup
|
@@ -20766,7 +20897,8 @@ DEL 解绑安全组
|
|
20766
20897
|
|
20767
20898
|
@property
|
20768
20899
|
def LoadBalancerIds(self):
|
20769
|
-
"""负载均衡实例ID
|
20900
|
+
"""负载均衡实例ID数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20901
|
+
列表支持的最大长度为20。
|
20770
20902
|
:rtype: list of str
|
20771
20903
|
"""
|
20772
20904
|
return self._LoadBalancerIds
|
@@ -20825,7 +20957,8 @@ class SlaUpdateParam(AbstractModel):
|
|
20825
20957
|
|
20826
20958
|
def __init__(self):
|
20827
20959
|
r"""
|
20828
|
-
:param _LoadBalancerId:
|
20960
|
+
:param _LoadBalancerId: 负载均衡实例 ID。
|
20961
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20829
20962
|
:type LoadBalancerId: str
|
20830
20963
|
:param _SlaType: 性能容量型规格,取值范围:
|
20831
20964
|
<li> clb.c2.medium:标准型规格 </li>
|
@@ -20842,7 +20975,8 @@ class SlaUpdateParam(AbstractModel):
|
|
20842
20975
|
|
20843
20976
|
@property
|
20844
20977
|
def LoadBalancerId(self):
|
20845
|
-
"""
|
20978
|
+
"""负载均衡实例 ID。
|
20979
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20846
20980
|
:rtype: str
|
20847
20981
|
"""
|
20848
20982
|
return self._LoadBalancerId
|
@@ -21704,8 +21838,8 @@ class TargetGroupInstance(AbstractModel):
|
|
21704
21838
|
:param _Port: 目标组实例的端口,全监听目标组不支持传此字段。
|
21705
21839
|
:type Port: int
|
21706
21840
|
:param _Weight: 目标组实例的权重
|
21707
|
-
|
21708
21841
|
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
|
21842
|
+
取值范围:0-100
|
21709
21843
|
:type Weight: int
|
21710
21844
|
:param _NewPort: 目标组实例的新端口,全监听目标组不支持传此字段。
|
21711
21845
|
:type NewPort: int
|
@@ -21740,8 +21874,8 @@ v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时
|
|
21740
21874
|
@property
|
21741
21875
|
def Weight(self):
|
21742
21876
|
"""目标组实例的权重
|
21743
|
-
|
21744
21877
|
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
|
21878
|
+
取值范围:0-100
|
21745
21879
|
:rtype: int
|
21746
21880
|
"""
|
21747
21881
|
return self._Weight
|