tencentcloud-sdk-python 3.0.1401__py2.py3-none-any.whl → 3.0.1403__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/bmvpc/v20180625/bmvpc_client.py +54 -18
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/ckafka/v20190819/errorcodes.py +1 -1
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +767 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -0
- tencentcloud/ess/v20201111/models.py +55 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
- tencentcloud/essbasic/v20210526/models.py +49 -12
- tencentcloud/goosefs/v20220519/goosefs_client.py +23 -0
- tencentcloud/goosefs/v20220519/models.py +94 -0
- tencentcloud/gs/v20191118/gs_client.py +69 -0
- tencentcloud/gs/v20191118/models.py +408 -2
- tencentcloud/hunyuan/v20230901/models.py +119 -0
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +669 -0
- tencentcloud/lke/v20231130/models.py +49 -4
- tencentcloud/ocr/v20181119/models.py +6 -6
- tencentcloud/tat/v20201028/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +218 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/trtc/v20190722/errorcodes.py +5 -2
- tencentcloud/trtc/v20190722/models.py +91 -4
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -50,7 +50,9 @@ class BmvpcClient(AbstractClient):
|
|
50
50
|
|
51
51
|
|
52
52
|
def AsyncRegisterIps(self, request):
|
53
|
-
"""
|
53
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
54
|
+
|
55
|
+
批量注册虚拟IP,异步接口。通过接口来查询任务进度。每次请求最多注册256个IP
|
54
56
|
|
55
57
|
:param request: Request instance for AsyncRegisterIps.
|
56
58
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.AsyncRegisterIpsRequest`
|
@@ -96,7 +98,9 @@ class BmvpcClient(AbstractClient):
|
|
96
98
|
|
97
99
|
|
98
100
|
def BindIpsToNatGateway(self, request):
|
99
|
-
"""
|
101
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
102
|
+
|
103
|
+
可用于将子网的部分IP绑定到NAT网关
|
100
104
|
|
101
105
|
:param request: Request instance for BindIpsToNatGateway.
|
102
106
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.BindIpsToNatGatewayRequest`
|
@@ -119,7 +123,9 @@ class BmvpcClient(AbstractClient):
|
|
119
123
|
|
120
124
|
|
121
125
|
def BindSubnetsToNatGateway(self, request):
|
122
|
-
"""
|
126
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
127
|
+
|
128
|
+
NAT网关绑定子网后,该子网内全部IP可出公网
|
123
129
|
|
124
130
|
:param request: Request instance for BindSubnetsToNatGateway.
|
125
131
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.BindSubnetsToNatGatewayRequest`
|
@@ -142,7 +148,9 @@ class BmvpcClient(AbstractClient):
|
|
142
148
|
|
143
149
|
|
144
150
|
def CreateCustomerGateway(self, request):
|
145
|
-
"""
|
151
|
+
"""90天无调用
|
152
|
+
|
153
|
+
本接口(CreateCustomerGateway)用于创建对端网关。
|
146
154
|
|
147
155
|
:param request: Request instance for CreateCustomerGateway.
|
148
156
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.CreateCustomerGatewayRequest`
|
@@ -188,7 +196,9 @@ class BmvpcClient(AbstractClient):
|
|
188
196
|
|
189
197
|
|
190
198
|
def CreateHostedInterface(self, request):
|
191
|
-
"""
|
199
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
200
|
+
|
201
|
+
本接口(CreateHostedInterface)用于黑石托管机器加入带VLANID不为5的子网。
|
192
202
|
|
193
203
|
1) 不能加入vlanId 为5的子网,只能加入VLANID范围为2000-2999的子网。
|
194
204
|
2) 每台托管机器最多可以加入20个子网。
|
@@ -238,7 +248,9 @@ class BmvpcClient(AbstractClient):
|
|
238
248
|
|
239
249
|
|
240
250
|
def CreateNatGateway(self, request):
|
241
|
-
"""
|
251
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
252
|
+
|
253
|
+
创建NAT网关接口,可针对网段方式、子网全部IP、子网部分IP这三种方式创建NAT网关
|
242
254
|
|
243
255
|
:param request: Request instance for CreateNatGateway.
|
244
256
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.CreateNatGatewayRequest`
|
@@ -261,7 +273,9 @@ class BmvpcClient(AbstractClient):
|
|
261
273
|
|
262
274
|
|
263
275
|
def CreateRoutePolicies(self, request):
|
264
|
-
"""
|
276
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
277
|
+
|
278
|
+
创建黑石路由表的路由规则
|
265
279
|
|
266
280
|
:param request: Request instance for CreateRoutePolicies.
|
267
281
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.CreateRoutePoliciesRequest`
|
@@ -331,7 +345,9 @@ class BmvpcClient(AbstractClient):
|
|
331
345
|
|
332
346
|
|
333
347
|
def CreateVpc(self, request):
|
334
|
-
"""
|
348
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
349
|
+
|
350
|
+
创建黑石私有网络
|
335
351
|
|
336
352
|
:param request: Request instance for CreateVpc.
|
337
353
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.CreateVpcRequest`
|
@@ -354,7 +370,9 @@ class BmvpcClient(AbstractClient):
|
|
354
370
|
|
355
371
|
|
356
372
|
def CreateVpcPeerConnection(self, request):
|
357
|
-
"""
|
373
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
374
|
+
|
375
|
+
创建对等连接
|
358
376
|
|
359
377
|
:param request: Request instance for CreateVpcPeerConnection.
|
360
378
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.CreateVpcPeerConnectionRequest`
|
@@ -471,7 +489,9 @@ class BmvpcClient(AbstractClient):
|
|
471
489
|
|
472
490
|
|
473
491
|
def DeleteNatGateway(self, request):
|
474
|
-
"""
|
492
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
493
|
+
|
494
|
+
删除NAT网关
|
475
495
|
|
476
496
|
:param request: Request instance for DeleteNatGateway.
|
477
497
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.DeleteNatGatewayRequest`
|
@@ -494,7 +514,9 @@ class BmvpcClient(AbstractClient):
|
|
494
514
|
|
495
515
|
|
496
516
|
def DeleteRoutePolicy(self, request):
|
497
|
-
"""
|
517
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
518
|
+
|
519
|
+
删除黑石路由表路由规则
|
498
520
|
|
499
521
|
:param request: Request instance for DeleteRoutePolicy.
|
500
522
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.DeleteRoutePolicyRequest`
|
@@ -658,7 +680,9 @@ class BmvpcClient(AbstractClient):
|
|
658
680
|
|
659
681
|
|
660
682
|
def DeregisterIps(self, request):
|
661
|
-
"""
|
683
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
684
|
+
|
685
|
+
注销私有网络IP为空闲
|
662
686
|
|
663
687
|
:param request: Request instance for DeregisterIps.
|
664
688
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.DeregisterIpsRequest`
|
@@ -1073,7 +1097,9 @@ class BmvpcClient(AbstractClient):
|
|
1073
1097
|
|
1074
1098
|
|
1075
1099
|
def DownloadCustomerGatewayConfiguration(self, request):
|
1076
|
-
"""
|
1100
|
+
"""90天无调用
|
1101
|
+
|
1102
|
+
本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。
|
1077
1103
|
|
1078
1104
|
:param request: Request instance for DownloadCustomerGatewayConfiguration.
|
1079
1105
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.DownloadCustomerGatewayConfigurationRequest`
|
@@ -1119,7 +1145,9 @@ class BmvpcClient(AbstractClient):
|
|
1119
1145
|
|
1120
1146
|
|
1121
1147
|
def ModifyRoutePolicy(self, request):
|
1122
|
-
"""
|
1148
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
1149
|
+
|
1150
|
+
修改自定义路由
|
1123
1151
|
|
1124
1152
|
:param request: Request instance for ModifyRoutePolicy.
|
1125
1153
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.ModifyRoutePolicyRequest`
|
@@ -1142,7 +1170,9 @@ class BmvpcClient(AbstractClient):
|
|
1142
1170
|
|
1143
1171
|
|
1144
1172
|
def ModifyRouteTable(self, request):
|
1145
|
-
"""
|
1173
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
1174
|
+
|
1175
|
+
修改路由表
|
1146
1176
|
|
1147
1177
|
:param request: Request instance for ModifyRouteTable.
|
1148
1178
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.ModifyRouteTableRequest`
|
@@ -1372,7 +1402,9 @@ class BmvpcClient(AbstractClient):
|
|
1372
1402
|
|
1373
1403
|
|
1374
1404
|
def UnbindIpsFromNatGateway(self, request):
|
1375
|
-
"""
|
1405
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
1406
|
+
|
1407
|
+
NAT网关解绑IP接口,可将子网的部分IP从NAT网关中解绑
|
1376
1408
|
|
1377
1409
|
:param request: Request instance for UnbindIpsFromNatGateway.
|
1378
1410
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.UnbindIpsFromNatGatewayRequest`
|
@@ -1395,7 +1427,9 @@ class BmvpcClient(AbstractClient):
|
|
1395
1427
|
|
1396
1428
|
|
1397
1429
|
def UnbindSubnetsFromNatGateway(self, request):
|
1398
|
-
"""
|
1430
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
1431
|
+
|
1432
|
+
NAT网关解绑子网接口,可将子网解绑NAT网关
|
1399
1433
|
|
1400
1434
|
:param request: Request instance for UnbindSubnetsFromNatGateway.
|
1401
1435
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.UnbindSubnetsFromNatGatewayRequest`
|
@@ -1418,7 +1452,9 @@ class BmvpcClient(AbstractClient):
|
|
1418
1452
|
|
1419
1453
|
|
1420
1454
|
def UpgradeNatGateway(self, request):
|
1421
|
-
"""
|
1455
|
+
"""黑石1.0接口,业务已下线,90天无调用
|
1456
|
+
|
1457
|
+
升级NAT网关接口,可NAT网关修改为小型NAT网关、中型NAT网关、以及大型NAT网关
|
1422
1458
|
|
1423
1459
|
:param request: Request instance for UpgradeNatGateway.
|
1424
1460
|
:type request: :class:`tencentcloud.bmvpc.v20180625.models.UpgradeNatGatewayRequest`
|
@@ -36275,11 +36275,11 @@ class StartCpuExpandRequest(AbstractModel):
|
|
36275
36275
|
r"""
|
36276
36276
|
:param _InstanceId: 实例 ID。
|
36277
36277
|
:type InstanceId: str
|
36278
|
-
:param _Type:
|
36279
|
-
|
36278
|
+
:param _Type: 扩容类型,支持自动扩容和自定义扩容。
|
36279
|
+
说明:1. auto 表示自动扩容。2. manual 表示自定义扩容,扩容时间为立即生效。3. timeInterval 表示自定义扩容,扩容时间为按时间段。4. period 表示自定义扩容,扩容时间为按周期。
|
36280
36280
|
:type Type: str
|
36281
|
-
:param _ExpandCpu:
|
36282
|
-
说明:1. Type 为 manual 时必传。2. 扩容的 CPU 核心数上限为当前实例 CPU 核心数,比如8核16G最大可手动扩容的 CPU 核心数为8,即范围为1 - 8。
|
36281
|
+
:param _ExpandCpu: 自定义扩容时,扩容的 CPU 核心数。
|
36282
|
+
说明:1. Type 为 manual、timeInterval、period 时必传。2. 扩容的 CPU 核心数上限为当前实例 CPU 核心数,比如8核16G最大可手动扩容的 CPU 核心数为8,即范围为1 - 8。
|
36283
36283
|
:type ExpandCpu: int
|
36284
36284
|
:param _AutoStrategy: 自动扩容策略。Type 为 auto 时必传。
|
36285
36285
|
:type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
@@ -36308,8 +36308,8 @@ class StartCpuExpandRequest(AbstractModel):
|
|
36308
36308
|
|
36309
36309
|
@property
|
36310
36310
|
def Type(self):
|
36311
|
-
"""
|
36312
|
-
|
36311
|
+
"""扩容类型,支持自动扩容和自定义扩容。
|
36312
|
+
说明:1. auto 表示自动扩容。2. manual 表示自定义扩容,扩容时间为立即生效。3. timeInterval 表示自定义扩容,扩容时间为按时间段。4. period 表示自定义扩容,扩容时间为按周期。
|
36313
36313
|
:rtype: str
|
36314
36314
|
"""
|
36315
36315
|
return self._Type
|
@@ -36320,8 +36320,8 @@ class StartCpuExpandRequest(AbstractModel):
|
|
36320
36320
|
|
36321
36321
|
@property
|
36322
36322
|
def ExpandCpu(self):
|
36323
|
-
"""
|
36324
|
-
说明:1. Type 为 manual 时必传。2. 扩容的 CPU 核心数上限为当前实例 CPU 核心数,比如8核16G最大可手动扩容的 CPU 核心数为8,即范围为1 - 8。
|
36323
|
+
"""自定义扩容时,扩容的 CPU 核心数。
|
36324
|
+
说明:1. Type 为 manual、timeInterval、period 时必传。2. 扩容的 CPU 核心数上限为当前实例 CPU 核心数,比如8核16G最大可手动扩容的 CPU 核心数为8,即范围为1 - 8。
|
36325
36325
|
:rtype: int
|
36326
36326
|
"""
|
36327
36327
|
return self._ExpandCpu
|
@@ -10168,7 +10168,7 @@ class DescribeCertDomainsRequest(AbstractModel):
|
|
10168
10168
|
r"""
|
10169
10169
|
:param _Cert: PEM格式证书Base64编码后的字符串
|
10170
10170
|
:type Cert: str
|
10171
|
-
:param _CertId: 托管证书ID,Cert和CertId
|
10171
|
+
:param _CertId: 托管证书ID,Cert和CertId不能均为空,都填写时以CertId为准。
|
10172
10172
|
:type CertId: str
|
10173
10173
|
:param _Product: 域名所属产品,cdn或ecdn,默认cdn。
|
10174
10174
|
:type Product: str
|
@@ -10190,7 +10190,7 @@ class DescribeCertDomainsRequest(AbstractModel):
|
|
10190
10190
|
|
10191
10191
|
@property
|
10192
10192
|
def CertId(self):
|
10193
|
-
"""托管证书ID,Cert和CertId
|
10193
|
+
"""托管证书ID,Cert和CertId不能均为空,都填写时以CertId为准。
|
10194
10194
|
:rtype: str
|
10195
10195
|
"""
|
10196
10196
|
return self._CertId
|
@@ -12387,7 +12387,7 @@ min:1 分钟粒度,指定查询区间 24 小时内(含 24 小时),可
|
|
12387
12387
|
hour:1 小时粒度,指定查询区间 31 天内(含 31 天),可返回 1 小时粒度明细数据
|
12388
12388
|
day:天粒度,指定查询区间大于 31 天,可返回天粒度明细数据
|
12389
12389
|
:type Interval: str
|
12390
|
-
:param _Detail: Domains
|
12390
|
+
:param _Detail: Domains 传入多个时,默认(false)返回多个域名的汇总数据
|
12391
12391
|
可按需指定为 true,返回每一个 Domain 的明细数据(statusCode、2xx、3xx、4xx、5xx 指标暂不支持)
|
12392
12392
|
:type Detail: bool
|
12393
12393
|
:param _Area: 指定服务地域查询,不填充表示查询中国境内 CDN 数据
|
@@ -12496,7 +12496,7 @@ day:天粒度,指定查询区间大于 31 天,可返回天粒度明细数
|
|
12496
12496
|
|
12497
12497
|
@property
|
12498
12498
|
def Detail(self):
|
12499
|
-
"""Domains
|
12499
|
+
"""Domains 传入多个时,默认(false)返回多个域名的汇总数据
|
12500
12500
|
可按需指定为 true,返回每一个 Domain 的明细数据(statusCode、2xx、3xx、4xx、5xx 指标暂不支持)
|
12501
12501
|
:rtype: bool
|
12502
12502
|
"""
|
@@ -1095,7 +1095,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
1095
1095
|
:type CcnId: str
|
1096
1096
|
:param _CidrBlock: 云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突
|
1097
1097
|
:type CidrBlock: str
|
1098
|
-
:param _Capacity: 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长
|
1098
|
+
:param _Capacity: 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
|
1099
1099
|
:type Capacity: int
|
1100
1100
|
:param _SnapshotId: 文件系统快照ID,通过查询快照列表获取该参数,
|
1101
1101
|
[DescribeCfsSnapshots](https://cloud.tencent.com/document/product/582/80206)
|
@@ -1278,7 +1278,7 @@ v3.1:创建增强版的通用文件系统
|
|
1278
1278
|
|
1279
1279
|
@property
|
1280
1280
|
def Capacity(self):
|
1281
|
-
"""文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长
|
1281
|
+
"""文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
|
1282
1282
|
:rtype: int
|
1283
1283
|
"""
|
1284
1284
|
return self._Capacity
|
@@ -8811,7 +8811,7 @@ class DescribeCfwEipsRequest(AbstractModel):
|
|
8811
8811
|
:type Mode: int
|
8812
8812
|
:param _NatGatewayId: ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip
|
8813
8813
|
:type NatGatewayId: str
|
8814
|
-
:param _CfwInstance: 防火墙实例id
|
8814
|
+
:param _CfwInstance: 防火墙实例id,当前仅支持接入模式的实例,该字段必填
|
8815
8815
|
:type CfwInstance: str
|
8816
8816
|
"""
|
8817
8817
|
self._Mode = None
|
@@ -8842,7 +8842,7 @@ class DescribeCfwEipsRequest(AbstractModel):
|
|
8842
8842
|
|
8843
8843
|
@property
|
8844
8844
|
def CfwInstance(self):
|
8845
|
-
"""防火墙实例id
|
8845
|
+
"""防火墙实例id,当前仅支持接入模式的实例,该字段必填
|
8846
8846
|
:rtype: str
|
8847
8847
|
"""
|
8848
8848
|
return self._CfwInstance
|
@@ -113,7 +113,7 @@ UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
113
113
|
# 批量删除实例限制。
|
114
114
|
UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = 'UnsupportedOperation.BatchDelInstanceLimit'
|
115
115
|
|
116
|
-
#
|
116
|
+
# 创建Topic成功后,60s后才能删除该Topic
|
117
117
|
UNSUPPORTEDOPERATION_FREQUENCYTOPICDELETEOPERATE = 'UnsupportedOperation.FrequencyTopicDeleteOperate'
|
118
118
|
|
119
119
|
# Oss拒绝该操作。
|
@@ -11501,7 +11501,7 @@ class HealthCheck(AbstractModel):
|
|
11501
11501
|
:param _HttpCheckMethod: 健康检查方法(仅适用于HTTP/HTTPS转发规则、TCP监听器的HTTP健康检查方式),默认值:HEAD,可选值HEAD或GET。
|
11502
11502
|
注意:此字段可能返回 null,表示取不到有效值。
|
11503
11503
|
:type HttpCheckMethod: str
|
11504
|
-
:param _CheckPort:
|
11504
|
+
:param _CheckPort: 自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。传参数值-1可恢复默认设置。(仅适用于TCP/UDP监听器)。
|
11505
11505
|
注意:此字段可能返回 null,表示取不到有效值。
|
11506
11506
|
:type CheckPort: int
|
11507
11507
|
:param _ContextType: 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查的输入格式,可取值:HEX或TEXT;取值为HEX时,SendContext和RecvContext的字符只能在0123456789ABCDEF中选取且长度必须是偶数位。(仅适用于TCP/UDP监听器)
|
@@ -11650,7 +11650,7 @@ class HealthCheck(AbstractModel):
|
|
11650
11650
|
|
11651
11651
|
@property
|
11652
11652
|
def CheckPort(self):
|
11653
|
-
"""
|
11653
|
+
"""自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。传参数值-1可恢复默认设置。(仅适用于TCP/UDP监听器)。
|
11654
11654
|
注意:此字段可能返回 null,表示取不到有效值。
|
11655
11655
|
:rtype: int
|
11656
11656
|
"""
|
@@ -371,6 +371,29 @@ class CsipClient(AbstractClient):
|
|
371
371
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
372
372
|
|
373
373
|
|
374
|
+
def DescribeExposures(self, request):
|
375
|
+
"""互联网暴露资产列表
|
376
|
+
|
377
|
+
:param request: Request instance for DescribeExposures.
|
378
|
+
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeExposuresRequest`
|
379
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeExposuresResponse`
|
380
|
+
|
381
|
+
"""
|
382
|
+
try:
|
383
|
+
params = request._serialize()
|
384
|
+
headers = request.headers
|
385
|
+
body = self.call("DescribeExposures", params, headers=headers)
|
386
|
+
response = json.loads(body)
|
387
|
+
model = models.DescribeExposuresResponse()
|
388
|
+
model._deserialize(response["Response"])
|
389
|
+
return model
|
390
|
+
except Exception as e:
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
392
|
+
raise
|
393
|
+
else:
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
395
|
+
|
396
|
+
|
374
397
|
def DescribeGatewayAssets(self, request):
|
375
398
|
"""获取网关列表
|
376
399
|
|