tencentcloud-sdk-teo 3.0.606 → 3.0.608
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +10 -632
- data/lib/v20220901/models.rb +474 -2857
- metadata +2 -2
data/lib/v20220901/client.rb
CHANGED
@@ -53,16 +53,16 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
-
#
|
56
|
+
# 校验域名 CNAME 状态
|
57
57
|
|
58
|
-
# @param request: Request instance for
|
59
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::
|
60
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::
|
61
|
-
def
|
62
|
-
body = send_request('
|
58
|
+
# @param request: Request instance for CheckCnameStatus.
|
59
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CheckCnameStatusRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CheckCnameStatusResponse`
|
61
|
+
def CheckCnameStatus(request)
|
62
|
+
body = send_request('CheckCnameStatus', request.serialize)
|
63
63
|
response = JSON.parse(body)
|
64
64
|
if response['Response'].key?('Error') == false
|
65
|
-
model =
|
65
|
+
model = CheckCnameStatusResponse.new
|
66
66
|
model.deserialize(response['Response'])
|
67
67
|
model
|
68
68
|
else
|
@@ -173,30 +173,6 @@ module TencentCloud
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
174
|
end
|
175
175
|
|
176
|
-
# 用于创建COS回源私有凭证
|
177
|
-
|
178
|
-
# @param request: Request instance for CreateCredential.
|
179
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::CreateCredentialRequest`
|
180
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateCredentialResponse`
|
181
|
-
def CreateCredential(request)
|
182
|
-
body = send_request('CreateCredential', request.serialize)
|
183
|
-
response = JSON.parse(body)
|
184
|
-
if response['Response'].key?('Error') == false
|
185
|
-
model = CreateCredentialResponse.new
|
186
|
-
model.deserialize(response['Response'])
|
187
|
-
model
|
188
|
-
else
|
189
|
-
code = response['Response']['Error']['Code']
|
190
|
-
message = response['Response']['Error']['Message']
|
191
|
-
reqid = response['Response']['RequestId']
|
192
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
-
end
|
194
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
-
raise e
|
196
|
-
rescue StandardError => e
|
197
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
-
end
|
199
|
-
|
200
176
|
# 创建源站组
|
201
177
|
|
202
178
|
# @param request: Request instance for CreateOriginGroup.
|
@@ -269,7 +245,9 @@ module TencentCloud
|
|
269
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
246
|
end
|
271
247
|
|
272
|
-
#
|
248
|
+
# 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
|
249
|
+
|
250
|
+
# 清除缓存任务详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。</li>
|
273
251
|
|
274
252
|
# @param request: Request instance for CreatePurgeTask.
|
275
253
|
# @type request: :class:`Tencentcloud::teo::V20220901::CreatePurgeTaskRequest`
|
@@ -293,30 +271,6 @@ module TencentCloud
|
|
293
271
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
272
|
end
|
295
273
|
|
296
|
-
# 创建刷新/预热重放任务
|
297
|
-
|
298
|
-
# @param request: Request instance for CreateReplayTask.
|
299
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::CreateReplayTaskRequest`
|
300
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateReplayTaskResponse`
|
301
|
-
def CreateReplayTask(request)
|
302
|
-
body = send_request('CreateReplayTask', request.serialize)
|
303
|
-
response = JSON.parse(body)
|
304
|
-
if response['Response'].key?('Error') == false
|
305
|
-
model = CreateReplayTaskResponse.new
|
306
|
-
model.deserialize(response['Response'])
|
307
|
-
model
|
308
|
-
else
|
309
|
-
code = response['Response']['Error']['Code']
|
310
|
-
message = response['Response']['Error']['Message']
|
311
|
-
reqid = response['Response']['RequestId']
|
312
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
-
end
|
314
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
-
raise e
|
316
|
-
rescue StandardError => e
|
317
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
-
end
|
319
|
-
|
320
274
|
# 规则引擎创建规则。
|
321
275
|
|
322
276
|
# @param request: Request instance for CreateRule.
|
@@ -365,30 +319,6 @@ module TencentCloud
|
|
365
319
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
320
|
end
|
367
321
|
|
368
|
-
# 对用户指定的域名进行一次站点拨测
|
369
|
-
|
370
|
-
# @param request: Request instance for CreateSpeedTesting.
|
371
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::CreateSpeedTestingRequest`
|
372
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateSpeedTestingResponse`
|
373
|
-
def CreateSpeedTesting(request)
|
374
|
-
body = send_request('CreateSpeedTesting', request.serialize)
|
375
|
-
response = JSON.parse(body)
|
376
|
-
if response['Response'].key?('Error') == false
|
377
|
-
model = CreateSpeedTestingResponse.new
|
378
|
-
model.deserialize(response['Response'])
|
379
|
-
model
|
380
|
-
else
|
381
|
-
code = response['Response']['Error']['Code']
|
382
|
-
message = response['Response']['Error']['Message']
|
383
|
-
reqid = response['Response']['RequestId']
|
384
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
-
end
|
386
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
-
raise e
|
388
|
-
rescue StandardError => e
|
389
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
-
end
|
391
|
-
|
392
322
|
# 用于用户接入新的站点。
|
393
323
|
|
394
324
|
# @param request: Request instance for CreateZone.
|
@@ -629,30 +559,6 @@ module TencentCloud
|
|
629
559
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
560
|
end
|
631
561
|
|
632
|
-
# 本接口(DescribeAddableEntityList)用于查询剩余可添加的日志推送实体列表。
|
633
|
-
|
634
|
-
# @param request: Request instance for DescribeAddableEntityList.
|
635
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeAddableEntityListRequest`
|
636
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeAddableEntityListResponse`
|
637
|
-
def DescribeAddableEntityList(request)
|
638
|
-
body = send_request('DescribeAddableEntityList', request.serialize)
|
639
|
-
response = JSON.parse(body)
|
640
|
-
if response['Response'].key?('Error') == false
|
641
|
-
model = DescribeAddableEntityListResponse.new
|
642
|
-
model.deserialize(response['Response'])
|
643
|
-
model
|
644
|
-
else
|
645
|
-
code = response['Response']['Error']['Code']
|
646
|
-
message = response['Response']['Error']['Message']
|
647
|
-
reqid = response['Response']['RequestId']
|
648
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
-
end
|
650
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
-
raise e
|
652
|
-
rescue StandardError => e
|
653
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
-
end
|
655
|
-
|
656
562
|
# 查询别称域名信息列表。
|
657
563
|
|
658
564
|
# @param request: Request instance for DescribeAliasDomains.
|
@@ -725,30 +631,6 @@ module TencentCloud
|
|
725
631
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
632
|
end
|
727
633
|
|
728
|
-
# 本接口(DescribeClientRuleList)用于查询封禁客户端信息列表。
|
729
|
-
|
730
|
-
# @param request: Request instance for DescribeClientRuleList.
|
731
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeClientRuleListRequest`
|
732
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeClientRuleListResponse`
|
733
|
-
def DescribeClientRuleList(request)
|
734
|
-
body = send_request('DescribeClientRuleList', request.serialize)
|
735
|
-
response = JSON.parse(body)
|
736
|
-
if response['Response'].key?('Error') == false
|
737
|
-
model = DescribeClientRuleListResponse.new
|
738
|
-
model.deserialize(response['Response'])
|
739
|
-
model
|
740
|
-
else
|
741
|
-
code = response['Response']['Error']['Code']
|
742
|
-
message = response['Response']['Error']['Message']
|
743
|
-
reqid = response['Response']['RequestId']
|
744
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
745
|
-
end
|
746
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
747
|
-
raise e
|
748
|
-
rescue StandardError => e
|
749
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
|
-
end
|
751
|
-
|
752
634
|
# 查询内容管理接口配额
|
753
635
|
|
754
636
|
# @param request: Request instance for DescribeContentQuota.
|
@@ -869,30 +751,6 @@ module TencentCloud
|
|
869
751
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
752
|
end
|
871
753
|
|
872
|
-
# 获取DNS请求数统计曲线
|
873
|
-
|
874
|
-
# @param request: Request instance for DescribeDnsData.
|
875
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeDnsDataRequest`
|
876
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDnsDataResponse`
|
877
|
-
def DescribeDnsData(request)
|
878
|
-
body = send_request('DescribeDnsData', request.serialize)
|
879
|
-
response = JSON.parse(body)
|
880
|
-
if response['Response'].key?('Error') == false
|
881
|
-
model = DescribeDnsDataResponse.new
|
882
|
-
model.deserialize(response['Response'])
|
883
|
-
model
|
884
|
-
else
|
885
|
-
code = response['Response']['Error']['Code']
|
886
|
-
message = response['Response']['Error']['Message']
|
887
|
-
reqid = response['Response']['RequestId']
|
888
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
889
|
-
end
|
890
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
891
|
-
raise e
|
892
|
-
rescue StandardError => e
|
893
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
|
-
end
|
895
|
-
|
896
754
|
# 用于查询域名配置信息
|
897
755
|
|
898
756
|
# @param request: Request instance for DescribeHostsSetting.
|
@@ -941,54 +799,6 @@ module TencentCloud
|
|
941
799
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
800
|
end
|
943
801
|
|
944
|
-
# 本接口(DescribeLogSets)用于获取日志集列表。
|
945
|
-
|
946
|
-
# @param request: Request instance for DescribeLogSets.
|
947
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogSetsRequest`
|
948
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogSetsResponse`
|
949
|
-
def DescribeLogSets(request)
|
950
|
-
body = send_request('DescribeLogSets', request.serialize)
|
951
|
-
response = JSON.parse(body)
|
952
|
-
if response['Response'].key?('Error') == false
|
953
|
-
model = DescribeLogSetsResponse.new
|
954
|
-
model.deserialize(response['Response'])
|
955
|
-
model
|
956
|
-
else
|
957
|
-
code = response['Response']['Error']['Code']
|
958
|
-
message = response['Response']['Error']['Message']
|
959
|
-
reqid = response['Response']['RequestId']
|
960
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
-
end
|
962
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
-
raise e
|
964
|
-
rescue StandardError => e
|
965
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
-
end
|
967
|
-
|
968
|
-
# 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
|
969
|
-
|
970
|
-
# @param request: Request instance for DescribeLogTopicTasks.
|
971
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTasksRequest`
|
972
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTasksResponse`
|
973
|
-
def DescribeLogTopicTasks(request)
|
974
|
-
body = send_request('DescribeLogTopicTasks', request.serialize)
|
975
|
-
response = JSON.parse(body)
|
976
|
-
if response['Response'].key?('Error') == false
|
977
|
-
model = DescribeLogTopicTasksResponse.new
|
978
|
-
model.deserialize(response['Response'])
|
979
|
-
model
|
980
|
-
else
|
981
|
-
code = response['Response']['Error']['Code']
|
982
|
-
message = response['Response']['Error']['Message']
|
983
|
-
reqid = response['Response']['RequestId']
|
984
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
-
end
|
986
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
-
raise e
|
988
|
-
rescue StandardError => e
|
989
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
-
end
|
991
|
-
|
992
802
|
# 获取源站组列表
|
993
803
|
|
994
804
|
# @param request: Request instance for DescribeOriginGroup.
|
@@ -1157,102 +967,6 @@ module TencentCloud
|
|
1157
967
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
968
|
end
|
1159
969
|
|
1160
|
-
# 本接口(DescribeSingleL7AnalysisData)用于查询七层流量数据分析单值数据列表,单值数据表示:指标在查询时间范围内的单个统计数据,通常表现为接口仅返回一个统计数值。
|
1161
|
-
|
1162
|
-
# @param request: Request instance for DescribeSingleL7AnalysisData.
|
1163
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSingleL7AnalysisDataRequest`
|
1164
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSingleL7AnalysisDataResponse`
|
1165
|
-
def DescribeSingleL7AnalysisData(request)
|
1166
|
-
body = send_request('DescribeSingleL7AnalysisData', request.serialize)
|
1167
|
-
response = JSON.parse(body)
|
1168
|
-
if response['Response'].key?('Error') == false
|
1169
|
-
model = DescribeSingleL7AnalysisDataResponse.new
|
1170
|
-
model.deserialize(response['Response'])
|
1171
|
-
model
|
1172
|
-
else
|
1173
|
-
code = response['Response']['Error']['Code']
|
1174
|
-
message = response['Response']['Error']['Message']
|
1175
|
-
reqid = response['Response']['RequestId']
|
1176
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
-
end
|
1178
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
-
raise e
|
1180
|
-
rescue StandardError => e
|
1181
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
-
end
|
1183
|
-
|
1184
|
-
# 用于查询拨测分地区数据
|
1185
|
-
|
1186
|
-
# @param request: Request instance for DescribeSpeedTestingDetails.
|
1187
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSpeedTestingDetailsRequest`
|
1188
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSpeedTestingDetailsResponse`
|
1189
|
-
def DescribeSpeedTestingDetails(request)
|
1190
|
-
body = send_request('DescribeSpeedTestingDetails', request.serialize)
|
1191
|
-
response = JSON.parse(body)
|
1192
|
-
if response['Response'].key?('Error') == false
|
1193
|
-
model = DescribeSpeedTestingDetailsResponse.new
|
1194
|
-
model.deserialize(response['Response'])
|
1195
|
-
model
|
1196
|
-
else
|
1197
|
-
code = response['Response']['Error']['Code']
|
1198
|
-
message = response['Response']['Error']['Message']
|
1199
|
-
reqid = response['Response']['RequestId']
|
1200
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
-
end
|
1202
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
-
raise e
|
1204
|
-
rescue StandardError => e
|
1205
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
-
end
|
1207
|
-
|
1208
|
-
# 查询站点拨测结果
|
1209
|
-
|
1210
|
-
# @param request: Request instance for DescribeSpeedTestingMetricData.
|
1211
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSpeedTestingMetricDataRequest`
|
1212
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSpeedTestingMetricDataResponse`
|
1213
|
-
def DescribeSpeedTestingMetricData(request)
|
1214
|
-
body = send_request('DescribeSpeedTestingMetricData', request.serialize)
|
1215
|
-
response = JSON.parse(body)
|
1216
|
-
if response['Response'].key?('Error') == false
|
1217
|
-
model = DescribeSpeedTestingMetricDataResponse.new
|
1218
|
-
model.deserialize(response['Response'])
|
1219
|
-
model
|
1220
|
-
else
|
1221
|
-
code = response['Response']['Error']['Code']
|
1222
|
-
message = response['Response']['Error']['Message']
|
1223
|
-
reqid = response['Response']['RequestId']
|
1224
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
-
end
|
1226
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
-
raise e
|
1228
|
-
rescue StandardError => e
|
1229
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
-
end
|
1231
|
-
|
1232
|
-
# 查询站点拨测配额
|
1233
|
-
|
1234
|
-
# @param request: Request instance for DescribeSpeedTestingQuota.
|
1235
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSpeedTestingQuotaRequest`
|
1236
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSpeedTestingQuotaResponse`
|
1237
|
-
def DescribeSpeedTestingQuota(request)
|
1238
|
-
body = send_request('DescribeSpeedTestingQuota', request.serialize)
|
1239
|
-
response = JSON.parse(body)
|
1240
|
-
if response['Response'].key?('Error') == false
|
1241
|
-
model = DescribeSpeedTestingQuotaResponse.new
|
1242
|
-
model.deserialize(response['Response'])
|
1243
|
-
model
|
1244
|
-
else
|
1245
|
-
code = response['Response']['Error']['Code']
|
1246
|
-
message = response['Response']['Error']['Message']
|
1247
|
-
reqid = response['Response']['RequestId']
|
1248
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
-
end
|
1250
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
-
raise e
|
1252
|
-
rescue StandardError => e
|
1253
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
-
end
|
1255
|
-
|
1256
970
|
# 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
|
1257
971
|
|
1258
972
|
# @param request: Request instance for DescribeTimingL4Data.
|
@@ -1325,30 +1039,6 @@ module TencentCloud
|
|
1325
1039
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1326
1040
|
end
|
1327
1041
|
|
1328
|
-
# 本接口(DescribeTimingL7SourceData)查询七层回源分析时序数据。
|
1329
|
-
|
1330
|
-
# @param request: Request instance for DescribeTimingL7SourceData.
|
1331
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeTimingL7SourceDataRequest`
|
1332
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeTimingL7SourceDataResponse`
|
1333
|
-
def DescribeTimingL7SourceData(request)
|
1334
|
-
body = send_request('DescribeTimingL7SourceData', request.serialize)
|
1335
|
-
response = JSON.parse(body)
|
1336
|
-
if response['Response'].key?('Error') == false
|
1337
|
-
model = DescribeTimingL7SourceDataResponse.new
|
1338
|
-
model.deserialize(response['Response'])
|
1339
|
-
model
|
1340
|
-
else
|
1341
|
-
code = response['Response']['Error']['Code']
|
1342
|
-
message = response['Response']['Error']['Message']
|
1343
|
-
reqid = response['Response']['RequestId']
|
1344
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1345
|
-
end
|
1346
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1347
|
-
raise e
|
1348
|
-
rescue StandardError => e
|
1349
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
|
-
end
|
1351
|
-
|
1352
1042
|
# 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
|
1353
1043
|
|
1354
1044
|
# @param request: Request instance for DescribeTopL7AnalysisData.
|
@@ -1397,174 +1087,6 @@ module TencentCloud
|
|
1397
1087
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1398
1088
|
end
|
1399
1089
|
|
1400
|
-
# 本接口(DescribeWebManagedRulesData)用于查询WAF攻击的时序数据。
|
1401
|
-
|
1402
|
-
# @param request: Request instance for DescribeWebManagedRulesData.
|
1403
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebManagedRulesDataRequest`
|
1404
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebManagedRulesDataResponse`
|
1405
|
-
def DescribeWebManagedRulesData(request)
|
1406
|
-
body = send_request('DescribeWebManagedRulesData', request.serialize)
|
1407
|
-
response = JSON.parse(body)
|
1408
|
-
if response['Response'].key?('Error') == false
|
1409
|
-
model = DescribeWebManagedRulesDataResponse.new
|
1410
|
-
model.deserialize(response['Response'])
|
1411
|
-
model
|
1412
|
-
else
|
1413
|
-
code = response['Response']['Error']['Code']
|
1414
|
-
message = response['Response']['Error']['Message']
|
1415
|
-
reqid = response['Response']['RequestId']
|
1416
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1417
|
-
end
|
1418
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1419
|
-
raise e
|
1420
|
-
rescue StandardError => e
|
1421
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1422
|
-
end
|
1423
|
-
|
1424
|
-
# 本接口(DescribeWebManagedRulesHitRuleDetail)用于查询WAF攻击命中规则详情。
|
1425
|
-
|
1426
|
-
# @param request: Request instance for DescribeWebManagedRulesHitRuleDetail.
|
1427
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebManagedRulesHitRuleDetailRequest`
|
1428
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebManagedRulesHitRuleDetailResponse`
|
1429
|
-
def DescribeWebManagedRulesHitRuleDetail(request)
|
1430
|
-
body = send_request('DescribeWebManagedRulesHitRuleDetail', request.serialize)
|
1431
|
-
response = JSON.parse(body)
|
1432
|
-
if response['Response'].key?('Error') == false
|
1433
|
-
model = DescribeWebManagedRulesHitRuleDetailResponse.new
|
1434
|
-
model.deserialize(response['Response'])
|
1435
|
-
model
|
1436
|
-
else
|
1437
|
-
code = response['Response']['Error']['Code']
|
1438
|
-
message = response['Response']['Error']['Message']
|
1439
|
-
reqid = response['Response']['RequestId']
|
1440
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1441
|
-
end
|
1442
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1443
|
-
raise e
|
1444
|
-
rescue StandardError => e
|
1445
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1446
|
-
end
|
1447
|
-
|
1448
|
-
# 本接口(DescribeWebManagedRulesLog)用于查询Web攻击日志。
|
1449
|
-
|
1450
|
-
# @param request: Request instance for DescribeWebManagedRulesLog.
|
1451
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebManagedRulesLogRequest`
|
1452
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebManagedRulesLogResponse`
|
1453
|
-
def DescribeWebManagedRulesLog(request)
|
1454
|
-
body = send_request('DescribeWebManagedRulesLog', request.serialize)
|
1455
|
-
response = JSON.parse(body)
|
1456
|
-
if response['Response'].key?('Error') == false
|
1457
|
-
model = DescribeWebManagedRulesLogResponse.new
|
1458
|
-
model.deserialize(response['Response'])
|
1459
|
-
model
|
1460
|
-
else
|
1461
|
-
code = response['Response']['Error']['Code']
|
1462
|
-
message = response['Response']['Error']['Message']
|
1463
|
-
reqid = response['Response']['RequestId']
|
1464
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1465
|
-
end
|
1466
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1467
|
-
raise e
|
1468
|
-
rescue StandardError => e
|
1469
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1470
|
-
end
|
1471
|
-
|
1472
|
-
# 本接口(DescribeWebProtectionClientIpList)用于查询CC防护客户端(攻击源)IP信息。
|
1473
|
-
|
1474
|
-
# @param request: Request instance for DescribeWebProtectionClientIpList.
|
1475
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionClientIpListRequest`
|
1476
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionClientIpListResponse`
|
1477
|
-
def DescribeWebProtectionClientIpList(request)
|
1478
|
-
body = send_request('DescribeWebProtectionClientIpList', request.serialize)
|
1479
|
-
response = JSON.parse(body)
|
1480
|
-
if response['Response'].key?('Error') == false
|
1481
|
-
model = DescribeWebProtectionClientIpListResponse.new
|
1482
|
-
model.deserialize(response['Response'])
|
1483
|
-
model
|
1484
|
-
else
|
1485
|
-
code = response['Response']['Error']['Code']
|
1486
|
-
message = response['Response']['Error']['Message']
|
1487
|
-
reqid = response['Response']['RequestId']
|
1488
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1489
|
-
end
|
1490
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1491
|
-
raise e
|
1492
|
-
rescue StandardError => e
|
1493
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1494
|
-
end
|
1495
|
-
|
1496
|
-
# 本接口(DescribeWebProtectionData)用于查询CC防护时序数据。
|
1497
|
-
|
1498
|
-
# @param request: Request instance for DescribeWebProtectionData.
|
1499
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionDataRequest`
|
1500
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionDataResponse`
|
1501
|
-
def DescribeWebProtectionData(request)
|
1502
|
-
body = send_request('DescribeWebProtectionData', request.serialize)
|
1503
|
-
response = JSON.parse(body)
|
1504
|
-
if response['Response'].key?('Error') == false
|
1505
|
-
model = DescribeWebProtectionDataResponse.new
|
1506
|
-
model.deserialize(response['Response'])
|
1507
|
-
model
|
1508
|
-
else
|
1509
|
-
code = response['Response']['Error']['Code']
|
1510
|
-
message = response['Response']['Error']['Message']
|
1511
|
-
reqid = response['Response']['RequestId']
|
1512
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1513
|
-
end
|
1514
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1515
|
-
raise e
|
1516
|
-
rescue StandardError => e
|
1517
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1518
|
-
end
|
1519
|
-
|
1520
|
-
# 本接口(DescribeWebProtectionHitRuleDetail)用于查询CC防护命中规则详情列表。
|
1521
|
-
|
1522
|
-
# @param request: Request instance for DescribeWebProtectionHitRuleDetail.
|
1523
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionHitRuleDetailRequest`
|
1524
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionHitRuleDetailResponse`
|
1525
|
-
def DescribeWebProtectionHitRuleDetail(request)
|
1526
|
-
body = send_request('DescribeWebProtectionHitRuleDetail', request.serialize)
|
1527
|
-
response = JSON.parse(body)
|
1528
|
-
if response['Response'].key?('Error') == false
|
1529
|
-
model = DescribeWebProtectionHitRuleDetailResponse.new
|
1530
|
-
model.deserialize(response['Response'])
|
1531
|
-
model
|
1532
|
-
else
|
1533
|
-
code = response['Response']['Error']['Code']
|
1534
|
-
message = response['Response']['Error']['Message']
|
1535
|
-
reqid = response['Response']['RequestId']
|
1536
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1537
|
-
end
|
1538
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1539
|
-
raise e
|
1540
|
-
rescue StandardError => e
|
1541
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1542
|
-
end
|
1543
|
-
|
1544
|
-
# 本接口(DescribeWebProtectionTopData)用于查询CC防护的Top数据。
|
1545
|
-
|
1546
|
-
# @param request: Request instance for DescribeWebProtectionTopData.
|
1547
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionTopDataRequest`
|
1548
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionTopDataResponse`
|
1549
|
-
def DescribeWebProtectionTopData(request)
|
1550
|
-
body = send_request('DescribeWebProtectionTopData', request.serialize)
|
1551
|
-
response = JSON.parse(body)
|
1552
|
-
if response['Response'].key?('Error') == false
|
1553
|
-
model = DescribeWebProtectionTopDataResponse.new
|
1554
|
-
model.deserialize(response['Response'])
|
1555
|
-
model
|
1556
|
-
else
|
1557
|
-
code = response['Response']['Error']['Code']
|
1558
|
-
message = response['Response']['Error']['Message']
|
1559
|
-
reqid = response['Response']['RequestId']
|
1560
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1561
|
-
end
|
1562
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1563
|
-
raise e
|
1564
|
-
rescue StandardError => e
|
1565
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
|
-
end
|
1567
|
-
|
1568
1090
|
# 用于查询站点的所有配置信息。
|
1569
1091
|
|
1570
1092
|
# @param request: Request instance for DescribeZoneSetting.
|
@@ -1877,30 +1399,6 @@ module TencentCloud
|
|
1877
1399
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1878
1400
|
end
|
1879
1401
|
|
1880
|
-
# 修改默认证书状态
|
1881
|
-
|
1882
|
-
# @param request: Request instance for ModifyDefaultCertificate.
|
1883
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyDefaultCertificateRequest`
|
1884
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDefaultCertificateResponse`
|
1885
|
-
def ModifyDefaultCertificate(request)
|
1886
|
-
body = send_request('ModifyDefaultCertificate', request.serialize)
|
1887
|
-
response = JSON.parse(body)
|
1888
|
-
if response['Response'].key?('Error') == false
|
1889
|
-
model = ModifyDefaultCertificateResponse.new
|
1890
|
-
model.deserialize(response['Response'])
|
1891
|
-
model
|
1892
|
-
else
|
1893
|
-
code = response['Response']['Error']['Code']
|
1894
|
-
message = response['Response']['Error']['Message']
|
1895
|
-
reqid = response['Response']['RequestId']
|
1896
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1897
|
-
end
|
1898
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1899
|
-
raise e
|
1900
|
-
rescue StandardError => e
|
1901
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1902
|
-
end
|
1903
|
-
|
1904
1402
|
# 用于修改域名证书
|
1905
1403
|
|
1906
1404
|
# @param request: Request instance for ModifyHostsCertificate.
|
@@ -1973,30 +1471,6 @@ module TencentCloud
|
|
1973
1471
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
1472
|
end
|
1975
1473
|
|
1976
|
-
# 修改规则引擎规则优先级
|
1977
|
-
|
1978
|
-
# @param request: Request instance for ModifyRulePriority.
|
1979
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyRulePriorityRequest`
|
1980
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyRulePriorityResponse`
|
1981
|
-
def ModifyRulePriority(request)
|
1982
|
-
body = send_request('ModifyRulePriority', request.serialize)
|
1983
|
-
response = JSON.parse(body)
|
1984
|
-
if response['Response'].key?('Error') == false
|
1985
|
-
model = ModifyRulePriorityResponse.new
|
1986
|
-
model.deserialize(response['Response'])
|
1987
|
-
model
|
1988
|
-
else
|
1989
|
-
code = response['Response']['Error']['Code']
|
1990
|
-
message = response['Response']['Error']['Message']
|
1991
|
-
reqid = response['Response']['RequestId']
|
1992
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1993
|
-
end
|
1994
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1995
|
-
raise e
|
1996
|
-
rescue StandardError => e
|
1997
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
|
-
end
|
1999
|
-
|
2000
1474
|
# 修改安全 IP 组。
|
2001
1475
|
|
2002
1476
|
# @param request: Request instance for ModifySecurityIPGroup.
|
@@ -2045,30 +1519,6 @@ module TencentCloud
|
|
2045
1519
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2046
1520
|
end
|
2047
1521
|
|
2048
|
-
# 修改安全配置托管规则
|
2049
|
-
|
2050
|
-
# @param request: Request instance for ModifySecurityWafGroupPolicy.
|
2051
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ModifySecurityWafGroupPolicyRequest`
|
2052
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifySecurityWafGroupPolicyResponse`
|
2053
|
-
def ModifySecurityWafGroupPolicy(request)
|
2054
|
-
body = send_request('ModifySecurityWafGroupPolicy', request.serialize)
|
2055
|
-
response = JSON.parse(body)
|
2056
|
-
if response['Response'].key?('Error') == false
|
2057
|
-
model = ModifySecurityWafGroupPolicyResponse.new
|
2058
|
-
model.deserialize(response['Response'])
|
2059
|
-
model
|
2060
|
-
else
|
2061
|
-
code = response['Response']['Error']['Code']
|
2062
|
-
message = response['Response']['Error']['Message']
|
2063
|
-
reqid = response['Response']['RequestId']
|
2064
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2065
|
-
end
|
2066
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2067
|
-
raise e
|
2068
|
-
rescue StandardError => e
|
2069
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2070
|
-
end
|
2071
|
-
|
2072
1522
|
# 修改站点信息。
|
2073
1523
|
|
2074
1524
|
# @param request: Request instance for ModifyZone.
|
@@ -2141,78 +1591,6 @@ module TencentCloud
|
|
2141
1591
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2142
1592
|
end
|
2143
1593
|
|
2144
|
-
# 当客户取回站定的同时会取回此站点下关联的别称域名,此时入参为ZoneId;当客户接入站点发现已被别称域名接入时通过验证之后可取回域名,此时入参为ZoneName。
|
2145
|
-
|
2146
|
-
# @param request: Request instance for ReclaimAliasDomain.
|
2147
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ReclaimAliasDomainRequest`
|
2148
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ReclaimAliasDomainResponse`
|
2149
|
-
def ReclaimAliasDomain(request)
|
2150
|
-
body = send_request('ReclaimAliasDomain', request.serialize)
|
2151
|
-
response = JSON.parse(body)
|
2152
|
-
if response['Response'].key?('Error') == false
|
2153
|
-
model = ReclaimAliasDomainResponse.new
|
2154
|
-
model.deserialize(response['Response'])
|
2155
|
-
model
|
2156
|
-
else
|
2157
|
-
code = response['Response']['Error']['Code']
|
2158
|
-
message = response['Response']['Error']['Message']
|
2159
|
-
reqid = response['Response']['RequestId']
|
2160
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2161
|
-
end
|
2162
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2163
|
-
raise e
|
2164
|
-
rescue StandardError => e
|
2165
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2166
|
-
end
|
2167
|
-
|
2168
|
-
# 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点。
|
2169
|
-
|
2170
|
-
# @param request: Request instance for ReclaimZone.
|
2171
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ReclaimZoneRequest`
|
2172
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ReclaimZoneResponse`
|
2173
|
-
def ReclaimZone(request)
|
2174
|
-
body = send_request('ReclaimZone', request.serialize)
|
2175
|
-
response = JSON.parse(body)
|
2176
|
-
if response['Response'].key?('Error') == false
|
2177
|
-
model = ReclaimZoneResponse.new
|
2178
|
-
model.deserialize(response['Response'])
|
2179
|
-
model
|
2180
|
-
else
|
2181
|
-
code = response['Response']['Error']['Code']
|
2182
|
-
message = response['Response']['Error']['Message']
|
2183
|
-
reqid = response['Response']['RequestId']
|
2184
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2185
|
-
end
|
2186
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2187
|
-
raise e
|
2188
|
-
rescue StandardError => e
|
2189
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2190
|
-
end
|
2191
|
-
|
2192
|
-
# 更新源站防护IP白名单
|
2193
|
-
|
2194
|
-
# @param request: Request instance for UpdateOriginProtectionIPWhitelist.
|
2195
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::UpdateOriginProtectionIPWhitelistRequest`
|
2196
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::UpdateOriginProtectionIPWhitelistResponse`
|
2197
|
-
def UpdateOriginProtectionIPWhitelist(request)
|
2198
|
-
body = send_request('UpdateOriginProtectionIPWhitelist', request.serialize)
|
2199
|
-
response = JSON.parse(body)
|
2200
|
-
if response['Response'].key?('Error') == false
|
2201
|
-
model = UpdateOriginProtectionIPWhitelistResponse.new
|
2202
|
-
model.deserialize(response['Response'])
|
2203
|
-
model
|
2204
|
-
else
|
2205
|
-
code = response['Response']['Error']['Code']
|
2206
|
-
message = response['Response']['Error']['Message']
|
2207
|
-
reqid = response['Response']['RequestId']
|
2208
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2209
|
-
end
|
2210
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2211
|
-
raise e
|
2212
|
-
rescue StandardError => e
|
2213
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2214
|
-
end
|
2215
|
-
|
2216
1594
|
|
2217
1595
|
end
|
2218
1596
|
end
|