tencentcloud-sdk-python-cdn 3.0.1423__py2.py3-none-any.whl → 3.0.1436__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-cdn might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdn/v20180606/cdn_client.py +12 -579
- tencentcloud/cdn/v20180606/errorcodes.py +0 -48
- tencentcloud/cdn/v20180606/models.py +12881 -21511
- {tencentcloud_sdk_python_cdn-3.0.1423.dist-info → tencentcloud_sdk_python_cdn-3.0.1436.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_cdn-3.0.1436.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_cdn-3.0.1423.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_cdn-3.0.1423.dist-info → tencentcloud_sdk_python_cdn-3.0.1436.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cdn-3.0.1423.dist-info → tencentcloud_sdk_python_cdn-3.0.1436.dist-info}/top_level.txt +0 -0
|
@@ -96,7 +96,9 @@ class CdnClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def CreateDiagnoseUrl(self, request):
|
|
99
|
-
"""
|
|
99
|
+
"""以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
|
100
|
+
|
|
101
|
+
### <font color=red>**该接口已废弃** </font><br>
|
|
100
102
|
CreateDiagnoseUrl 用于添加域名诊断任务URL。
|
|
101
103
|
|
|
102
104
|
:param request: Request instance for CreateDiagnoseUrl.
|
|
@@ -142,81 +144,6 @@ class CdnClient(AbstractClient):
|
|
|
142
144
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
143
145
|
|
|
144
146
|
|
|
145
|
-
def CreateScdnDomain(self, request):
|
|
146
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
147
|
-
|
|
148
|
-
CreateScdnDomain 用于创建 SCDN 加速域名
|
|
149
|
-
|
|
150
|
-
:param request: Request instance for CreateScdnDomain.
|
|
151
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.CreateScdnDomainRequest`
|
|
152
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.CreateScdnDomainResponse`
|
|
153
|
-
|
|
154
|
-
"""
|
|
155
|
-
try:
|
|
156
|
-
params = request._serialize()
|
|
157
|
-
headers = request.headers
|
|
158
|
-
body = self.call("CreateScdnDomain", params, headers=headers)
|
|
159
|
-
response = json.loads(body)
|
|
160
|
-
model = models.CreateScdnDomainResponse()
|
|
161
|
-
model._deserialize(response["Response"])
|
|
162
|
-
return model
|
|
163
|
-
except Exception as e:
|
|
164
|
-
if isinstance(e, TencentCloudSDKException):
|
|
165
|
-
raise
|
|
166
|
-
else:
|
|
167
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
def CreateScdnFailedLogTask(self, request):
|
|
171
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
172
|
-
|
|
173
|
-
CreateScdnFailedLogTask 用于重试创建失败的事件日志任务
|
|
174
|
-
|
|
175
|
-
:param request: Request instance for CreateScdnFailedLogTask.
|
|
176
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.CreateScdnFailedLogTaskRequest`
|
|
177
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.CreateScdnFailedLogTaskResponse`
|
|
178
|
-
|
|
179
|
-
"""
|
|
180
|
-
try:
|
|
181
|
-
params = request._serialize()
|
|
182
|
-
headers = request.headers
|
|
183
|
-
body = self.call("CreateScdnFailedLogTask", params, headers=headers)
|
|
184
|
-
response = json.loads(body)
|
|
185
|
-
model = models.CreateScdnFailedLogTaskResponse()
|
|
186
|
-
model._deserialize(response["Response"])
|
|
187
|
-
return model
|
|
188
|
-
except Exception as e:
|
|
189
|
-
if isinstance(e, TencentCloudSDKException):
|
|
190
|
-
raise
|
|
191
|
-
else:
|
|
192
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
def CreateScdnLogTask(self, request):
|
|
196
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
197
|
-
|
|
198
|
-
CreateScdnLogTask 用于创建事件日志任务
|
|
199
|
-
|
|
200
|
-
:param request: Request instance for CreateScdnLogTask.
|
|
201
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.CreateScdnLogTaskRequest`
|
|
202
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.CreateScdnLogTaskResponse`
|
|
203
|
-
|
|
204
|
-
"""
|
|
205
|
-
try:
|
|
206
|
-
params = request._serialize()
|
|
207
|
-
headers = request.headers
|
|
208
|
-
body = self.call("CreateScdnLogTask", params, headers=headers)
|
|
209
|
-
response = json.loads(body)
|
|
210
|
-
model = models.CreateScdnLogTaskResponse()
|
|
211
|
-
model._deserialize(response["Response"])
|
|
212
|
-
return model
|
|
213
|
-
except Exception as e:
|
|
214
|
-
if isinstance(e, TencentCloudSDKException):
|
|
215
|
-
raise
|
|
216
|
-
else:
|
|
217
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
218
|
-
|
|
219
|
-
|
|
220
147
|
def CreateVerifyRecord(self, request):
|
|
221
148
|
"""CreateVerifyRecord 用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
|
222
149
|
生成的解析记录可通过 [VerifyDomainRecord](https://cloud.tencent.com/document/product/228/48117) 完成归属权校验。
|
|
@@ -289,31 +216,6 @@ class CdnClient(AbstractClient):
|
|
|
289
216
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
290
217
|
|
|
291
218
|
|
|
292
|
-
def DeleteScdnDomain(self, request):
|
|
293
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
294
|
-
|
|
295
|
-
删除SCDN域名
|
|
296
|
-
|
|
297
|
-
:param request: Request instance for DeleteScdnDomain.
|
|
298
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DeleteScdnDomainRequest`
|
|
299
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DeleteScdnDomainResponse`
|
|
300
|
-
|
|
301
|
-
"""
|
|
302
|
-
try:
|
|
303
|
-
params = request._serialize()
|
|
304
|
-
headers = request.headers
|
|
305
|
-
body = self.call("DeleteScdnDomain", params, headers=headers)
|
|
306
|
-
response = json.loads(body)
|
|
307
|
-
model = models.DeleteScdnDomainResponse()
|
|
308
|
-
model._deserialize(response["Response"])
|
|
309
|
-
return model
|
|
310
|
-
except Exception as e:
|
|
311
|
-
if isinstance(e, TencentCloudSDKException):
|
|
312
|
-
raise
|
|
313
|
-
else:
|
|
314
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
315
|
-
|
|
316
|
-
|
|
317
219
|
def DescribeBillingData(self, request):
|
|
318
220
|
"""DescribeBillingData 用于查询实际计费数据明细。
|
|
319
221
|
|
|
@@ -337,31 +239,6 @@ class CdnClient(AbstractClient):
|
|
|
337
239
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
338
240
|
|
|
339
241
|
|
|
340
|
-
def DescribeCcData(self, request):
|
|
341
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
342
|
-
|
|
343
|
-
CC统计数据查询
|
|
344
|
-
|
|
345
|
-
:param request: Request instance for DescribeCcData.
|
|
346
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeCcDataRequest`
|
|
347
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeCcDataResponse`
|
|
348
|
-
|
|
349
|
-
"""
|
|
350
|
-
try:
|
|
351
|
-
params = request._serialize()
|
|
352
|
-
headers = request.headers
|
|
353
|
-
body = self.call("DescribeCcData", params, headers=headers)
|
|
354
|
-
response = json.loads(body)
|
|
355
|
-
model = models.DescribeCcDataResponse()
|
|
356
|
-
model._deserialize(response["Response"])
|
|
357
|
-
return model
|
|
358
|
-
except Exception as e:
|
|
359
|
-
if isinstance(e, TencentCloudSDKException):
|
|
360
|
-
raise
|
|
361
|
-
else:
|
|
362
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
363
|
-
|
|
364
|
-
|
|
365
242
|
def DescribeCdnData(self, request):
|
|
366
243
|
"""DescribeCdnData 用于查询 CDN 实时访问监控数据,支持以下指标查询:
|
|
367
244
|
|
|
@@ -491,33 +368,10 @@ class CdnClient(AbstractClient):
|
|
|
491
368
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
492
369
|
|
|
493
370
|
|
|
494
|
-
def DescribeDDoSData(self, request):
|
|
495
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
496
|
-
|
|
497
|
-
DDoS统计数据查询
|
|
498
|
-
|
|
499
|
-
:param request: Request instance for DescribeDDoSData.
|
|
500
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeDDoSDataRequest`
|
|
501
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeDDoSDataResponse`
|
|
502
|
-
|
|
503
|
-
"""
|
|
504
|
-
try:
|
|
505
|
-
params = request._serialize()
|
|
506
|
-
headers = request.headers
|
|
507
|
-
body = self.call("DescribeDDoSData", params, headers=headers)
|
|
508
|
-
response = json.loads(body)
|
|
509
|
-
model = models.DescribeDDoSDataResponse()
|
|
510
|
-
model._deserialize(response["Response"])
|
|
511
|
-
return model
|
|
512
|
-
except Exception as e:
|
|
513
|
-
if isinstance(e, TencentCloudSDKException):
|
|
514
|
-
raise
|
|
515
|
-
else:
|
|
516
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
517
|
-
|
|
518
|
-
|
|
519
371
|
def DescribeDiagnoseReport(self, request):
|
|
520
|
-
"""
|
|
372
|
+
"""以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
|
373
|
+
|
|
374
|
+
### <font color=red>**该接口已废弃** </font><br>
|
|
521
375
|
DescribeDiagnoseReport 用于获取指定报告id的内容。
|
|
522
376
|
|
|
523
377
|
:param request: Request instance for DescribeDiagnoseReport.
|
|
@@ -633,31 +487,6 @@ class CdnClient(AbstractClient):
|
|
|
633
487
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
634
488
|
|
|
635
489
|
|
|
636
|
-
def DescribeEventLogData(self, request):
|
|
637
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
638
|
-
|
|
639
|
-
DescribeEventLogData 用于查询事件日志统计曲线
|
|
640
|
-
|
|
641
|
-
:param request: Request instance for DescribeEventLogData.
|
|
642
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeEventLogDataRequest`
|
|
643
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeEventLogDataResponse`
|
|
644
|
-
|
|
645
|
-
"""
|
|
646
|
-
try:
|
|
647
|
-
params = request._serialize()
|
|
648
|
-
headers = request.headers
|
|
649
|
-
body = self.call("DescribeEventLogData", params, headers=headers)
|
|
650
|
-
response = json.loads(body)
|
|
651
|
-
model = models.DescribeEventLogDataResponse()
|
|
652
|
-
model._deserialize(response["Response"])
|
|
653
|
-
return model
|
|
654
|
-
except Exception as e:
|
|
655
|
-
if isinstance(e, TencentCloudSDKException):
|
|
656
|
-
raise
|
|
657
|
-
else:
|
|
658
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
659
|
-
|
|
660
|
-
|
|
661
490
|
def DescribeHttpsPackages(self, request):
|
|
662
491
|
"""DescribeHttpsPackages 用于查询 CDN HTTPS请求包详情。
|
|
663
492
|
|
|
@@ -949,131 +778,6 @@ class CdnClient(AbstractClient):
|
|
|
949
778
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
950
779
|
|
|
951
780
|
|
|
952
|
-
def DescribeScdnBotData(self, request):
|
|
953
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
954
|
-
|
|
955
|
-
获取BOT统计数据列表
|
|
956
|
-
|
|
957
|
-
:param request: Request instance for DescribeScdnBotData.
|
|
958
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotDataRequest`
|
|
959
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotDataResponse`
|
|
960
|
-
|
|
961
|
-
"""
|
|
962
|
-
try:
|
|
963
|
-
params = request._serialize()
|
|
964
|
-
headers = request.headers
|
|
965
|
-
body = self.call("DescribeScdnBotData", params, headers=headers)
|
|
966
|
-
response = json.loads(body)
|
|
967
|
-
model = models.DescribeScdnBotDataResponse()
|
|
968
|
-
model._deserialize(response["Response"])
|
|
969
|
-
return model
|
|
970
|
-
except Exception as e:
|
|
971
|
-
if isinstance(e, TencentCloudSDKException):
|
|
972
|
-
raise
|
|
973
|
-
else:
|
|
974
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
def DescribeScdnBotRecords(self, request):
|
|
978
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
979
|
-
|
|
980
|
-
查询BOT会话记录列表
|
|
981
|
-
|
|
982
|
-
:param request: Request instance for DescribeScdnBotRecords.
|
|
983
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotRecordsRequest`
|
|
984
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnBotRecordsResponse`
|
|
985
|
-
|
|
986
|
-
"""
|
|
987
|
-
try:
|
|
988
|
-
params = request._serialize()
|
|
989
|
-
headers = request.headers
|
|
990
|
-
body = self.call("DescribeScdnBotRecords", params, headers=headers)
|
|
991
|
-
response = json.loads(body)
|
|
992
|
-
model = models.DescribeScdnBotRecordsResponse()
|
|
993
|
-
model._deserialize(response["Response"])
|
|
994
|
-
return model
|
|
995
|
-
except Exception as e:
|
|
996
|
-
if isinstance(e, TencentCloudSDKException):
|
|
997
|
-
raise
|
|
998
|
-
else:
|
|
999
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
def DescribeScdnConfig(self, request):
|
|
1003
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1004
|
-
|
|
1005
|
-
DescribeScdnConfig 用于查询指定 SCDN 加速域名的安全相关配置
|
|
1006
|
-
|
|
1007
|
-
:param request: Request instance for DescribeScdnConfig.
|
|
1008
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnConfigRequest`
|
|
1009
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnConfigResponse`
|
|
1010
|
-
|
|
1011
|
-
"""
|
|
1012
|
-
try:
|
|
1013
|
-
params = request._serialize()
|
|
1014
|
-
headers = request.headers
|
|
1015
|
-
body = self.call("DescribeScdnConfig", params, headers=headers)
|
|
1016
|
-
response = json.loads(body)
|
|
1017
|
-
model = models.DescribeScdnConfigResponse()
|
|
1018
|
-
model._deserialize(response["Response"])
|
|
1019
|
-
return model
|
|
1020
|
-
except Exception as e:
|
|
1021
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1022
|
-
raise
|
|
1023
|
-
else:
|
|
1024
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
def DescribeScdnIpStrategy(self, request):
|
|
1028
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1029
|
-
|
|
1030
|
-
查询在SCDN IP安全策略
|
|
1031
|
-
|
|
1032
|
-
:param request: Request instance for DescribeScdnIpStrategy.
|
|
1033
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnIpStrategyRequest`
|
|
1034
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnIpStrategyResponse`
|
|
1035
|
-
|
|
1036
|
-
"""
|
|
1037
|
-
try:
|
|
1038
|
-
params = request._serialize()
|
|
1039
|
-
headers = request.headers
|
|
1040
|
-
body = self.call("DescribeScdnIpStrategy", params, headers=headers)
|
|
1041
|
-
response = json.loads(body)
|
|
1042
|
-
model = models.DescribeScdnIpStrategyResponse()
|
|
1043
|
-
model._deserialize(response["Response"])
|
|
1044
|
-
return model
|
|
1045
|
-
except Exception as e:
|
|
1046
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1047
|
-
raise
|
|
1048
|
-
else:
|
|
1049
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
def DescribeScdnTopData(self, request):
|
|
1053
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1054
|
-
|
|
1055
|
-
获取SCDN的Top数据
|
|
1056
|
-
|
|
1057
|
-
:param request: Request instance for DescribeScdnTopData.
|
|
1058
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnTopDataRequest`
|
|
1059
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeScdnTopDataResponse`
|
|
1060
|
-
|
|
1061
|
-
"""
|
|
1062
|
-
try:
|
|
1063
|
-
params = request._serialize()
|
|
1064
|
-
headers = request.headers
|
|
1065
|
-
body = self.call("DescribeScdnTopData", params, headers=headers)
|
|
1066
|
-
response = json.loads(body)
|
|
1067
|
-
model = models.DescribeScdnTopDataResponse()
|
|
1068
|
-
model._deserialize(response["Response"])
|
|
1069
|
-
return model
|
|
1070
|
-
except Exception as e:
|
|
1071
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1072
|
-
raise
|
|
1073
|
-
else:
|
|
1074
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
781
|
def DescribeTopData(self, request):
|
|
1078
782
|
"""DescribeTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
|
1079
783
|
|
|
@@ -1153,31 +857,6 @@ class CdnClient(AbstractClient):
|
|
|
1153
857
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1154
858
|
|
|
1155
859
|
|
|
1156
|
-
def DescribeWafData(self, request):
|
|
1157
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1158
|
-
|
|
1159
|
-
Waf统计数据查询
|
|
1160
|
-
|
|
1161
|
-
:param request: Request instance for DescribeWafData.
|
|
1162
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.DescribeWafDataRequest`
|
|
1163
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DescribeWafDataResponse`
|
|
1164
|
-
|
|
1165
|
-
"""
|
|
1166
|
-
try:
|
|
1167
|
-
params = request._serialize()
|
|
1168
|
-
headers = request.headers
|
|
1169
|
-
body = self.call("DescribeWafData", params, headers=headers)
|
|
1170
|
-
response = json.loads(body)
|
|
1171
|
-
model = models.DescribeWafDataResponse()
|
|
1172
|
-
model._deserialize(response["Response"])
|
|
1173
|
-
return model
|
|
1174
|
-
except Exception as e:
|
|
1175
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1176
|
-
raise
|
|
1177
|
-
else:
|
|
1178
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
860
|
def DisableCaches(self, request):
|
|
1182
861
|
"""### <font color=red>**该接口已废弃** </font><br>
|
|
1183
862
|
DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
|
|
@@ -1296,7 +975,9 @@ class CdnClient(AbstractClient):
|
|
|
1296
975
|
|
|
1297
976
|
|
|
1298
977
|
def GetDisableRecords(self, request):
|
|
1299
|
-
"""
|
|
978
|
+
"""以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
|
979
|
+
|
|
980
|
+
### <font color=red>**该接口已废弃** </font><br>
|
|
1300
981
|
GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。
|
|
1301
982
|
|
|
1302
983
|
:param request: Request instance for GetDisableRecords.
|
|
@@ -1366,7 +1047,9 @@ class CdnClient(AbstractClient):
|
|
|
1366
1047
|
|
|
1367
1048
|
|
|
1368
1049
|
def ListDiagnoseReport(self, request):
|
|
1369
|
-
"""
|
|
1050
|
+
"""以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
|
1051
|
+
|
|
1052
|
+
### <font color=red>**该接口已废弃** </font><br>
|
|
1370
1053
|
ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要详情。
|
|
1371
1054
|
|
|
1372
1055
|
:param request: Request instance for ListDiagnoseReport.
|
|
@@ -1389,131 +1072,6 @@ class CdnClient(AbstractClient):
|
|
|
1389
1072
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1390
1073
|
|
|
1391
1074
|
|
|
1392
|
-
def ListScdnDomains(self, request):
|
|
1393
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1394
|
-
|
|
1395
|
-
ListScdnDomains 用于查询 SCDN 安全加速域名列表,及域名基本配置信息
|
|
1396
|
-
|
|
1397
|
-
:param request: Request instance for ListScdnDomains.
|
|
1398
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListScdnDomainsRequest`
|
|
1399
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListScdnDomainsResponse`
|
|
1400
|
-
|
|
1401
|
-
"""
|
|
1402
|
-
try:
|
|
1403
|
-
params = request._serialize()
|
|
1404
|
-
headers = request.headers
|
|
1405
|
-
body = self.call("ListScdnDomains", params, headers=headers)
|
|
1406
|
-
response = json.loads(body)
|
|
1407
|
-
model = models.ListScdnDomainsResponse()
|
|
1408
|
-
model._deserialize(response["Response"])
|
|
1409
|
-
return model
|
|
1410
|
-
except Exception as e:
|
|
1411
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1412
|
-
raise
|
|
1413
|
-
else:
|
|
1414
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
def ListScdnLogTasks(self, request):
|
|
1418
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1419
|
-
|
|
1420
|
-
ListScdnLogTasks 用于查询SCDN日志下载任务列表,以及展示下载任务基本信息
|
|
1421
|
-
|
|
1422
|
-
:param request: Request instance for ListScdnLogTasks.
|
|
1423
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListScdnLogTasksRequest`
|
|
1424
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListScdnLogTasksResponse`
|
|
1425
|
-
|
|
1426
|
-
"""
|
|
1427
|
-
try:
|
|
1428
|
-
params = request._serialize()
|
|
1429
|
-
headers = request.headers
|
|
1430
|
-
body = self.call("ListScdnLogTasks", params, headers=headers)
|
|
1431
|
-
response = json.loads(body)
|
|
1432
|
-
model = models.ListScdnLogTasksResponse()
|
|
1433
|
-
model._deserialize(response["Response"])
|
|
1434
|
-
return model
|
|
1435
|
-
except Exception as e:
|
|
1436
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1437
|
-
raise
|
|
1438
|
-
else:
|
|
1439
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
def ListScdnTopBotData(self, request):
|
|
1443
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1444
|
-
|
|
1445
|
-
获取Bot攻击的Top数据列表
|
|
1446
|
-
|
|
1447
|
-
:param request: Request instance for ListScdnTopBotData.
|
|
1448
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListScdnTopBotDataRequest`
|
|
1449
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListScdnTopBotDataResponse`
|
|
1450
|
-
|
|
1451
|
-
"""
|
|
1452
|
-
try:
|
|
1453
|
-
params = request._serialize()
|
|
1454
|
-
headers = request.headers
|
|
1455
|
-
body = self.call("ListScdnTopBotData", params, headers=headers)
|
|
1456
|
-
response = json.loads(body)
|
|
1457
|
-
model = models.ListScdnTopBotDataResponse()
|
|
1458
|
-
model._deserialize(response["Response"])
|
|
1459
|
-
return model
|
|
1460
|
-
except Exception as e:
|
|
1461
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1462
|
-
raise
|
|
1463
|
-
else:
|
|
1464
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
def ListTopBotData(self, request):
|
|
1468
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1469
|
-
|
|
1470
|
-
获取Bot攻击的Top信息
|
|
1471
|
-
|
|
1472
|
-
:param request: Request instance for ListTopBotData.
|
|
1473
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopBotDataRequest`
|
|
1474
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopBotDataResponse`
|
|
1475
|
-
|
|
1476
|
-
"""
|
|
1477
|
-
try:
|
|
1478
|
-
params = request._serialize()
|
|
1479
|
-
headers = request.headers
|
|
1480
|
-
body = self.call("ListTopBotData", params, headers=headers)
|
|
1481
|
-
response = json.loads(body)
|
|
1482
|
-
model = models.ListTopBotDataResponse()
|
|
1483
|
-
model._deserialize(response["Response"])
|
|
1484
|
-
return model
|
|
1485
|
-
except Exception as e:
|
|
1486
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1487
|
-
raise
|
|
1488
|
-
else:
|
|
1489
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
def ListTopCcData(self, request):
|
|
1493
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1494
|
-
|
|
1495
|
-
获取CC攻击Top数据
|
|
1496
|
-
|
|
1497
|
-
:param request: Request instance for ListTopCcData.
|
|
1498
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopCcDataRequest`
|
|
1499
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopCcDataResponse`
|
|
1500
|
-
|
|
1501
|
-
"""
|
|
1502
|
-
try:
|
|
1503
|
-
params = request._serialize()
|
|
1504
|
-
headers = request.headers
|
|
1505
|
-
body = self.call("ListTopCcData", params, headers=headers)
|
|
1506
|
-
response = json.loads(body)
|
|
1507
|
-
model = models.ListTopCcDataResponse()
|
|
1508
|
-
model._deserialize(response["Response"])
|
|
1509
|
-
return model
|
|
1510
|
-
except Exception as e:
|
|
1511
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1512
|
-
raise
|
|
1513
|
-
else:
|
|
1514
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
1075
|
def ListTopClsLogData(self, request):
|
|
1518
1076
|
"""通过CLS日志计算Top信息。支持近7天的日志数据。
|
|
1519
1077
|
|
|
@@ -1537,31 +1095,6 @@ class CdnClient(AbstractClient):
|
|
|
1537
1095
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1538
1096
|
|
|
1539
1097
|
|
|
1540
|
-
def ListTopDDoSData(self, request):
|
|
1541
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1542
|
-
|
|
1543
|
-
获取DDoS攻击Top数据
|
|
1544
|
-
|
|
1545
|
-
:param request: Request instance for ListTopDDoSData.
|
|
1546
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopDDoSDataRequest`
|
|
1547
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopDDoSDataResponse`
|
|
1548
|
-
|
|
1549
|
-
"""
|
|
1550
|
-
try:
|
|
1551
|
-
params = request._serialize()
|
|
1552
|
-
headers = request.headers
|
|
1553
|
-
body = self.call("ListTopDDoSData", params, headers=headers)
|
|
1554
|
-
response = json.loads(body)
|
|
1555
|
-
model = models.ListTopDDoSDataResponse()
|
|
1556
|
-
model._deserialize(response["Response"])
|
|
1557
|
-
return model
|
|
1558
|
-
except Exception as e:
|
|
1559
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1560
|
-
raise
|
|
1561
|
-
else:
|
|
1562
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
1098
|
def ListTopData(self, request):
|
|
1566
1099
|
"""ListTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
|
1567
1100
|
|
|
@@ -1593,31 +1126,6 @@ class CdnClient(AbstractClient):
|
|
|
1593
1126
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1594
1127
|
|
|
1595
1128
|
|
|
1596
|
-
def ListTopWafData(self, request):
|
|
1597
|
-
"""SCDN平台下线,接口开始预下线处理
|
|
1598
|
-
|
|
1599
|
-
获取Waf攻击Top数据
|
|
1600
|
-
|
|
1601
|
-
:param request: Request instance for ListTopWafData.
|
|
1602
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.ListTopWafDataRequest`
|
|
1603
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.ListTopWafDataResponse`
|
|
1604
|
-
|
|
1605
|
-
"""
|
|
1606
|
-
try:
|
|
1607
|
-
params = request._serialize()
|
|
1608
|
-
headers = request.headers
|
|
1609
|
-
body = self.call("ListTopWafData", params, headers=headers)
|
|
1610
|
-
response = json.loads(body)
|
|
1611
|
-
model = models.ListTopWafDataResponse()
|
|
1612
|
-
model._deserialize(response["Response"])
|
|
1613
|
-
return model
|
|
1614
|
-
except Exception as e:
|
|
1615
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1616
|
-
raise
|
|
1617
|
-
else:
|
|
1618
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
1129
|
def ManageClsTopicDomains(self, request):
|
|
1622
1130
|
"""ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
|
|
1623
1131
|
|
|
@@ -1809,31 +1317,6 @@ class CdnClient(AbstractClient):
|
|
|
1809
1317
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1810
1318
|
|
|
1811
1319
|
|
|
1812
|
-
def StartScdnDomain(self, request):
|
|
1813
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1814
|
-
|
|
1815
|
-
StartScdnDomain 用于开启域名的安全防护配置
|
|
1816
|
-
|
|
1817
|
-
:param request: Request instance for StartScdnDomain.
|
|
1818
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.StartScdnDomainRequest`
|
|
1819
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.StartScdnDomainResponse`
|
|
1820
|
-
|
|
1821
|
-
"""
|
|
1822
|
-
try:
|
|
1823
|
-
params = request._serialize()
|
|
1824
|
-
headers = request.headers
|
|
1825
|
-
body = self.call("StartScdnDomain", params, headers=headers)
|
|
1826
|
-
response = json.loads(body)
|
|
1827
|
-
model = models.StartScdnDomainResponse()
|
|
1828
|
-
model._deserialize(response["Response"])
|
|
1829
|
-
return model
|
|
1830
|
-
except Exception as e:
|
|
1831
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1832
|
-
raise
|
|
1833
|
-
else:
|
|
1834
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
1320
|
def StopCdnDomain(self, request):
|
|
1838
1321
|
"""StopCdnDomain 用于停止域名的加速服务。
|
|
1839
1322
|
注意:停止加速服务后,访问至加速节点的请求将会直接返回 404。为避免对您的业务造成影响,请在停止加速服务前将解析切走。
|
|
@@ -1858,31 +1341,6 @@ class CdnClient(AbstractClient):
|
|
|
1858
1341
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1859
1342
|
|
|
1860
1343
|
|
|
1861
|
-
def StopScdnDomain(self, request):
|
|
1862
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1863
|
-
|
|
1864
|
-
StopScdnDomain 用于关闭域名的安全防护配置
|
|
1865
|
-
|
|
1866
|
-
:param request: Request instance for StopScdnDomain.
|
|
1867
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.StopScdnDomainRequest`
|
|
1868
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.StopScdnDomainResponse`
|
|
1869
|
-
|
|
1870
|
-
"""
|
|
1871
|
-
try:
|
|
1872
|
-
params = request._serialize()
|
|
1873
|
-
headers = request.headers
|
|
1874
|
-
body = self.call("StopScdnDomain", params, headers=headers)
|
|
1875
|
-
response = json.loads(body)
|
|
1876
|
-
model = models.StopScdnDomainResponse()
|
|
1877
|
-
model._deserialize(response["Response"])
|
|
1878
|
-
return model
|
|
1879
|
-
except Exception as e:
|
|
1880
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1881
|
-
raise
|
|
1882
|
-
else:
|
|
1883
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
1344
|
def UpdateDomainConfig(self, request):
|
|
1887
1345
|
"""UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。
|
|
1888
1346
|
注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口;如果仅修改单独配置项只传对应配置参数即可。
|
|
@@ -1954,31 +1412,6 @@ class CdnClient(AbstractClient):
|
|
|
1954
1412
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1955
1413
|
|
|
1956
1414
|
|
|
1957
|
-
def UpdateScdnDomain(self, request):
|
|
1958
|
-
"""SCDN平台已经正式下线,接口开始预下线处理
|
|
1959
|
-
|
|
1960
|
-
UpdateScdnDomain 用于修改 SCDN 加速域名安全相关配置
|
|
1961
|
-
|
|
1962
|
-
:param request: Request instance for UpdateScdnDomain.
|
|
1963
|
-
:type request: :class:`tencentcloud.cdn.v20180606.models.UpdateScdnDomainRequest`
|
|
1964
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.UpdateScdnDomainResponse`
|
|
1965
|
-
|
|
1966
|
-
"""
|
|
1967
|
-
try:
|
|
1968
|
-
params = request._serialize()
|
|
1969
|
-
headers = request.headers
|
|
1970
|
-
body = self.call("UpdateScdnDomain", params, headers=headers)
|
|
1971
|
-
response = json.loads(body)
|
|
1972
|
-
model = models.UpdateScdnDomainResponse()
|
|
1973
|
-
model._deserialize(response["Response"])
|
|
1974
|
-
return model
|
|
1975
|
-
except Exception as e:
|
|
1976
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1977
|
-
raise
|
|
1978
|
-
else:
|
|
1979
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
1415
|
def VerifyDomainRecord(self, request):
|
|
1983
1416
|
"""VerifyDomainRecord 用于验证域名解析值。
|
|
1984
1417
|
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118) 生成校验解析值,验证通过后,24小时有效。
|