tencentcloud-sdk-python 3.0.1435__py2.py3-none-any.whl → 3.0.1437__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/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cdn/v20180606/cdn_client.py +0 -575
- tencentcloud/cdn/v20180606/errorcodes.py +0 -48
- tencentcloud/cdn/v20180606/models.py +12881 -21511
- tencentcloud/cfs/v20190719/models.py +16 -18
- tencentcloud/cls/v20201016/models.py +46 -20
- tencentcloud/dlc/v20210125/dlc_client.py +529 -0
- tencentcloud/dlc/v20210125/errorcodes.py +30 -0
- tencentcloud/dlc/v20210125/models.py +7909 -2612
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/es/v20250101/models.py +70 -0
- tencentcloud/ess/v20201111/ess_client.py +55 -3
- tencentcloud/ess/v20201111/models.py +686 -2
- tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
- tencentcloud/hunyuan/v20230901/models.py +0 -357
- tencentcloud/lke/v20231130/models.py +86 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +24 -8
- tencentcloud/mqtt/v20240516/models.py +150 -0
- tencentcloud/ocr/v20181119/models.py +90 -4
- tencentcloud/partners/v20180321/partners_client.py +2 -1
- tencentcloud/postgres/v20170312/models.py +28 -24
- tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +6 -6
- tencentcloud/tcbr/v20220217/models.py +266 -4
- tencentcloud/tcr/v20190924/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +24 -0
- tencentcloud/teo/v20220901/models.py +3469 -441
- tencentcloud/teo/v20220901/teo_client.py +469 -2
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +70 -6
- tencentcloud/waf/v20180125/models.py +1029 -151
- tencentcloud/waf/v20180125/waf_client.py +92 -0
- tencentcloud/wsa/v20250508/models.py +22 -4
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -8157,7 +8157,7 @@ class InternetAccessible(AbstractModel):
|
|
|
8157
8157
|
:param _BandwidthPackageId: 带宽包ID。可通过[DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。
|
|
8158
8158
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8159
8159
|
:type BandwidthPackageId: str
|
|
8160
|
-
:param _InternetServiceProvider:
|
|
8160
|
+
:param _InternetServiceProvider: 线路类型。各种线路类型及支持地区详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
|
|
8161
8161
|
|
|
8162
8162
|
<li>BGP:常规 BGP 线路</li>
|
|
8163
8163
|
已开通静态单线IP白名单的用户,可选值:
|
|
@@ -8248,7 +8248,7 @@ class InternetAccessible(AbstractModel):
|
|
|
8248
8248
|
|
|
8249
8249
|
@property
|
|
8250
8250
|
def InternetServiceProvider(self):
|
|
8251
|
-
"""
|
|
8251
|
+
"""线路类型。各种线路类型及支持地区详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
|
|
8252
8252
|
|
|
8253
8253
|
<li>BGP:常规 BGP 线路</li>
|
|
8254
8254
|
已开通静态单线IP白名单的用户,可选值:
|
|
@@ -144,81 +144,6 @@ class CdnClient(AbstractClient):
|
|
|
144
144
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
def CreateScdnDomain(self, request):
|
|
148
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
149
|
-
|
|
150
|
-
CreateScdnDomain 用于创建 SCDN 加速域名
|
|
151
|
-
|
|
152
|
-
:param request: Request instance for CreateScdnDomain.
|
|
153
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.CreateScdnDomainRequest`
|
|
154
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.CreateScdnDomainResponse`
|
|
155
|
-
|
|
156
|
-
"""
|
|
157
|
-
try:
|
|
158
|
-
params = request._serialize()
|
|
159
|
-
headers = request.headers
|
|
160
|
-
body = self.call("CreateScdnDomain", params, headers=headers)
|
|
161
|
-
response = json.loads(body)
|
|
162
|
-
model = models.CreateScdnDomainResponse()
|
|
163
|
-
model._deserialize(response["Response"])
|
|
164
|
-
return model
|
|
165
|
-
except Exception as e:
|
|
166
|
-
if isinstance(e, TencentCloudSDKException):
|
|
167
|
-
raise
|
|
168
|
-
else:
|
|
169
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
def CreateScdnFailedLogTask(self, request):
|
|
173
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
174
|
-
|
|
175
|
-
CreateScdnFailedLogTask 用于重试创建失败的事件日志任务
|
|
176
|
-
|
|
177
|
-
:param request: Request instance for CreateScdnFailedLogTask.
|
|
178
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.CreateScdnFailedLogTaskRequest`
|
|
179
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.CreateScdnFailedLogTaskResponse`
|
|
180
|
-
|
|
181
|
-
"""
|
|
182
|
-
try:
|
|
183
|
-
params = request._serialize()
|
|
184
|
-
headers = request.headers
|
|
185
|
-
body = self.call("CreateScdnFailedLogTask", params, headers=headers)
|
|
186
|
-
response = json.loads(body)
|
|
187
|
-
model = models.CreateScdnFailedLogTaskResponse()
|
|
188
|
-
model._deserialize(response["Response"])
|
|
189
|
-
return model
|
|
190
|
-
except Exception as e:
|
|
191
|
-
if isinstance(e, TencentCloudSDKException):
|
|
192
|
-
raise
|
|
193
|
-
else:
|
|
194
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
def CreateScdnLogTask(self, request):
|
|
198
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
199
|
-
|
|
200
|
-
CreateScdnLogTask 用于创建事件日志任务
|
|
201
|
-
|
|
202
|
-
:param request: Request instance for CreateScdnLogTask.
|
|
203
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.CreateScdnLogTaskRequest`
|
|
204
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.CreateScdnLogTaskResponse`
|
|
205
|
-
|
|
206
|
-
"""
|
|
207
|
-
try:
|
|
208
|
-
params = request._serialize()
|
|
209
|
-
headers = request.headers
|
|
210
|
-
body = self.call("CreateScdnLogTask", params, headers=headers)
|
|
211
|
-
response = json.loads(body)
|
|
212
|
-
model = models.CreateScdnLogTaskResponse()
|
|
213
|
-
model._deserialize(response["Response"])
|
|
214
|
-
return model
|
|
215
|
-
except Exception as e:
|
|
216
|
-
if isinstance(e, TencentCloudSDKException):
|
|
217
|
-
raise
|
|
218
|
-
else:
|
|
219
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
220
|
-
|
|
221
|
-
|
|
222
147
|
def CreateVerifyRecord(self, request):
|
|
223
148
|
"""CreateVerifyRecord 用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
|
224
149
|
生成的解析记录可通过 [VerifyDomainRecord](https://cloud.tencent.com/document/product/228/48117) 完成归属权校验。
|
|
@@ -291,31 +216,6 @@ class CdnClient(AbstractClient):
|
|
|
291
216
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
292
217
|
|
|
293
218
|
|
|
294
|
-
def DeleteScdnDomain(self, request):
|
|
295
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
296
|
-
|
|
297
|
-
删除SCDN域名
|
|
298
|
-
|
|
299
|
-
:param request: Request instance for DeleteScdnDomain.
|
|
300
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DeleteScdnDomainRequest`
|
|
301
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DeleteScdnDomainResponse`
|
|
302
|
-
|
|
303
|
-
"""
|
|
304
|
-
try:
|
|
305
|
-
params = request._serialize()
|
|
306
|
-
headers = request.headers
|
|
307
|
-
body = self.call("DeleteScdnDomain", params, headers=headers)
|
|
308
|
-
response = json.loads(body)
|
|
309
|
-
model = models.DeleteScdnDomainResponse()
|
|
310
|
-
model._deserialize(response["Response"])
|
|
311
|
-
return model
|
|
312
|
-
except Exception as e:
|
|
313
|
-
if isinstance(e, TencentCloudSDKException):
|
|
314
|
-
raise
|
|
315
|
-
else:
|
|
316
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
317
|
-
|
|
318
|
-
|
|
319
219
|
def DescribeBillingData(self, request):
|
|
320
220
|
"""DescribeBillingData 用于查询实际计费数据明细。
|
|
321
221
|
|
|
@@ -339,31 +239,6 @@ class CdnClient(AbstractClient):
|
|
|
339
239
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
340
240
|
|
|
341
241
|
|
|
342
|
-
def DescribeCcData(self, request):
|
|
343
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
344
|
-
|
|
345
|
-
CC统计数据查询
|
|
346
|
-
|
|
347
|
-
:param request: Request instance for DescribeCcData.
|
|
348
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeCcDataRequest`
|
|
349
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeCcDataResponse`
|
|
350
|
-
|
|
351
|
-
"""
|
|
352
|
-
try:
|
|
353
|
-
params = request._serialize()
|
|
354
|
-
headers = request.headers
|
|
355
|
-
body = self.call("DescribeCcData", params, headers=headers)
|
|
356
|
-
response = json.loads(body)
|
|
357
|
-
model = models.DescribeCcDataResponse()
|
|
358
|
-
model._deserialize(response["Response"])
|
|
359
|
-
return model
|
|
360
|
-
except Exception as e:
|
|
361
|
-
if isinstance(e, TencentCloudSDKException):
|
|
362
|
-
raise
|
|
363
|
-
else:
|
|
364
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
365
|
-
|
|
366
|
-
|
|
367
242
|
def DescribeCdnData(self, request):
|
|
368
243
|
"""DescribeCdnData 用于查询 CDN 实时访问监控数据,支持以下指标查询:
|
|
369
244
|
|
|
@@ -493,31 +368,6 @@ class CdnClient(AbstractClient):
|
|
|
493
368
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
494
369
|
|
|
495
370
|
|
|
496
|
-
def DescribeDDoSData(self, request):
|
|
497
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
498
|
-
|
|
499
|
-
DDoS统计数据查询
|
|
500
|
-
|
|
501
|
-
:param request: Request instance for DescribeDDoSData.
|
|
502
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeDDoSDataRequest`
|
|
503
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeDDoSDataResponse`
|
|
504
|
-
|
|
505
|
-
"""
|
|
506
|
-
try:
|
|
507
|
-
params = request._serialize()
|
|
508
|
-
headers = request.headers
|
|
509
|
-
body = self.call("DescribeDDoSData", params, headers=headers)
|
|
510
|
-
response = json.loads(body)
|
|
511
|
-
model = models.DescribeDDoSDataResponse()
|
|
512
|
-
model._deserialize(response["Response"])
|
|
513
|
-
return model
|
|
514
|
-
except Exception as e:
|
|
515
|
-
if isinstance(e, TencentCloudSDKException):
|
|
516
|
-
raise
|
|
517
|
-
else:
|
|
518
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
519
|
-
|
|
520
|
-
|
|
521
371
|
def DescribeDiagnoseReport(self, request):
|
|
522
372
|
"""以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
|
523
373
|
|
|
@@ -637,31 +487,6 @@ class CdnClient(AbstractClient):
|
|
|
637
487
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
638
488
|
|
|
639
489
|
|
|
640
|
-
def DescribeEventLogData(self, request):
|
|
641
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
642
|
-
|
|
643
|
-
DescribeEventLogData 用于查询事件日志统计曲线
|
|
644
|
-
|
|
645
|
-
:param request: Request instance for DescribeEventLogData.
|
|
646
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeEventLogDataRequest`
|
|
647
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeEventLogDataResponse`
|
|
648
|
-
|
|
649
|
-
"""
|
|
650
|
-
try:
|
|
651
|
-
params = request._serialize()
|
|
652
|
-
headers = request.headers
|
|
653
|
-
body = self.call("DescribeEventLogData", params, headers=headers)
|
|
654
|
-
response = json.loads(body)
|
|
655
|
-
model = models.DescribeEventLogDataResponse()
|
|
656
|
-
model._deserialize(response["Response"])
|
|
657
|
-
return model
|
|
658
|
-
except Exception as e:
|
|
659
|
-
if isinstance(e, TencentCloudSDKException):
|
|
660
|
-
raise
|
|
661
|
-
else:
|
|
662
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
663
|
-
|
|
664
|
-
|
|
665
490
|
def DescribeHttpsPackages(self, request):
|
|
666
491
|
"""DescribeHttpsPackages 用于查询 CDN HTTPS请求包详情。
|
|
667
492
|
|
|
@@ -953,131 +778,6 @@ class CdnClient(AbstractClient):
|
|
|
953
778
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
954
779
|
|
|
955
780
|
|
|
956
|
-
def DescribeScdnBotData(self, request):
|
|
957
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
958
|
-
|
|
959
|
-
获取BOT统计数据列表
|
|
960
|
-
|
|
961
|
-
:param request: Request instance for DescribeScdnBotData.
|
|
962
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotDataRequest`
|
|
963
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotDataResponse`
|
|
964
|
-
|
|
965
|
-
"""
|
|
966
|
-
try:
|
|
967
|
-
params = request._serialize()
|
|
968
|
-
headers = request.headers
|
|
969
|
-
body = self.call("DescribeScdnBotData", params, headers=headers)
|
|
970
|
-
response = json.loads(body)
|
|
971
|
-
model = models.DescribeScdnBotDataResponse()
|
|
972
|
-
model._deserialize(response["Response"])
|
|
973
|
-
return model
|
|
974
|
-
except Exception as e:
|
|
975
|
-
if isinstance(e, TencentCloudSDKException):
|
|
976
|
-
raise
|
|
977
|
-
else:
|
|
978
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
def DescribeScdnBotRecords(self, request):
|
|
982
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
983
|
-
|
|
984
|
-
查询BOT会话记录列表
|
|
985
|
-
|
|
986
|
-
:param request: Request instance for DescribeScdnBotRecords.
|
|
987
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotRecordsRequest`
|
|
988
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotRecordsResponse`
|
|
989
|
-
|
|
990
|
-
"""
|
|
991
|
-
try:
|
|
992
|
-
params = request._serialize()
|
|
993
|
-
headers = request.headers
|
|
994
|
-
body = self.call("DescribeScdnBotRecords", params, headers=headers)
|
|
995
|
-
response = json.loads(body)
|
|
996
|
-
model = models.DescribeScdnBotRecordsResponse()
|
|
997
|
-
model._deserialize(response["Response"])
|
|
998
|
-
return model
|
|
999
|
-
except Exception as e:
|
|
1000
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1001
|
-
raise
|
|
1002
|
-
else:
|
|
1003
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
def DescribeScdnConfig(self, request):
|
|
1007
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1008
|
-
|
|
1009
|
-
DescribeScdnConfig 用于查询指定 SCDN 加速域名的安全相关配置
|
|
1010
|
-
|
|
1011
|
-
:param request: Request instance for DescribeScdnConfig.
|
|
1012
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnConfigRequest`
|
|
1013
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnConfigResponse`
|
|
1014
|
-
|
|
1015
|
-
"""
|
|
1016
|
-
try:
|
|
1017
|
-
params = request._serialize()
|
|
1018
|
-
headers = request.headers
|
|
1019
|
-
body = self.call("DescribeScdnConfig", params, headers=headers)
|
|
1020
|
-
response = json.loads(body)
|
|
1021
|
-
model = models.DescribeScdnConfigResponse()
|
|
1022
|
-
model._deserialize(response["Response"])
|
|
1023
|
-
return model
|
|
1024
|
-
except Exception as e:
|
|
1025
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1026
|
-
raise
|
|
1027
|
-
else:
|
|
1028
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
def DescribeScdnIpStrategy(self, request):
|
|
1032
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1033
|
-
|
|
1034
|
-
查询在SCDN IP安全策略
|
|
1035
|
-
|
|
1036
|
-
:param request: Request instance for DescribeScdnIpStrategy.
|
|
1037
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnIpStrategyRequest`
|
|
1038
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnIpStrategyResponse`
|
|
1039
|
-
|
|
1040
|
-
"""
|
|
1041
|
-
try:
|
|
1042
|
-
params = request._serialize()
|
|
1043
|
-
headers = request.headers
|
|
1044
|
-
body = self.call("DescribeScdnIpStrategy", params, headers=headers)
|
|
1045
|
-
response = json.loads(body)
|
|
1046
|
-
model = models.DescribeScdnIpStrategyResponse()
|
|
1047
|
-
model._deserialize(response["Response"])
|
|
1048
|
-
return model
|
|
1049
|
-
except Exception as e:
|
|
1050
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1051
|
-
raise
|
|
1052
|
-
else:
|
|
1053
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
def DescribeScdnTopData(self, request):
|
|
1057
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1058
|
-
|
|
1059
|
-
获取SCDN的Top数据
|
|
1060
|
-
|
|
1061
|
-
:param request: Request instance for DescribeScdnTopData.
|
|
1062
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnTopDataRequest`
|
|
1063
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnTopDataResponse`
|
|
1064
|
-
|
|
1065
|
-
"""
|
|
1066
|
-
try:
|
|
1067
|
-
params = request._serialize()
|
|
1068
|
-
headers = request.headers
|
|
1069
|
-
body = self.call("DescribeScdnTopData", params, headers=headers)
|
|
1070
|
-
response = json.loads(body)
|
|
1071
|
-
model = models.DescribeScdnTopDataResponse()
|
|
1072
|
-
model._deserialize(response["Response"])
|
|
1073
|
-
return model
|
|
1074
|
-
except Exception as e:
|
|
1075
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1076
|
-
raise
|
|
1077
|
-
else:
|
|
1078
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
781
|
def DescribeTopData(self, request):
|
|
1082
782
|
"""DescribeTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
|
1083
783
|
|
|
@@ -1157,31 +857,6 @@ class CdnClient(AbstractClient):
|
|
|
1157
857
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1158
858
|
|
|
1159
859
|
|
|
1160
|
-
def DescribeWafData(self, request):
|
|
1161
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1162
|
-
|
|
1163
|
-
Waf统计数据查询
|
|
1164
|
-
|
|
1165
|
-
:param request: Request instance for DescribeWafData.
|
|
1166
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeWafDataRequest`
|
|
1167
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeWafDataResponse`
|
|
1168
|
-
|
|
1169
|
-
"""
|
|
1170
|
-
try:
|
|
1171
|
-
params = request._serialize()
|
|
1172
|
-
headers = request.headers
|
|
1173
|
-
body = self.call("DescribeWafData", params, headers=headers)
|
|
1174
|
-
response = json.loads(body)
|
|
1175
|
-
model = models.DescribeWafDataResponse()
|
|
1176
|
-
model._deserialize(response["Response"])
|
|
1177
|
-
return model
|
|
1178
|
-
except Exception as e:
|
|
1179
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1180
|
-
raise
|
|
1181
|
-
else:
|
|
1182
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
860
|
def DisableCaches(self, request):
|
|
1186
861
|
"""### <font color=red>**该接口已废弃** </font><br>
|
|
1187
862
|
DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
|
|
@@ -1397,131 +1072,6 @@ class CdnClient(AbstractClient):
|
|
|
1397
1072
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1398
1073
|
|
|
1399
1074
|
|
|
1400
|
-
def ListScdnDomains(self, request):
|
|
1401
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1402
|
-
|
|
1403
|
-
ListScdnDomains 用于查询 SCDN 安全加速域名列表,及域名基本配置信息
|
|
1404
|
-
|
|
1405
|
-
:param request: Request instance for ListScdnDomains.
|
|
1406
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListScdnDomainsRequest`
|
|
1407
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListScdnDomainsResponse`
|
|
1408
|
-
|
|
1409
|
-
"""
|
|
1410
|
-
try:
|
|
1411
|
-
params = request._serialize()
|
|
1412
|
-
headers = request.headers
|
|
1413
|
-
body = self.call("ListScdnDomains", params, headers=headers)
|
|
1414
|
-
response = json.loads(body)
|
|
1415
|
-
model = models.ListScdnDomainsResponse()
|
|
1416
|
-
model._deserialize(response["Response"])
|
|
1417
|
-
return model
|
|
1418
|
-
except Exception as e:
|
|
1419
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1420
|
-
raise
|
|
1421
|
-
else:
|
|
1422
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
def ListScdnLogTasks(self, request):
|
|
1426
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1427
|
-
|
|
1428
|
-
ListScdnLogTasks 用于查询SCDN日志下载任务列表,以及展示下载任务基本信息
|
|
1429
|
-
|
|
1430
|
-
:param request: Request instance for ListScdnLogTasks.
|
|
1431
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListScdnLogTasksRequest`
|
|
1432
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListScdnLogTasksResponse`
|
|
1433
|
-
|
|
1434
|
-
"""
|
|
1435
|
-
try:
|
|
1436
|
-
params = request._serialize()
|
|
1437
|
-
headers = request.headers
|
|
1438
|
-
body = self.call("ListScdnLogTasks", params, headers=headers)
|
|
1439
|
-
response = json.loads(body)
|
|
1440
|
-
model = models.ListScdnLogTasksResponse()
|
|
1441
|
-
model._deserialize(response["Response"])
|
|
1442
|
-
return model
|
|
1443
|
-
except Exception as e:
|
|
1444
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1445
|
-
raise
|
|
1446
|
-
else:
|
|
1447
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
def ListScdnTopBotData(self, request):
|
|
1451
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1452
|
-
|
|
1453
|
-
获取Bot攻击的Top数据列表
|
|
1454
|
-
|
|
1455
|
-
:param request: Request instance for ListScdnTopBotData.
|
|
1456
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListScdnTopBotDataRequest`
|
|
1457
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListScdnTopBotDataResponse`
|
|
1458
|
-
|
|
1459
|
-
"""
|
|
1460
|
-
try:
|
|
1461
|
-
params = request._serialize()
|
|
1462
|
-
headers = request.headers
|
|
1463
|
-
body = self.call("ListScdnTopBotData", params, headers=headers)
|
|
1464
|
-
response = json.loads(body)
|
|
1465
|
-
model = models.ListScdnTopBotDataResponse()
|
|
1466
|
-
model._deserialize(response["Response"])
|
|
1467
|
-
return model
|
|
1468
|
-
except Exception as e:
|
|
1469
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1470
|
-
raise
|
|
1471
|
-
else:
|
|
1472
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
def ListTopBotData(self, request):
|
|
1476
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1477
|
-
|
|
1478
|
-
获取Bot攻击的Top信息
|
|
1479
|
-
|
|
1480
|
-
:param request: Request instance for ListTopBotData.
|
|
1481
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopBotDataRequest`
|
|
1482
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopBotDataResponse`
|
|
1483
|
-
|
|
1484
|
-
"""
|
|
1485
|
-
try:
|
|
1486
|
-
params = request._serialize()
|
|
1487
|
-
headers = request.headers
|
|
1488
|
-
body = self.call("ListTopBotData", params, headers=headers)
|
|
1489
|
-
response = json.loads(body)
|
|
1490
|
-
model = models.ListTopBotDataResponse()
|
|
1491
|
-
model._deserialize(response["Response"])
|
|
1492
|
-
return model
|
|
1493
|
-
except Exception as e:
|
|
1494
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1495
|
-
raise
|
|
1496
|
-
else:
|
|
1497
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
def ListTopCcData(self, request):
|
|
1501
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1502
|
-
|
|
1503
|
-
获取CC攻击Top数据
|
|
1504
|
-
|
|
1505
|
-
:param request: Request instance for ListTopCcData.
|
|
1506
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopCcDataRequest`
|
|
1507
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopCcDataResponse`
|
|
1508
|
-
|
|
1509
|
-
"""
|
|
1510
|
-
try:
|
|
1511
|
-
params = request._serialize()
|
|
1512
|
-
headers = request.headers
|
|
1513
|
-
body = self.call("ListTopCcData", params, headers=headers)
|
|
1514
|
-
response = json.loads(body)
|
|
1515
|
-
model = models.ListTopCcDataResponse()
|
|
1516
|
-
model._deserialize(response["Response"])
|
|
1517
|
-
return model
|
|
1518
|
-
except Exception as e:
|
|
1519
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1520
|
-
raise
|
|
1521
|
-
else:
|
|
1522
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
1075
|
def ListTopClsLogData(self, request):
|
|
1526
1076
|
"""通过CLS日志计算Top信息。支持近7天的日志数据。
|
|
1527
1077
|
|
|
@@ -1545,31 +1095,6 @@ class CdnClient(AbstractClient):
|
|
|
1545
1095
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1546
1096
|
|
|
1547
1097
|
|
|
1548
|
-
def ListTopDDoSData(self, request):
|
|
1549
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1550
|
-
|
|
1551
|
-
获取DDoS攻击Top数据
|
|
1552
|
-
|
|
1553
|
-
:param request: Request instance for ListTopDDoSData.
|
|
1554
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopDDoSDataRequest`
|
|
1555
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopDDoSDataResponse`
|
|
1556
|
-
|
|
1557
|
-
"""
|
|
1558
|
-
try:
|
|
1559
|
-
params = request._serialize()
|
|
1560
|
-
headers = request.headers
|
|
1561
|
-
body = self.call("ListTopDDoSData", params, headers=headers)
|
|
1562
|
-
response = json.loads(body)
|
|
1563
|
-
model = models.ListTopDDoSDataResponse()
|
|
1564
|
-
model._deserialize(response["Response"])
|
|
1565
|
-
return model
|
|
1566
|
-
except Exception as e:
|
|
1567
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1568
|
-
raise
|
|
1569
|
-
else:
|
|
1570
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
1098
|
def ListTopData(self, request):
|
|
1574
1099
|
"""ListTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
|
1575
1100
|
|
|
@@ -1601,31 +1126,6 @@ class CdnClient(AbstractClient):
|
|
|
1601
1126
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1602
1127
|
|
|
1603
1128
|
|
|
1604
|
-
def ListTopWafData(self, request):
|
|
1605
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1606
|
-
|
|
1607
|
-
获取Waf攻击Top数据
|
|
1608
|
-
|
|
1609
|
-
:param request: Request instance for ListTopWafData.
|
|
1610
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopWafDataRequest`
|
|
1611
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopWafDataResponse`
|
|
1612
|
-
|
|
1613
|
-
"""
|
|
1614
|
-
try:
|
|
1615
|
-
params = request._serialize()
|
|
1616
|
-
headers = request.headers
|
|
1617
|
-
body = self.call("ListTopWafData", params, headers=headers)
|
|
1618
|
-
response = json.loads(body)
|
|
1619
|
-
model = models.ListTopWafDataResponse()
|
|
1620
|
-
model._deserialize(response["Response"])
|
|
1621
|
-
return model
|
|
1622
|
-
except Exception as e:
|
|
1623
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1624
|
-
raise
|
|
1625
|
-
else:
|
|
1626
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
1129
|
def ManageClsTopicDomains(self, request):
|
|
1630
1130
|
"""ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
|
|
1631
1131
|
|
|
@@ -1817,31 +1317,6 @@ class CdnClient(AbstractClient):
|
|
|
1817
1317
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1818
1318
|
|
|
1819
1319
|
|
|
1820
|
-
def StartScdnDomain(self, request):
|
|
1821
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1822
|
-
|
|
1823
|
-
StartScdnDomain 用于开启域名的安全防护配置
|
|
1824
|
-
|
|
1825
|
-
:param request: Request instance for StartScdnDomain.
|
|
1826
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.StartScdnDomainRequest`
|
|
1827
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.StartScdnDomainResponse`
|
|
1828
|
-
|
|
1829
|
-
"""
|
|
1830
|
-
try:
|
|
1831
|
-
params = request._serialize()
|
|
1832
|
-
headers = request.headers
|
|
1833
|
-
body = self.call("StartScdnDomain", params, headers=headers)
|
|
1834
|
-
response = json.loads(body)
|
|
1835
|
-
model = models.StartScdnDomainResponse()
|
|
1836
|
-
model._deserialize(response["Response"])
|
|
1837
|
-
return model
|
|
1838
|
-
except Exception as e:
|
|
1839
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1840
|
-
raise
|
|
1841
|
-
else:
|
|
1842
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
1320
|
def StopCdnDomain(self, request):
|
|
1846
1321
|
"""StopCdnDomain 用于停止域名的加速服务。
|
|
1847
1322
|
注意:停止加速服务后,访问至加速节点的请求将会直接返回 404。为避免对您的业务造成影响,请在停止加速服务前将解析切走。
|
|
@@ -1866,31 +1341,6 @@ class CdnClient(AbstractClient):
|
|
|
1866
1341
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1867
1342
|
|
|
1868
1343
|
|
|
1869
|
-
def StopScdnDomain(self, request):
|
|
1870
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1871
|
-
|
|
1872
|
-
StopScdnDomain 用于关闭域名的安全防护配置
|
|
1873
|
-
|
|
1874
|
-
:param request: Request instance for StopScdnDomain.
|
|
1875
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.StopScdnDomainRequest`
|
|
1876
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.StopScdnDomainResponse`
|
|
1877
|
-
|
|
1878
|
-
"""
|
|
1879
|
-
try:
|
|
1880
|
-
params = request._serialize()
|
|
1881
|
-
headers = request.headers
|
|
1882
|
-
body = self.call("StopScdnDomain", params, headers=headers)
|
|
1883
|
-
response = json.loads(body)
|
|
1884
|
-
model = models.StopScdnDomainResponse()
|
|
1885
|
-
model._deserialize(response["Response"])
|
|
1886
|
-
return model
|
|
1887
|
-
except Exception as e:
|
|
1888
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1889
|
-
raise
|
|
1890
|
-
else:
|
|
1891
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
1344
|
def UpdateDomainConfig(self, request):
|
|
1895
1345
|
"""UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。
|
|
1896
1346
|
注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口;如果仅修改单独配置项只传对应配置参数即可。
|
|
@@ -1962,31 +1412,6 @@ class CdnClient(AbstractClient):
|
|
|
1962
1412
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1963
1413
|
|
|
1964
1414
|
|
|
1965
|
-
def UpdateScdnDomain(self, request):
|
|
1966
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1967
|
-
|
|
1968
|
-
UpdateScdnDomain 用于修改 SCDN 加速域名安全相关配置
|
|
1969
|
-
|
|
1970
|
-
:param request: Request instance for UpdateScdnDomain.
|
|
1971
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.UpdateScdnDomainRequest`
|
|
1972
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.UpdateScdnDomainResponse`
|
|
1973
|
-
|
|
1974
|
-
"""
|
|
1975
|
-
try:
|
|
1976
|
-
params = request._serialize()
|
|
1977
|
-
headers = request.headers
|
|
1978
|
-
body = self.call("UpdateScdnDomain", params, headers=headers)
|
|
1979
|
-
response = json.loads(body)
|
|
1980
|
-
model = models.UpdateScdnDomainResponse()
|
|
1981
|
-
model._deserialize(response["Response"])
|
|
1982
|
-
return model
|
|
1983
|
-
except Exception as e:
|
|
1984
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1985
|
-
raise
|
|
1986
|
-
else:
|
|
1987
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
1415
|
def VerifyDomainRecord(self, request):
|
|
1991
1416
|
"""VerifyDomainRecord 用于验证域名解析值。
|
|
1992
1417
|
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118) 生成校验解析值,验证通过后,24小时有效。
|