tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -3783,72 +3783,63 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3783
3783
|
|
|
3784
3784
|
def __init__(self):
|
|
3785
3785
|
r"""
|
|
3786
|
-
:param _LoadBalancerId:
|
|
3786
|
+
:param _LoadBalancerId: <p>负载均衡实例 ID,可以通过 <a href="https://cloud.tencent.com/document/product/214/30685">DescribeLoadBalancers</a> 接口获取。</p>
|
|
3787
3787
|
:type LoadBalancerId: str
|
|
3788
|
-
:param _Ports:
|
|
3789
|
-
端口范围:1~65535
|
|
3788
|
+
:param _Ports: <p>要将监听器创建到哪些端口,每个端口对应一个新的监听器。端口范围:1~65535</p>
|
|
3790
3789
|
:type Ports: list of int
|
|
3791
|
-
:param _Protocol:
|
|
3790
|
+
:param _Protocol: <p>监听器协议: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC。</p>
|
|
3792
3791
|
:type Protocol: str
|
|
3793
|
-
:param _ListenerNames:
|
|
3792
|
+
:param _ListenerNames: <p>要创建的监听器名称列表,名称与Ports数组按序一一对应,如不需立即命名,则无需提供此参数。</p>
|
|
3794
3793
|
:type ListenerNames: list of str
|
|
3795
|
-
:param _HealthCheck:
|
|
3794
|
+
:param _HealthCheck: <p>健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。</p>
|
|
3796
3795
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
3797
|
-
:param _Certificate:
|
|
3798
|
-
<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>
|
|
3799
|
-
<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。</li>
|
|
3796
|
+
:param _Certificate: <p>证书相关信息。参数限制如下:<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li><li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。</li></p>
|
|
3800
3797
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
|
3801
|
-
:param _SessionExpireTime:
|
|
3798
|
+
:param _SessionExpireTime: <p>会话保持时间,单位:秒。可选值:30~3600,默认为0,默认不开启。此参数仅适用于TCP/UDP监听器。</p>
|
|
3802
3799
|
:type SessionExpireTime: int
|
|
3803
|
-
:param _Scheduler:
|
|
3804
|
-
默认为 WRR。此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
|
3800
|
+
:param _Scheduler: <p>监听器转发的方式。可选值:WRR(按权重轮询)、LEAST_CONN(按最小连接数)默认为 WRR。此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。</p>
|
|
3805
3801
|
:type Scheduler: str
|
|
3806
|
-
:param _SniSwitch:
|
|
3802
|
+
:param _SniSwitch: <p>是否开启SNI特性,此参数仅适用于HTTPS监听器。0表示未开启,1表示开启。</p>
|
|
3807
3803
|
:type SniSwitch: int
|
|
3808
|
-
:param _TargetType:
|
|
3804
|
+
:param _TargetType: <p>后端目标类型,NODE表示绑定普通节点,TARGETGROUP表示绑定目标组。此参数仅适用于TCP/UDP监听器。七层监听器应在转发规则中设置。</p>
|
|
3809
3805
|
:type TargetType: str
|
|
3810
|
-
:param _SessionType:
|
|
3806
|
+
:param _SessionType: <p>会话保持类型。不传或传NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。此参数仅适用于TCP/UDP监听器。七层监听器应在转发规则中设置。(若选择QUIC_CID,则Protocol必须为UDP,Scheduler必须为WRR,同时只支持ipv4)</p>
|
|
3811
3807
|
:type SessionType: str
|
|
3812
|
-
:param _KeepaliveEnable:
|
|
3813
|
-
若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 [内测申请](https://cloud.tencent.com/apply/p/tsodp6qm21)。
|
|
3808
|
+
:param _KeepaliveEnable: <p>是否开启长连接,此参数仅适用于HTTP/HTTPS监听器,0:关闭;1:开启, 默认关闭。若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 <a href="https://cloud.tencent.com/apply/p/tsodp6qm21">内测申请</a>。</p>
|
|
3814
3809
|
:type KeepaliveEnable: int
|
|
3815
|
-
:param _EndPort:
|
|
3810
|
+
:param _EndPort: <p>创建端口段监听器时必须传入此参数,用以标识结束端口。同时,入参Ports只允许传入一个成员,用以标识开始端口。【如果您需要体验端口段功能,请通过 <a href="https://console.cloud.tencent.com/workorder/category">工单申请</a>】。</p>
|
|
3816
3811
|
:type EndPort: int
|
|
3817
|
-
:param _DeregisterTargetRst:
|
|
3812
|
+
:param _DeregisterTargetRst: <p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
3818
3813
|
:type DeregisterTargetRst: bool
|
|
3819
|
-
:param _MultiCertInfo:
|
|
3820
|
-
<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>
|
|
3821
|
-
<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。</li>
|
|
3814
|
+
:param _MultiCertInfo: <p>证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li><li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。</li></p>
|
|
3822
3815
|
:type MultiCertInfo: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
|
3823
|
-
:param _MaxConn:
|
|
3816
|
+
:param _MaxConn: <p>监听器最大连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。</p>
|
|
3824
3817
|
:type MaxConn: int
|
|
3825
|
-
:param _MaxCps:
|
|
3818
|
+
:param _MaxCps: <p>监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。</p>
|
|
3826
3819
|
:type MaxCps: int
|
|
3827
|
-
:param _IdleConnectTimeout:
|
|
3820
|
+
:param _IdleConnectTimeout: <p>空闲连接超时时间,此参数仅适用于TCP/UDP监听器,单位:秒。默认值:TCP监听器默认值为900s,UDP监听器默认值为300s。取值范围:共享型实例和独占型实例支持:10-900,性能容量型实例支持:10-1980。如需设置超过取值范围的值请通过 <a href="https://console.cloud.tencent.com/workorder/category">工单申请</a>。</p>
|
|
3828
3821
|
:type IdleConnectTimeout: int
|
|
3829
|
-
:param _ProxyProtocol: TCP_SSL和QUIC是否支持PP
|
|
3822
|
+
:param _ProxyProtocol: <p>TCP_SSL和QUIC是否支持PP</p>
|
|
3830
3823
|
:type ProxyProtocol: bool
|
|
3831
|
-
:param _SnatEnable:
|
|
3824
|
+
:param _SnatEnable: <p>是否开启SNAT(源IP替换),True(开启)、False(关闭)。默认为关闭。注意:SnatEnable开启时会替换客户端源IP,此时<code>透传客户端源IP</code>选项关闭,反之亦然。</p>
|
|
3832
3825
|
:type SnatEnable: bool
|
|
3833
|
-
:param _FullEndPorts:
|
|
3826
|
+
:param _FullEndPorts: <p>全端口段监听器的结束端口,端口范围:2 - 65535</p>
|
|
3834
3827
|
:type FullEndPorts: list of int
|
|
3835
|
-
:param _H2cSwitch:
|
|
3836
|
-
默认为关闭。
|
|
3828
|
+
:param _H2cSwitch: <p>内网http监听器开启h2c开关,True(开启)、False(关闭)。默认为关闭。</p>
|
|
3837
3829
|
:type H2cSwitch: bool
|
|
3838
|
-
:param _SslCloseSwitch: TCP_SSL
|
|
3839
|
-
默认为关闭。
|
|
3830
|
+
:param _SslCloseSwitch: <p>控制 TCP_SSL 类型的监听器是否移除 SSL 加密层。开启后,监听器将作为普通 TCP 协议运行。 可选值:- True: 关闭 SSL 功能(协议降级为纯文本 TCP)。- False(默认): 保持 SSL 功能开启。</p>
|
|
3840
3831
|
:type SslCloseSwitch: bool
|
|
3841
|
-
:param _DataCompressMode:
|
|
3832
|
+
:param _DataCompressMode: <p>数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)</p>
|
|
3842
3833
|
:type DataCompressMode: str
|
|
3843
|
-
:param _RescheduleTargetZeroWeight:
|
|
3834
|
+
:param _RescheduleTargetZeroWeight: <p>重新调度功能,权重调为0开关,打开此开关,后端服务器权重调为0时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
3844
3835
|
:type RescheduleTargetZeroWeight: bool
|
|
3845
|
-
:param _RescheduleUnhealthy:
|
|
3836
|
+
:param _RescheduleUnhealthy: <p>重新调度功能,健康检查异常开关,打开此开关,后端服务器健康检查异常时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
3846
3837
|
:type RescheduleUnhealthy: bool
|
|
3847
|
-
:param _RescheduleExpandTarget:
|
|
3838
|
+
:param _RescheduleExpandTarget: <p>重新调度功能,扩容后端服务开关,打开此开关,后端服务器增加或者减少时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
3848
3839
|
:type RescheduleExpandTarget: bool
|
|
3849
|
-
:param _RescheduleStartTime:
|
|
3840
|
+
:param _RescheduleStartTime: <p>重新调度触发开始时间,取值0~3600s。仅TCP/UDP监听器支持。</p>
|
|
3850
3841
|
:type RescheduleStartTime: int
|
|
3851
|
-
:param _RescheduleInterval:
|
|
3842
|
+
:param _RescheduleInterval: <p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。</p>
|
|
3852
3843
|
:type RescheduleInterval: int
|
|
3853
3844
|
"""
|
|
3854
3845
|
self._LoadBalancerId = None
|
|
@@ -3883,7 +3874,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3883
3874
|
|
|
3884
3875
|
@property
|
|
3885
3876
|
def LoadBalancerId(self):
|
|
3886
|
-
r"""
|
|
3877
|
+
r"""<p>负载均衡实例 ID,可以通过 <a href="https://cloud.tencent.com/document/product/214/30685">DescribeLoadBalancers</a> 接口获取。</p>
|
|
3887
3878
|
:rtype: str
|
|
3888
3879
|
"""
|
|
3889
3880
|
return self._LoadBalancerId
|
|
@@ -3894,8 +3885,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3894
3885
|
|
|
3895
3886
|
@property
|
|
3896
3887
|
def Ports(self):
|
|
3897
|
-
r"""
|
|
3898
|
-
端口范围:1~65535
|
|
3888
|
+
r"""<p>要将监听器创建到哪些端口,每个端口对应一个新的监听器。端口范围:1~65535</p>
|
|
3899
3889
|
:rtype: list of int
|
|
3900
3890
|
"""
|
|
3901
3891
|
return self._Ports
|
|
@@ -3906,7 +3896,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3906
3896
|
|
|
3907
3897
|
@property
|
|
3908
3898
|
def Protocol(self):
|
|
3909
|
-
r"""
|
|
3899
|
+
r"""<p>监听器协议: TCP | UDP | HTTP | HTTPS | TCP_SSL | QUIC。</p>
|
|
3910
3900
|
:rtype: str
|
|
3911
3901
|
"""
|
|
3912
3902
|
return self._Protocol
|
|
@@ -3917,7 +3907,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3917
3907
|
|
|
3918
3908
|
@property
|
|
3919
3909
|
def ListenerNames(self):
|
|
3920
|
-
r"""
|
|
3910
|
+
r"""<p>要创建的监听器名称列表,名称与Ports数组按序一一对应,如不需立即命名,则无需提供此参数。</p>
|
|
3921
3911
|
:rtype: list of str
|
|
3922
3912
|
"""
|
|
3923
3913
|
return self._ListenerNames
|
|
@@ -3928,7 +3918,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3928
3918
|
|
|
3929
3919
|
@property
|
|
3930
3920
|
def HealthCheck(self):
|
|
3931
|
-
r"""
|
|
3921
|
+
r"""<p>健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。</p>
|
|
3932
3922
|
:rtype: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
3933
3923
|
"""
|
|
3934
3924
|
return self._HealthCheck
|
|
@@ -3939,9 +3929,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3939
3929
|
|
|
3940
3930
|
@property
|
|
3941
3931
|
def Certificate(self):
|
|
3942
|
-
r"""
|
|
3943
|
-
<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>
|
|
3944
|
-
<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。</li>
|
|
3932
|
+
r"""<p>证书相关信息。参数限制如下:<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li><li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。</li></p>
|
|
3945
3933
|
:rtype: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
|
3946
3934
|
"""
|
|
3947
3935
|
return self._Certificate
|
|
@@ -3952,7 +3940,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3952
3940
|
|
|
3953
3941
|
@property
|
|
3954
3942
|
def SessionExpireTime(self):
|
|
3955
|
-
r"""
|
|
3943
|
+
r"""<p>会话保持时间,单位:秒。可选值:30~3600,默认为0,默认不开启。此参数仅适用于TCP/UDP监听器。</p>
|
|
3956
3944
|
:rtype: int
|
|
3957
3945
|
"""
|
|
3958
3946
|
return self._SessionExpireTime
|
|
@@ -3963,8 +3951,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3963
3951
|
|
|
3964
3952
|
@property
|
|
3965
3953
|
def Scheduler(self):
|
|
3966
|
-
r"""
|
|
3967
|
-
默认为 WRR。此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。
|
|
3954
|
+
r"""<p>监听器转发的方式。可选值:WRR(按权重轮询)、LEAST_CONN(按最小连接数)默认为 WRR。此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。</p>
|
|
3968
3955
|
:rtype: str
|
|
3969
3956
|
"""
|
|
3970
3957
|
return self._Scheduler
|
|
@@ -3975,7 +3962,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3975
3962
|
|
|
3976
3963
|
@property
|
|
3977
3964
|
def SniSwitch(self):
|
|
3978
|
-
r"""
|
|
3965
|
+
r"""<p>是否开启SNI特性,此参数仅适用于HTTPS监听器。0表示未开启,1表示开启。</p>
|
|
3979
3966
|
:rtype: int
|
|
3980
3967
|
"""
|
|
3981
3968
|
return self._SniSwitch
|
|
@@ -3986,7 +3973,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3986
3973
|
|
|
3987
3974
|
@property
|
|
3988
3975
|
def TargetType(self):
|
|
3989
|
-
r"""
|
|
3976
|
+
r"""<p>后端目标类型,NODE表示绑定普通节点,TARGETGROUP表示绑定目标组。此参数仅适用于TCP/UDP监听器。七层监听器应在转发规则中设置。</p>
|
|
3990
3977
|
:rtype: str
|
|
3991
3978
|
"""
|
|
3992
3979
|
return self._TargetType
|
|
@@ -3997,7 +3984,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
3997
3984
|
|
|
3998
3985
|
@property
|
|
3999
3986
|
def SessionType(self):
|
|
4000
|
-
r"""
|
|
3987
|
+
r"""<p>会话保持类型。不传或传NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。此参数仅适用于TCP/UDP监听器。七层监听器应在转发规则中设置。(若选择QUIC_CID,则Protocol必须为UDP,Scheduler必须为WRR,同时只支持ipv4)</p>
|
|
4001
3988
|
:rtype: str
|
|
4002
3989
|
"""
|
|
4003
3990
|
return self._SessionType
|
|
@@ -4008,8 +3995,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4008
3995
|
|
|
4009
3996
|
@property
|
|
4010
3997
|
def KeepaliveEnable(self):
|
|
4011
|
-
r"""
|
|
4012
|
-
若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 [内测申请](https://cloud.tencent.com/apply/p/tsodp6qm21)。
|
|
3998
|
+
r"""<p>是否开启长连接,此参数仅适用于HTTP/HTTPS监听器,0:关闭;1:开启, 默认关闭。若后端服务对连接数上限有限制,则建议谨慎开启。此功能目前处于内测中,如需使用,请提交 <a href="https://cloud.tencent.com/apply/p/tsodp6qm21">内测申请</a>。</p>
|
|
4013
3999
|
:rtype: int
|
|
4014
4000
|
"""
|
|
4015
4001
|
return self._KeepaliveEnable
|
|
@@ -4020,7 +4006,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4020
4006
|
|
|
4021
4007
|
@property
|
|
4022
4008
|
def EndPort(self):
|
|
4023
|
-
r"""
|
|
4009
|
+
r"""<p>创建端口段监听器时必须传入此参数,用以标识结束端口。同时,入参Ports只允许传入一个成员,用以标识开始端口。【如果您需要体验端口段功能,请通过 <a href="https://console.cloud.tencent.com/workorder/category">工单申请</a>】。</p>
|
|
4024
4010
|
:rtype: int
|
|
4025
4011
|
"""
|
|
4026
4012
|
return self._EndPort
|
|
@@ -4031,7 +4017,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4031
4017
|
|
|
4032
4018
|
@property
|
|
4033
4019
|
def DeregisterTargetRst(self):
|
|
4034
|
-
r"""
|
|
4020
|
+
r"""<p>重新调度功能,解绑后端服务开关,打开此开关,当解绑后端服务时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
4035
4021
|
:rtype: bool
|
|
4036
4022
|
"""
|
|
4037
4023
|
return self._DeregisterTargetRst
|
|
@@ -4042,9 +4028,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4042
4028
|
|
|
4043
4029
|
@property
|
|
4044
4030
|
def MultiCertInfo(self):
|
|
4045
|
-
r"""
|
|
4046
|
-
<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>
|
|
4047
|
-
<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。</li>
|
|
4031
|
+
r"""<p>证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li><li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。</li></p>
|
|
4048
4032
|
:rtype: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
|
4049
4033
|
"""
|
|
4050
4034
|
return self._MultiCertInfo
|
|
@@ -4055,7 +4039,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4055
4039
|
|
|
4056
4040
|
@property
|
|
4057
4041
|
def MaxConn(self):
|
|
4058
|
-
r"""
|
|
4042
|
+
r"""<p>监听器最大连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。</p>
|
|
4059
4043
|
:rtype: int
|
|
4060
4044
|
"""
|
|
4061
4045
|
return self._MaxConn
|
|
@@ -4066,7 +4050,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4066
4050
|
|
|
4067
4051
|
@property
|
|
4068
4052
|
def MaxCps(self):
|
|
4069
|
-
r"""
|
|
4053
|
+
r"""<p>监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。</p>
|
|
4070
4054
|
:rtype: int
|
|
4071
4055
|
"""
|
|
4072
4056
|
return self._MaxCps
|
|
@@ -4077,7 +4061,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4077
4061
|
|
|
4078
4062
|
@property
|
|
4079
4063
|
def IdleConnectTimeout(self):
|
|
4080
|
-
r"""
|
|
4064
|
+
r"""<p>空闲连接超时时间,此参数仅适用于TCP/UDP监听器,单位:秒。默认值:TCP监听器默认值为900s,UDP监听器默认值为300s。取值范围:共享型实例和独占型实例支持:10-900,性能容量型实例支持:10-1980。如需设置超过取值范围的值请通过 <a href="https://console.cloud.tencent.com/workorder/category">工单申请</a>。</p>
|
|
4081
4065
|
:rtype: int
|
|
4082
4066
|
"""
|
|
4083
4067
|
return self._IdleConnectTimeout
|
|
@@ -4088,7 +4072,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4088
4072
|
|
|
4089
4073
|
@property
|
|
4090
4074
|
def ProxyProtocol(self):
|
|
4091
|
-
r"""TCP_SSL和QUIC是否支持PP
|
|
4075
|
+
r"""<p>TCP_SSL和QUIC是否支持PP</p>
|
|
4092
4076
|
:rtype: bool
|
|
4093
4077
|
"""
|
|
4094
4078
|
return self._ProxyProtocol
|
|
@@ -4099,7 +4083,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4099
4083
|
|
|
4100
4084
|
@property
|
|
4101
4085
|
def SnatEnable(self):
|
|
4102
|
-
r"""
|
|
4086
|
+
r"""<p>是否开启SNAT(源IP替换),True(开启)、False(关闭)。默认为关闭。注意:SnatEnable开启时会替换客户端源IP,此时<code>透传客户端源IP</code>选项关闭,反之亦然。</p>
|
|
4103
4087
|
:rtype: bool
|
|
4104
4088
|
"""
|
|
4105
4089
|
return self._SnatEnable
|
|
@@ -4110,7 +4094,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4110
4094
|
|
|
4111
4095
|
@property
|
|
4112
4096
|
def FullEndPorts(self):
|
|
4113
|
-
r"""
|
|
4097
|
+
r"""<p>全端口段监听器的结束端口,端口范围:2 - 65535</p>
|
|
4114
4098
|
:rtype: list of int
|
|
4115
4099
|
"""
|
|
4116
4100
|
return self._FullEndPorts
|
|
@@ -4121,8 +4105,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4121
4105
|
|
|
4122
4106
|
@property
|
|
4123
4107
|
def H2cSwitch(self):
|
|
4124
|
-
r"""
|
|
4125
|
-
默认为关闭。
|
|
4108
|
+
r"""<p>内网http监听器开启h2c开关,True(开启)、False(关闭)。默认为关闭。</p>
|
|
4126
4109
|
:rtype: bool
|
|
4127
4110
|
"""
|
|
4128
4111
|
return self._H2cSwitch
|
|
@@ -4133,8 +4116,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4133
4116
|
|
|
4134
4117
|
@property
|
|
4135
4118
|
def SslCloseSwitch(self):
|
|
4136
|
-
r"""TCP_SSL
|
|
4137
|
-
默认为关闭。
|
|
4119
|
+
r"""<p>控制 TCP_SSL 类型的监听器是否移除 SSL 加密层。开启后,监听器将作为普通 TCP 协议运行。 可选值:- True: 关闭 SSL 功能(协议降级为纯文本 TCP)。- False(默认): 保持 SSL 功能开启。</p>
|
|
4138
4120
|
:rtype: bool
|
|
4139
4121
|
"""
|
|
4140
4122
|
return self._SslCloseSwitch
|
|
@@ -4145,7 +4127,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4145
4127
|
|
|
4146
4128
|
@property
|
|
4147
4129
|
def DataCompressMode(self):
|
|
4148
|
-
r"""
|
|
4130
|
+
r"""<p>数据压缩模式。可选值:transparent(透传模式)、compatibility(兼容模式)</p>
|
|
4149
4131
|
:rtype: str
|
|
4150
4132
|
"""
|
|
4151
4133
|
return self._DataCompressMode
|
|
@@ -4156,7 +4138,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4156
4138
|
|
|
4157
4139
|
@property
|
|
4158
4140
|
def RescheduleTargetZeroWeight(self):
|
|
4159
|
-
r"""
|
|
4141
|
+
r"""<p>重新调度功能,权重调为0开关,打开此开关,后端服务器权重调为0时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
4160
4142
|
:rtype: bool
|
|
4161
4143
|
"""
|
|
4162
4144
|
return self._RescheduleTargetZeroWeight
|
|
@@ -4167,7 +4149,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4167
4149
|
|
|
4168
4150
|
@property
|
|
4169
4151
|
def RescheduleUnhealthy(self):
|
|
4170
|
-
r"""
|
|
4152
|
+
r"""<p>重新调度功能,健康检查异常开关,打开此开关,后端服务器健康检查异常时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
4171
4153
|
:rtype: bool
|
|
4172
4154
|
"""
|
|
4173
4155
|
return self._RescheduleUnhealthy
|
|
@@ -4178,7 +4160,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4178
4160
|
|
|
4179
4161
|
@property
|
|
4180
4162
|
def RescheduleExpandTarget(self):
|
|
4181
|
-
r"""
|
|
4163
|
+
r"""<p>重新调度功能,扩容后端服务开关,打开此开关,后端服务器增加或者减少时触发重新调度。仅TCP/UDP监听器支持。</p>
|
|
4182
4164
|
:rtype: bool
|
|
4183
4165
|
"""
|
|
4184
4166
|
return self._RescheduleExpandTarget
|
|
@@ -4189,7 +4171,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4189
4171
|
|
|
4190
4172
|
@property
|
|
4191
4173
|
def RescheduleStartTime(self):
|
|
4192
|
-
r"""
|
|
4174
|
+
r"""<p>重新调度触发开始时间,取值0~3600s。仅TCP/UDP监听器支持。</p>
|
|
4193
4175
|
:rtype: int
|
|
4194
4176
|
"""
|
|
4195
4177
|
return self._RescheduleStartTime
|
|
@@ -4200,7 +4182,7 @@ class CreateListenerRequest(AbstractModel):
|
|
|
4200
4182
|
|
|
4201
4183
|
@property
|
|
4202
4184
|
def RescheduleInterval(self):
|
|
4203
|
-
r"""
|
|
4185
|
+
r"""<p>重新调度触发持续时间,取值0~3600s。仅TCP/UDP监听器支持。</p>
|
|
4204
4186
|
:rtype: int
|
|
4205
4187
|
"""
|
|
4206
4188
|
return self._RescheduleInterval
|
|
@@ -4263,7 +4245,7 @@ class CreateListenerResponse(AbstractModel):
|
|
|
4263
4245
|
|
|
4264
4246
|
def __init__(self):
|
|
4265
4247
|
r"""
|
|
4266
|
-
:param _ListenerIds:
|
|
4248
|
+
:param _ListenerIds: <p>创建的监听器的唯一标识数组。</p>
|
|
4267
4249
|
:type ListenerIds: list of str
|
|
4268
4250
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4269
4251
|
:type RequestId: str
|
|
@@ -4273,7 +4255,7 @@ class CreateListenerResponse(AbstractModel):
|
|
|
4273
4255
|
|
|
4274
4256
|
@property
|
|
4275
4257
|
def ListenerIds(self):
|
|
4276
|
-
r"""
|
|
4258
|
+
r"""<p>创建的监听器的唯一标识数组。</p>
|
|
4277
4259
|
:rtype: list of str
|
|
4278
4260
|
"""
|
|
4279
4261
|
return self._ListenerIds
|
|
@@ -16973,26 +16955,25 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
16973
16955
|
|
|
16974
16956
|
def __init__(self):
|
|
16975
16957
|
r"""
|
|
16976
|
-
:param _LoadBalancerId:
|
|
16958
|
+
:param _LoadBalancerId: <p>负载均衡的唯一ID,可以通过 <a href="https://cloud.tencent.com/document/product/214/30685">DescribeLoadBalancers</a> 接口获取。</p>
|
|
16977
16959
|
:type LoadBalancerId: str
|
|
16978
|
-
:param _LoadBalancerName:
|
|
16960
|
+
:param _LoadBalancerName: <p>负载均衡实例名称,规则:1-60 个英文、汉字、数字、连接线“-”或下划线“_”。</p>
|
|
16979
16961
|
:type LoadBalancerName: str
|
|
16980
|
-
:param _TargetRegionInfo:
|
|
16962
|
+
:param _TargetRegionInfo: <p>设置负载均衡跨地域绑定1.0的后端服务信息</p>
|
|
16981
16963
|
:type TargetRegionInfo: :class:`tencentcloud.clb.v20180317.models.TargetRegionInfo`
|
|
16982
|
-
:param _InternetChargeInfo:
|
|
16964
|
+
:param _InternetChargeInfo: <p>网络计费相关参数</p>
|
|
16983
16965
|
:type InternetChargeInfo: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
|
16984
|
-
:param _LoadBalancerPassToTarget: Target是否放通来自CLB
|
|
16985
|
-
开启放通(true):只验证CLB上的安全组;
|
|
16986
|
-
不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
|
16987
|
-
不填则不修改。
|
|
16966
|
+
:param _LoadBalancerPassToTarget: <p>Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。不填则不修改。</p>
|
|
16988
16967
|
:type LoadBalancerPassToTarget: bool
|
|
16989
|
-
:param
|
|
16968
|
+
:param _SwitchFlag: <p>不同计费模式之间的切换:0表示不切换,1表示预付费和后付费切换,2表示后付费之间切换。默认值:0</p>
|
|
16969
|
+
:type SwitchFlag: int
|
|
16970
|
+
:param _SnatPro: <p>是否开启跨地域绑定2.0功能。不填则不修改。</p>
|
|
16990
16971
|
:type SnatPro: bool
|
|
16991
|
-
:param _DeleteProtect:
|
|
16972
|
+
:param _DeleteProtect: <p>是否开启删除保护,不填则不修改。</p>
|
|
16992
16973
|
:type DeleteProtect: bool
|
|
16993
|
-
:param _ModifyClassicDomain:
|
|
16974
|
+
:param _ModifyClassicDomain: <p>将负载均衡二级域名由mycloud.com改为tencentclb.com,子域名也会变换,修改后mycloud.com域名将失效。不填则不修改。</p>
|
|
16994
16975
|
:type ModifyClassicDomain: bool
|
|
16995
|
-
:param _AssociateEndpoint:
|
|
16976
|
+
:param _AssociateEndpoint: <p>关联的终端节点Id,可通过<a href="https://cloud.tencent.com/document/product/215/54679">DescribeVpcEndPoint</a>接口查询。传空字符串代表解除关联。</p>
|
|
16996
16977
|
:type AssociateEndpoint: str
|
|
16997
16978
|
"""
|
|
16998
16979
|
self._LoadBalancerId = None
|
|
@@ -17000,6 +16981,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17000
16981
|
self._TargetRegionInfo = None
|
|
17001
16982
|
self._InternetChargeInfo = None
|
|
17002
16983
|
self._LoadBalancerPassToTarget = None
|
|
16984
|
+
self._SwitchFlag = None
|
|
17003
16985
|
self._SnatPro = None
|
|
17004
16986
|
self._DeleteProtect = None
|
|
17005
16987
|
self._ModifyClassicDomain = None
|
|
@@ -17007,7 +16989,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17007
16989
|
|
|
17008
16990
|
@property
|
|
17009
16991
|
def LoadBalancerId(self):
|
|
17010
|
-
r"""
|
|
16992
|
+
r"""<p>负载均衡的唯一ID,可以通过 <a href="https://cloud.tencent.com/document/product/214/30685">DescribeLoadBalancers</a> 接口获取。</p>
|
|
17011
16993
|
:rtype: str
|
|
17012
16994
|
"""
|
|
17013
16995
|
return self._LoadBalancerId
|
|
@@ -17018,7 +17000,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17018
17000
|
|
|
17019
17001
|
@property
|
|
17020
17002
|
def LoadBalancerName(self):
|
|
17021
|
-
r"""
|
|
17003
|
+
r"""<p>负载均衡实例名称,规则:1-60 个英文、汉字、数字、连接线“-”或下划线“_”。</p>
|
|
17022
17004
|
:rtype: str
|
|
17023
17005
|
"""
|
|
17024
17006
|
return self._LoadBalancerName
|
|
@@ -17029,7 +17011,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17029
17011
|
|
|
17030
17012
|
@property
|
|
17031
17013
|
def TargetRegionInfo(self):
|
|
17032
|
-
r"""
|
|
17014
|
+
r"""<p>设置负载均衡跨地域绑定1.0的后端服务信息</p>
|
|
17033
17015
|
:rtype: :class:`tencentcloud.clb.v20180317.models.TargetRegionInfo`
|
|
17034
17016
|
"""
|
|
17035
17017
|
return self._TargetRegionInfo
|
|
@@ -17040,7 +17022,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17040
17022
|
|
|
17041
17023
|
@property
|
|
17042
17024
|
def InternetChargeInfo(self):
|
|
17043
|
-
r"""
|
|
17025
|
+
r"""<p>网络计费相关参数</p>
|
|
17044
17026
|
:rtype: :class:`tencentcloud.clb.v20180317.models.InternetAccessible`
|
|
17045
17027
|
"""
|
|
17046
17028
|
return self._InternetChargeInfo
|
|
@@ -17051,10 +17033,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17051
17033
|
|
|
17052
17034
|
@property
|
|
17053
17035
|
def LoadBalancerPassToTarget(self):
|
|
17054
|
-
r"""Target是否放通来自CLB
|
|
17055
|
-
开启放通(true):只验证CLB上的安全组;
|
|
17056
|
-
不开启放通(false):需同时验证CLB和后端实例上的安全组。
|
|
17057
|
-
不填则不修改。
|
|
17036
|
+
r"""<p>Target是否放通来自CLB的流量。开启放通(true):只验证CLB上的安全组;不开启放通(false):需同时验证CLB和后端实例上的安全组。不填则不修改。</p>
|
|
17058
17037
|
:rtype: bool
|
|
17059
17038
|
"""
|
|
17060
17039
|
return self._LoadBalancerPassToTarget
|
|
@@ -17063,9 +17042,20 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17063
17042
|
def LoadBalancerPassToTarget(self, LoadBalancerPassToTarget):
|
|
17064
17043
|
self._LoadBalancerPassToTarget = LoadBalancerPassToTarget
|
|
17065
17044
|
|
|
17045
|
+
@property
|
|
17046
|
+
def SwitchFlag(self):
|
|
17047
|
+
r"""<p>不同计费模式之间的切换:0表示不切换,1表示预付费和后付费切换,2表示后付费之间切换。默认值:0</p>
|
|
17048
|
+
:rtype: int
|
|
17049
|
+
"""
|
|
17050
|
+
return self._SwitchFlag
|
|
17051
|
+
|
|
17052
|
+
@SwitchFlag.setter
|
|
17053
|
+
def SwitchFlag(self, SwitchFlag):
|
|
17054
|
+
self._SwitchFlag = SwitchFlag
|
|
17055
|
+
|
|
17066
17056
|
@property
|
|
17067
17057
|
def SnatPro(self):
|
|
17068
|
-
r"""
|
|
17058
|
+
r"""<p>是否开启跨地域绑定2.0功能。不填则不修改。</p>
|
|
17069
17059
|
:rtype: bool
|
|
17070
17060
|
"""
|
|
17071
17061
|
return self._SnatPro
|
|
@@ -17076,7 +17066,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17076
17066
|
|
|
17077
17067
|
@property
|
|
17078
17068
|
def DeleteProtect(self):
|
|
17079
|
-
r"""
|
|
17069
|
+
r"""<p>是否开启删除保护,不填则不修改。</p>
|
|
17080
17070
|
:rtype: bool
|
|
17081
17071
|
"""
|
|
17082
17072
|
return self._DeleteProtect
|
|
@@ -17087,7 +17077,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17087
17077
|
|
|
17088
17078
|
@property
|
|
17089
17079
|
def ModifyClassicDomain(self):
|
|
17090
|
-
r"""
|
|
17080
|
+
r"""<p>将负载均衡二级域名由mycloud.com改为tencentclb.com,子域名也会变换,修改后mycloud.com域名将失效。不填则不修改。</p>
|
|
17091
17081
|
:rtype: bool
|
|
17092
17082
|
"""
|
|
17093
17083
|
return self._ModifyClassicDomain
|
|
@@ -17098,7 +17088,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17098
17088
|
|
|
17099
17089
|
@property
|
|
17100
17090
|
def AssociateEndpoint(self):
|
|
17101
|
-
r"""
|
|
17091
|
+
r"""<p>关联的终端节点Id,可通过<a href="https://cloud.tencent.com/document/product/215/54679">DescribeVpcEndPoint</a>接口查询。传空字符串代表解除关联。</p>
|
|
17102
17092
|
:rtype: str
|
|
17103
17093
|
"""
|
|
17104
17094
|
return self._AssociateEndpoint
|
|
@@ -17118,6 +17108,7 @@ class ModifyLoadBalancerAttributesRequest(AbstractModel):
|
|
|
17118
17108
|
self._InternetChargeInfo = InternetAccessible()
|
|
17119
17109
|
self._InternetChargeInfo._deserialize(params.get("InternetChargeInfo"))
|
|
17120
17110
|
self._LoadBalancerPassToTarget = params.get("LoadBalancerPassToTarget")
|
|
17111
|
+
self._SwitchFlag = params.get("SwitchFlag")
|
|
17121
17112
|
self._SnatPro = params.get("SnatPro")
|
|
17122
17113
|
self._DeleteProtect = params.get("DeleteProtect")
|
|
17123
17114
|
self._ModifyClassicDomain = params.get("ModifyClassicDomain")
|
|
@@ -17139,7 +17130,7 @@ class ModifyLoadBalancerAttributesResponse(AbstractModel):
|
|
|
17139
17130
|
|
|
17140
17131
|
def __init__(self):
|
|
17141
17132
|
r"""
|
|
17142
|
-
:param _DealName:
|
|
17133
|
+
:param _DealName: <p>切换负载均衡计费方式时,可用此参数查询切换任务是否成功。</p>
|
|
17143
17134
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17144
17135
|
:type DealName: str
|
|
17145
17136
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -17150,7 +17141,7 @@ class ModifyLoadBalancerAttributesResponse(AbstractModel):
|
|
|
17150
17141
|
|
|
17151
17142
|
@property
|
|
17152
17143
|
def DealName(self):
|
|
17153
|
-
r"""
|
|
17144
|
+
r"""<p>切换负载均衡计费方式时,可用此参数查询切换任务是否成功。</p>
|
|
17154
17145
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17155
17146
|
:rtype: str
|
|
17156
17147
|
"""
|
|
@@ -17667,23 +17658,24 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17667
17658
|
|
|
17668
17659
|
def __init__(self):
|
|
17669
17660
|
r"""
|
|
17670
|
-
:param _TargetGroupId:
|
|
17661
|
+
:param _TargetGroupId: <p>目标组的ID。</p>
|
|
17671
17662
|
:type TargetGroupId: str
|
|
17672
|
-
:param _TargetGroupName:
|
|
17663
|
+
:param _TargetGroupName: <p>目标组的新名称。</p>
|
|
17673
17664
|
:type TargetGroupName: str
|
|
17674
|
-
:param _Port:
|
|
17665
|
+
:param _Port: <p>目标组的新默认端口。全监听目标组不支持此参数。</p>
|
|
17675
17666
|
:type Port: int
|
|
17676
|
-
:param _ScheduleAlgorithm:
|
|
17677
|
-
<ur><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li><ur>
|
|
17667
|
+
:param _ScheduleAlgorithm: <p>调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)时该参数有效。可选值:<ur><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li><ur></p>
|
|
17678
17668
|
:type ScheduleAlgorithm: str
|
|
17679
|
-
:param _HealthCheck:
|
|
17669
|
+
:param _HealthCheck: <p>健康检查详情。</p>
|
|
17680
17670
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.TargetGroupHealthCheck`
|
|
17681
|
-
:param _Weight:
|
|
17671
|
+
:param _Weight: <p>后端服务默认权重, 其中:<ul><li>取值范围[0, 100]</li><li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li><li>v1目标组类型不支持设置Weight参数。</li> </ul></p>
|
|
17682
17672
|
:type Weight: int
|
|
17683
|
-
:param _KeepaliveEnable:
|
|
17673
|
+
:param _KeepaliveEnable: <p>是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,true:关闭;false:开启, 默认关闭。</p>
|
|
17684
17674
|
:type KeepaliveEnable: bool
|
|
17685
|
-
:param _SessionExpireTime:
|
|
17675
|
+
:param _SessionExpireTime: <p>会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。</p>
|
|
17686
17676
|
:type SessionExpireTime: int
|
|
17677
|
+
:param _SnatEnable: <p>是否开启SNAT(源IP替换),True(开启)、False(关闭)。默认为关闭。注意:SnatEnable开启时会替换客户端源IP,此时<code>透传客户端源IP</code>选项关闭,反之亦然。</p>
|
|
17678
|
+
:type SnatEnable: bool
|
|
17687
17679
|
"""
|
|
17688
17680
|
self._TargetGroupId = None
|
|
17689
17681
|
self._TargetGroupName = None
|
|
@@ -17693,10 +17685,11 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17693
17685
|
self._Weight = None
|
|
17694
17686
|
self._KeepaliveEnable = None
|
|
17695
17687
|
self._SessionExpireTime = None
|
|
17688
|
+
self._SnatEnable = None
|
|
17696
17689
|
|
|
17697
17690
|
@property
|
|
17698
17691
|
def TargetGroupId(self):
|
|
17699
|
-
r"""
|
|
17692
|
+
r"""<p>目标组的ID。</p>
|
|
17700
17693
|
:rtype: str
|
|
17701
17694
|
"""
|
|
17702
17695
|
return self._TargetGroupId
|
|
@@ -17707,7 +17700,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17707
17700
|
|
|
17708
17701
|
@property
|
|
17709
17702
|
def TargetGroupName(self):
|
|
17710
|
-
r"""
|
|
17703
|
+
r"""<p>目标组的新名称。</p>
|
|
17711
17704
|
:rtype: str
|
|
17712
17705
|
"""
|
|
17713
17706
|
return self._TargetGroupName
|
|
@@ -17718,7 +17711,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17718
17711
|
|
|
17719
17712
|
@property
|
|
17720
17713
|
def Port(self):
|
|
17721
|
-
r"""
|
|
17714
|
+
r"""<p>目标组的新默认端口。全监听目标组不支持此参数。</p>
|
|
17722
17715
|
:rtype: int
|
|
17723
17716
|
"""
|
|
17724
17717
|
return self._Port
|
|
@@ -17729,8 +17722,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17729
17722
|
|
|
17730
17723
|
@property
|
|
17731
17724
|
def ScheduleAlgorithm(self):
|
|
17732
|
-
r"""
|
|
17733
|
-
<ur><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li><ur>
|
|
17725
|
+
r"""<p>调度算法,仅V2新版目标组,且后端转发协议为(HTTP|HTTPS|GRPC)时该参数有效。可选值:<ur><li>WRR:按权重轮询。</li><li>LEAST_CONN:最小连接数。</li><li>IP_HASH:按IP哈希。</li><li>默认为 WRR。</li><ur></p>
|
|
17734
17726
|
:rtype: str
|
|
17735
17727
|
"""
|
|
17736
17728
|
return self._ScheduleAlgorithm
|
|
@@ -17741,7 +17733,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17741
17733
|
|
|
17742
17734
|
@property
|
|
17743
17735
|
def HealthCheck(self):
|
|
17744
|
-
r"""
|
|
17736
|
+
r"""<p>健康检查详情。</p>
|
|
17745
17737
|
:rtype: :class:`tencentcloud.clb.v20180317.models.TargetGroupHealthCheck`
|
|
17746
17738
|
"""
|
|
17747
17739
|
return self._HealthCheck
|
|
@@ -17752,7 +17744,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17752
17744
|
|
|
17753
17745
|
@property
|
|
17754
17746
|
def Weight(self):
|
|
17755
|
-
r"""
|
|
17747
|
+
r"""<p>后端服务默认权重, 其中:<ul><li>取值范围[0, 100]</li><li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li><li>v1目标组类型不支持设置Weight参数。</li> </ul></p>
|
|
17756
17748
|
:rtype: int
|
|
17757
17749
|
"""
|
|
17758
17750
|
return self._Weight
|
|
@@ -17763,7 +17755,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17763
17755
|
|
|
17764
17756
|
@property
|
|
17765
17757
|
def KeepaliveEnable(self):
|
|
17766
|
-
r"""
|
|
17758
|
+
r"""<p>是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,true:关闭;false:开启, 默认关闭。</p>
|
|
17767
17759
|
:rtype: bool
|
|
17768
17760
|
"""
|
|
17769
17761
|
return self._KeepaliveEnable
|
|
@@ -17774,7 +17766,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17774
17766
|
|
|
17775
17767
|
@property
|
|
17776
17768
|
def SessionExpireTime(self):
|
|
17777
|
-
r"""
|
|
17769
|
+
r"""<p>会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。</p>
|
|
17778
17770
|
:rtype: int
|
|
17779
17771
|
"""
|
|
17780
17772
|
return self._SessionExpireTime
|
|
@@ -17783,6 +17775,17 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17783
17775
|
def SessionExpireTime(self, SessionExpireTime):
|
|
17784
17776
|
self._SessionExpireTime = SessionExpireTime
|
|
17785
17777
|
|
|
17778
|
+
@property
|
|
17779
|
+
def SnatEnable(self):
|
|
17780
|
+
r"""<p>是否开启SNAT(源IP替换),True(开启)、False(关闭)。默认为关闭。注意:SnatEnable开启时会替换客户端源IP,此时<code>透传客户端源IP</code>选项关闭,反之亦然。</p>
|
|
17781
|
+
:rtype: bool
|
|
17782
|
+
"""
|
|
17783
|
+
return self._SnatEnable
|
|
17784
|
+
|
|
17785
|
+
@SnatEnable.setter
|
|
17786
|
+
def SnatEnable(self, SnatEnable):
|
|
17787
|
+
self._SnatEnable = SnatEnable
|
|
17788
|
+
|
|
17786
17789
|
|
|
17787
17790
|
def _deserialize(self, params):
|
|
17788
17791
|
self._TargetGroupId = params.get("TargetGroupId")
|
|
@@ -17795,6 +17798,7 @@ class ModifyTargetGroupAttributeRequest(AbstractModel):
|
|
|
17795
17798
|
self._Weight = params.get("Weight")
|
|
17796
17799
|
self._KeepaliveEnable = params.get("KeepaliveEnable")
|
|
17797
17800
|
self._SessionExpireTime = params.get("SessionExpireTime")
|
|
17801
|
+
self._SnatEnable = params.get("SnatEnable")
|
|
17798
17802
|
memeber_set = set(params.keys())
|
|
17799
17803
|
for name, value in vars(self).items():
|
|
17800
17804
|
property_name = name[1:]
|
|
@@ -19069,6 +19073,102 @@ class RegisterTargetsWithClassicalLBResponse(AbstractModel):
|
|
|
19069
19073
|
self._RequestId = params.get("RequestId")
|
|
19070
19074
|
|
|
19071
19075
|
|
|
19076
|
+
class RenewLoadBalancersRequest(AbstractModel):
|
|
19077
|
+
r"""RenewLoadBalancers请求参数结构体
|
|
19078
|
+
|
|
19079
|
+
"""
|
|
19080
|
+
|
|
19081
|
+
def __init__(self):
|
|
19082
|
+
r"""
|
|
19083
|
+
:param _LoadBalancerIds: 负载均衡实例唯一ID数组,最多支持20个。
|
|
19084
|
+
:type LoadBalancerIds: list of str
|
|
19085
|
+
:param _LBChargePrepaid: 负载均衡实例的预付费相关属性。
|
|
19086
|
+
:type LBChargePrepaid: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
|
19087
|
+
"""
|
|
19088
|
+
self._LoadBalancerIds = None
|
|
19089
|
+
self._LBChargePrepaid = None
|
|
19090
|
+
|
|
19091
|
+
@property
|
|
19092
|
+
def LoadBalancerIds(self):
|
|
19093
|
+
r"""负载均衡实例唯一ID数组,最多支持20个。
|
|
19094
|
+
:rtype: list of str
|
|
19095
|
+
"""
|
|
19096
|
+
return self._LoadBalancerIds
|
|
19097
|
+
|
|
19098
|
+
@LoadBalancerIds.setter
|
|
19099
|
+
def LoadBalancerIds(self, LoadBalancerIds):
|
|
19100
|
+
self._LoadBalancerIds = LoadBalancerIds
|
|
19101
|
+
|
|
19102
|
+
@property
|
|
19103
|
+
def LBChargePrepaid(self):
|
|
19104
|
+
r"""负载均衡实例的预付费相关属性。
|
|
19105
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.LBChargePrepaid`
|
|
19106
|
+
"""
|
|
19107
|
+
return self._LBChargePrepaid
|
|
19108
|
+
|
|
19109
|
+
@LBChargePrepaid.setter
|
|
19110
|
+
def LBChargePrepaid(self, LBChargePrepaid):
|
|
19111
|
+
self._LBChargePrepaid = LBChargePrepaid
|
|
19112
|
+
|
|
19113
|
+
|
|
19114
|
+
def _deserialize(self, params):
|
|
19115
|
+
self._LoadBalancerIds = params.get("LoadBalancerIds")
|
|
19116
|
+
if params.get("LBChargePrepaid") is not None:
|
|
19117
|
+
self._LBChargePrepaid = LBChargePrepaid()
|
|
19118
|
+
self._LBChargePrepaid._deserialize(params.get("LBChargePrepaid"))
|
|
19119
|
+
memeber_set = set(params.keys())
|
|
19120
|
+
for name, value in vars(self).items():
|
|
19121
|
+
property_name = name[1:]
|
|
19122
|
+
if property_name in memeber_set:
|
|
19123
|
+
memeber_set.remove(property_name)
|
|
19124
|
+
if len(memeber_set) > 0:
|
|
19125
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19126
|
+
|
|
19127
|
+
|
|
19128
|
+
|
|
19129
|
+
class RenewLoadBalancersResponse(AbstractModel):
|
|
19130
|
+
r"""RenewLoadBalancers返回参数结构体
|
|
19131
|
+
|
|
19132
|
+
"""
|
|
19133
|
+
|
|
19134
|
+
def __init__(self):
|
|
19135
|
+
r"""
|
|
19136
|
+
:param _DealName: 订单号。
|
|
19137
|
+
:type DealName: str
|
|
19138
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19139
|
+
:type RequestId: str
|
|
19140
|
+
"""
|
|
19141
|
+
self._DealName = None
|
|
19142
|
+
self._RequestId = None
|
|
19143
|
+
|
|
19144
|
+
@property
|
|
19145
|
+
def DealName(self):
|
|
19146
|
+
r"""订单号。
|
|
19147
|
+
:rtype: str
|
|
19148
|
+
"""
|
|
19149
|
+
return self._DealName
|
|
19150
|
+
|
|
19151
|
+
@DealName.setter
|
|
19152
|
+
def DealName(self, DealName):
|
|
19153
|
+
self._DealName = DealName
|
|
19154
|
+
|
|
19155
|
+
@property
|
|
19156
|
+
def RequestId(self):
|
|
19157
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19158
|
+
:rtype: str
|
|
19159
|
+
"""
|
|
19160
|
+
return self._RequestId
|
|
19161
|
+
|
|
19162
|
+
@RequestId.setter
|
|
19163
|
+
def RequestId(self, RequestId):
|
|
19164
|
+
self._RequestId = RequestId
|
|
19165
|
+
|
|
19166
|
+
|
|
19167
|
+
def _deserialize(self, params):
|
|
19168
|
+
self._DealName = params.get("DealName")
|
|
19169
|
+
self._RequestId = params.get("RequestId")
|
|
19170
|
+
|
|
19171
|
+
|
|
19072
19172
|
class ReplaceCertForLoadBalancersRequest(AbstractModel):
|
|
19073
19173
|
r"""ReplaceCertForLoadBalancers请求参数结构体
|
|
19074
19174
|
|
|
@@ -19495,13 +19595,13 @@ class RsTagRule(AbstractModel):
|
|
|
19495
19595
|
|
|
19496
19596
|
def __init__(self):
|
|
19497
19597
|
r"""
|
|
19498
|
-
:param _ListenerId:
|
|
19598
|
+
:param _ListenerId: <p>负载均衡监听器 ID。</p>
|
|
19499
19599
|
:type ListenerId: str
|
|
19500
|
-
:param _Targets:
|
|
19600
|
+
:param _Targets: <p>要修改标签的后端机器列表。</p>
|
|
19501
19601
|
:type Targets: list of Target
|
|
19502
|
-
:param _LocationId:
|
|
19602
|
+
:param _LocationId: <p>转发规则的ID,七层规则时需要此参数,4层规则不需要。</p>
|
|
19503
19603
|
:type LocationId: str
|
|
19504
|
-
:param _Tag:
|
|
19604
|
+
:param _Tag: <p>后端服务修改后的标签。此参数的优先级低于前述<a href="https://cloud.tencent.com/document/api/214/30694#Target">Target</a>中的Tag参数,即最终的标签以Target中的Tag参数值为准,仅当Target中的Tag参数为空时,才以RsTagRule中的Tag参数为准。</p>
|
|
19505
19605
|
:type Tag: str
|
|
19506
19606
|
"""
|
|
19507
19607
|
self._ListenerId = None
|
|
@@ -19511,7 +19611,7 @@ class RsTagRule(AbstractModel):
|
|
|
19511
19611
|
|
|
19512
19612
|
@property
|
|
19513
19613
|
def ListenerId(self):
|
|
19514
|
-
r"""
|
|
19614
|
+
r"""<p>负载均衡监听器 ID。</p>
|
|
19515
19615
|
:rtype: str
|
|
19516
19616
|
"""
|
|
19517
19617
|
return self._ListenerId
|
|
@@ -19522,7 +19622,7 @@ class RsTagRule(AbstractModel):
|
|
|
19522
19622
|
|
|
19523
19623
|
@property
|
|
19524
19624
|
def Targets(self):
|
|
19525
|
-
r"""
|
|
19625
|
+
r"""<p>要修改标签的后端机器列表。</p>
|
|
19526
19626
|
:rtype: list of Target
|
|
19527
19627
|
"""
|
|
19528
19628
|
return self._Targets
|
|
@@ -19533,7 +19633,7 @@ class RsTagRule(AbstractModel):
|
|
|
19533
19633
|
|
|
19534
19634
|
@property
|
|
19535
19635
|
def LocationId(self):
|
|
19536
|
-
r"""
|
|
19636
|
+
r"""<p>转发规则的ID,七层规则时需要此参数,4层规则不需要。</p>
|
|
19537
19637
|
:rtype: str
|
|
19538
19638
|
"""
|
|
19539
19639
|
return self._LocationId
|
|
@@ -19544,7 +19644,7 @@ class RsTagRule(AbstractModel):
|
|
|
19544
19644
|
|
|
19545
19645
|
@property
|
|
19546
19646
|
def Tag(self):
|
|
19547
|
-
r"""
|
|
19647
|
+
r"""<p>后端服务修改后的标签。此参数的优先级低于前述<a href="https://cloud.tencent.com/document/api/214/30694#Target">Target</a>中的Tag参数,即最终的标签以Target中的Tag参数值为准,仅当Target中的Tag参数为空时,才以RsTagRule中的Tag参数为准。</p>
|
|
19548
19648
|
:rtype: str
|
|
19549
19649
|
"""
|
|
19550
19650
|
return self._Tag
|