tencentcloud-sdk-python 3.0.1373__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 +16 -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/cbs/v20170312/models.py +27 -2
- tencentcloud/chc/v20230418/models.py +84 -2
- tencentcloud/ckafka/v20190819/models.py +0 -24
- tencentcloud/clb/v20180317/clb_client.py +31 -23
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/clb/v20180317/models.py +521 -262
- tencentcloud/cloudaudit/v20190319/models.py +0 -64
- tencentcloud/config/v20220802/models.py +0 -150
- tencentcloud/cvm/v20170312/models.py +4 -4
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +128 -15
- tencentcloud/dlc/v20210125/models.py +30 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +184 -78
- tencentcloud/dsgc/v20190723/dsgc_client.py +23 -0
- tencentcloud/dsgc/v20190723/models.py +384 -0
- tencentcloud/es/v20250101/es_client.py +4 -2
- tencentcloud/es/v20250101/models.py +70 -70
- tencentcloud/iss/v20230517/models.py +0 -40
- tencentcloud/lowcode/v20210108/models.py +17 -2
- 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/tke/v20180525/models.py +72 -72
- tencentcloud/trocket/v20230308/models.py +190 -12
- tencentcloud/trocket/v20230308/trocket_client.py +0 -1
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +262 -254
- tencentcloud/vpc/v20170312/vpc_client.py +13 -13
- tencentcloud/waf/v20180125/models.py +34 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +1704 -0
- tencentcloud/wedata/v20210820/wedata_client.py +125 -9
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/RECORD +49 -49
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1373.dist-info → tencentcloud_sdk_python-3.0.1375.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1373.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
|
@@ -769,7 +773,7 @@ class BasicTargetGroupInfo(AbstractModel):
|
|
769
773
|
:type TargetGroupId: str
|
770
774
|
:param _TargetGroupName: 目标组名称
|
771
775
|
:type TargetGroupName: str
|
772
|
-
:param _Weight:
|
776
|
+
:param _Weight: 目标组权重
|
773
777
|
:type Weight: int
|
774
778
|
"""
|
775
779
|
self._TargetGroupId = None
|
@@ -800,7 +804,7 @@ class BasicTargetGroupInfo(AbstractModel):
|
|
800
804
|
|
801
805
|
@property
|
802
806
|
def Weight(self):
|
803
|
-
"""
|
807
|
+
"""目标组权重
|
804
808
|
:rtype: int
|
805
809
|
"""
|
806
810
|
return self._Weight
|
@@ -1797,11 +1801,12 @@ class CertificateInput(AbstractModel):
|
|
1797
1801
|
|
1798
1802
|
def __init__(self):
|
1799
1803
|
r"""
|
1800
|
-
:param _SSLMode: 认证类型,UNIDIRECTIONAL:单向认证,MUTUAL
|
1804
|
+
:param _SSLMode: 认证类型,UNIDIRECTIONAL:单向认证,MUTUAL:双向认证。
|
1805
|
+
默认为 UNIDIRECTIONAL。
|
1801
1806
|
:type SSLMode: str
|
1802
1807
|
:param _SSLVerifyClient: 双向认证时,是否开启客户端认证,ON:开启,OPTIONAL:自适应,默认ON。
|
1803
1808
|
:type SSLVerifyClient: str
|
1804
|
-
:param _CertId: 服务端证书的 ID,如果不填写此项则必须上传证书,包括 CertContent
|
1809
|
+
:param _CertId: 服务端证书的 ID,如果不填写此项则必须上传证书,包括 CertContent(服务端证书内容),CertKey(服务端证书密钥),CertName(服务端证书名称)。
|
1805
1810
|
:type CertId: str
|
1806
1811
|
:param _CertCaId: 客户端证书的 ID,当监听器采用双向认证,即 SSLMode=MUTUAL 时,如果不填写此项则必须上传客户端证书,包括 CertCaContent,CertCaName。
|
1807
1812
|
:type CertCaId: str
|
@@ -1811,9 +1816,9 @@ class CertificateInput(AbstractModel):
|
|
1811
1816
|
:type CertKey: str
|
1812
1817
|
:param _CertContent: 上传服务端证书的内容,如果没有 CertId,则此项必传。
|
1813
1818
|
:type CertContent: str
|
1814
|
-
:param _CertCaName: 上传客户端 CA 证书的名称,如果 SSLMode=
|
1819
|
+
:param _CertCaName: 上传客户端 CA 证书的名称,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1815
1820
|
:type CertCaName: str
|
1816
|
-
:param _CertCaContent: 上传客户端证书的内容,如果 SSLMode=
|
1821
|
+
:param _CertCaContent: 上传客户端证书的内容,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1817
1822
|
:type CertCaContent: str
|
1818
1823
|
"""
|
1819
1824
|
self._SSLMode = None
|
@@ -1828,7 +1833,8 @@ class CertificateInput(AbstractModel):
|
|
1828
1833
|
|
1829
1834
|
@property
|
1830
1835
|
def SSLMode(self):
|
1831
|
-
"""认证类型,UNIDIRECTIONAL:单向认证,MUTUAL
|
1836
|
+
"""认证类型,UNIDIRECTIONAL:单向认证,MUTUAL:双向认证。
|
1837
|
+
默认为 UNIDIRECTIONAL。
|
1832
1838
|
:rtype: str
|
1833
1839
|
"""
|
1834
1840
|
return self._SSLMode
|
@@ -1850,7 +1856,7 @@ class CertificateInput(AbstractModel):
|
|
1850
1856
|
|
1851
1857
|
@property
|
1852
1858
|
def CertId(self):
|
1853
|
-
"""服务端证书的 ID,如果不填写此项则必须上传证书,包括 CertContent
|
1859
|
+
"""服务端证书的 ID,如果不填写此项则必须上传证书,包括 CertContent(服务端证书内容),CertKey(服务端证书密钥),CertName(服务端证书名称)。
|
1854
1860
|
:rtype: str
|
1855
1861
|
"""
|
1856
1862
|
return self._CertId
|
@@ -1905,7 +1911,7 @@ class CertificateInput(AbstractModel):
|
|
1905
1911
|
|
1906
1912
|
@property
|
1907
1913
|
def CertCaName(self):
|
1908
|
-
"""上传客户端 CA 证书的名称,如果 SSLMode=
|
1914
|
+
"""上传客户端 CA 证书的名称,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1909
1915
|
:rtype: str
|
1910
1916
|
"""
|
1911
1917
|
return self._CertCaName
|
@@ -1916,7 +1922,7 @@ class CertificateInput(AbstractModel):
|
|
1916
1922
|
|
1917
1923
|
@property
|
1918
1924
|
def CertCaContent(self):
|
1919
|
-
"""上传客户端证书的内容,如果 SSLMode=
|
1925
|
+
"""上传客户端证书的内容,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
|
1920
1926
|
:rtype: str
|
1921
1927
|
"""
|
1922
1928
|
return self._CertCaContent
|
@@ -2666,20 +2672,20 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2666
2672
|
|
2667
2673
|
def __init__(self):
|
2668
2674
|
r"""
|
2669
|
-
:param _LoadBalancerId: 负载均衡ID
|
2675
|
+
:param _LoadBalancerId: 负载均衡ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2670
2676
|
:type LoadBalancerId: str
|
2671
2677
|
:param _LoadBalancerName: 克隆出负载均衡实例的名称,规则:1-60 个英文、汉字、数字、连接线“-”或下划线“_”。
|
2672
2678
|
注意:如果名称与系统中已有负载均衡实例的名称相同,则系统将会自动生成此次创建的负载均衡实例的名称。
|
2673
2679
|
:type LoadBalancerName: str
|
2674
|
-
:param _ProjectId: 负载均衡实例所属的项目 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。不传此参数则视为默认项目。
|
2680
|
+
:param _ProjectId: 负载均衡实例所属的项目 ID,默认项目 ID 为0,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。不传此参数则视为默认项目。
|
2675
2681
|
:type ProjectId: int
|
2676
|
-
:param _MasterZoneId: 仅适用于公网负载均衡。设置跨可用区容灾时的主可用区ID
|
2682
|
+
:param _MasterZoneId: 仅适用于公网负载均衡。设置跨可用区容灾时的主可用区ID,可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1。
|
2677
2683
|
注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区,平台将为您自动选择最佳备可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主可用区的列表。
|
2678
2684
|
:type MasterZoneId: str
|
2679
|
-
:param _SlaveZoneId: 仅适用于公网负载均衡。设置跨可用区容灾时的备可用区ID
|
2685
|
+
:param _SlaveZoneId: 仅适用于公网负载均衡。设置跨可用区容灾时的备可用区ID,可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1。
|
2680
2686
|
注:备可用区是主可用区故障后,需要承载流量的可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主/备可用区的列表。
|
2681
2687
|
:type SlaveZoneId: str
|
2682
|
-
:param _ZoneId: 仅适用于公网负载均衡。可用区ID
|
2688
|
+
:param _ZoneId: 仅适用于公网负载均衡。可用区ID,可用区 ID 和名称均支持,指定可用区以创建负载均衡实例。如:100001 或 ap-guangzhou-1。不传则查询所有可用区的 CVM 实例。如需指定可用区,可调用查询可用区列表 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 接口查询。
|
2683
2689
|
:type ZoneId: str
|
2684
2690
|
:param _InternetAccessible: 仅适用于公网负载均衡。负载均衡的网络计费模式。
|
2685
2691
|
:type InternetAccessible: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
@@ -2691,13 +2697,13 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2691
2697
|
:type Tags: list of TagInfo
|
2692
2698
|
:param _ExclusiveCluster: 独占集群信息。
|
2693
2699
|
:type ExclusiveCluster: :class:`tencentcloud.clb.v20180317.models.ExclusiveCluster`
|
2694
|
-
:param _BandwidthPackageId: 带宽包ID
|
2700
|
+
:param _BandwidthPackageId: 带宽包ID,可以通过 [DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209) 接口获取。指定此参数时,网络计费方式(InternetAccessible.InternetChargeType)只支持按带宽包计费(BANDWIDTH_PACKAGE)。
|
2695
2701
|
:type BandwidthPackageId: str
|
2696
2702
|
:param _SnatPro: 是否支持绑定跨地域/跨Vpc绑定IP的功能。
|
2697
2703
|
:type SnatPro: bool
|
2698
2704
|
:param _SnatIps: 开启绑定跨地域/跨Vpc绑定IP的功能后,创建SnatIp。
|
2699
2705
|
:type SnatIps: list of SnatIp
|
2700
|
-
:param _ClusterIds: 公网独占集群ID或者CDCId
|
2706
|
+
:param _ClusterIds: 公网独占集群ID或者CDCId,可以通过 [DescribeExclusiveClusters](https://cloud.tencent.com/document/product/214/49278) 接口获取。
|
2701
2707
|
:type ClusterIds: list of str
|
2702
2708
|
:param _SlaType: 性能容量型规格。<li>clb.c2.medium(标准型)</li><li>clb.c3.small(高阶型1)</li><li>clb.c3.medium(高阶型2)</li><li>clb.c4.small(超强型1)</li><li>clb.c4.medium(超强型2)</li><li>clb.c4.large(超强型3)</li><li>clb.c4.xlarge(超强型4)</li>
|
2703
2709
|
:type SlaType: str
|
@@ -2705,7 +2711,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2705
2711
|
:type ClusterTag: str
|
2706
2712
|
:param _Zones: 仅适用于私有网络内网负载均衡。内网就近接入时,选择可用区下发。可调用[DescribeZones](https://cloud.tencent.com/document/product/213/15707)接口查询可用区列表。
|
2707
2713
|
:type Zones: list of str
|
2708
|
-
:param _EipAddressId: EIP 的唯一 ID,形如:eip-
|
2714
|
+
:param _EipAddressId: EIP 的唯一 ID,形如:eip-qhx8udkc,仅适用于内网负载均衡绑定EIP,可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
|
2709
2715
|
:type EipAddressId: str
|
2710
2716
|
"""
|
2711
2717
|
self._LoadBalancerId = None
|
@@ -2730,7 +2736,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2730
2736
|
|
2731
2737
|
@property
|
2732
2738
|
def LoadBalancerId(self):
|
2733
|
-
"""负载均衡ID
|
2739
|
+
"""负载均衡ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2734
2740
|
:rtype: str
|
2735
2741
|
"""
|
2736
2742
|
return self._LoadBalancerId
|
@@ -2753,7 +2759,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2753
2759
|
|
2754
2760
|
@property
|
2755
2761
|
def ProjectId(self):
|
2756
|
-
"""负载均衡实例所属的项目 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。不传此参数则视为默认项目。
|
2762
|
+
"""负载均衡实例所属的项目 ID,默认项目 ID 为0,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。不传此参数则视为默认项目。
|
2757
2763
|
:rtype: int
|
2758
2764
|
"""
|
2759
2765
|
return self._ProjectId
|
@@ -2764,7 +2770,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2764
2770
|
|
2765
2771
|
@property
|
2766
2772
|
def MasterZoneId(self):
|
2767
|
-
"""仅适用于公网负载均衡。设置跨可用区容灾时的主可用区ID
|
2773
|
+
"""仅适用于公网负载均衡。设置跨可用区容灾时的主可用区ID,可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1。
|
2768
2774
|
注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区,平台将为您自动选择最佳备可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主可用区的列表。
|
2769
2775
|
:rtype: str
|
2770
2776
|
"""
|
@@ -2776,7 +2782,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2776
2782
|
|
2777
2783
|
@property
|
2778
2784
|
def SlaveZoneId(self):
|
2779
|
-
"""仅适用于公网负载均衡。设置跨可用区容灾时的备可用区ID
|
2785
|
+
"""仅适用于公网负载均衡。设置跨可用区容灾时的备可用区ID,可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1。
|
2780
2786
|
注:备可用区是主可用区故障后,需要承载流量的可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主/备可用区的列表。
|
2781
2787
|
:rtype: str
|
2782
2788
|
"""
|
@@ -2788,7 +2794,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2788
2794
|
|
2789
2795
|
@property
|
2790
2796
|
def ZoneId(self):
|
2791
|
-
"""仅适用于公网负载均衡。可用区ID
|
2797
|
+
"""仅适用于公网负载均衡。可用区ID,可用区 ID 和名称均支持,指定可用区以创建负载均衡实例。如:100001 或 ap-guangzhou-1。不传则查询所有可用区的 CVM 实例。如需指定可用区,可调用查询可用区列表 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 接口查询。
|
2792
2798
|
:rtype: str
|
2793
2799
|
"""
|
2794
2800
|
return self._ZoneId
|
@@ -2854,7 +2860,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2854
2860
|
|
2855
2861
|
@property
|
2856
2862
|
def BandwidthPackageId(self):
|
2857
|
-
"""带宽包ID
|
2863
|
+
"""带宽包ID,可以通过 [DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209) 接口获取。指定此参数时,网络计费方式(InternetAccessible.InternetChargeType)只支持按带宽包计费(BANDWIDTH_PACKAGE)。
|
2858
2864
|
:rtype: str
|
2859
2865
|
"""
|
2860
2866
|
return self._BandwidthPackageId
|
@@ -2887,7 +2893,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2887
2893
|
|
2888
2894
|
@property
|
2889
2895
|
def ClusterIds(self):
|
2890
|
-
"""公网独占集群ID或者CDCId
|
2896
|
+
"""公网独占集群ID或者CDCId,可以通过 [DescribeExclusiveClusters](https://cloud.tencent.com/document/product/214/49278) 接口获取。
|
2891
2897
|
:rtype: list of str
|
2892
2898
|
"""
|
2893
2899
|
return self._ClusterIds
|
@@ -2931,7 +2937,7 @@ class CloneLoadBalancerRequest(AbstractModel):
|
|
2931
2937
|
|
2932
2938
|
@property
|
2933
2939
|
def EipAddressId(self):
|
2934
|
-
"""EIP 的唯一 ID,形如:eip-
|
2940
|
+
"""EIP 的唯一 ID,形如:eip-qhx8udkc,仅适用于内网负载均衡绑定EIP,可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
|
2935
2941
|
:rtype: str
|
2936
2942
|
"""
|
2937
2943
|
return self._EipAddressId
|
@@ -3723,15 +3729,17 @@ class ConfigListItem(AbstractModel):
|
|
3723
3729
|
r"""
|
3724
3730
|
:param _UconfigId: 配置ID
|
3725
3731
|
:type UconfigId: str
|
3726
|
-
:param _ConfigType:
|
3732
|
+
:param _ConfigType: 配置类型, 可选值:CLB(实例维度配置), SERVER(服务维度配置),LOCATION(规则维度配置)
|
3727
3733
|
:type ConfigType: str
|
3728
3734
|
:param _ConfigName: 配置名字
|
3729
3735
|
:type ConfigName: str
|
3730
3736
|
:param _ConfigContent: 配置内容
|
3731
3737
|
:type ConfigContent: str
|
3732
|
-
:param _CreateTimestamp:
|
3738
|
+
:param _CreateTimestamp: 配置的创建时间。
|
3739
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3733
3740
|
:type CreateTimestamp: str
|
3734
|
-
:param _UpdateTimestamp:
|
3741
|
+
:param _UpdateTimestamp: 配置的修改时间。
|
3742
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3735
3743
|
:type UpdateTimestamp: str
|
3736
3744
|
"""
|
3737
3745
|
self._UconfigId = None
|
@@ -3754,7 +3762,7 @@ class ConfigListItem(AbstractModel):
|
|
3754
3762
|
|
3755
3763
|
@property
|
3756
3764
|
def ConfigType(self):
|
3757
|
-
"""
|
3765
|
+
"""配置类型, 可选值:CLB(实例维度配置), SERVER(服务维度配置),LOCATION(规则维度配置)
|
3758
3766
|
:rtype: str
|
3759
3767
|
"""
|
3760
3768
|
return self._ConfigType
|
@@ -3787,7 +3795,8 @@ class ConfigListItem(AbstractModel):
|
|
3787
3795
|
|
3788
3796
|
@property
|
3789
3797
|
def CreateTimestamp(self):
|
3790
|
-
"""
|
3798
|
+
"""配置的创建时间。
|
3799
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3791
3800
|
:rtype: str
|
3792
3801
|
"""
|
3793
3802
|
return self._CreateTimestamp
|
@@ -3798,7 +3807,8 @@ class ConfigListItem(AbstractModel):
|
|
3798
3807
|
|
3799
3808
|
@property
|
3800
3809
|
def UpdateTimestamp(self):
|
3801
|
-
"""
|
3810
|
+
"""配置的修改时间。
|
3811
|
+
格式:YYYY-MM-DD HH:mm:ss
|
3802
3812
|
:rtype: str
|
3803
3813
|
"""
|
3804
3814
|
return self._UpdateTimestamp
|
@@ -3945,9 +3955,10 @@ class CreateListenerRequest(AbstractModel):
|
|
3945
3955
|
|
3946
3956
|
def __init__(self):
|
3947
3957
|
r"""
|
3948
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
3958
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
3949
3959
|
:type LoadBalancerId: str
|
3950
3960
|
:param _Ports: 要将监听器创建到哪些端口,每个端口对应一个新的监听器。
|
3961
|
+
端口范围:1~65535
|
3951
3962
|
:type Ports: list of int
|
3952
3963
|
:param _Protocol: 监听器协议: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC。
|
3953
3964
|
:type Protocol: str
|
@@ -3959,10 +3970,10 @@ class CreateListenerRequest(AbstractModel):
|
|
3959
3970
|
<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>
|
3960
3971
|
<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。</li>
|
3961
3972
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
3962
|
-
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600
|
3973
|
+
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认为0,默认不开启。此参数仅适用于TCP/UDP监听器。
|
3963
3974
|
:type SessionExpireTime: int
|
3964
|
-
:param _Scheduler: 监听器转发的方式。可选值:WRR
|
3965
|
-
|
3975
|
+
:param _Scheduler: 监听器转发的方式。可选值:WRR(按权重轮询)、LEAST_CONN(按最小连接数)、IP_HASH(按 IP 地址哈希)
|
3976
|
+
默认为 WRR。此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
3966
3977
|
:type Scheduler: str
|
3967
3978
|
:param _SniSwitch: 是否开启SNI特性,此参数仅适用于HTTPS监听器。0表示未开启,1表示开启。
|
3968
3979
|
:type SniSwitch: int
|
@@ -3985,17 +3996,17 @@ class CreateListenerRequest(AbstractModel):
|
|
3985
3996
|
:type MaxConn: int
|
3986
3997
|
:param _MaxCps: 监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
|
3987
3998
|
:type MaxCps: int
|
3988
|
-
:param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-
|
3999
|
+
:param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-1980。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
|
3989
4000
|
:type IdleConnectTimeout: int
|
3990
|
-
:param _SnatEnable: 是否开启SNAT
|
4001
|
+
:param _SnatEnable: 是否开启SNAT,True(开启)、False(关闭)
|
3991
4002
|
:type SnatEnable: bool
|
3992
|
-
:param _FullEndPorts:
|
4003
|
+
:param _FullEndPorts: 全端口段监听器的结束端口,端口范围:2 - 65535
|
3993
4004
|
:type FullEndPorts: list of int
|
3994
|
-
:param _H2cSwitch: 内网http监听器开启h2c
|
4005
|
+
:param _H2cSwitch: 内网http监听器开启h2c开关,True(开启)、False(关闭)
|
3995
4006
|
:type H2cSwitch: bool
|
3996
|
-
:param _SslCloseSwitch: TCP_SSL监听器支持关闭SSL
|
4007
|
+
:param _SslCloseSwitch: TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关。True(关闭)、False(开启)
|
3997
4008
|
:type SslCloseSwitch: bool
|
3998
|
-
:param _DataCompressMode:
|
4009
|
+
:param _DataCompressMode: 数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)
|
3999
4010
|
:type DataCompressMode: str
|
4000
4011
|
"""
|
4001
4012
|
self._LoadBalancerId = None
|
@@ -4024,7 +4035,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4024
4035
|
|
4025
4036
|
@property
|
4026
4037
|
def LoadBalancerId(self):
|
4027
|
-
"""负载均衡实例 ID
|
4038
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
4028
4039
|
:rtype: str
|
4029
4040
|
"""
|
4030
4041
|
return self._LoadBalancerId
|
@@ -4036,6 +4047,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4036
4047
|
@property
|
4037
4048
|
def Ports(self):
|
4038
4049
|
"""要将监听器创建到哪些端口,每个端口对应一个新的监听器。
|
4050
|
+
端口范围:1~65535
|
4039
4051
|
:rtype: list of int
|
4040
4052
|
"""
|
4041
4053
|
return self._Ports
|
@@ -4092,7 +4104,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4092
4104
|
|
4093
4105
|
@property
|
4094
4106
|
def SessionExpireTime(self):
|
4095
|
-
"""会话保持时间,单位:秒。可选值:30~3600
|
4107
|
+
"""会话保持时间,单位:秒。可选值:30~3600,默认为0,默认不开启。此参数仅适用于TCP/UDP监听器。
|
4096
4108
|
:rtype: int
|
4097
4109
|
"""
|
4098
4110
|
return self._SessionExpireTime
|
@@ -4103,8 +4115,8 @@ class CreateListenerRequest(AbstractModel):
|
|
4103
4115
|
|
4104
4116
|
@property
|
4105
4117
|
def Scheduler(self):
|
4106
|
-
"""监听器转发的方式。可选值:WRR
|
4107
|
-
|
4118
|
+
"""监听器转发的方式。可选值:WRR(按权重轮询)、LEAST_CONN(按最小连接数)、IP_HASH(按 IP 地址哈希)
|
4119
|
+
默认为 WRR。此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
4108
4120
|
:rtype: str
|
4109
4121
|
"""
|
4110
4122
|
return self._Scheduler
|
@@ -4217,7 +4229,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4217
4229
|
|
4218
4230
|
@property
|
4219
4231
|
def IdleConnectTimeout(self):
|
4220
|
-
"""空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-
|
4232
|
+
"""空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-1980。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
|
4221
4233
|
:rtype: int
|
4222
4234
|
"""
|
4223
4235
|
return self._IdleConnectTimeout
|
@@ -4228,7 +4240,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4228
4240
|
|
4229
4241
|
@property
|
4230
4242
|
def SnatEnable(self):
|
4231
|
-
"""是否开启SNAT
|
4243
|
+
"""是否开启SNAT,True(开启)、False(关闭)
|
4232
4244
|
:rtype: bool
|
4233
4245
|
"""
|
4234
4246
|
return self._SnatEnable
|
@@ -4239,7 +4251,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4239
4251
|
|
4240
4252
|
@property
|
4241
4253
|
def FullEndPorts(self):
|
4242
|
-
"""
|
4254
|
+
"""全端口段监听器的结束端口,端口范围:2 - 65535
|
4243
4255
|
:rtype: list of int
|
4244
4256
|
"""
|
4245
4257
|
return self._FullEndPorts
|
@@ -4250,7 +4262,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4250
4262
|
|
4251
4263
|
@property
|
4252
4264
|
def H2cSwitch(self):
|
4253
|
-
"""内网http监听器开启h2c
|
4265
|
+
"""内网http监听器开启h2c开关,True(开启)、False(关闭)
|
4254
4266
|
:rtype: bool
|
4255
4267
|
"""
|
4256
4268
|
return self._H2cSwitch
|
@@ -4261,7 +4273,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4261
4273
|
|
4262
4274
|
@property
|
4263
4275
|
def SslCloseSwitch(self):
|
4264
|
-
"""TCP_SSL监听器支持关闭SSL
|
4276
|
+
"""TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关。True(关闭)、False(开启)
|
4265
4277
|
:rtype: bool
|
4266
4278
|
"""
|
4267
4279
|
return self._SslCloseSwitch
|
@@ -4272,7 +4284,7 @@ class CreateListenerRequest(AbstractModel):
|
|
4272
4284
|
|
4273
4285
|
@property
|
4274
4286
|
def DataCompressMode(self):
|
4275
|
-
"""
|
4287
|
+
"""数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)
|
4276
4288
|
:rtype: str
|
4277
4289
|
"""
|
4278
4290
|
return self._DataCompressMode
|
@@ -4384,16 +4396,16 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4384
4396
|
:type VpcId: str
|
4385
4397
|
:param _SubnetId: 在私有网络内购买内网负载均衡实例的情况下,必须指定子网 ID,内网负载均衡实例的 VIP 将从这个子网中产生。创建内网负载均衡实例时,此参数必填,创建公网IPv4负载均衡实例时,不支持指定该参数。
|
4386
4398
|
:type SubnetId: str
|
4387
|
-
:param _ProjectId: 负载均衡实例所属的项目 ID
|
4399
|
+
:param _ProjectId: 负载均衡实例所属的项目 ID,默认项目 ID 为0。可以通过 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 接口获取。不填此参数则视为默认项目。
|
4388
4400
|
:type ProjectId: int
|
4389
4401
|
:param _AddressIPVersion: 仅适用于公网负载均衡。IP版本,可取值:IPV4、IPV6、IPv6FullChain,不区分大小写,默认值 IPV4。说明:取值为IPV6表示为IPV6 NAT64版本;取值为IPv6FullChain,表示为IPv6版本。
|
4390
4402
|
:type AddressIPVersion: str
|
4391
|
-
:param _Number: 创建负载均衡的个数,默认值 1。
|
4403
|
+
:param _Number: 创建负载均衡的个数,默认值 1。创建个数不能超过帐号所能创建的最大值,默认创建最大值为20。
|
4392
4404
|
:type Number: int
|
4393
|
-
:param _MasterZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID
|
4405
|
+
:param _MasterZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID, 可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1
|
4394
4406
|
注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区。目前仅广州、上海、南京、北京、成都、深圳金融、中国香港、首尔、法兰克福、新加坡地域的 IPv4 版本的 CLB 支持主备可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主可用区的列表。【如果您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】
|
4395
4407
|
:type MasterZoneId: str
|
4396
|
-
:param _ZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。可用区ID
|
4408
|
+
:param _ZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。可用区ID,可用区 ID 和名称均支持,指定可用区以创建负载均衡实例。如:100001 或 ap-guangzhou-1。
|
4397
4409
|
:type ZoneId: str
|
4398
4410
|
:param _InternetAccessible: 网络计费模式,最大出带宽。仅对内网属性的性能容量型实例和公网属性的所有实例生效。API接口购买包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)
|
4399
4411
|
:type InternetAccessible: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
@@ -4404,7 +4416,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4404
4416
|
:param _Vip: 指定VIP申请负载均衡。此参数选填,不填写此参数时自动分配VIP。IPv4和IPv6类型支持此参数,IPv6 NAT64类型不支持。
|
4405
4417
|
注意:当指定VIP创建内网实例、或公网IPv6 BGP实例时,若VIP不属于指定VPC子网的网段内时,会创建失败;若VIP已被占用,也会创建失败。
|
4406
4418
|
:type Vip: str
|
4407
|
-
:param _BandwidthPackageId: 带宽包ID
|
4419
|
+
:param _BandwidthPackageId: 带宽包ID,可以通过 [DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209) 接口获取。指定此参数时,网络计费方式(InternetAccessible.InternetChargeType)只支持按带宽包计费(BANDWIDTH_PACKAGE),带宽包的属性即为其结算方式。非上移用户购买的 IPv6 负载均衡实例,且运营商类型非 BGP 时 ,不支持指定具体带宽包id。
|
4408
4420
|
:type BandwidthPackageId: str
|
4409
4421
|
:param _ExclusiveCluster: 独占型实例信息。若创建独占型的内网负载均衡实例,则此参数必填。
|
4410
4422
|
:type ExclusiveCluster: :class:`tencentcloud.clb.v20180317.models.ExclusiveCluster`
|
@@ -4421,10 +4433,10 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4421
4433
|
:type SnatIps: list of SnatIp
|
4422
4434
|
:param _ClusterTag: Stgw独占集群的标签。
|
4423
4435
|
:type ClusterTag: str
|
4424
|
-
:param _SlaveZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的备可用区ID
|
4436
|
+
:param _SlaveZoneId: 仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的备可用区ID,可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1
|
4425
4437
|
注:备可用区是主可用区故障后,需要承载流量的可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主/备可用区的列表。【如果您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】
|
4426
4438
|
:type SlaveZoneId: str
|
4427
|
-
:param _EipAddressId: EIP 的唯一 ID
|
4439
|
+
:param _EipAddressId: EIP 的唯一 ID,可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。形如:eip-qhx8udkc,仅适用于内网负载均衡绑定EIP。
|
4428
4440
|
:type EipAddressId: str
|
4429
4441
|
:param _LoadBalancerPassToTarget: Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
4430
4442
|
:type LoadBalancerPassToTarget: bool
|
@@ -4529,7 +4541,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4529
4541
|
|
4530
4542
|
@property
|
4531
4543
|
def ProjectId(self):
|
4532
|
-
"""负载均衡实例所属的项目 ID
|
4544
|
+
"""负载均衡实例所属的项目 ID,默认项目 ID 为0。可以通过 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 接口获取。不填此参数则视为默认项目。
|
4533
4545
|
:rtype: int
|
4534
4546
|
"""
|
4535
4547
|
return self._ProjectId
|
@@ -4551,7 +4563,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4551
4563
|
|
4552
4564
|
@property
|
4553
4565
|
def Number(self):
|
4554
|
-
"""创建负载均衡的个数,默认值 1。
|
4566
|
+
"""创建负载均衡的个数,默认值 1。创建个数不能超过帐号所能创建的最大值,默认创建最大值为20。
|
4555
4567
|
:rtype: int
|
4556
4568
|
"""
|
4557
4569
|
return self._Number
|
@@ -4562,7 +4574,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4562
4574
|
|
4563
4575
|
@property
|
4564
4576
|
def MasterZoneId(self):
|
4565
|
-
"""仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID
|
4577
|
+
"""仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID, 可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1
|
4566
4578
|
注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区。目前仅广州、上海、南京、北京、成都、深圳金融、中国香港、首尔、法兰克福、新加坡地域的 IPv4 版本的 CLB 支持主备可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主可用区的列表。【如果您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】
|
4567
4579
|
:rtype: str
|
4568
4580
|
"""
|
@@ -4574,7 +4586,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4574
4586
|
|
4575
4587
|
@property
|
4576
4588
|
def ZoneId(self):
|
4577
|
-
"""仅适用于公网且IP版本为IPv4的负载均衡。可用区ID
|
4589
|
+
"""仅适用于公网且IP版本为IPv4的负载均衡。可用区ID,可用区 ID 和名称均支持,指定可用区以创建负载均衡实例。如:100001 或 ap-guangzhou-1。
|
4578
4590
|
:rtype: str
|
4579
4591
|
"""
|
4580
4592
|
return self._ZoneId
|
@@ -4630,7 +4642,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4630
4642
|
|
4631
4643
|
@property
|
4632
4644
|
def BandwidthPackageId(self):
|
4633
|
-
"""带宽包ID
|
4645
|
+
"""带宽包ID,可以通过 [DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209) 接口获取。指定此参数时,网络计费方式(InternetAccessible.InternetChargeType)只支持按带宽包计费(BANDWIDTH_PACKAGE),带宽包的属性即为其结算方式。非上移用户购买的 IPv6 负载均衡实例,且运营商类型非 BGP 时 ,不支持指定具体带宽包id。
|
4634
4646
|
:rtype: str
|
4635
4647
|
"""
|
4636
4648
|
return self._BandwidthPackageId
|
@@ -4719,7 +4731,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4719
4731
|
|
4720
4732
|
@property
|
4721
4733
|
def SlaveZoneId(self):
|
4722
|
-
"""仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的备可用区ID
|
4734
|
+
"""仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的备可用区ID,可用区 ID 和名称均支持,例如 100001 或 ap-guangzhou-1
|
4723
4735
|
注:备可用区是主可用区故障后,需要承载流量的可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主/备可用区的列表。【如果您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】
|
4724
4736
|
:rtype: str
|
4725
4737
|
"""
|
@@ -4731,7 +4743,7 @@ OPEN:公网属性, INTERNAL:内网属性。
|
|
4731
4743
|
|
4732
4744
|
@property
|
4733
4745
|
def EipAddressId(self):
|
4734
|
-
"""EIP 的唯一 ID
|
4746
|
+
"""EIP 的唯一 ID,可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。形如:eip-qhx8udkc,仅适用于内网负载均衡绑定EIP。
|
4735
4747
|
:rtype: str
|
4736
4748
|
"""
|
4737
4749
|
return self._EipAddressId
|
@@ -4935,9 +4947,9 @@ class CreateLoadBalancerSnatIpsRequest(AbstractModel):
|
|
4935
4947
|
|
4936
4948
|
def __init__(self):
|
4937
4949
|
r"""
|
4938
|
-
:param _LoadBalancerId: 负载均衡唯一性ID
|
4950
|
+
:param _LoadBalancerId: 负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。
|
4939
4951
|
:type LoadBalancerId: str
|
4940
|
-
:param _SnatIps: 添加的SnatIp信息,可指定IP
|
4952
|
+
:param _SnatIps: 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。
|
4941
4953
|
:type SnatIps: list of SnatIp
|
4942
4954
|
:param _Number: 添加的SnatIp的个数,可与SnatIps一起使用,但若指定IP时,则不能指定创建的SnatIp个数。默认值为1,数量上限与用户配置有关,默认上限为10。
|
4943
4955
|
:type Number: int
|
@@ -4948,7 +4960,7 @@ class CreateLoadBalancerSnatIpsRequest(AbstractModel):
|
|
4948
4960
|
|
4949
4961
|
@property
|
4950
4962
|
def LoadBalancerId(self):
|
4951
|
-
"""负载均衡唯一性ID
|
4963
|
+
"""负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。
|
4952
4964
|
:rtype: str
|
4953
4965
|
"""
|
4954
4966
|
return self._LoadBalancerId
|
@@ -4959,7 +4971,7 @@ class CreateLoadBalancerSnatIpsRequest(AbstractModel):
|
|
4959
4971
|
|
4960
4972
|
@property
|
4961
4973
|
def SnatIps(self):
|
4962
|
-
"""添加的SnatIp信息,可指定IP
|
4974
|
+
"""添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。
|
4963
4975
|
:rtype: list of SnatIp
|
4964
4976
|
"""
|
4965
4977
|
return self._SnatIps
|
@@ -5034,9 +5046,9 @@ class CreateRuleRequest(AbstractModel):
|
|
5034
5046
|
|
5035
5047
|
def __init__(self):
|
5036
5048
|
r"""
|
5037
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
5049
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取
|
5038
5050
|
:type LoadBalancerId: str
|
5039
|
-
:param _ListenerId: 监听器 ID
|
5051
|
+
:param _ListenerId: 监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取
|
5040
5052
|
:type ListenerId: str
|
5041
5053
|
:param _Rules: 新建转发规则的信息。
|
5042
5054
|
:type Rules: list of RuleInput
|
@@ -5047,7 +5059,7 @@ class CreateRuleRequest(AbstractModel):
|
|
5047
5059
|
|
5048
5060
|
@property
|
5049
5061
|
def LoadBalancerId(self):
|
5050
|
-
"""负载均衡实例 ID
|
5062
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取
|
5051
5063
|
:rtype: str
|
5052
5064
|
"""
|
5053
5065
|
return self._LoadBalancerId
|
@@ -5058,7 +5070,7 @@ class CreateRuleRequest(AbstractModel):
|
|
5058
5070
|
|
5059
5071
|
@property
|
5060
5072
|
def ListenerId(self):
|
5061
|
-
"""监听器 ID
|
5073
|
+
"""监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取
|
5062
5074
|
:rtype: str
|
5063
5075
|
"""
|
5064
5076
|
return self._ListenerId
|
@@ -5168,10 +5180,14 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5168
5180
|
<li>取值范围[0, 100]</li>
|
5169
5181
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
5170
5182
|
</ul>
|
5171
|
-
|
5183
|
+
v1 目标组类型不支持设置 Weight 参数。
|
5172
5184
|
:type Weight: int
|
5173
5185
|
:param _FullListenSwitch: 全监听目标组标识,为true表示是全监听目标组,false表示不是全监听目标组。
|
5174
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
|
5175
5191
|
"""
|
5176
5192
|
self._TargetGroupName = None
|
5177
5193
|
self._VpcId = None
|
@@ -5182,6 +5198,8 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5182
5198
|
self._Tags = None
|
5183
5199
|
self._Weight = None
|
5184
5200
|
self._FullListenSwitch = None
|
5201
|
+
self._KeepaliveEnable = None
|
5202
|
+
self._SessionExpireTime = None
|
5185
5203
|
|
5186
5204
|
@property
|
5187
5205
|
def TargetGroupName(self):
|
@@ -5268,7 +5286,7 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5268
5286
|
<li>取值范围[0, 100]</li>
|
5269
5287
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
5270
5288
|
</ul>
|
5271
|
-
|
5289
|
+
v1 目标组类型不支持设置 Weight 参数。
|
5272
5290
|
:rtype: int
|
5273
5291
|
"""
|
5274
5292
|
return self._Weight
|
@@ -5288,6 +5306,28 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5288
5306
|
def FullListenSwitch(self, FullListenSwitch):
|
5289
5307
|
self._FullListenSwitch = FullListenSwitch
|
5290
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
|
+
|
5291
5331
|
|
5292
5332
|
def _deserialize(self, params):
|
5293
5333
|
self._TargetGroupName = params.get("TargetGroupName")
|
@@ -5309,6 +5349,8 @@ class CreateTargetGroupRequest(AbstractModel):
|
|
5309
5349
|
self._Tags.append(obj)
|
5310
5350
|
self._Weight = params.get("Weight")
|
5311
5351
|
self._FullListenSwitch = params.get("FullListenSwitch")
|
5352
|
+
self._KeepaliveEnable = params.get("KeepaliveEnable")
|
5353
|
+
self._SessionExpireTime = params.get("SessionExpireTime")
|
5312
5354
|
memeber_set = set(params.keys())
|
5313
5355
|
for name, value in vars(self).items():
|
5314
5356
|
property_name = name[1:]
|
@@ -5375,7 +5417,7 @@ class CreateTopicRequest(AbstractModel):
|
|
5375
5417
|
:type PartitionCount: int
|
5376
5418
|
:param _TopicType: 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
|
5377
5419
|
:type TopicType: str
|
5378
|
-
:param _Period:
|
5420
|
+
:param _Period: 存储时间,单位天,默认为 30。
|
5379
5421
|
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
5380
5422
|
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
5381
5423
|
:type Period: int
|
@@ -5423,7 +5465,7 @@ class CreateTopicRequest(AbstractModel):
|
|
5423
5465
|
|
5424
5466
|
@property
|
5425
5467
|
def Period(self):
|
5426
|
-
"""
|
5468
|
+
"""存储时间,单位天,默认为 30。
|
5427
5469
|
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
5428
5470
|
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
5429
5471
|
:rtype: int
|
@@ -5717,9 +5759,9 @@ class DeleteListenerRequest(AbstractModel):
|
|
5717
5759
|
|
5718
5760
|
def __init__(self):
|
5719
5761
|
r"""
|
5720
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
5762
|
+
:param _LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
5721
5763
|
:type LoadBalancerId: str
|
5722
|
-
:param _ListenerId: 要删除的监听器ID
|
5764
|
+
:param _ListenerId: 要删除的监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
5723
5765
|
:type ListenerId: str
|
5724
5766
|
"""
|
5725
5767
|
self._LoadBalancerId = None
|
@@ -5727,7 +5769,7 @@ class DeleteListenerRequest(AbstractModel):
|
|
5727
5769
|
|
5728
5770
|
@property
|
5729
5771
|
def LoadBalancerId(self):
|
5730
|
-
"""负载均衡实例ID
|
5772
|
+
"""负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
5731
5773
|
:rtype: str
|
5732
5774
|
"""
|
5733
5775
|
return self._LoadBalancerId
|
@@ -5738,7 +5780,7 @@ class DeleteListenerRequest(AbstractModel):
|
|
5738
5780
|
|
5739
5781
|
@property
|
5740
5782
|
def ListenerId(self):
|
5741
|
-
"""要删除的监听器ID
|
5783
|
+
"""要删除的监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
5742
5784
|
:rtype: str
|
5743
5785
|
"""
|
5744
5786
|
return self._ListenerId
|
@@ -5796,9 +5838,9 @@ class DeleteLoadBalancerListenersRequest(AbstractModel):
|
|
5796
5838
|
|
5797
5839
|
def __init__(self):
|
5798
5840
|
r"""
|
5799
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
5841
|
+
:param _LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
5800
5842
|
:type LoadBalancerId: str
|
5801
|
-
:param _ListenerIds: 指定删除的监听器ID数组,最大为20
|
5843
|
+
:param _ListenerIds: 指定删除的监听器ID数组,最大为20个。若不填则删除负载均衡的所有监听器,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
5802
5844
|
:type ListenerIds: list of str
|
5803
5845
|
"""
|
5804
5846
|
self._LoadBalancerId = None
|
@@ -5806,7 +5848,7 @@ class DeleteLoadBalancerListenersRequest(AbstractModel):
|
|
5806
5848
|
|
5807
5849
|
@property
|
5808
5850
|
def LoadBalancerId(self):
|
5809
|
-
"""负载均衡实例ID
|
5851
|
+
"""负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
5810
5852
|
:rtype: str
|
5811
5853
|
"""
|
5812
5854
|
return self._LoadBalancerId
|
@@ -5817,7 +5859,7 @@ class DeleteLoadBalancerListenersRequest(AbstractModel):
|
|
5817
5859
|
|
5818
5860
|
@property
|
5819
5861
|
def ListenerIds(self):
|
5820
|
-
"""指定删除的监听器ID数组,最大为20
|
5862
|
+
"""指定删除的监听器ID数组,最大为20个。若不填则删除负载均衡的所有监听器,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
5821
5863
|
:rtype: list of str
|
5822
5864
|
"""
|
5823
5865
|
return self._ListenerIds
|
@@ -5875,9 +5917,10 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
5875
5917
|
|
5876
5918
|
def __init__(self):
|
5877
5919
|
r"""
|
5878
|
-
:param _LoadBalancerIds: 要删除的负载均衡实例 ID
|
5920
|
+
:param _LoadBalancerIds: 要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取数组大小最大支持20。
|
5879
5921
|
:type LoadBalancerIds: list of str
|
5880
|
-
:param _ForceDelete: 是否强制删除clb
|
5922
|
+
:param _ForceDelete: 是否强制删除clb。True表示强制删除,False表示不是强制删除,需要做拦截校验。
|
5923
|
+
默认为 False
|
5881
5924
|
:type ForceDelete: bool
|
5882
5925
|
"""
|
5883
5926
|
self._LoadBalancerIds = None
|
@@ -5885,7 +5928,7 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
5885
5928
|
|
5886
5929
|
@property
|
5887
5930
|
def LoadBalancerIds(self):
|
5888
|
-
"""要删除的负载均衡实例 ID
|
5931
|
+
"""要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取数组大小最大支持20。
|
5889
5932
|
:rtype: list of str
|
5890
5933
|
"""
|
5891
5934
|
return self._LoadBalancerIds
|
@@ -5896,7 +5939,8 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
5896
5939
|
|
5897
5940
|
@property
|
5898
5941
|
def ForceDelete(self):
|
5899
|
-
"""是否强制删除clb
|
5942
|
+
"""是否强制删除clb。True表示强制删除,False表示不是强制删除,需要做拦截校验。
|
5943
|
+
默认为 False
|
5900
5944
|
:rtype: bool
|
5901
5945
|
"""
|
5902
5946
|
return self._ForceDelete
|
@@ -5954,9 +5998,9 @@ class DeleteLoadBalancerSnatIpsRequest(AbstractModel):
|
|
5954
5998
|
|
5955
5999
|
def __init__(self):
|
5956
6000
|
r"""
|
5957
|
-
:param _LoadBalancerId: 负载均衡唯一ID
|
6001
|
+
:param _LoadBalancerId: 负载均衡唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。例如:lb-12345678。
|
5958
6002
|
:type LoadBalancerId: str
|
5959
|
-
:param _Ips: 删除SnatIp
|
6003
|
+
:param _Ips: 删除SnatIp地址数组,最大支持删除数量为20个。
|
5960
6004
|
:type Ips: list of str
|
5961
6005
|
"""
|
5962
6006
|
self._LoadBalancerId = None
|
@@ -5964,7 +6008,7 @@ class DeleteLoadBalancerSnatIpsRequest(AbstractModel):
|
|
5964
6008
|
|
5965
6009
|
@property
|
5966
6010
|
def LoadBalancerId(self):
|
5967
|
-
"""负载均衡唯一ID
|
6011
|
+
"""负载均衡唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。例如:lb-12345678。
|
5968
6012
|
:rtype: str
|
5969
6013
|
"""
|
5970
6014
|
return self._LoadBalancerId
|
@@ -5975,7 +6019,7 @@ class DeleteLoadBalancerSnatIpsRequest(AbstractModel):
|
|
5975
6019
|
|
5976
6020
|
@property
|
5977
6021
|
def Ips(self):
|
5978
|
-
"""删除SnatIp
|
6022
|
+
"""删除SnatIp地址数组,最大支持删除数量为20个。
|
5979
6023
|
:rtype: list of str
|
5980
6024
|
"""
|
5981
6025
|
return self._Ips
|
@@ -6147,17 +6191,17 @@ class DeleteRuleRequest(AbstractModel):
|
|
6147
6191
|
|
6148
6192
|
def __init__(self):
|
6149
6193
|
r"""
|
6150
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
6194
|
+
:param _LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
6151
6195
|
:type LoadBalancerId: str
|
6152
|
-
:param _ListenerId: 负载均衡监听器ID
|
6196
|
+
:param _ListenerId: 负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6153
6197
|
:type ListenerId: str
|
6154
|
-
:param _LocationIds: 要删除的转发规则的ID
|
6198
|
+
:param _LocationIds: 要删除的转发规则的ID组成的数组,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6155
6199
|
:type LocationIds: list of str
|
6156
|
-
:param _Domain:
|
6200
|
+
:param _Domain: 要删除的转发规则的域名,如果是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6157
6201
|
:type Domain: str
|
6158
|
-
:param _Url:
|
6202
|
+
:param _Url: 要删除的转发规则的转发路径,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6159
6203
|
:type Url: str
|
6160
|
-
:param _NewDefaultServerDomain:
|
6204
|
+
:param _NewDefaultServerDomain: 监听器下必须配置一个默认域名,当需要删除默认域名时,可以指定另一个域名作为新的默认域名,如果新的默认域名是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6161
6205
|
:type NewDefaultServerDomain: str
|
6162
6206
|
"""
|
6163
6207
|
self._LoadBalancerId = None
|
@@ -6169,7 +6213,7 @@ class DeleteRuleRequest(AbstractModel):
|
|
6169
6213
|
|
6170
6214
|
@property
|
6171
6215
|
def LoadBalancerId(self):
|
6172
|
-
"""负载均衡实例ID
|
6216
|
+
"""负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
6173
6217
|
:rtype: str
|
6174
6218
|
"""
|
6175
6219
|
return self._LoadBalancerId
|
@@ -6180,7 +6224,7 @@ class DeleteRuleRequest(AbstractModel):
|
|
6180
6224
|
|
6181
6225
|
@property
|
6182
6226
|
def ListenerId(self):
|
6183
|
-
"""负载均衡监听器ID
|
6227
|
+
"""负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6184
6228
|
:rtype: str
|
6185
6229
|
"""
|
6186
6230
|
return self._ListenerId
|
@@ -6191,7 +6235,7 @@ class DeleteRuleRequest(AbstractModel):
|
|
6191
6235
|
|
6192
6236
|
@property
|
6193
6237
|
def LocationIds(self):
|
6194
|
-
"""要删除的转发规则的ID
|
6238
|
+
"""要删除的转发规则的ID组成的数组,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6195
6239
|
:rtype: list of str
|
6196
6240
|
"""
|
6197
6241
|
return self._LocationIds
|
@@ -6202,7 +6246,7 @@ class DeleteRuleRequest(AbstractModel):
|
|
6202
6246
|
|
6203
6247
|
@property
|
6204
6248
|
def Domain(self):
|
6205
|
-
"""
|
6249
|
+
"""要删除的转发规则的域名,如果是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6206
6250
|
:rtype: str
|
6207
6251
|
"""
|
6208
6252
|
return self._Domain
|
@@ -6213,7 +6257,7 @@ class DeleteRuleRequest(AbstractModel):
|
|
6213
6257
|
|
6214
6258
|
@property
|
6215
6259
|
def Url(self):
|
6216
|
-
"""
|
6260
|
+
"""要删除的转发规则的转发路径,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6217
6261
|
:rtype: str
|
6218
6262
|
"""
|
6219
6263
|
return self._Url
|
@@ -6224,7 +6268,7 @@ class DeleteRuleRequest(AbstractModel):
|
|
6224
6268
|
|
6225
6269
|
@property
|
6226
6270
|
def NewDefaultServerDomain(self):
|
6227
|
-
"""
|
6271
|
+
"""监听器下必须配置一个默认域名,当需要删除默认域名时,可以指定另一个域名作为新的默认域名,如果新的默认域名是多域名,可以指定多域名列表中的任意一个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
6228
6272
|
:rtype: str
|
6229
6273
|
"""
|
6230
6274
|
return self._NewDefaultServerDomain
|
@@ -6496,7 +6540,8 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
|
|
6496
6540
|
r"""
|
6497
6541
|
:param _TargetGroupId: 目标组ID。
|
6498
6542
|
:type TargetGroupId: str
|
6499
|
-
:param _TargetGroupInstances:
|
6543
|
+
:param _TargetGroupInstances: 待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
|
6544
|
+
|
6500
6545
|
:type TargetGroupInstances: list of TargetGroupInstance
|
6501
6546
|
"""
|
6502
6547
|
self._TargetGroupId = None
|
@@ -6515,7 +6560,8 @@ class DeregisterTargetGroupInstancesRequest(AbstractModel):
|
|
6515
6560
|
|
6516
6561
|
@property
|
6517
6562
|
def TargetGroupInstances(self):
|
6518
|
-
"""
|
6563
|
+
"""待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
|
6564
|
+
|
6519
6565
|
:rtype: list of TargetGroupInstance
|
6520
6566
|
"""
|
6521
6567
|
return self._TargetGroupInstances
|
@@ -7929,17 +7975,25 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7929
7975
|
r"""
|
7930
7976
|
:param _ConfigType: 配置类型:CLB 负载均衡维度。 SERVER 域名维度。 LOCATION 规则维度。
|
7931
7977
|
:type ConfigType: str
|
7932
|
-
:param _Offset: 拉取页偏移,默认值0
|
7978
|
+
:param _Offset: 拉取页偏移,默认值0。
|
7933
7979
|
:type Offset: int
|
7934
|
-
:param _Limit: 拉取数目,默认值20
|
7980
|
+
:param _Limit: 拉取数目,默认值20。
|
7935
7981
|
:type Limit: int
|
7936
7982
|
:param _ConfigName: 拉取指定配置名字,模糊匹配。
|
7937
7983
|
:type ConfigName: str
|
7938
|
-
:param _UconfigIds: 配置ID
|
7984
|
+
:param _UconfigIds: 配置ID,可以通过 [DescribeCustomizedConfigList](https://cloud.tencent.com/document/api/214/60009) 接口查询。
|
7939
7985
|
:type UconfigIds: list of str
|
7940
7986
|
:param _Filters: 过滤条件如下:
|
7941
|
-
|
7942
|
-
|
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)
|
7943
7997
|
:type Filters: list of Filter
|
7944
7998
|
"""
|
7945
7999
|
self._ConfigType = None
|
@@ -7962,7 +8016,7 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7962
8016
|
|
7963
8017
|
@property
|
7964
8018
|
def Offset(self):
|
7965
|
-
"""拉取页偏移,默认值0
|
8019
|
+
"""拉取页偏移,默认值0。
|
7966
8020
|
:rtype: int
|
7967
8021
|
"""
|
7968
8022
|
return self._Offset
|
@@ -7973,7 +8027,7 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7973
8027
|
|
7974
8028
|
@property
|
7975
8029
|
def Limit(self):
|
7976
|
-
"""拉取数目,默认值20
|
8030
|
+
"""拉取数目,默认值20。
|
7977
8031
|
:rtype: int
|
7978
8032
|
"""
|
7979
8033
|
return self._Limit
|
@@ -7995,7 +8049,7 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
7995
8049
|
|
7996
8050
|
@property
|
7997
8051
|
def UconfigIds(self):
|
7998
|
-
"""配置ID
|
8052
|
+
"""配置ID,可以通过 [DescribeCustomizedConfigList](https://cloud.tencent.com/document/api/214/60009) 接口查询。
|
7999
8053
|
:rtype: list of str
|
8000
8054
|
"""
|
8001
8055
|
return self._UconfigIds
|
@@ -8007,8 +8061,16 @@ class DescribeCustomizedConfigListRequest(AbstractModel):
|
|
8007
8061
|
@property
|
8008
8062
|
def Filters(self):
|
8009
8063
|
"""过滤条件如下:
|
8010
|
-
|
8011
|
-
|
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)
|
8012
8074
|
:rtype: list of Filter
|
8013
8075
|
"""
|
8014
8076
|
return self._Filters
|
@@ -8480,13 +8542,13 @@ class DescribeListenersRequest(AbstractModel):
|
|
8480
8542
|
|
8481
8543
|
def __init__(self):
|
8482
8544
|
r"""
|
8483
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
8545
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685) 接口获取。
|
8484
8546
|
:type LoadBalancerId: str
|
8485
|
-
:param _ListenerIds: 要查询的负载均衡监听器 ID 数组,最大为100
|
8547
|
+
:param _ListenerIds: 要查询的负载均衡监听器 ID 数组,最大为100个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/api/214/30686) 接口获取。
|
8486
8548
|
:type ListenerIds: list of str
|
8487
8549
|
:param _Protocol: 要查询的监听器协议类型,取值 TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC。
|
8488
8550
|
:type Protocol: str
|
8489
|
-
:param _Port:
|
8551
|
+
:param _Port: 要查询的监听器的端口,端口范围:1-65535
|
8490
8552
|
:type Port: int
|
8491
8553
|
"""
|
8492
8554
|
self._LoadBalancerId = None
|
@@ -8496,7 +8558,7 @@ class DescribeListenersRequest(AbstractModel):
|
|
8496
8558
|
|
8497
8559
|
@property
|
8498
8560
|
def LoadBalancerId(self):
|
8499
|
-
"""负载均衡实例 ID
|
8561
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685) 接口获取。
|
8500
8562
|
:rtype: str
|
8501
8563
|
"""
|
8502
8564
|
return self._LoadBalancerId
|
@@ -8507,7 +8569,7 @@ class DescribeListenersRequest(AbstractModel):
|
|
8507
8569
|
|
8508
8570
|
@property
|
8509
8571
|
def ListenerIds(self):
|
8510
|
-
"""要查询的负载均衡监听器 ID 数组,最大为100
|
8572
|
+
"""要查询的负载均衡监听器 ID 数组,最大为100个,可以通过 [DescribeListeners](https://cloud.tencent.com/document/api/214/30686) 接口获取。
|
8511
8573
|
:rtype: list of str
|
8512
8574
|
"""
|
8513
8575
|
return self._ListenerIds
|
@@ -8529,7 +8591,7 @@ class DescribeListenersRequest(AbstractModel):
|
|
8529
8591
|
|
8530
8592
|
@property
|
8531
8593
|
def Port(self):
|
8532
|
-
"""
|
8594
|
+
"""要查询的监听器的端口,端口范围:1-65535
|
8533
8595
|
:rtype: int
|
8534
8596
|
"""
|
8535
8597
|
return self._Port
|
@@ -8624,14 +8686,16 @@ class DescribeLoadBalancerListByCertIdRequest(AbstractModel):
|
|
8624
8686
|
|
8625
8687
|
def __init__(self):
|
8626
8688
|
r"""
|
8627
|
-
:param _CertIds: 服务端证书的ID,或客户端证书的ID
|
8689
|
+
:param _CertIds: 服务端证书的ID,或客户端证书的ID。可以通过 [DescribeCertificate](https://cloud.tencent.com/document/api/400/41674) 接口查询。
|
8690
|
+
数组最大长度为20。
|
8628
8691
|
:type CertIds: list of str
|
8629
8692
|
"""
|
8630
8693
|
self._CertIds = None
|
8631
8694
|
|
8632
8695
|
@property
|
8633
8696
|
def CertIds(self):
|
8634
|
-
"""服务端证书的ID,或客户端证书的ID
|
8697
|
+
"""服务端证书的ID,或客户端证书的ID。可以通过 [DescribeCertificate](https://cloud.tencent.com/document/api/400/41674) 接口查询。
|
8698
|
+
数组最大长度为20。
|
8635
8699
|
:rtype: list of str
|
8636
8700
|
"""
|
8637
8701
|
return self._CertIds
|
@@ -8895,16 +8959,53 @@ class DescribeLoadBalancersDetailRequest(AbstractModel):
|
|
8895
8959
|
:param _TargetType: 当Fields包含TargetId、TargetAddress、TargetPort、TargetWeight、ListenerId、Protocol、Port、LocationId、Domain、Url等Fields时,必选选择导出目标组的Target或者非目标组Target,取值范围NODE、GROUP。
|
8896
8960
|
:type TargetType: str
|
8897
8961
|
:param _Filters: 查询负载均衡详细信息列表条件,详细的过滤条件如下:
|
8898
|
-
|
8899
|
-
|
8900
|
-
|
8901
|
-
|
8902
|
-
|
8903
|
-
|
8904
|
-
|
8905
|
-
|
8906
|
-
|
8907
|
-
|
8962
|
+
- loadbalancer-id
|
8963
|
+
按照【负载均衡ID】进行过滤。例如:lb-rbw5skde。
|
8964
|
+
类型:String
|
8965
|
+
必选:否
|
8966
|
+
获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
|
8967
|
+
- project-id
|
8968
|
+
按照【项目ID】进行过滤。例如: "0"、"123"。
|
8969
|
+
类型:String
|
8970
|
+
必选:否
|
8971
|
+
获取方式:[DescribeProject](https://cloud.tencent.com/document/api/651/78725)
|
8972
|
+
- network
|
8973
|
+
按照【负载均衡网络类型】进行过滤。例如:Public。
|
8974
|
+
类型:String
|
8975
|
+
必选:否
|
8976
|
+
可选值:Private(内网)、Public(公网)
|
8977
|
+
- vip
|
8978
|
+
按照【负载均衡 VIP】进行过滤。例如:"1.1.1.1","2204::22:3"。
|
8979
|
+
类型:String
|
8980
|
+
必选:否
|
8981
|
+
- vpcid
|
8982
|
+
按照【负载均衡所属 VPCID】进行过滤。例如:"vpc-12345678"。
|
8983
|
+
类型:String
|
8984
|
+
必选:否
|
8985
|
+
获取方式:[DescribeZones](https://cloud.tencent.com/document/product/213/15707)
|
8986
|
+
- target-ip
|
8987
|
+
按照【后端目标内网 IP】进行过滤。例如:"1.1.1.1","2203::214:4"。
|
8988
|
+
类型:String
|
8989
|
+
必选:否
|
8990
|
+
- zone
|
8991
|
+
按照【负载均衡所属的可用区】进行过滤。例如:"ap-guangzhou-1"。
|
8992
|
+
类型:String
|
8993
|
+
必选:否
|
8994
|
+
获取方式:[DescribeZones](https://cloud.tencent.com/document/product/213/15707)
|
8995
|
+
- tag-key
|
8996
|
+
按照【负载均衡标签的标签键】进行过滤,例如:"name"。
|
8997
|
+
类型:String
|
8998
|
+
必选:否
|
8999
|
+
获取方式:[DescribeTags](https://cloud.tencent.com/document/api/651/35316)
|
9000
|
+
- tag:*
|
9001
|
+
按照【负载均衡的标签】进行过滤,':' 后面跟的是标签键。如过滤标签键name,标签值zhangsan,lisi,{"Name": "tag:name","Values": ["zhangsan", "lisi"]}。
|
9002
|
+
类型:String
|
9003
|
+
必选:否
|
9004
|
+
获取方式:[DescribeTagKeys](https://cloud.tencent.com/document/api/651/35318)
|
9005
|
+
- fuzzy-search
|
9006
|
+
按照【负载均衡VIP,负载均衡名称】模糊搜索,例如:"1.1"。
|
9007
|
+
类型:String
|
9008
|
+
必选:否
|
8908
9009
|
:type Filters: list of Filter
|
8909
9010
|
"""
|
8910
9011
|
self._Limit = None
|
@@ -8960,16 +9061,53 @@ class DescribeLoadBalancersDetailRequest(AbstractModel):
|
|
8960
9061
|
@property
|
8961
9062
|
def Filters(self):
|
8962
9063
|
"""查询负载均衡详细信息列表条件,详细的过滤条件如下:
|
8963
|
-
|
8964
|
-
|
8965
|
-
|
8966
|
-
|
8967
|
-
|
8968
|
-
|
8969
|
-
|
8970
|
-
|
8971
|
-
|
8972
|
-
|
9064
|
+
- loadbalancer-id
|
9065
|
+
按照【负载均衡ID】进行过滤。例如:lb-rbw5skde。
|
9066
|
+
类型:String
|
9067
|
+
必选:否
|
9068
|
+
获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
|
9069
|
+
- project-id
|
9070
|
+
按照【项目ID】进行过滤。例如: "0"、"123"。
|
9071
|
+
类型:String
|
9072
|
+
必选:否
|
9073
|
+
获取方式:[DescribeProject](https://cloud.tencent.com/document/api/651/78725)
|
9074
|
+
- network
|
9075
|
+
按照【负载均衡网络类型】进行过滤。例如:Public。
|
9076
|
+
类型:String
|
9077
|
+
必选:否
|
9078
|
+
可选值:Private(内网)、Public(公网)
|
9079
|
+
- vip
|
9080
|
+
按照【负载均衡 VIP】进行过滤。例如:"1.1.1.1","2204::22:3"。
|
9081
|
+
类型:String
|
9082
|
+
必选:否
|
9083
|
+
- vpcid
|
9084
|
+
按照【负载均衡所属 VPCID】进行过滤。例如:"vpc-12345678"。
|
9085
|
+
类型:String
|
9086
|
+
必选:否
|
9087
|
+
获取方式:[DescribeZones](https://cloud.tencent.com/document/product/213/15707)
|
9088
|
+
- target-ip
|
9089
|
+
按照【后端目标内网 IP】进行过滤。例如:"1.1.1.1","2203::214:4"。
|
9090
|
+
类型:String
|
9091
|
+
必选:否
|
9092
|
+
- zone
|
9093
|
+
按照【负载均衡所属的可用区】进行过滤。例如:"ap-guangzhou-1"。
|
9094
|
+
类型:String
|
9095
|
+
必选:否
|
9096
|
+
获取方式:[DescribeZones](https://cloud.tencent.com/document/product/213/15707)
|
9097
|
+
- tag-key
|
9098
|
+
按照【负载均衡标签的标签键】进行过滤,例如:"name"。
|
9099
|
+
类型:String
|
9100
|
+
必选:否
|
9101
|
+
获取方式:[DescribeTags](https://cloud.tencent.com/document/api/651/35316)
|
9102
|
+
- tag:*
|
9103
|
+
按照【负载均衡的标签】进行过滤,':' 后面跟的是标签键。如过滤标签键name,标签值zhangsan,lisi,{"Name": "tag:name","Values": ["zhangsan", "lisi"]}。
|
9104
|
+
类型:String
|
9105
|
+
必选:否
|
9106
|
+
获取方式:[DescribeTagKeys](https://cloud.tencent.com/document/api/651/35318)
|
9107
|
+
- fuzzy-search
|
9108
|
+
按照【负载均衡VIP,负载均衡名称】模糊搜索,例如:"1.1"。
|
9109
|
+
类型:String
|
9110
|
+
必选:否
|
8973
9111
|
:rtype: list of Filter
|
8974
9112
|
"""
|
8975
9113
|
return self._Filters
|
@@ -9632,8 +9770,20 @@ class DescribeResourcesRequest(AbstractModel):
|
|
9632
9770
|
:param _Offset: 返回可用区资源列表起始偏移量,默认0。
|
9633
9771
|
:type Offset: int
|
9634
9772
|
:param _Filters: 查询可用区资源列表条件,详细的过滤条件如下:
|
9635
|
-
|
9636
|
-
|
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(内网)
|
9637
9787
|
:type Filters: list of Filter
|
9638
9788
|
"""
|
9639
9789
|
self._Limit = None
|
@@ -9665,8 +9815,20 @@ class DescribeResourcesRequest(AbstractModel):
|
|
9665
9815
|
@property
|
9666
9816
|
def Filters(self):
|
9667
9817
|
"""查询可用区资源列表条件,详细的过滤条件如下:
|
9668
|
-
|
9669
|
-
|
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(内网)
|
9670
9832
|
:rtype: list of Filter
|
9671
9833
|
"""
|
9672
9834
|
return self._Filters
|
@@ -9879,7 +10041,7 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
9879
10041
|
|
9880
10042
|
def __init__(self):
|
9881
10043
|
r"""
|
9882
|
-
:param _Filters:
|
10044
|
+
:param _Filters: 过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
|
9883
10045
|
:type Filters: list of Filter
|
9884
10046
|
:param _Limit: 显示数量限制,默认20。
|
9885
10047
|
:type Limit: int
|
@@ -9892,7 +10054,7 @@ class DescribeTargetGroupInstancesRequest(AbstractModel):
|
|
9892
10054
|
|
9893
10055
|
@property
|
9894
10056
|
def Filters(self):
|
9895
|
-
"""
|
10057
|
+
"""过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
|
9896
10058
|
:rtype: list of Filter
|
9897
10059
|
"""
|
9898
10060
|
return self._Filters
|
@@ -10183,7 +10345,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
10183
10345
|
:type Limit: int
|
10184
10346
|
:param _Offset: 显示的偏移起始量。
|
10185
10347
|
:type Offset: int
|
10186
|
-
:param _Filters: 过滤条件数组,与TargetGroupIds互斥,支持TargetGroupVpcId
|
10348
|
+
:param _Filters: 过滤条件数组,与TargetGroupIds互斥,支持 TargetGroupVpcId(私有网络 ID)和 TargetGroupName(目标组名称)以及 Tag(标签)。
|
10187
10349
|
:type Filters: list of Filter
|
10188
10350
|
"""
|
10189
10351
|
self._TargetGroupIds = None
|
@@ -10226,7 +10388,7 @@ class DescribeTargetGroupsRequest(AbstractModel):
|
|
10226
10388
|
|
10227
10389
|
@property
|
10228
10390
|
def Filters(self):
|
10229
|
-
"""过滤条件数组,与TargetGroupIds互斥,支持TargetGroupVpcId
|
10391
|
+
"""过滤条件数组,与TargetGroupIds互斥,支持 TargetGroupVpcId(私有网络 ID)和 TargetGroupName(目标组名称)以及 Tag(标签)。
|
10230
10392
|
:rtype: list of Filter
|
10231
10393
|
"""
|
10232
10394
|
return self._Filters
|
@@ -10809,14 +10971,14 @@ class DisassociateTargetGroupsRequest(AbstractModel):
|
|
10809
10971
|
|
10810
10972
|
def __init__(self):
|
10811
10973
|
r"""
|
10812
|
-
:param _Associations:
|
10974
|
+
:param _Associations: 待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
|
10813
10975
|
:type Associations: list of TargetGroupAssociation
|
10814
10976
|
"""
|
10815
10977
|
self._Associations = None
|
10816
10978
|
|
10817
10979
|
@property
|
10818
10980
|
def Associations(self):
|
10819
|
-
"""
|
10981
|
+
"""待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
|
10820
10982
|
:rtype: list of TargetGroupAssociation
|
10821
10983
|
"""
|
10822
10984
|
return self._Associations
|
@@ -11855,7 +12017,7 @@ class InquiryPriceModifyLoadBalancerRequest(AbstractModel):
|
|
11855
12017
|
|
11856
12018
|
def __init__(self):
|
11857
12019
|
r"""
|
11858
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
12020
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
11859
12021
|
:type LoadBalancerId: str
|
11860
12022
|
:param _InternetAccessible: 修改后的网络带宽信息
|
11861
12023
|
:type InternetAccessible: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
@@ -11865,7 +12027,7 @@ class InquiryPriceModifyLoadBalancerRequest(AbstractModel):
|
|
11865
12027
|
|
11866
12028
|
@property
|
11867
12029
|
def LoadBalancerId(self):
|
11868
|
-
"""负载均衡实例ID
|
12030
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
11869
12031
|
:rtype: str
|
11870
12032
|
"""
|
11871
12033
|
return self._LoadBalancerId
|
@@ -12034,7 +12196,7 @@ class InquiryPriceRenewLoadBalancerRequest(AbstractModel):
|
|
12034
12196
|
|
12035
12197
|
def __init__(self):
|
12036
12198
|
r"""
|
12037
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
12199
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
12038
12200
|
:type LoadBalancerId: str
|
12039
12201
|
:param _LoadBalancerChargePrepaid: 续费周期
|
12040
12202
|
:type LoadBalancerChargePrepaid: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
@@ -12044,7 +12206,7 @@ class InquiryPriceRenewLoadBalancerRequest(AbstractModel):
|
|
12044
12206
|
|
12045
12207
|
@property
|
12046
12208
|
def LoadBalancerId(self):
|
12047
|
-
"""负载均衡实例ID
|
12209
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
12048
12210
|
:rtype: str
|
12049
12211
|
"""
|
12050
12212
|
return self._LoadBalancerId
|
@@ -12485,8 +12647,10 @@ class LbRsItem(AbstractModel):
|
|
12485
12647
|
def __init__(self):
|
12486
12648
|
r"""
|
12487
12649
|
:param _VpcId: vpc的字符串id,只支持字符串id。
|
12650
|
+
可以通过 [DescribeVpcs](https://cloud.tencent.com/document/api/215/15778) 接口查询。
|
12488
12651
|
:type VpcId: str
|
12489
|
-
:param _PrivateIp: 需要查询后端的内网
|
12652
|
+
:param _PrivateIp: 需要查询后端的内网 IP,可以是 CVM 和弹性网卡。
|
12653
|
+
可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
|
12490
12654
|
:type PrivateIp: str
|
12491
12655
|
"""
|
12492
12656
|
self._VpcId = None
|
@@ -12495,6 +12659,7 @@ class LbRsItem(AbstractModel):
|
|
12495
12659
|
@property
|
12496
12660
|
def VpcId(self):
|
12497
12661
|
"""vpc的字符串id,只支持字符串id。
|
12662
|
+
可以通过 [DescribeVpcs](https://cloud.tencent.com/document/api/215/15778) 接口查询。
|
12498
12663
|
:rtype: str
|
12499
12664
|
"""
|
12500
12665
|
return self._VpcId
|
@@ -12505,7 +12670,8 @@ class LbRsItem(AbstractModel):
|
|
12505
12670
|
|
12506
12671
|
@property
|
12507
12672
|
def PrivateIp(self):
|
12508
|
-
"""需要查询后端的内网
|
12673
|
+
"""需要查询后端的内网 IP,可以是 CVM 和弹性网卡。
|
12674
|
+
可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
|
12509
12675
|
:rtype: str
|
12510
12676
|
"""
|
12511
12677
|
return self._PrivateIp
|
@@ -12633,9 +12799,9 @@ class Listener(AbstractModel):
|
|
12633
12799
|
r"""
|
12634
12800
|
:param _ListenerId: 负载均衡监听器 ID
|
12635
12801
|
:type ListenerId: str
|
12636
|
-
:param _Protocol:
|
12802
|
+
:param _Protocol: 监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC
|
12637
12803
|
:type Protocol: str
|
12638
|
-
:param _Port:
|
12804
|
+
:param _Port: 监听器端口,端口范围:1-65535
|
12639
12805
|
:type Port: int
|
12640
12806
|
:param _Certificate: 监听器绑定的证书信息
|
12641
12807
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -12646,7 +12812,7 @@ class Listener(AbstractModel):
|
|
12646
12812
|
:param _Scheduler: 请求的调度方式。 WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Hash。
|
12647
12813
|
注意:此字段可能返回 null,表示取不到有效值。
|
12648
12814
|
:type Scheduler: str
|
12649
|
-
:param _SessionExpireTime:
|
12815
|
+
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。
|
12650
12816
|
注意:此字段可能返回 null,表示取不到有效值。
|
12651
12817
|
:type SessionExpireTime: int
|
12652
12818
|
:param _SniSwitch: 是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)
|
@@ -12658,9 +12824,9 @@ class Listener(AbstractModel):
|
|
12658
12824
|
:type ListenerName: str
|
12659
12825
|
:param _CreateTime: 监听器的创建时间。
|
12660
12826
|
:type CreateTime: str
|
12661
|
-
:param _EndPort:
|
12827
|
+
:param _EndPort: 端口段结束端口,端口范围:2-65535
|
12662
12828
|
:type EndPort: int
|
12663
|
-
:param _TargetType:
|
12829
|
+
:param _TargetType: 后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2
|
12664
12830
|
注意:此字段可能返回 null,表示取不到有效值。
|
12665
12831
|
:type TargetType: str
|
12666
12832
|
:param _TargetGroup: 绑定的目标组基本信息;当监听器绑定目标组时,会返回该字段
|
@@ -12731,7 +12897,7 @@ class Listener(AbstractModel):
|
|
12731
12897
|
|
12732
12898
|
@property
|
12733
12899
|
def Protocol(self):
|
12734
|
-
"""
|
12900
|
+
"""监听器协议,可选值:TCP、UDP、HTTP、HTTPS、TCP_SSL、QUIC
|
12735
12901
|
:rtype: str
|
12736
12902
|
"""
|
12737
12903
|
return self._Protocol
|
@@ -12742,7 +12908,7 @@ class Listener(AbstractModel):
|
|
12742
12908
|
|
12743
12909
|
@property
|
12744
12910
|
def Port(self):
|
12745
|
-
"""
|
12911
|
+
"""监听器端口,端口范围:1-65535
|
12746
12912
|
:rtype: int
|
12747
12913
|
"""
|
12748
12914
|
return self._Port
|
@@ -12789,7 +12955,7 @@ class Listener(AbstractModel):
|
|
12789
12955
|
|
12790
12956
|
@property
|
12791
12957
|
def SessionExpireTime(self):
|
12792
|
-
"""
|
12958
|
+
"""会话保持时间,单位:秒。可选值:30~3600,默认 0,默认不开启。此参数仅适用于TCP/UDP监听器。
|
12793
12959
|
注意:此字段可能返回 null,表示取不到有效值。
|
12794
12960
|
:rtype: int
|
12795
12961
|
"""
|
@@ -12846,7 +13012,7 @@ class Listener(AbstractModel):
|
|
12846
13012
|
|
12847
13013
|
@property
|
12848
13014
|
def EndPort(self):
|
12849
|
-
"""
|
13015
|
+
"""端口段结束端口,端口范围:2-65535
|
12850
13016
|
:rtype: int
|
12851
13017
|
"""
|
12852
13018
|
return self._EndPort
|
@@ -12857,7 +13023,7 @@ class Listener(AbstractModel):
|
|
12857
13023
|
|
12858
13024
|
@property
|
12859
13025
|
def TargetType(self):
|
12860
|
-
"""
|
13026
|
+
"""后端服务器类型,可选值:NODE、POLARIS、TARGETGROUP、TARGETGROUP-V2
|
12861
13027
|
注意:此字段可能返回 null,表示取不到有效值。
|
12862
13028
|
:rtype: str
|
12863
13029
|
"""
|
@@ -13438,9 +13604,9 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
|
|
13438
13604
|
:type VpcId: str
|
13439
13605
|
:param _OpenBgp: 高防 LB 的标识,1:高防负载均衡 0:非高防负载均衡。
|
13440
13606
|
:type OpenBgp: int
|
13441
|
-
:param _Snat:
|
13607
|
+
:param _Snat: 是否开启 SNAT,在 2016 年 12 月份之前的传统型内网负载均衡都是开启了 SNAT 的。
|
13442
13608
|
:type Snat: bool
|
13443
|
-
:param _Isolation: 0:表示未被隔离,1:表示被隔离。
|
13609
|
+
:param _Isolation: 是否被隔离,0:表示未被隔离,1:表示被隔离。
|
13444
13610
|
:type Isolation: int
|
13445
13611
|
:param _Log: 用户开启日志的信息,日志只有公网属性创建了 HTTP 、HTTPS 监听器的负载均衡才会有日志。
|
13446
13612
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -13774,7 +13940,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
|
|
13774
13940
|
|
13775
13941
|
@property
|
13776
13942
|
def Snat(self):
|
13777
|
-
"""
|
13943
|
+
"""是否开启 SNAT,在 2016 年 12 月份之前的传统型内网负载均衡都是开启了 SNAT 的。
|
13778
13944
|
:rtype: bool
|
13779
13945
|
"""
|
13780
13946
|
return self._Snat
|
@@ -13785,7 +13951,7 @@ OPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均
|
|
13785
13951
|
|
13786
13952
|
@property
|
13787
13953
|
def Isolation(self):
|
13788
|
-
"""0:表示未被隔离,1:表示被隔离。
|
13954
|
+
"""是否被隔离,0:表示未被隔离,1:表示被隔离。
|
13789
13955
|
:rtype: int
|
13790
13956
|
"""
|
13791
13957
|
return self._Isolation
|
@@ -15804,21 +15970,24 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15804
15970
|
|
15805
15971
|
def __init__(self):
|
15806
15972
|
r"""
|
15807
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
15973
|
+
:param _LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
15808
15974
|
:type LoadBalancerId: str
|
15809
|
-
:param _ListenerId: 负载均衡监听器ID
|
15975
|
+
:param _ListenerId: 负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
15810
15976
|
:type ListenerId: str
|
15811
|
-
:param _Domain:
|
15977
|
+
:param _Domain: 域名(必须是已经创建的转发规则下的域名),如果是多域名,可以指定多域名列表中的任意一个,可以通过[DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
15812
15978
|
:type Domain: str
|
15813
15979
|
:param _NewDomain: 要修改的新域名。NewDomain和NewDomains只能传一个。
|
15814
15980
|
:type NewDomain: str
|
15815
15981
|
:param _Certificate: 域名相关的证书信息,注意,仅对启用SNI的监听器适用,不可和MultiCertInfo 同时传入。
|
15816
15982
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
15817
|
-
:param _Http2: 是否开启
|
15983
|
+
:param _Http2: 是否开启HTTP2,注意,只有HTTPS域名才能开启HTTP2。
|
15984
|
+
True: 开启HTTP2,Fasle: 不开启HTTP2。
|
15818
15985
|
:type Http2: bool
|
15819
15986
|
:param _DefaultServer: 是否设为默认域名,注意,一个监听器下只能设置一个默认域名。
|
15987
|
+
True: 设为默认域名,Fasle: 不设置为默认域名。
|
15820
15988
|
:type DefaultServer: bool
|
15821
|
-
:param _Quic: 是否开启
|
15989
|
+
:param _Quic: 是否开启 QUIC,注意,只有 HTTPS 域名才能开启 QUIC。
|
15990
|
+
True: 开启 QUIC,False: 不开启QUIC。
|
15822
15991
|
:type Quic: bool
|
15823
15992
|
:param _NewDefaultServerDomain: 监听器下必须配置一个默认域名,若要关闭原默认域名,必须同时指定另一个域名作为新的默认域名,如果新的默认域名是多域名,可以指定多域名列表中的任意一个。
|
15824
15993
|
:type NewDefaultServerDomain: str
|
@@ -15841,7 +16010,7 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15841
16010
|
|
15842
16011
|
@property
|
15843
16012
|
def LoadBalancerId(self):
|
15844
|
-
"""负载均衡实例ID
|
16013
|
+
"""负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
15845
16014
|
:rtype: str
|
15846
16015
|
"""
|
15847
16016
|
return self._LoadBalancerId
|
@@ -15852,7 +16021,7 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15852
16021
|
|
15853
16022
|
@property
|
15854
16023
|
def ListenerId(self):
|
15855
|
-
"""负载均衡监听器ID
|
16024
|
+
"""负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
15856
16025
|
:rtype: str
|
15857
16026
|
"""
|
15858
16027
|
return self._ListenerId
|
@@ -15863,7 +16032,7 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15863
16032
|
|
15864
16033
|
@property
|
15865
16034
|
def Domain(self):
|
15866
|
-
"""
|
16035
|
+
"""域名(必须是已经创建的转发规则下的域名),如果是多域名,可以指定多域名列表中的任意一个,可以通过[DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
15867
16036
|
:rtype: str
|
15868
16037
|
"""
|
15869
16038
|
return self._Domain
|
@@ -15896,7 +16065,8 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15896
16065
|
|
15897
16066
|
@property
|
15898
16067
|
def Http2(self):
|
15899
|
-
"""是否开启
|
16068
|
+
"""是否开启HTTP2,注意,只有HTTPS域名才能开启HTTP2。
|
16069
|
+
True: 开启HTTP2,Fasle: 不开启HTTP2。
|
15900
16070
|
:rtype: bool
|
15901
16071
|
"""
|
15902
16072
|
return self._Http2
|
@@ -15908,6 +16078,7 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15908
16078
|
@property
|
15909
16079
|
def DefaultServer(self):
|
15910
16080
|
"""是否设为默认域名,注意,一个监听器下只能设置一个默认域名。
|
16081
|
+
True: 设为默认域名,Fasle: 不设置为默认域名。
|
15911
16082
|
:rtype: bool
|
15912
16083
|
"""
|
15913
16084
|
return self._DefaultServer
|
@@ -15918,7 +16089,8 @@ class ModifyDomainAttributesRequest(AbstractModel):
|
|
15918
16089
|
|
15919
16090
|
@property
|
15920
16091
|
def Quic(self):
|
15921
|
-
"""是否开启
|
16092
|
+
"""是否开启 QUIC,注意,只有 HTTPS 域名才能开启 QUIC。
|
16093
|
+
True: 开启 QUIC,False: 不开启QUIC。
|
15922
16094
|
:rtype: bool
|
15923
16095
|
"""
|
15924
16096
|
return self._Quic
|
@@ -16022,11 +16194,11 @@ class ModifyDomainRequest(AbstractModel):
|
|
16022
16194
|
|
16023
16195
|
def __init__(self):
|
16024
16196
|
r"""
|
16025
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
16197
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
16026
16198
|
:type LoadBalancerId: str
|
16027
|
-
:param _ListenerId: 负载均衡监听器 ID
|
16199
|
+
:param _ListenerId: 负载均衡监听器 ID, 可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
16028
16200
|
:type ListenerId: str
|
16029
|
-
:param _Domain:
|
16201
|
+
:param _Domain: 监听器下的某个旧域名, 可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 查询。
|
16030
16202
|
:type Domain: str
|
16031
16203
|
:param _NewDomain: 新域名, 长度限制为:1-120。有三种使用格式:非正则表达式格式,通配符格式,正则表达式格式。非正则表达式格式只能使用字母、数字、‘-’、‘.’。通配符格式的使用 ‘*’ 只能在开头或者结尾。正则表达式以'~'开头。
|
16032
16204
|
:type NewDomain: str
|
@@ -16038,7 +16210,7 @@ class ModifyDomainRequest(AbstractModel):
|
|
16038
16210
|
|
16039
16211
|
@property
|
16040
16212
|
def LoadBalancerId(self):
|
16041
|
-
"""负载均衡实例 ID
|
16213
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
16042
16214
|
:rtype: str
|
16043
16215
|
"""
|
16044
16216
|
return self._LoadBalancerId
|
@@ -16049,7 +16221,7 @@ class ModifyDomainRequest(AbstractModel):
|
|
16049
16221
|
|
16050
16222
|
@property
|
16051
16223
|
def ListenerId(self):
|
16052
|
-
"""负载均衡监听器 ID
|
16224
|
+
"""负载均衡监听器 ID, 可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
16053
16225
|
:rtype: str
|
16054
16226
|
"""
|
16055
16227
|
return self._ListenerId
|
@@ -16060,7 +16232,7 @@ class ModifyDomainRequest(AbstractModel):
|
|
16060
16232
|
|
16061
16233
|
@property
|
16062
16234
|
def Domain(self):
|
16063
|
-
"""
|
16235
|
+
"""监听器下的某个旧域名, 可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 查询。
|
16064
16236
|
:rtype: str
|
16065
16237
|
"""
|
16066
16238
|
return self._Domain
|
@@ -16135,7 +16307,7 @@ class ModifyFunctionTargetsRequest(AbstractModel):
|
|
16135
16307
|
:type LoadBalancerId: str
|
16136
16308
|
:param _ListenerId: 负载均衡监听器ID。
|
16137
16309
|
:type ListenerId: str
|
16138
|
-
:param _FunctionTargets:
|
16310
|
+
:param _FunctionTargets: 要修改的后端云函数服务列表,仅支持 Event 函数类型。
|
16139
16311
|
:type FunctionTargets: list of FunctionTarget
|
16140
16312
|
:param _LocationId: 转发规则的ID,当绑定机器到七层转发规则时,必须提供此参数或Domain+Url两者之一。
|
16141
16313
|
:type LocationId: str
|
@@ -16175,7 +16347,7 @@ class ModifyFunctionTargetsRequest(AbstractModel):
|
|
16175
16347
|
|
16176
16348
|
@property
|
16177
16349
|
def FunctionTargets(self):
|
16178
|
-
"""
|
16350
|
+
"""要修改的后端云函数服务列表,仅支持 Event 函数类型。
|
16179
16351
|
:rtype: list of FunctionTarget
|
16180
16352
|
"""
|
16181
16353
|
return self._FunctionTargets
|
@@ -16275,11 +16447,11 @@ class ModifyListenerRequest(AbstractModel):
|
|
16275
16447
|
|
16276
16448
|
def __init__(self):
|
16277
16449
|
r"""
|
16278
|
-
:param _LoadBalancerId: 负载均衡实例ID
|
16450
|
+
:param _LoadBalancerId: 负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
16279
16451
|
:type LoadBalancerId: str
|
16280
|
-
:param _ListenerId: 负载均衡监听器ID
|
16452
|
+
:param _ListenerId: 负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
16281
16453
|
:type ListenerId: str
|
16282
|
-
:param _ListenerName:
|
16454
|
+
:param _ListenerName: 新的监听器名称,最大长度255。
|
16283
16455
|
:type ListenerName: str
|
16284
16456
|
:param _SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。
|
16285
16457
|
:type SessionExpireTime: int
|
@@ -16287,7 +16459,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16287
16459
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
16288
16460
|
:param _Certificate: 证书相关信息,此参数仅适用于HTTPS/TCP_SSL/QUIC监听器;此参数和MultiCertInfo不能同时传入。
|
16289
16461
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
16290
|
-
:param _Scheduler: 监听器转发的方式。可选值:WRR
|
16462
|
+
:param _Scheduler: 监听器转发的方式。可选值:WRR(按权重轮询)、LEAST_CONN(按最小连接数)、IP_HASH(按 IP 地址哈希)
|
16291
16463
|
分别表示按权重轮询、最小连接数, 默认为 WRR。
|
16292
16464
|
使用场景:适用于TCP/UDP/TCP_SSL/QUIC监听器。七层监听器的均衡方式应在转发规则中修改。
|
16293
16465
|
:type Scheduler: str
|
@@ -16297,22 +16469,29 @@ class ModifyListenerRequest(AbstractModel):
|
|
16297
16469
|
:type TargetType: str
|
16298
16470
|
:param _KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS监听器。
|
16299
16471
|
默认值0表示不开启,1表示开启。
|
16472
|
+
若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 [内测申请](https://cloud.tencent.com/apply/p/tsodp6qm21)。
|
16300
16473
|
:type KeepaliveEnable: int
|
16301
16474
|
:param _DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
|
16475
|
+
True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
|
16302
16476
|
:type DeregisterTargetRst: bool
|
16303
16477
|
:param _SessionType: 会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。
|
16304
16478
|
使用场景:适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
16479
|
+
默认为 NORMAL。
|
16305
16480
|
:type SessionType: str
|
16306
16481
|
:param _MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书;此参数仅适用于未开启SNI特性的HTTPS监听器。此参数和Certificate不能同时传入。
|
16307
16482
|
:type MultiCertInfo: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
16308
16483
|
:param _MaxConn: 监听器粒度并发连接数上限,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持。取值范围:1-实例规格并发连接上限,其中-1表示关闭监听器粒度并发连接数限速。基础网络实例不支持该参数。
|
16484
|
+
默认为 -1,表示不限速。
|
16309
16485
|
:type MaxConn: int
|
16310
16486
|
:param _MaxCps: 监听器粒度新建连接数上限,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持。取值范围:1-实例规格新建连接上限,其中-1表示关闭监听器粒度新建连接数限速。基础网络实例不支持该参数。
|
16487
|
+
默认为 -1 表示不限速。
|
16311
16488
|
:type MaxCps: int
|
16312
|
-
:param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~
|
16489
|
+
:param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~1980。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
|
16313
16490
|
:type IdleConnectTimeout: int
|
16314
|
-
:param _SnatEnable: 是否开启SNAT。
|
16491
|
+
:param _SnatEnable: 是否开启SNAT, True 表示开启 SNAT,False 表示不开启 SNAT。
|
16315
16492
|
:type SnatEnable: bool
|
16493
|
+
:param _DataCompressMode: 数据压缩模式
|
16494
|
+
:type DataCompressMode: str
|
16316
16495
|
"""
|
16317
16496
|
self._LoadBalancerId = None
|
16318
16497
|
self._ListenerId = None
|
@@ -16331,10 +16510,11 @@ class ModifyListenerRequest(AbstractModel):
|
|
16331
16510
|
self._MaxCps = None
|
16332
16511
|
self._IdleConnectTimeout = None
|
16333
16512
|
self._SnatEnable = None
|
16513
|
+
self._DataCompressMode = None
|
16334
16514
|
|
16335
16515
|
@property
|
16336
16516
|
def LoadBalancerId(self):
|
16337
|
-
"""负载均衡实例ID
|
16517
|
+
"""负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。
|
16338
16518
|
:rtype: str
|
16339
16519
|
"""
|
16340
16520
|
return self._LoadBalancerId
|
@@ -16345,7 +16525,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16345
16525
|
|
16346
16526
|
@property
|
16347
16527
|
def ListenerId(self):
|
16348
|
-
"""负载均衡监听器ID
|
16528
|
+
"""负载均衡监听器ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口查询。
|
16349
16529
|
:rtype: str
|
16350
16530
|
"""
|
16351
16531
|
return self._ListenerId
|
@@ -16356,7 +16536,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16356
16536
|
|
16357
16537
|
@property
|
16358
16538
|
def ListenerName(self):
|
16359
|
-
"""
|
16539
|
+
"""新的监听器名称,最大长度255。
|
16360
16540
|
:rtype: str
|
16361
16541
|
"""
|
16362
16542
|
return self._ListenerName
|
@@ -16400,7 +16580,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16400
16580
|
|
16401
16581
|
@property
|
16402
16582
|
def Scheduler(self):
|
16403
|
-
"""监听器转发的方式。可选值:WRR
|
16583
|
+
"""监听器转发的方式。可选值:WRR(按权重轮询)、LEAST_CONN(按最小连接数)、IP_HASH(按 IP 地址哈希)
|
16404
16584
|
分别表示按权重轮询、最小连接数, 默认为 WRR。
|
16405
16585
|
使用场景:适用于TCP/UDP/TCP_SSL/QUIC监听器。七层监听器的均衡方式应在转发规则中修改。
|
16406
16586
|
:rtype: str
|
@@ -16437,6 +16617,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16437
16617
|
def KeepaliveEnable(self):
|
16438
16618
|
"""是否开启长连接,此参数仅适用于HTTP/HTTPS监听器。
|
16439
16619
|
默认值0表示不开启,1表示开启。
|
16620
|
+
若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 [内测申请](https://cloud.tencent.com/apply/p/tsodp6qm21)。
|
16440
16621
|
:rtype: int
|
16441
16622
|
"""
|
16442
16623
|
return self._KeepaliveEnable
|
@@ -16448,6 +16629,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16448
16629
|
@property
|
16449
16630
|
def DeregisterTargetRst(self):
|
16450
16631
|
"""解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
|
16632
|
+
True表示发送 RST 给客户端,False表示不发送 RST 给客户端。
|
16451
16633
|
:rtype: bool
|
16452
16634
|
"""
|
16453
16635
|
return self._DeregisterTargetRst
|
@@ -16460,6 +16642,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16460
16642
|
def SessionType(self):
|
16461
16643
|
"""会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。
|
16462
16644
|
使用场景:适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
16645
|
+
默认为 NORMAL。
|
16463
16646
|
:rtype: str
|
16464
16647
|
"""
|
16465
16648
|
return self._SessionType
|
@@ -16482,6 +16665,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16482
16665
|
@property
|
16483
16666
|
def MaxConn(self):
|
16484
16667
|
"""监听器粒度并发连接数上限,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持。取值范围:1-实例规格并发连接上限,其中-1表示关闭监听器粒度并发连接数限速。基础网络实例不支持该参数。
|
16668
|
+
默认为 -1,表示不限速。
|
16485
16669
|
:rtype: int
|
16486
16670
|
"""
|
16487
16671
|
return self._MaxConn
|
@@ -16493,6 +16677,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16493
16677
|
@property
|
16494
16678
|
def MaxCps(self):
|
16495
16679
|
"""监听器粒度新建连接数上限,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持。取值范围:1-实例规格新建连接上限,其中-1表示关闭监听器粒度新建连接数限速。基础网络实例不支持该参数。
|
16680
|
+
默认为 -1 表示不限速。
|
16496
16681
|
:rtype: int
|
16497
16682
|
"""
|
16498
16683
|
return self._MaxCps
|
@@ -16503,7 +16688,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16503
16688
|
|
16504
16689
|
@property
|
16505
16690
|
def IdleConnectTimeout(self):
|
16506
|
-
"""空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~
|
16691
|
+
"""空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~1980。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
|
16507
16692
|
:rtype: int
|
16508
16693
|
"""
|
16509
16694
|
return self._IdleConnectTimeout
|
@@ -16514,7 +16699,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16514
16699
|
|
16515
16700
|
@property
|
16516
16701
|
def SnatEnable(self):
|
16517
|
-
"""是否开启SNAT。
|
16702
|
+
"""是否开启SNAT, True 表示开启 SNAT,False 表示不开启 SNAT。
|
16518
16703
|
:rtype: bool
|
16519
16704
|
"""
|
16520
16705
|
return self._SnatEnable
|
@@ -16523,6 +16708,17 @@ class ModifyListenerRequest(AbstractModel):
|
|
16523
16708
|
def SnatEnable(self, SnatEnable):
|
16524
16709
|
self._SnatEnable = SnatEnable
|
16525
16710
|
|
16711
|
+
@property
|
16712
|
+
def DataCompressMode(self):
|
16713
|
+
"""数据压缩模式
|
16714
|
+
:rtype: str
|
16715
|
+
"""
|
16716
|
+
return self._DataCompressMode
|
16717
|
+
|
16718
|
+
@DataCompressMode.setter
|
16719
|
+
def DataCompressMode(self, DataCompressMode):
|
16720
|
+
self._DataCompressMode = DataCompressMode
|
16721
|
+
|
16526
16722
|
|
16527
16723
|
def _deserialize(self, params):
|
16528
16724
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
@@ -16548,6 +16744,7 @@ class ModifyListenerRequest(AbstractModel):
|
|
16548
16744
|
self._MaxCps = params.get("MaxCps")
|
16549
16745
|
self._IdleConnectTimeout = params.get("IdleConnectTimeout")
|
16550
16746
|
self._SnatEnable = params.get("SnatEnable")
|
16747
|
+
self._DataCompressMode = params.get("DataCompressMode")
|
16551
16748
|
memeber_set = set(params.keys())
|
16552
16749
|
for name, value in vars(self).items():
|
16553
16750
|
property_name = name[1:]
|
@@ -16593,21 +16790,24 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16593
16790
|
|
16594
16791
|
def __init__(self):
|
16595
16792
|
r"""
|
16596
|
-
:param _LoadBalancerId: 负载均衡的唯一ID
|
16793
|
+
:param _LoadBalancerId: 负载均衡的唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
16597
16794
|
:type LoadBalancerId: str
|
16598
|
-
:param _LoadBalancerName:
|
16795
|
+
:param _LoadBalancerName: 负载均衡实例名称,规则:1-60 个英文、汉字、数字、连接线“-”或下划线“_”。
|
16599
16796
|
:type LoadBalancerName: str
|
16600
16797
|
:param _TargetRegionInfo: 设置负载均衡跨地域绑定1.0的后端服务信息
|
16601
16798
|
:type TargetRegionInfo: :class:`tencentcloud.clb.v20180317.models.TargetRegionInfo`
|
16602
16799
|
:param _InternetChargeInfo: 网络计费相关参数
|
16603
16800
|
:type InternetChargeInfo: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
16604
|
-
:param _LoadBalancerPassToTarget: Target是否放通来自CLB
|
16801
|
+
:param _LoadBalancerPassToTarget: Target是否放通来自CLB的流量。
|
16802
|
+
开启放通(true):只验证CLB上的安全组;
|
16803
|
+
不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
16804
|
+
不填则不修改。
|
16605
16805
|
:type LoadBalancerPassToTarget: bool
|
16606
|
-
:param _SnatPro: 是否开启跨地域绑定2.0
|
16806
|
+
:param _SnatPro: 是否开启跨地域绑定2.0功能。不填则不修改。
|
16607
16807
|
:type SnatPro: bool
|
16608
|
-
:param _DeleteProtect:
|
16808
|
+
:param _DeleteProtect: 是否开启删除保护,不填则不修改。
|
16609
16809
|
:type DeleteProtect: bool
|
16610
|
-
:param _ModifyClassicDomain: 将负载均衡二级域名由mycloud.com改为tencentclb.com
|
16810
|
+
:param _ModifyClassicDomain: 将负载均衡二级域名由mycloud.com改为tencentclb.com,子域名也会变换,修改后mycloud.com域名将失效。不填则不修改。
|
16611
16811
|
:type ModifyClassicDomain: bool
|
16612
16812
|
"""
|
16613
16813
|
self._LoadBalancerId = None
|
@@ -16621,7 +16821,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16621
16821
|
|
16622
16822
|
@property
|
16623
16823
|
def LoadBalancerId(self):
|
16624
|
-
"""负载均衡的唯一ID
|
16824
|
+
"""负载均衡的唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
16625
16825
|
:rtype: str
|
16626
16826
|
"""
|
16627
16827
|
return self._LoadBalancerId
|
@@ -16632,7 +16832,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16632
16832
|
|
16633
16833
|
@property
|
16634
16834
|
def LoadBalancerName(self):
|
16635
|
-
"""
|
16835
|
+
"""负载均衡实例名称,规则:1-60 个英文、汉字、数字、连接线“-”或下划线“_”。
|
16636
16836
|
:rtype: str
|
16637
16837
|
"""
|
16638
16838
|
return self._LoadBalancerName
|
@@ -16665,7 +16865,10 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16665
16865
|
|
16666
16866
|
@property
|
16667
16867
|
def LoadBalancerPassToTarget(self):
|
16668
|
-
"""Target是否放通来自CLB
|
16868
|
+
"""Target是否放通来自CLB的流量。
|
16869
|
+
开启放通(true):只验证CLB上的安全组;
|
16870
|
+
不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
16871
|
+
不填则不修改。
|
16669
16872
|
:rtype: bool
|
16670
16873
|
"""
|
16671
16874
|
return self._LoadBalancerPassToTarget
|
@@ -16676,7 +16879,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16676
16879
|
|
16677
16880
|
@property
|
16678
16881
|
def SnatPro(self):
|
16679
|
-
"""是否开启跨地域绑定2.0
|
16882
|
+
"""是否开启跨地域绑定2.0功能。不填则不修改。
|
16680
16883
|
:rtype: bool
|
16681
16884
|
"""
|
16682
16885
|
return self._SnatPro
|
@@ -16687,7 +16890,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16687
16890
|
|
16688
16891
|
@property
|
16689
16892
|
def DeleteProtect(self):
|
16690
|
-
"""
|
16893
|
+
"""是否开启删除保护,不填则不修改。
|
16691
16894
|
:rtype: bool
|
16692
16895
|
"""
|
16693
16896
|
return self._DeleteProtect
|
@@ -16698,7 +16901,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
16698
16901
|
|
16699
16902
|
@property
|
16700
16903
|
def ModifyClassicDomain(self):
|
16701
|
-
"""将负载均衡二级域名由mycloud.com改为tencentclb.com
|
16904
|
+
"""将负载均衡二级域名由mycloud.com改为tencentclb.com,子域名也会变换,修改后mycloud.com域名将失效。不填则不修改。
|
16702
16905
|
:rtype: bool
|
16703
16906
|
"""
|
16704
16907
|
return self._ModifyClassicDomain
|
@@ -16784,6 +16987,7 @@ class ModifyLoadBalancerMixIpTargetRequest(AbstractModel):
|
|
16784
16987
|
def __init__(self):
|
16785
16988
|
r"""
|
16786
16989
|
:param _LoadBalancerIds: 负载均衡实例ID数组,默认支持20个负载均衡实例ID。
|
16990
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
16787
16991
|
:type LoadBalancerIds: list of str
|
16788
16992
|
:param _MixIpTarget: 开启/关闭IPv6FullChain负载均衡7层监听器支持混绑IPv4/IPv6目标特性。
|
16789
16993
|
:type MixIpTarget: bool
|
@@ -16794,6 +16998,7 @@ class ModifyLoadBalancerMixIpTargetRequest(AbstractModel):
|
|
16794
16998
|
@property
|
16795
16999
|
def LoadBalancerIds(self):
|
16796
17000
|
"""负载均衡实例ID数组,默认支持20个负载均衡实例ID。
|
17001
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
16797
17002
|
:rtype: list of str
|
16798
17003
|
"""
|
16799
17004
|
return self._LoadBalancerIds
|
@@ -16946,7 +17151,8 @@ class ModifyLoadBalancersProjectRequest(AbstractModel):
|
|
16946
17151
|
|
16947
17152
|
def __init__(self):
|
16948
17153
|
r"""
|
16949
|
-
:param _LoadBalancerIds: 一个或多个待操作的负载均衡实例ID
|
17154
|
+
:param _LoadBalancerIds: 一个或多个待操作的负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
17155
|
+
列表支持最大长度为20。
|
16950
17156
|
:type LoadBalancerIds: list of str
|
16951
17157
|
:param _ProjectId: 项目ID。可以通过 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 接口获取。
|
16952
17158
|
:type ProjectId: int
|
@@ -16956,7 +17162,8 @@ class ModifyLoadBalancersProjectRequest(AbstractModel):
|
|
16956
17162
|
|
16957
17163
|
@property
|
16958
17164
|
def LoadBalancerIds(self):
|
16959
|
-
"""一个或多个待操作的负载均衡实例ID
|
17165
|
+
"""一个或多个待操作的负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
17166
|
+
列表支持最大长度为20。
|
16960
17167
|
:rtype: list of str
|
16961
17168
|
"""
|
16962
17169
|
return self._LoadBalancerIds
|
@@ -17025,11 +17232,11 @@ class ModifyRuleRequest(AbstractModel):
|
|
17025
17232
|
|
17026
17233
|
def __init__(self):
|
17027
17234
|
r"""
|
17028
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
17235
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
17029
17236
|
:type LoadBalancerId: str
|
17030
|
-
:param _ListenerId: 负载均衡监听器 ID
|
17237
|
+
:param _ListenerId: 负载均衡监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取。
|
17031
17238
|
:type ListenerId: str
|
17032
|
-
:param _LocationId: 要修改的转发规则的 ID
|
17239
|
+
:param _LocationId: 要修改的转发规则的 ID, 可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取。
|
17033
17240
|
:type LocationId: str
|
17034
17241
|
:param _Url: 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。
|
17035
17242
|
:type Url: str
|
@@ -17039,6 +17246,7 @@ class ModifyRuleRequest(AbstractModel):
|
|
17039
17246
|
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
|
17040
17247
|
:type Scheduler: str
|
17041
17248
|
:param _SessionExpireTime: 会话保持时间。取值范围0或30-86400(单位:秒)。
|
17249
|
+
默认为0。
|
17042
17250
|
:type SessionExpireTime: int
|
17043
17251
|
:param _ForwardType: 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、GRPC。仅HTTPS监听器该参数有效。
|
17044
17252
|
:type ForwardType: str
|
@@ -17063,7 +17271,7 @@ class ModifyRuleRequest(AbstractModel):
|
|
17063
17271
|
|
17064
17272
|
@property
|
17065
17273
|
def LoadBalancerId(self):
|
17066
|
-
"""负载均衡实例 ID
|
17274
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
17067
17275
|
:rtype: str
|
17068
17276
|
"""
|
17069
17277
|
return self._LoadBalancerId
|
@@ -17074,7 +17282,7 @@ class ModifyRuleRequest(AbstractModel):
|
|
17074
17282
|
|
17075
17283
|
@property
|
17076
17284
|
def ListenerId(self):
|
17077
|
-
"""负载均衡监听器 ID
|
17285
|
+
"""负载均衡监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取。
|
17078
17286
|
:rtype: str
|
17079
17287
|
"""
|
17080
17288
|
return self._ListenerId
|
@@ -17085,7 +17293,7 @@ class ModifyRuleRequest(AbstractModel):
|
|
17085
17293
|
|
17086
17294
|
@property
|
17087
17295
|
def LocationId(self):
|
17088
|
-
"""要修改的转发规则的 ID
|
17296
|
+
"""要修改的转发规则的 ID, 可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取。
|
17089
17297
|
:rtype: str
|
17090
17298
|
"""
|
17091
17299
|
return self._LocationId
|
@@ -17131,6 +17339,7 @@ class ModifyRuleRequest(AbstractModel):
|
|
17131
17339
|
@property
|
17132
17340
|
def SessionExpireTime(self):
|
17133
17341
|
"""会话保持时间。取值范围0或30-86400(单位:秒)。
|
17342
|
+
默认为0。
|
17134
17343
|
:rtype: int
|
17135
17344
|
"""
|
17136
17345
|
return self._SessionExpireTime
|
@@ -17256,12 +17465,19 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
17256
17465
|
<li>取值范围[0, 100]</li>
|
17257
17466
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
17258
17467
|
</ul>
|
17468
|
+
v1目标组类型不支持设置Weight参数。
|
17259
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
|
17260
17474
|
"""
|
17261
17475
|
self._TargetGroupId = None
|
17262
17476
|
self._TargetGroupName = None
|
17263
17477
|
self._Port = None
|
17264
17478
|
self._Weight = None
|
17479
|
+
self._KeepaliveEnable = None
|
17480
|
+
self._SessionExpireTime = None
|
17265
17481
|
|
17266
17482
|
@property
|
17267
17483
|
def TargetGroupId(self):
|
@@ -17303,6 +17519,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
17303
17519
|
<li>取值范围[0, 100]</li>
|
17304
17520
|
<li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
|
17305
17521
|
</ul>
|
17522
|
+
v1目标组类型不支持设置Weight参数。
|
17306
17523
|
:rtype: int
|
17307
17524
|
"""
|
17308
17525
|
return self._Weight
|
@@ -17311,12 +17528,36 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
17311
17528
|
def Weight(self, Weight):
|
17312
17529
|
self._Weight = Weight
|
17313
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
|
+
|
17314
17553
|
|
17315
17554
|
def _deserialize(self, params):
|
17316
17555
|
self._TargetGroupId = params.get("TargetGroupId")
|
17317
17556
|
self._TargetGroupName = params.get("TargetGroupName")
|
17318
17557
|
self._Port = params.get("Port")
|
17319
17558
|
self._Weight = params.get("Weight")
|
17559
|
+
self._KeepaliveEnable = params.get("KeepaliveEnable")
|
17560
|
+
self._SessionExpireTime = params.get("SessionExpireTime")
|
17320
17561
|
memeber_set = set(params.keys())
|
17321
17562
|
for name, value in vars(self).items():
|
17322
17563
|
property_name = name[1:]
|
@@ -17364,7 +17605,7 @@ class ModifyTargetGroupInstancesPortRequest(AbstractModel):
|
|
17364
17605
|
r"""
|
17365
17606
|
:param _TargetGroupId: 目标组ID。
|
17366
17607
|
:type TargetGroupId: str
|
17367
|
-
:param _TargetGroupInstances:
|
17608
|
+
:param _TargetGroupInstances: 待修改端口的服务器数组,在这个接口 NewPort 和 Port 为必填项。
|
17368
17609
|
:type TargetGroupInstances: list of TargetGroupInstance
|
17369
17610
|
"""
|
17370
17611
|
self._TargetGroupId = None
|
@@ -17383,7 +17624,7 @@ class ModifyTargetGroupInstancesPortRequest(AbstractModel):
|
|
17383
17624
|
|
17384
17625
|
@property
|
17385
17626
|
def TargetGroupInstances(self):
|
17386
|
-
"""
|
17627
|
+
"""待修改端口的服务器数组,在这个接口 NewPort 和 Port 为必填项。
|
17387
17628
|
:rtype: list of TargetGroupInstance
|
17388
17629
|
"""
|
17389
17630
|
return self._TargetGroupInstances
|
@@ -17448,7 +17689,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
17448
17689
|
r"""
|
17449
17690
|
:param _TargetGroupId: 目标组ID。
|
17450
17691
|
:type TargetGroupId: str
|
17451
|
-
:param _TargetGroupInstances:
|
17692
|
+
:param _TargetGroupInstances: 待修改权重的服务器数组,在这个接口 Port 为必填项。
|
17452
17693
|
:type TargetGroupInstances: list of TargetGroupInstance
|
17453
17694
|
"""
|
17454
17695
|
self._TargetGroupId = None
|
@@ -17467,7 +17708,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
|
|
17467
17708
|
|
17468
17709
|
@property
|
17469
17710
|
def TargetGroupInstances(self):
|
17470
|
-
"""
|
17711
|
+
"""待修改权重的服务器数组,在这个接口 Port 为必填项。
|
17471
17712
|
:rtype: list of TargetGroupInstance
|
17472
17713
|
"""
|
17473
17714
|
return self._TargetGroupInstances
|
@@ -17922,9 +18163,12 @@ class OAuth(AbstractModel):
|
|
17922
18163
|
:param _OAuthEnable: 开启或关闭鉴权。
|
17923
18164
|
True: 开启;
|
17924
18165
|
False: 关闭
|
18166
|
+
默认为关闭。
|
17925
18167
|
:type OAuthEnable: bool
|
17926
|
-
:param _OAuthFailureStatus: IAP全部故障后,拒绝请求还是放行。
|
18168
|
+
:param _OAuthFailureStatus: IAP全部故障后,拒绝请求还是放行。
|
18169
|
+
BYPASS: 通过
|
17927
18170
|
REJECT: 拒绝
|
18171
|
+
默认为 BYPASS
|
17928
18172
|
:type OAuthFailureStatus: str
|
17929
18173
|
"""
|
17930
18174
|
self._OAuthEnable = None
|
@@ -17935,6 +18179,7 @@ REJECT: 拒绝
|
|
17935
18179
|
"""开启或关闭鉴权。
|
17936
18180
|
True: 开启;
|
17937
18181
|
False: 关闭
|
18182
|
+
默认为关闭。
|
17938
18183
|
:rtype: bool
|
17939
18184
|
"""
|
17940
18185
|
return self._OAuthEnable
|
@@ -17945,8 +18190,10 @@ False: 关闭
|
|
17945
18190
|
|
17946
18191
|
@property
|
17947
18192
|
def OAuthFailureStatus(self):
|
17948
|
-
"""IAP全部故障后,拒绝请求还是放行。
|
18193
|
+
"""IAP全部故障后,拒绝请求还是放行。
|
18194
|
+
BYPASS: 通过
|
17949
18195
|
REJECT: 拒绝
|
18196
|
+
默认为 BYPASS
|
17950
18197
|
:rtype: str
|
17951
18198
|
"""
|
17952
18199
|
return self._OAuthFailureStatus
|
@@ -18058,8 +18305,9 @@ class Quota(AbstractModel):
|
|
18058
18305
|
<li> TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额 </li>
|
18059
18306
|
<li> TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额 </li>
|
18060
18307
|
<li> TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额 </li>
|
18061
|
-
<li>
|
18308
|
+
<li> TOTAL_SNAT_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额 </li>
|
18062
18309
|
<li>TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额 </li>
|
18310
|
+
<li>TOTAL_FULL_PORT_RANGE_LISTENER_QUOTA:一个CLB实例下的单个协议全端口段监听器配额</li>
|
18063
18311
|
:type QuotaId: str
|
18064
18312
|
:param _QuotaCurrent: 当前使用数量,为 null 时表示无意义。
|
18065
18313
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -18079,8 +18327,9 @@ class Quota(AbstractModel):
|
|
18079
18327
|
<li> TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额 </li>
|
18080
18328
|
<li> TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额 </li>
|
18081
18329
|
<li> TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额 </li>
|
18082
|
-
<li>
|
18330
|
+
<li> TOTAL_SNAT_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额 </li>
|
18083
18331
|
<li>TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额 </li>
|
18332
|
+
<li>TOTAL_FULL_PORT_RANGE_LISTENER_QUOTA:一个CLB实例下的单个协议全端口段监听器配额</li>
|
18084
18333
|
:rtype: str
|
18085
18334
|
"""
|
18086
18335
|
return self._QuotaId
|
@@ -18280,7 +18529,7 @@ class RegisterTargetGroupInstancesRequest(AbstractModel):
|
|
18280
18529
|
r"""
|
18281
18530
|
:param _TargetGroupId: 目标组ID
|
18282
18531
|
:type TargetGroupId: str
|
18283
|
-
:param _TargetGroupInstances:
|
18532
|
+
:param _TargetGroupInstances: 服务器实例数组,服务器和目标组的 VPC 需相同。
|
18284
18533
|
:type TargetGroupInstances: list of TargetGroupInstance
|
18285
18534
|
"""
|
18286
18535
|
self._TargetGroupId = None
|
@@ -18299,7 +18548,7 @@ class RegisterTargetGroupInstancesRequest(AbstractModel):
|
|
18299
18548
|
|
18300
18549
|
@property
|
18301
18550
|
def TargetGroupInstances(self):
|
18302
|
-
"""
|
18551
|
+
"""服务器实例数组,服务器和目标组的 VPC 需相同。
|
18303
18552
|
:rtype: list of TargetGroupInstance
|
18304
18553
|
"""
|
18305
18554
|
return self._TargetGroupInstances
|
@@ -18368,7 +18617,7 @@ class RegisterTargetsRequest(AbstractModel):
|
|
18368
18617
|
:type ListenerId: str
|
18369
18618
|
:param _Targets: 待绑定的后端服务列表,数组长度最大支持20。
|
18370
18619
|
:type Targets: list of Target
|
18371
|
-
:param _LocationId: 转发规则的ID
|
18620
|
+
:param _LocationId: 转发规则的ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取,当绑定后端服务到七层转发规则时,必须提供此参数或Domain+Url两者之一。
|
18372
18621
|
:type LocationId: str
|
18373
18622
|
:param _Domain: 目标转发规则的域名,提供LocationId参数时本参数不生效。
|
18374
18623
|
:type Domain: str
|
@@ -18417,7 +18666,7 @@ class RegisterTargetsRequest(AbstractModel):
|
|
18417
18666
|
|
18418
18667
|
@property
|
18419
18668
|
def LocationId(self):
|
18420
|
-
"""转发规则的ID
|
18669
|
+
"""转发规则的ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取,当绑定后端服务到七层转发规则时,必须提供此参数或Domain+Url两者之一。
|
18421
18670
|
:rtype: str
|
18422
18671
|
"""
|
18423
18672
|
return self._LocationId
|
@@ -19322,7 +19571,7 @@ class RuleInput(AbstractModel):
|
|
19322
19571
|
:param _Scheduler: 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH
|
19323
19572
|
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
|
19324
19573
|
:type Scheduler: str
|
19325
|
-
:param _ForwardType: 负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/TRPC,TRPC暂未对外开放,默认HTTP。
|
19574
|
+
:param _ForwardType: 负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。
|
19326
19575
|
:type ForwardType: str
|
19327
19576
|
:param _DefaultServer: 是否将该域名设为默认域名,注意,一个监听器下只能设置一个默认域名。
|
19328
19577
|
:type DefaultServer: bool
|
@@ -19426,7 +19675,7 @@ class RuleInput(AbstractModel):
|
|
19426
19675
|
|
19427
19676
|
@property
|
19428
19677
|
def ForwardType(self):
|
19429
|
-
"""负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/TRPC,TRPC暂未对外开放,默认HTTP。
|
19678
|
+
"""负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。
|
19430
19679
|
:rtype: str
|
19431
19680
|
"""
|
19432
19681
|
return self._ForwardType
|
@@ -20160,7 +20409,7 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20160
20409
|
def __init__(self):
|
20161
20410
|
r"""
|
20162
20411
|
:param _OperationType: 操作类型。
|
20163
|
-
- ADD
|
20412
|
+
- ADD:创建
|
20164
20413
|
- DELETE:删除
|
20165
20414
|
- UPDATE:修改
|
20166
20415
|
- BIND:绑定
|
@@ -20168,11 +20417,13 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20168
20417
|
:type OperationType: str
|
20169
20418
|
:param _UconfigId: 个性化配置ID。除了创建个性化配置外,必传此字段,如:pz-1234abcd
|
20170
20419
|
:type UconfigId: str
|
20171
|
-
:param _ConfigContent:
|
20420
|
+
:param _ConfigContent: 个性化配置内容。创建个性化配置或修改个性化配置的内容时,必传此字段。
|
20421
|
+
具体限制查看 [七层个性化配置](https://cloud.tencent.com/document/product/214/15171)
|
20172
20422
|
:type ConfigContent: str
|
20173
|
-
:param _ConfigName:
|
20423
|
+
:param _ConfigName: 个性化配置名称。创建个性化配置或修改个性化配置的名字时,必传此字段。
|
20174
20424
|
:type ConfigName: str
|
20175
|
-
:param _LoadBalancerIds: 负载均衡实例ID
|
20425
|
+
:param _LoadBalancerIds: 负载均衡实例ID。绑定解绑时,必传此字段。
|
20426
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20176
20427
|
:type LoadBalancerIds: list of str
|
20177
20428
|
"""
|
20178
20429
|
self._OperationType = None
|
@@ -20184,7 +20435,7 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20184
20435
|
@property
|
20185
20436
|
def OperationType(self):
|
20186
20437
|
"""操作类型。
|
20187
|
-
- ADD
|
20438
|
+
- ADD:创建
|
20188
20439
|
- DELETE:删除
|
20189
20440
|
- UPDATE:修改
|
20190
20441
|
- BIND:绑定
|
@@ -20210,7 +20461,8 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20210
20461
|
|
20211
20462
|
@property
|
20212
20463
|
def ConfigContent(self):
|
20213
|
-
"""
|
20464
|
+
"""个性化配置内容。创建个性化配置或修改个性化配置的内容时,必传此字段。
|
20465
|
+
具体限制查看 [七层个性化配置](https://cloud.tencent.com/document/product/214/15171)
|
20214
20466
|
:rtype: str
|
20215
20467
|
"""
|
20216
20468
|
return self._ConfigContent
|
@@ -20221,7 +20473,7 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20221
20473
|
|
20222
20474
|
@property
|
20223
20475
|
def ConfigName(self):
|
20224
|
-
"""
|
20476
|
+
"""个性化配置名称。创建个性化配置或修改个性化配置的名字时,必传此字段。
|
20225
20477
|
:rtype: str
|
20226
20478
|
"""
|
20227
20479
|
return self._ConfigName
|
@@ -20232,7 +20484,8 @@ class SetCustomizedConfigForLoadBalancerRequest(AbstractModel):
|
|
20232
20484
|
|
20233
20485
|
@property
|
20234
20486
|
def LoadBalancerIds(self):
|
20235
|
-
"""负载均衡实例ID
|
20487
|
+
"""负载均衡实例ID。绑定解绑时,必传此字段。
|
20488
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20236
20489
|
:rtype: list of str
|
20237
20490
|
"""
|
20238
20491
|
return self._LoadBalancerIds
|
@@ -20308,7 +20561,7 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
|
|
20308
20561
|
|
20309
20562
|
def __init__(self):
|
20310
20563
|
r"""
|
20311
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
20564
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20312
20565
|
:type LoadBalancerId: str
|
20313
20566
|
:param _LogSetId: 日志服务(CLS)的日志集 ID。
|
20314
20567
|
<li>增加和更新日志主题时可调用 [DescribeLogsets](https://cloud.tencent.com/document/product/614/58624) 接口获取日志集 ID。</li>
|
@@ -20331,7 +20584,7 @@ class SetLoadBalancerClsLogRequest(AbstractModel):
|
|
20331
20584
|
|
20332
20585
|
@property
|
20333
20586
|
def LoadBalancerId(self):
|
20334
|
-
"""负载均衡实例 ID
|
20587
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20335
20588
|
:rtype: str
|
20336
20589
|
"""
|
20337
20590
|
return self._LoadBalancerId
|
@@ -20431,9 +20684,10 @@ class SetLoadBalancerSecurityGroupsRequest(AbstractModel):
|
|
20431
20684
|
|
20432
20685
|
def __init__(self):
|
20433
20686
|
r"""
|
20434
|
-
:param _LoadBalancerId: 负载均衡实例 ID
|
20687
|
+
:param _LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20435
20688
|
:type LoadBalancerId: str
|
20436
20689
|
:param _SecurityGroups: 安全组ID构成的数组,一个负载均衡实例最多可绑定50个安全组,如果要解绑所有安全组,可不传此参数。
|
20690
|
+
可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口查询。
|
20437
20691
|
:type SecurityGroups: list of str
|
20438
20692
|
"""
|
20439
20693
|
self._LoadBalancerId = None
|
@@ -20441,7 +20695,7 @@ class SetLoadBalancerSecurityGroupsRequest(AbstractModel):
|
|
20441
20695
|
|
20442
20696
|
@property
|
20443
20697
|
def LoadBalancerId(self):
|
20444
|
-
"""负载均衡实例 ID
|
20698
|
+
"""负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20445
20699
|
:rtype: str
|
20446
20700
|
"""
|
20447
20701
|
return self._LoadBalancerId
|
@@ -20453,6 +20707,7 @@ class SetLoadBalancerSecurityGroupsRequest(AbstractModel):
|
|
20453
20707
|
@property
|
20454
20708
|
def SecurityGroups(self):
|
20455
20709
|
"""安全组ID构成的数组,一个负载均衡实例最多可绑定50个安全组,如果要解绑所有安全组,可不传此参数。
|
20710
|
+
可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口查询。
|
20456
20711
|
:rtype: list of str
|
20457
20712
|
"""
|
20458
20713
|
return self._SecurityGroups
|
@@ -20604,12 +20859,13 @@ class SetSecurityGroupForLoadbalancersRequest(AbstractModel):
|
|
20604
20859
|
|
20605
20860
|
def __init__(self):
|
20606
20861
|
r"""
|
20607
|
-
:param _SecurityGroup: 安全组ID,如 sg-12345678
|
20862
|
+
:param _SecurityGroup: 安全组ID,如 sg-12345678。可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口获取。
|
20608
20863
|
:type SecurityGroup: str
|
20609
20864
|
:param _OperationType: ADD 绑定安全组;
|
20610
20865
|
DEL 解绑安全组
|
20611
20866
|
:type OperationType: str
|
20612
|
-
:param _LoadBalancerIds: 负载均衡实例ID
|
20867
|
+
:param _LoadBalancerIds: 负载均衡实例ID数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20868
|
+
列表支持的最大长度为20。
|
20613
20869
|
:type LoadBalancerIds: list of str
|
20614
20870
|
"""
|
20615
20871
|
self._SecurityGroup = None
|
@@ -20618,7 +20874,7 @@ DEL 解绑安全组
|
|
20618
20874
|
|
20619
20875
|
@property
|
20620
20876
|
def SecurityGroup(self):
|
20621
|
-
"""安全组ID,如 sg-12345678
|
20877
|
+
"""安全组ID,如 sg-12345678。可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口获取。
|
20622
20878
|
:rtype: str
|
20623
20879
|
"""
|
20624
20880
|
return self._SecurityGroup
|
@@ -20641,7 +20897,8 @@ DEL 解绑安全组
|
|
20641
20897
|
|
20642
20898
|
@property
|
20643
20899
|
def LoadBalancerIds(self):
|
20644
|
-
"""负载均衡实例ID
|
20900
|
+
"""负载均衡实例ID数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20901
|
+
列表支持的最大长度为20。
|
20645
20902
|
:rtype: list of str
|
20646
20903
|
"""
|
20647
20904
|
return self._LoadBalancerIds
|
@@ -20700,7 +20957,8 @@ class SlaUpdateParam(AbstractModel):
|
|
20700
20957
|
|
20701
20958
|
def __init__(self):
|
20702
20959
|
r"""
|
20703
|
-
:param _LoadBalancerId:
|
20960
|
+
:param _LoadBalancerId: 负载均衡实例 ID。
|
20961
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20704
20962
|
:type LoadBalancerId: str
|
20705
20963
|
:param _SlaType: 性能容量型规格,取值范围:
|
20706
20964
|
<li> clb.c2.medium:标准型规格 </li>
|
@@ -20717,7 +20975,8 @@ class SlaUpdateParam(AbstractModel):
|
|
20717
20975
|
|
20718
20976
|
@property
|
20719
20977
|
def LoadBalancerId(self):
|
20720
|
-
"""
|
20978
|
+
"""负载均衡实例 ID。
|
20979
|
+
可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
|
20721
20980
|
:rtype: str
|
20722
20981
|
"""
|
20723
20982
|
return self._LoadBalancerId
|
@@ -21579,8 +21838,8 @@ class TargetGroupInstance(AbstractModel):
|
|
21579
21838
|
:param _Port: 目标组实例的端口,全监听目标组不支持传此字段。
|
21580
21839
|
:type Port: int
|
21581
21840
|
:param _Weight: 目标组实例的权重
|
21582
|
-
|
21583
21841
|
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
|
21842
|
+
取值范围:0-100
|
21584
21843
|
:type Weight: int
|
21585
21844
|
:param _NewPort: 目标组实例的新端口,全监听目标组不支持传此字段。
|
21586
21845
|
:type NewPort: int
|
@@ -21615,8 +21874,8 @@ v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时
|
|
21615
21874
|
@property
|
21616
21875
|
def Weight(self):
|
21617
21876
|
"""目标组实例的权重
|
21618
|
-
|
21619
21877
|
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
|
21878
|
+
取值范围:0-100
|
21620
21879
|
:rtype: int
|
21621
21880
|
"""
|
21622
21881
|
return self._Weight
|