tencentcloud-sdk-cdn 3.0.1101 → 3.0.1115
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180606/client.rb +7 -597
- data/lib/v20180606/models.rb +2002 -5460
- metadata +2 -2
data/lib/v20180606/client.rb
CHANGED
@@ -101,6 +101,8 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
105
|
+
|
104
106
|
# ### <font color=red>**该接口已废弃** </font><br>
|
105
107
|
# CreateDiagnoseUrl 用于添加域名诊断任务URL。
|
106
108
|
|
@@ -150,84 +152,6 @@ module TencentCloud
|
|
150
152
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
151
153
|
end
|
152
154
|
|
153
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
154
|
-
|
155
|
-
# CreateScdnDomain 用于创建 SCDN 加速域名
|
156
|
-
|
157
|
-
# @param request: Request instance for CreateScdnDomain.
|
158
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::CreateScdnDomainRequest`
|
159
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::CreateScdnDomainResponse`
|
160
|
-
def CreateScdnDomain(request)
|
161
|
-
body = send_request('CreateScdnDomain', request.serialize)
|
162
|
-
response = JSON.parse(body)
|
163
|
-
if response['Response'].key?('Error') == false
|
164
|
-
model = CreateScdnDomainResponse.new
|
165
|
-
model.deserialize(response['Response'])
|
166
|
-
model
|
167
|
-
else
|
168
|
-
code = response['Response']['Error']['Code']
|
169
|
-
message = response['Response']['Error']['Message']
|
170
|
-
reqid = response['Response']['RequestId']
|
171
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
172
|
-
end
|
173
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
174
|
-
raise e
|
175
|
-
rescue StandardError => e
|
176
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
177
|
-
end
|
178
|
-
|
179
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
180
|
-
|
181
|
-
# CreateScdnFailedLogTask 用于重试创建失败的事件日志任务
|
182
|
-
|
183
|
-
# @param request: Request instance for CreateScdnFailedLogTask.
|
184
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::CreateScdnFailedLogTaskRequest`
|
185
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::CreateScdnFailedLogTaskResponse`
|
186
|
-
def CreateScdnFailedLogTask(request)
|
187
|
-
body = send_request('CreateScdnFailedLogTask', request.serialize)
|
188
|
-
response = JSON.parse(body)
|
189
|
-
if response['Response'].key?('Error') == false
|
190
|
-
model = CreateScdnFailedLogTaskResponse.new
|
191
|
-
model.deserialize(response['Response'])
|
192
|
-
model
|
193
|
-
else
|
194
|
-
code = response['Response']['Error']['Code']
|
195
|
-
message = response['Response']['Error']['Message']
|
196
|
-
reqid = response['Response']['RequestId']
|
197
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
198
|
-
end
|
199
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
200
|
-
raise e
|
201
|
-
rescue StandardError => e
|
202
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
203
|
-
end
|
204
|
-
|
205
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
206
|
-
|
207
|
-
# CreateScdnLogTask 用于创建事件日志任务
|
208
|
-
|
209
|
-
# @param request: Request instance for CreateScdnLogTask.
|
210
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::CreateScdnLogTaskRequest`
|
211
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::CreateScdnLogTaskResponse`
|
212
|
-
def CreateScdnLogTask(request)
|
213
|
-
body = send_request('CreateScdnLogTask', request.serialize)
|
214
|
-
response = JSON.parse(body)
|
215
|
-
if response['Response'].key?('Error') == false
|
216
|
-
model = CreateScdnLogTaskResponse.new
|
217
|
-
model.deserialize(response['Response'])
|
218
|
-
model
|
219
|
-
else
|
220
|
-
code = response['Response']['Error']['Code']
|
221
|
-
message = response['Response']['Error']['Message']
|
222
|
-
reqid = response['Response']['RequestId']
|
223
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
224
|
-
end
|
225
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
226
|
-
raise e
|
227
|
-
rescue StandardError => e
|
228
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
229
|
-
end
|
230
|
-
|
231
155
|
# CreateVerifyRecord 用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
232
156
|
# 生成的解析记录可通过 [VerifyDomainRecord](https://cloud.tencent.com/document/product/228/48117) 完成归属权校验。
|
233
157
|
# 注意:生成的解析记录有效期为24小时,超过24小时后,需重新生成。
|
@@ -303,32 +227,6 @@ module TencentCloud
|
|
303
227
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
304
228
|
end
|
305
229
|
|
306
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
307
|
-
|
308
|
-
# 删除SCDN域名
|
309
|
-
|
310
|
-
# @param request: Request instance for DeleteScdnDomain.
|
311
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DeleteScdnDomainRequest`
|
312
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DeleteScdnDomainResponse`
|
313
|
-
def DeleteScdnDomain(request)
|
314
|
-
body = send_request('DeleteScdnDomain', request.serialize)
|
315
|
-
response = JSON.parse(body)
|
316
|
-
if response['Response'].key?('Error') == false
|
317
|
-
model = DeleteScdnDomainResponse.new
|
318
|
-
model.deserialize(response['Response'])
|
319
|
-
model
|
320
|
-
else
|
321
|
-
code = response['Response']['Error']['Code']
|
322
|
-
message = response['Response']['Error']['Message']
|
323
|
-
reqid = response['Response']['RequestId']
|
324
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
325
|
-
end
|
326
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
327
|
-
raise e
|
328
|
-
rescue StandardError => e
|
329
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
330
|
-
end
|
331
|
-
|
332
230
|
# DescribeBillingData 用于查询实际计费数据明细。
|
333
231
|
|
334
232
|
# @param request: Request instance for DescribeBillingData.
|
@@ -353,32 +251,6 @@ module TencentCloud
|
|
353
251
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
354
252
|
end
|
355
253
|
|
356
|
-
# SCDN平台下线,接口开始预下线处理
|
357
|
-
|
358
|
-
# CC统计数据查询
|
359
|
-
|
360
|
-
# @param request: Request instance for DescribeCcData.
|
361
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeCcDataRequest`
|
362
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeCcDataResponse`
|
363
|
-
def DescribeCcData(request)
|
364
|
-
body = send_request('DescribeCcData', request.serialize)
|
365
|
-
response = JSON.parse(body)
|
366
|
-
if response['Response'].key?('Error') == false
|
367
|
-
model = DescribeCcDataResponse.new
|
368
|
-
model.deserialize(response['Response'])
|
369
|
-
model
|
370
|
-
else
|
371
|
-
code = response['Response']['Error']['Code']
|
372
|
-
message = response['Response']['Error']['Message']
|
373
|
-
reqid = response['Response']['RequestId']
|
374
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
375
|
-
end
|
376
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
377
|
-
raise e
|
378
|
-
rescue StandardError => e
|
379
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
380
|
-
end
|
381
|
-
|
382
254
|
# DescribeCdnData 用于查询 CDN 实时访问监控数据,支持以下指标查询:
|
383
255
|
|
384
256
|
# + 流量(单位为 byte)
|
@@ -513,31 +385,7 @@ module TencentCloud
|
|
513
385
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
514
386
|
end
|
515
387
|
|
516
|
-
#
|
517
|
-
|
518
|
-
# DDoS统计数据查询
|
519
|
-
|
520
|
-
# @param request: Request instance for DescribeDDoSData.
|
521
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeDDoSDataRequest`
|
522
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeDDoSDataResponse`
|
523
|
-
def DescribeDDoSData(request)
|
524
|
-
body = send_request('DescribeDDoSData', request.serialize)
|
525
|
-
response = JSON.parse(body)
|
526
|
-
if response['Response'].key?('Error') == false
|
527
|
-
model = DescribeDDoSDataResponse.new
|
528
|
-
model.deserialize(response['Response'])
|
529
|
-
model
|
530
|
-
else
|
531
|
-
code = response['Response']['Error']['Code']
|
532
|
-
message = response['Response']['Error']['Message']
|
533
|
-
reqid = response['Response']['RequestId']
|
534
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
535
|
-
end
|
536
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
537
|
-
raise e
|
538
|
-
rescue StandardError => e
|
539
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
540
|
-
end
|
388
|
+
# 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
541
389
|
|
542
390
|
# ### <font color=red>**该接口已废弃** </font><br>
|
543
391
|
# DescribeDiagnoseReport 用于获取指定报告id的内容。
|
@@ -661,32 +509,6 @@ module TencentCloud
|
|
661
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
662
510
|
end
|
663
511
|
|
664
|
-
# SCDN平台下线,接口开始预下线处理
|
665
|
-
|
666
|
-
# DescribeEventLogData 用于查询事件日志统计曲线
|
667
|
-
|
668
|
-
# @param request: Request instance for DescribeEventLogData.
|
669
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeEventLogDataRequest`
|
670
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeEventLogDataResponse`
|
671
|
-
def DescribeEventLogData(request)
|
672
|
-
body = send_request('DescribeEventLogData', request.serialize)
|
673
|
-
response = JSON.parse(body)
|
674
|
-
if response['Response'].key?('Error') == false
|
675
|
-
model = DescribeEventLogDataResponse.new
|
676
|
-
model.deserialize(response['Response'])
|
677
|
-
model
|
678
|
-
else
|
679
|
-
code = response['Response']['Error']['Code']
|
680
|
-
message = response['Response']['Error']['Message']
|
681
|
-
reqid = response['Response']['RequestId']
|
682
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
683
|
-
end
|
684
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
685
|
-
raise e
|
686
|
-
rescue StandardError => e
|
687
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
688
|
-
end
|
689
|
-
|
690
512
|
# DescribeHttpsPackages 用于查询 CDN HTTPS请求包详情。
|
691
513
|
|
692
514
|
# @param request: Request instance for DescribeHttpsPackages.
|
@@ -990,136 +812,6 @@ module TencentCloud
|
|
990
812
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
991
813
|
end
|
992
814
|
|
993
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
994
|
-
|
995
|
-
# 获取BOT统计数据列表
|
996
|
-
|
997
|
-
# @param request: Request instance for DescribeScdnBotData.
|
998
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeScdnBotDataRequest`
|
999
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeScdnBotDataResponse`
|
1000
|
-
def DescribeScdnBotData(request)
|
1001
|
-
body = send_request('DescribeScdnBotData', request.serialize)
|
1002
|
-
response = JSON.parse(body)
|
1003
|
-
if response['Response'].key?('Error') == false
|
1004
|
-
model = DescribeScdnBotDataResponse.new
|
1005
|
-
model.deserialize(response['Response'])
|
1006
|
-
model
|
1007
|
-
else
|
1008
|
-
code = response['Response']['Error']['Code']
|
1009
|
-
message = response['Response']['Error']['Message']
|
1010
|
-
reqid = response['Response']['RequestId']
|
1011
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1012
|
-
end
|
1013
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1014
|
-
raise e
|
1015
|
-
rescue StandardError => e
|
1016
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1017
|
-
end
|
1018
|
-
|
1019
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1020
|
-
|
1021
|
-
# 查询BOT会话记录列表
|
1022
|
-
|
1023
|
-
# @param request: Request instance for DescribeScdnBotRecords.
|
1024
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeScdnBotRecordsRequest`
|
1025
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeScdnBotRecordsResponse`
|
1026
|
-
def DescribeScdnBotRecords(request)
|
1027
|
-
body = send_request('DescribeScdnBotRecords', request.serialize)
|
1028
|
-
response = JSON.parse(body)
|
1029
|
-
if response['Response'].key?('Error') == false
|
1030
|
-
model = DescribeScdnBotRecordsResponse.new
|
1031
|
-
model.deserialize(response['Response'])
|
1032
|
-
model
|
1033
|
-
else
|
1034
|
-
code = response['Response']['Error']['Code']
|
1035
|
-
message = response['Response']['Error']['Message']
|
1036
|
-
reqid = response['Response']['RequestId']
|
1037
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1038
|
-
end
|
1039
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1040
|
-
raise e
|
1041
|
-
rescue StandardError => e
|
1042
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1043
|
-
end
|
1044
|
-
|
1045
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1046
|
-
|
1047
|
-
# DescribeScdnConfig 用于查询指定 SCDN 加速域名的安全相关配置
|
1048
|
-
|
1049
|
-
# @param request: Request instance for DescribeScdnConfig.
|
1050
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeScdnConfigRequest`
|
1051
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeScdnConfigResponse`
|
1052
|
-
def DescribeScdnConfig(request)
|
1053
|
-
body = send_request('DescribeScdnConfig', request.serialize)
|
1054
|
-
response = JSON.parse(body)
|
1055
|
-
if response['Response'].key?('Error') == false
|
1056
|
-
model = DescribeScdnConfigResponse.new
|
1057
|
-
model.deserialize(response['Response'])
|
1058
|
-
model
|
1059
|
-
else
|
1060
|
-
code = response['Response']['Error']['Code']
|
1061
|
-
message = response['Response']['Error']['Message']
|
1062
|
-
reqid = response['Response']['RequestId']
|
1063
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1064
|
-
end
|
1065
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1066
|
-
raise e
|
1067
|
-
rescue StandardError => e
|
1068
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1069
|
-
end
|
1070
|
-
|
1071
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1072
|
-
|
1073
|
-
# 查询在SCDN IP安全策略
|
1074
|
-
|
1075
|
-
# @param request: Request instance for DescribeScdnIpStrategy.
|
1076
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeScdnIpStrategyRequest`
|
1077
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeScdnIpStrategyResponse`
|
1078
|
-
def DescribeScdnIpStrategy(request)
|
1079
|
-
body = send_request('DescribeScdnIpStrategy', request.serialize)
|
1080
|
-
response = JSON.parse(body)
|
1081
|
-
if response['Response'].key?('Error') == false
|
1082
|
-
model = DescribeScdnIpStrategyResponse.new
|
1083
|
-
model.deserialize(response['Response'])
|
1084
|
-
model
|
1085
|
-
else
|
1086
|
-
code = response['Response']['Error']['Code']
|
1087
|
-
message = response['Response']['Error']['Message']
|
1088
|
-
reqid = response['Response']['RequestId']
|
1089
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1090
|
-
end
|
1091
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1092
|
-
raise e
|
1093
|
-
rescue StandardError => e
|
1094
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1095
|
-
end
|
1096
|
-
|
1097
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1098
|
-
|
1099
|
-
# 获取SCDN的Top数据
|
1100
|
-
|
1101
|
-
# @param request: Request instance for DescribeScdnTopData.
|
1102
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeScdnTopDataRequest`
|
1103
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeScdnTopDataResponse`
|
1104
|
-
def DescribeScdnTopData(request)
|
1105
|
-
body = send_request('DescribeScdnTopData', request.serialize)
|
1106
|
-
response = JSON.parse(body)
|
1107
|
-
if response['Response'].key?('Error') == false
|
1108
|
-
model = DescribeScdnTopDataResponse.new
|
1109
|
-
model.deserialize(response['Response'])
|
1110
|
-
model
|
1111
|
-
else
|
1112
|
-
code = response['Response']['Error']['Code']
|
1113
|
-
message = response['Response']['Error']['Message']
|
1114
|
-
reqid = response['Response']['RequestId']
|
1115
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1116
|
-
end
|
1117
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1118
|
-
raise e
|
1119
|
-
rescue StandardError => e
|
1120
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1121
|
-
end
|
1122
|
-
|
1123
815
|
# DescribeTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
1124
816
|
|
1125
817
|
# + 依据总流量、总请求数对访问 IP 排序,从大至小返回 TOP 100 IP
|
@@ -1202,32 +894,6 @@ module TencentCloud
|
|
1202
894
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1203
895
|
end
|
1204
896
|
|
1205
|
-
# SCDN平台下线,接口开始预下线处理
|
1206
|
-
|
1207
|
-
# Waf统计数据查询
|
1208
|
-
|
1209
|
-
# @param request: Request instance for DescribeWafData.
|
1210
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeWafDataRequest`
|
1211
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeWafDataResponse`
|
1212
|
-
def DescribeWafData(request)
|
1213
|
-
body = send_request('DescribeWafData', request.serialize)
|
1214
|
-
response = JSON.parse(body)
|
1215
|
-
if response['Response'].key?('Error') == false
|
1216
|
-
model = DescribeWafDataResponse.new
|
1217
|
-
model.deserialize(response['Response'])
|
1218
|
-
model
|
1219
|
-
else
|
1220
|
-
code = response['Response']['Error']['Code']
|
1221
|
-
message = response['Response']['Error']['Message']
|
1222
|
-
reqid = response['Response']['RequestId']
|
1223
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1224
|
-
end
|
1225
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1226
|
-
raise e
|
1227
|
-
rescue StandardError => e
|
1228
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1229
|
-
end
|
1230
|
-
|
1231
897
|
# ### <font color=red>**该接口已废弃** </font><br>
|
1232
898
|
# DisableCaches 用于禁用 CDN 上指定 URL 的访问,禁用完成后,中国境内访问会直接返回 403。
|
1233
899
|
|
@@ -1350,6 +1016,8 @@ module TencentCloud
|
|
1350
1016
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1351
1017
|
end
|
1352
1018
|
|
1019
|
+
# 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
1020
|
+
|
1353
1021
|
# ### <font color=red>**该接口已废弃** </font><br>
|
1354
1022
|
# GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。
|
1355
1023
|
|
@@ -1423,6 +1091,8 @@ module TencentCloud
|
|
1423
1091
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1424
1092
|
end
|
1425
1093
|
|
1094
|
+
# 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
|
1095
|
+
|
1426
1096
|
# ### <font color=red>**该接口已废弃** </font><br>
|
1427
1097
|
# ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要详情。
|
1428
1098
|
|
@@ -1448,136 +1118,6 @@ module TencentCloud
|
|
1448
1118
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1449
1119
|
end
|
1450
1120
|
|
1451
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1452
|
-
|
1453
|
-
# ListScdnDomains 用于查询 SCDN 安全加速域名列表,及域名基本配置信息
|
1454
|
-
|
1455
|
-
# @param request: Request instance for ListScdnDomains.
|
1456
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListScdnDomainsRequest`
|
1457
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListScdnDomainsResponse`
|
1458
|
-
def ListScdnDomains(request)
|
1459
|
-
body = send_request('ListScdnDomains', request.serialize)
|
1460
|
-
response = JSON.parse(body)
|
1461
|
-
if response['Response'].key?('Error') == false
|
1462
|
-
model = ListScdnDomainsResponse.new
|
1463
|
-
model.deserialize(response['Response'])
|
1464
|
-
model
|
1465
|
-
else
|
1466
|
-
code = response['Response']['Error']['Code']
|
1467
|
-
message = response['Response']['Error']['Message']
|
1468
|
-
reqid = response['Response']['RequestId']
|
1469
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1470
|
-
end
|
1471
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1472
|
-
raise e
|
1473
|
-
rescue StandardError => e
|
1474
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1475
|
-
end
|
1476
|
-
|
1477
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1478
|
-
|
1479
|
-
# ListScdnLogTasks 用于查询SCDN日志下载任务列表,以及展示下载任务基本信息
|
1480
|
-
|
1481
|
-
# @param request: Request instance for ListScdnLogTasks.
|
1482
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListScdnLogTasksRequest`
|
1483
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListScdnLogTasksResponse`
|
1484
|
-
def ListScdnLogTasks(request)
|
1485
|
-
body = send_request('ListScdnLogTasks', request.serialize)
|
1486
|
-
response = JSON.parse(body)
|
1487
|
-
if response['Response'].key?('Error') == false
|
1488
|
-
model = ListScdnLogTasksResponse.new
|
1489
|
-
model.deserialize(response['Response'])
|
1490
|
-
model
|
1491
|
-
else
|
1492
|
-
code = response['Response']['Error']['Code']
|
1493
|
-
message = response['Response']['Error']['Message']
|
1494
|
-
reqid = response['Response']['RequestId']
|
1495
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1496
|
-
end
|
1497
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1498
|
-
raise e
|
1499
|
-
rescue StandardError => e
|
1500
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1501
|
-
end
|
1502
|
-
|
1503
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1504
|
-
|
1505
|
-
# 获取Bot攻击的Top数据列表
|
1506
|
-
|
1507
|
-
# @param request: Request instance for ListScdnTopBotData.
|
1508
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListScdnTopBotDataRequest`
|
1509
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListScdnTopBotDataResponse`
|
1510
|
-
def ListScdnTopBotData(request)
|
1511
|
-
body = send_request('ListScdnTopBotData', request.serialize)
|
1512
|
-
response = JSON.parse(body)
|
1513
|
-
if response['Response'].key?('Error') == false
|
1514
|
-
model = ListScdnTopBotDataResponse.new
|
1515
|
-
model.deserialize(response['Response'])
|
1516
|
-
model
|
1517
|
-
else
|
1518
|
-
code = response['Response']['Error']['Code']
|
1519
|
-
message = response['Response']['Error']['Message']
|
1520
|
-
reqid = response['Response']['RequestId']
|
1521
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1522
|
-
end
|
1523
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1524
|
-
raise e
|
1525
|
-
rescue StandardError => e
|
1526
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1527
|
-
end
|
1528
|
-
|
1529
|
-
# SCDN平台下线,接口开始预下线处理
|
1530
|
-
|
1531
|
-
# 获取Bot攻击的Top信息
|
1532
|
-
|
1533
|
-
# @param request: Request instance for ListTopBotData.
|
1534
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListTopBotDataRequest`
|
1535
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListTopBotDataResponse`
|
1536
|
-
def ListTopBotData(request)
|
1537
|
-
body = send_request('ListTopBotData', request.serialize)
|
1538
|
-
response = JSON.parse(body)
|
1539
|
-
if response['Response'].key?('Error') == false
|
1540
|
-
model = ListTopBotDataResponse.new
|
1541
|
-
model.deserialize(response['Response'])
|
1542
|
-
model
|
1543
|
-
else
|
1544
|
-
code = response['Response']['Error']['Code']
|
1545
|
-
message = response['Response']['Error']['Message']
|
1546
|
-
reqid = response['Response']['RequestId']
|
1547
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1548
|
-
end
|
1549
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1550
|
-
raise e
|
1551
|
-
rescue StandardError => e
|
1552
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1553
|
-
end
|
1554
|
-
|
1555
|
-
# SCDN平台下线,接口开始预下线处理
|
1556
|
-
|
1557
|
-
# 获取CC攻击Top数据
|
1558
|
-
|
1559
|
-
# @param request: Request instance for ListTopCcData.
|
1560
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListTopCcDataRequest`
|
1561
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListTopCcDataResponse`
|
1562
|
-
def ListTopCcData(request)
|
1563
|
-
body = send_request('ListTopCcData', request.serialize)
|
1564
|
-
response = JSON.parse(body)
|
1565
|
-
if response['Response'].key?('Error') == false
|
1566
|
-
model = ListTopCcDataResponse.new
|
1567
|
-
model.deserialize(response['Response'])
|
1568
|
-
model
|
1569
|
-
else
|
1570
|
-
code = response['Response']['Error']['Code']
|
1571
|
-
message = response['Response']['Error']['Message']
|
1572
|
-
reqid = response['Response']['RequestId']
|
1573
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1574
|
-
end
|
1575
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1576
|
-
raise e
|
1577
|
-
rescue StandardError => e
|
1578
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1579
|
-
end
|
1580
|
-
|
1581
1121
|
# 通过CLS日志计算Top信息。支持近7天的日志数据。
|
1582
1122
|
|
1583
1123
|
# @param request: Request instance for ListTopClsLogData.
|
@@ -1602,32 +1142,6 @@ module TencentCloud
|
|
1602
1142
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1603
1143
|
end
|
1604
1144
|
|
1605
|
-
# SCDN平台下线,接口开始预下线处理
|
1606
|
-
|
1607
|
-
# 获取DDoS攻击Top数据
|
1608
|
-
|
1609
|
-
# @param request: Request instance for ListTopDDoSData.
|
1610
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListTopDDoSDataRequest`
|
1611
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListTopDDoSDataResponse`
|
1612
|
-
def ListTopDDoSData(request)
|
1613
|
-
body = send_request('ListTopDDoSData', request.serialize)
|
1614
|
-
response = JSON.parse(body)
|
1615
|
-
if response['Response'].key?('Error') == false
|
1616
|
-
model = ListTopDDoSDataResponse.new
|
1617
|
-
model.deserialize(response['Response'])
|
1618
|
-
model
|
1619
|
-
else
|
1620
|
-
code = response['Response']['Error']['Code']
|
1621
|
-
message = response['Response']['Error']['Message']
|
1622
|
-
reqid = response['Response']['RequestId']
|
1623
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1624
|
-
end
|
1625
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1626
|
-
raise e
|
1627
|
-
rescue StandardError => e
|
1628
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1629
|
-
end
|
1630
|
-
|
1631
1145
|
# ListTopData 通过入参 Metric 和 Filter 组合不同,可以查询以下排序数据:
|
1632
1146
|
|
1633
1147
|
# + 依据总流量、总请求数对访问 URL 排序,从大至小返回 TOP 1000 URL
|
@@ -1660,32 +1174,6 @@ module TencentCloud
|
|
1660
1174
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1661
1175
|
end
|
1662
1176
|
|
1663
|
-
# SCDN平台下线,接口开始预下线处理
|
1664
|
-
|
1665
|
-
# 获取Waf攻击Top数据
|
1666
|
-
|
1667
|
-
# @param request: Request instance for ListTopWafData.
|
1668
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::ListTopWafDataRequest`
|
1669
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::ListTopWafDataResponse`
|
1670
|
-
def ListTopWafData(request)
|
1671
|
-
body = send_request('ListTopWafData', request.serialize)
|
1672
|
-
response = JSON.parse(body)
|
1673
|
-
if response['Response'].key?('Error') == false
|
1674
|
-
model = ListTopWafDataResponse.new
|
1675
|
-
model.deserialize(response['Response'])
|
1676
|
-
model
|
1677
|
-
else
|
1678
|
-
code = response['Response']['Error']['Code']
|
1679
|
-
message = response['Response']['Error']['Message']
|
1680
|
-
reqid = response['Response']['RequestId']
|
1681
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1682
|
-
end
|
1683
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1684
|
-
raise e
|
1685
|
-
rescue StandardError => e
|
1686
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1687
|
-
end
|
1688
|
-
|
1689
1177
|
# ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
|
1690
1178
|
|
1691
1179
|
# @param request: Request instance for ManageClsTopicDomains.
|
@@ -1885,32 +1373,6 @@ module TencentCloud
|
|
1885
1373
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1886
1374
|
end
|
1887
1375
|
|
1888
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1889
|
-
|
1890
|
-
# StartScdnDomain 用于开启域名的安全防护配置
|
1891
|
-
|
1892
|
-
# @param request: Request instance for StartScdnDomain.
|
1893
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::StartScdnDomainRequest`
|
1894
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::StartScdnDomainResponse`
|
1895
|
-
def StartScdnDomain(request)
|
1896
|
-
body = send_request('StartScdnDomain', request.serialize)
|
1897
|
-
response = JSON.parse(body)
|
1898
|
-
if response['Response'].key?('Error') == false
|
1899
|
-
model = StartScdnDomainResponse.new
|
1900
|
-
model.deserialize(response['Response'])
|
1901
|
-
model
|
1902
|
-
else
|
1903
|
-
code = response['Response']['Error']['Code']
|
1904
|
-
message = response['Response']['Error']['Message']
|
1905
|
-
reqid = response['Response']['RequestId']
|
1906
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1907
|
-
end
|
1908
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1909
|
-
raise e
|
1910
|
-
rescue StandardError => e
|
1911
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1912
|
-
end
|
1913
|
-
|
1914
1376
|
# StopCdnDomain 用于停止域名的加速服务。
|
1915
1377
|
# 注意:停止加速服务后,访问至加速节点的请求将会直接返回 404。为避免对您的业务造成影响,请在停止加速服务前将解析切走。
|
1916
1378
|
|
@@ -1936,32 +1398,6 @@ module TencentCloud
|
|
1936
1398
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1937
1399
|
end
|
1938
1400
|
|
1939
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
1940
|
-
|
1941
|
-
# StopScdnDomain 用于关闭域名的安全防护配置
|
1942
|
-
|
1943
|
-
# @param request: Request instance for StopScdnDomain.
|
1944
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::StopScdnDomainRequest`
|
1945
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::StopScdnDomainResponse`
|
1946
|
-
def StopScdnDomain(request)
|
1947
|
-
body = send_request('StopScdnDomain', request.serialize)
|
1948
|
-
response = JSON.parse(body)
|
1949
|
-
if response['Response'].key?('Error') == false
|
1950
|
-
model = StopScdnDomainResponse.new
|
1951
|
-
model.deserialize(response['Response'])
|
1952
|
-
model
|
1953
|
-
else
|
1954
|
-
code = response['Response']['Error']['Code']
|
1955
|
-
message = response['Response']['Error']['Message']
|
1956
|
-
reqid = response['Response']['RequestId']
|
1957
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1958
|
-
end
|
1959
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1960
|
-
raise e
|
1961
|
-
rescue StandardError => e
|
1962
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1963
|
-
end
|
1964
|
-
|
1965
1401
|
# UpdateDomainConfig 用于修改内容分发网络加速域名配置信息。
|
1966
1402
|
# 注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值,建议通过查询接口获取配置属性后,直接修改后传递给本接口;如果仅修改单独配置项只传对应配置参数即可。
|
1967
1403
|
# 操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。
|
@@ -2036,32 +1472,6 @@ module TencentCloud
|
|
2036
1472
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2037
1473
|
end
|
2038
1474
|
|
2039
|
-
# SCDN平台已经正式下线,接口开始预下线处理
|
2040
|
-
|
2041
|
-
# UpdateScdnDomain 用于修改 SCDN 加速域名安全相关配置
|
2042
|
-
|
2043
|
-
# @param request: Request instance for UpdateScdnDomain.
|
2044
|
-
# @type request: :class:`Tencentcloud::cdn::V20180606::UpdateScdnDomainRequest`
|
2045
|
-
# @rtype: :class:`Tencentcloud::cdn::V20180606::UpdateScdnDomainResponse`
|
2046
|
-
def UpdateScdnDomain(request)
|
2047
|
-
body = send_request('UpdateScdnDomain', request.serialize)
|
2048
|
-
response = JSON.parse(body)
|
2049
|
-
if response['Response'].key?('Error') == false
|
2050
|
-
model = UpdateScdnDomainResponse.new
|
2051
|
-
model.deserialize(response['Response'])
|
2052
|
-
model
|
2053
|
-
else
|
2054
|
-
code = response['Response']['Error']['Code']
|
2055
|
-
message = response['Response']['Error']['Message']
|
2056
|
-
reqid = response['Response']['RequestId']
|
2057
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2058
|
-
end
|
2059
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2060
|
-
raise e
|
2061
|
-
rescue StandardError => e
|
2062
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2063
|
-
end
|
2064
|
-
|
2065
1475
|
# VerifyDomainRecord 用于验证域名解析值。
|
2066
1476
|
# 验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118) 生成校验解析值,验证通过后,24小时有效。
|
2067
1477
|
# 具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|