tencentcloud-sdk-teo 3.0.487 → 3.0.488

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,102 +173,6 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
- # 创建自定义规则的自定义页
177
-
178
- # @param request: Request instance for CreateCustomErrorPage.
179
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateCustomErrorPageRequest`
180
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateCustomErrorPageResponse`
181
- def CreateCustomErrorPage(request)
182
- body = send_request('CreateCustomErrorPage', request.serialize)
183
- response = JSON.parse(body)
184
- if response['Response'].key?('Error') == false
185
- model = CreateCustomErrorPageResponse.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
- # 创建IP黑白名单列表
201
-
202
- # @param request: Request instance for CreateIpTableList.
203
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateIpTableListRequest`
204
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateIpTableListResponse`
205
- def CreateIpTableList(request)
206
- body = send_request('CreateIpTableList', request.serialize)
207
- response = JSON.parse(body)
208
- if response['Response'].key?('Error') == false
209
- model = CreateIpTableListResponse.new
210
- model.deserialize(response['Response'])
211
- model
212
- else
213
- code = response['Response']['Error']['Code']
214
- message = response['Response']['Error']['Message']
215
- reqid = response['Response']['RequestId']
216
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
- end
218
- rescue TencentCloud::Common::TencentCloudSDKException => e
219
- raise e
220
- rescue StandardError => e
221
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
- end
223
-
224
- # 本接口(CreateClsLog)用于创建CLS日志集。
225
-
226
- # @param request: Request instance for CreateLogSet.
227
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateLogSetRequest`
228
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateLogSetResponse`
229
- def CreateLogSet(request)
230
- body = send_request('CreateLogSet', request.serialize)
231
- response = JSON.parse(body)
232
- if response['Response'].key?('Error') == false
233
- model = CreateLogSetResponse.new
234
- model.deserialize(response['Response'])
235
- model
236
- else
237
- code = response['Response']['Error']['Code']
238
- message = response['Response']['Error']['Message']
239
- reqid = response['Response']['RequestId']
240
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
- end
242
- rescue TencentCloud::Common::TencentCloudSDKException => e
243
- raise e
244
- rescue StandardError => e
245
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
- end
247
-
248
- # 本接口(CreateLogTopicTask)用于创建日志推送任务。
249
-
250
- # @param request: Request instance for CreateLogTopicTask.
251
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateLogTopicTaskRequest`
252
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateLogTopicTaskResponse`
253
- def CreateLogTopicTask(request)
254
- body = send_request('CreateLogTopicTask', request.serialize)
255
- response = JSON.parse(body)
256
- if response['Response'].key?('Error') == false
257
- model = CreateLogTopicTaskResponse.new
258
- model.deserialize(response['Response'])
259
- model
260
- else
261
- code = response['Response']['Error']['Code']
262
- message = response['Response']['Error']['Message']
263
- reqid = response['Response']['RequestId']
264
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
- end
266
- rescue TencentCloud::Common::TencentCloudSDKException => e
267
- raise e
268
- rescue StandardError => e
269
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
- end
271
-
272
176
  # 创建源站组
273
177
 
274
178
  # @param request: Request instance for CreateOriginGroup.
@@ -413,30 +317,6 @@ module TencentCloud
413
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
318
  end
415
319
 
416
- # 创建自定义拦截页面。
417
-
418
- # @param request: Request instance for CreateSecurityDropPage.
419
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateSecurityDropPageRequest`
420
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateSecurityDropPageResponse`
421
- def CreateSecurityDropPage(request)
422
- body = send_request('CreateSecurityDropPage', request.serialize)
423
- response = JSON.parse(body)
424
- if response['Response'].key?('Error') == false
425
- model = CreateSecurityDropPageResponse.new
426
- model.deserialize(response['Response'])
427
- model
428
- else
429
- code = response['Response']['Error']['Code']
430
- message = response['Response']['Error']['Message']
431
- reqid = response['Response']['RequestId']
432
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
- end
434
- rescue TencentCloud::Common::TencentCloudSDKException => e
435
- raise e
436
- rescue StandardError => e
437
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
- end
439
-
440
320
  # 对用户指定的域名进行一次站点拨测
441
321
 
442
322
  # @param request: Request instance for CreateSpeedTesting.
@@ -557,30 +437,6 @@ module TencentCloud
557
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
438
  end
559
439
 
560
- # 本接口(DeleteLogTopicTask)用于删除日志推送任务。
561
-
562
- # @param request: Request instance for DeleteLogTopicTask.
563
- # @type request: :class:`Tencentcloud::teo::V20220901::DeleteLogTopicTaskRequest`
564
- # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteLogTopicTaskResponse`
565
- def DeleteLogTopicTask(request)
566
- body = send_request('DeleteLogTopicTask', request.serialize)
567
- response = JSON.parse(body)
568
- if response['Response'].key?('Error') == false
569
- model = DeleteLogTopicTaskResponse.new
570
- model.deserialize(response['Response'])
571
- model
572
- else
573
- code = response['Response']['Error']['Code']
574
- message = response['Response']['Error']['Message']
575
- reqid = response['Response']['RequestId']
576
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
577
- end
578
- rescue TencentCloud::Common::TencentCloudSDKException => e
579
- raise e
580
- rescue StandardError => e
581
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
- end
583
-
584
440
  # 删除源站组
585
441
 
586
442
  # @param request: Request instance for DeleteOriginGroup.
@@ -749,150 +605,6 @@ module TencentCloud
749
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
606
  end
751
607
 
752
- # 本接口(DescribeBotClientIpList)用于查询Bot攻击客户端Ip信息列表。
753
-
754
- # @param request: Request instance for DescribeBotClientIpList.
755
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeBotClientIpListRequest`
756
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBotClientIpListResponse`
757
- def DescribeBotClientIpList(request)
758
- body = send_request('DescribeBotClientIpList', request.serialize)
759
- response = JSON.parse(body)
760
- if response['Response'].key?('Error') == false
761
- model = DescribeBotClientIpListResponse.new
762
- model.deserialize(response['Response'])
763
- model
764
- else
765
- code = response['Response']['Error']['Code']
766
- message = response['Response']['Error']['Message']
767
- reqid = response['Response']['RequestId']
768
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
- end
770
- rescue TencentCloud::Common::TencentCloudSDKException => e
771
- raise e
772
- rescue StandardError => e
773
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
- end
775
-
776
- # 本接口(DescribeBotData)查询Bot攻击时序数据。
777
-
778
- # @param request: Request instance for DescribeBotData.
779
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeBotDataRequest`
780
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBotDataResponse`
781
- def DescribeBotData(request)
782
- body = send_request('DescribeBotData', request.serialize)
783
- response = JSON.parse(body)
784
- if response['Response'].key?('Error') == false
785
- model = DescribeBotDataResponse.new
786
- model.deserialize(response['Response'])
787
- model
788
- else
789
- code = response['Response']['Error']['Code']
790
- message = response['Response']['Error']['Message']
791
- reqid = response['Response']['RequestId']
792
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
- end
794
- rescue TencentCloud::Common::TencentCloudSDKException => e
795
- raise e
796
- rescue StandardError => e
797
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
- end
799
-
800
- # 本接口(DescribeBotHitRuleDetail)用于查询Bot攻击命中规则详情信息。
801
-
802
- # @param request: Request instance for DescribeBotHitRuleDetail.
803
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeBotHitRuleDetailRequest`
804
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBotHitRuleDetailResponse`
805
- def DescribeBotHitRuleDetail(request)
806
- body = send_request('DescribeBotHitRuleDetail', request.serialize)
807
- response = JSON.parse(body)
808
- if response['Response'].key?('Error') == false
809
- model = DescribeBotHitRuleDetailResponse.new
810
- model.deserialize(response['Response'])
811
- model
812
- else
813
- code = response['Response']['Error']['Code']
814
- message = response['Response']['Error']['Message']
815
- reqid = response['Response']['RequestId']
816
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
- end
818
- rescue TencentCloud::Common::TencentCloudSDKException => e
819
- raise e
820
- rescue StandardError => e
821
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
- end
823
-
824
- # 本接口(DescribeBotLog)用于查询Bot攻击日志。
825
-
826
- # @param request: Request instance for DescribeBotLog.
827
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeBotLogRequest`
828
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBotLogResponse`
829
- def DescribeBotLog(request)
830
- body = send_request('DescribeBotLog', request.serialize)
831
- response = JSON.parse(body)
832
- if response['Response'].key?('Error') == false
833
- model = DescribeBotLogResponse.new
834
- model.deserialize(response['Response'])
835
- model
836
- else
837
- code = response['Response']['Error']['Code']
838
- message = response['Response']['Error']['Message']
839
- reqid = response['Response']['RequestId']
840
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
841
- end
842
- rescue TencentCloud::Common::TencentCloudSDKException => e
843
- raise e
844
- rescue StandardError => e
845
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
- end
847
-
848
- # 查询Bot托管规则
849
-
850
- # @param request: Request instance for DescribeBotManagedRules.
851
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeBotManagedRulesRequest`
852
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBotManagedRulesResponse`
853
- def DescribeBotManagedRules(request)
854
- body = send_request('DescribeBotManagedRules', request.serialize)
855
- response = JSON.parse(body)
856
- if response['Response'].key?('Error') == false
857
- model = DescribeBotManagedRulesResponse.new
858
- model.deserialize(response['Response'])
859
- model
860
- else
861
- code = response['Response']['Error']['Code']
862
- message = response['Response']['Error']['Message']
863
- reqid = response['Response']['RequestId']
864
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
865
- end
866
- rescue TencentCloud::Common::TencentCloudSDKException => e
867
- raise e
868
- rescue StandardError => e
869
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
- end
871
-
872
- # 本接口(DescribeBotTopData)查询Bot攻击TopN数据。
873
-
874
- # @param request: Request instance for DescribeBotTopData.
875
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeBotTopDataRequest`
876
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeBotTopDataResponse`
877
- def DescribeBotTopData(request)
878
- body = send_request('DescribeBotTopData', request.serialize)
879
- response = JSON.parse(body)
880
- if response['Response'].key?('Error') == false
881
- model = DescribeBotTopDataResponse.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
608
  # 本接口(DescribeClientRuleList)用于查询封禁客户端信息列表。
897
609
 
898
610
  # @param request: Request instance for DescribeClientRuleList.
@@ -941,16 +653,16 @@ module TencentCloud
941
653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
654
  end
943
655
 
944
- # 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
656
+ # 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
945
657
 
946
- # @param request: Request instance for DescribeDDoSAttackData.
947
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackDataRequest`
948
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackDataResponse`
949
- def DescribeDDoSAttackData(request)
950
- body = send_request('DescribeDDoSAttackData', request.serialize)
658
+ # @param request: Request instance for DescribeDDoSAttackTopData.
659
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackTopDataRequest`
660
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackTopDataResponse`
661
+ def DescribeDDoSAttackTopData(request)
662
+ body = send_request('DescribeDDoSAttackTopData', request.serialize)
951
663
  response = JSON.parse(body)
952
664
  if response['Response'].key?('Error') == false
953
- model = DescribeDDoSAttackDataResponse.new
665
+ model = DescribeDDoSAttackTopDataResponse.new
954
666
  model.deserialize(response['Response'])
955
667
  model
956
668
  else
@@ -965,16 +677,16 @@ module TencentCloud
965
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
678
  end
967
679
 
968
- # 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
680
+ # 查询默认证书列表
969
681
 
970
- # @param request: Request instance for DescribeDDoSAttackEvent.
971
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackEventRequest`
972
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackEventResponse`
973
- def DescribeDDoSAttackEvent(request)
974
- body = send_request('DescribeDDoSAttackEvent', request.serialize)
682
+ # @param request: Request instance for DescribeDefaultCertificates.
683
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDefaultCertificatesRequest`
684
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDefaultCertificatesResponse`
685
+ def DescribeDefaultCertificates(request)
686
+ body = send_request('DescribeDefaultCertificates', request.serialize)
975
687
  response = JSON.parse(body)
976
688
  if response['Response'].key?('Error') == false
977
- model = DescribeDDoSAttackEventResponse.new
689
+ model = DescribeDefaultCertificatesResponse.new
978
690
  model.deserialize(response['Response'])
979
691
  model
980
692
  else
@@ -989,16 +701,16 @@ module TencentCloud
989
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
702
  end
991
703
 
992
- # 本接口(DescribeDDoSAttackEventDetail)用于查询DDoS攻击事件详情。
704
+ # 获取DNS请求数统计曲线
993
705
 
994
- # @param request: Request instance for DescribeDDoSAttackEventDetail.
995
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackEventDetailRequest`
996
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackEventDetailResponse`
997
- def DescribeDDoSAttackEventDetail(request)
998
- body = send_request('DescribeDDoSAttackEventDetail', request.serialize)
706
+ # @param request: Request instance for DescribeDnsData.
707
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDnsDataRequest`
708
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDnsDataResponse`
709
+ def DescribeDnsData(request)
710
+ body = send_request('DescribeDnsData', request.serialize)
999
711
  response = JSON.parse(body)
1000
712
  if response['Response'].key?('Error') == false
1001
- model = DescribeDDoSAttackEventDetailResponse.new
713
+ model = DescribeDnsDataResponse.new
1002
714
  model.deserialize(response['Response'])
1003
715
  model
1004
716
  else
@@ -1013,16 +725,16 @@ module TencentCloud
1013
725
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
726
  end
1015
727
 
1016
- # 本接口(DescribeDDoSAttackSourceEvent)用于查询DDoS攻击源信息列表。
728
+ # 用于查询域名配置信息
1017
729
 
1018
- # @param request: Request instance for DescribeDDoSAttackSourceEvent.
1019
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackSourceEventRequest`
1020
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackSourceEventResponse`
1021
- def DescribeDDoSAttackSourceEvent(request)
1022
- body = send_request('DescribeDDoSAttackSourceEvent', request.serialize)
730
+ # @param request: Request instance for DescribeHostsSetting.
731
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeHostsSettingRequest`
732
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeHostsSettingResponse`
733
+ def DescribeHostsSetting(request)
734
+ body = send_request('DescribeHostsSetting', request.serialize)
1023
735
  response = JSON.parse(body)
1024
736
  if response['Response'].key?('Error') == false
1025
- model = DescribeDDoSAttackSourceEventResponse.new
737
+ model = DescribeHostsSettingResponse.new
1026
738
  model.deserialize(response['Response'])
1027
739
  model
1028
740
  else
@@ -1037,16 +749,16 @@ module TencentCloud
1037
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
750
  end
1039
751
 
1040
- # 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
752
+ # 查询站点的验证信息。
1041
753
 
1042
- # @param request: Request instance for DescribeDDoSAttackTopData.
1043
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackTopDataRequest`
1044
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSAttackTopDataResponse`
1045
- def DescribeDDoSAttackTopData(request)
1046
- body = send_request('DescribeDDoSAttackTopData', request.serialize)
754
+ # @param request: Request instance for DescribeIdentifications.
755
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeIdentificationsRequest`
756
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeIdentificationsResponse`
757
+ def DescribeIdentifications(request)
758
+ body = send_request('DescribeIdentifications', request.serialize)
1047
759
  response = JSON.parse(body)
1048
760
  if response['Response'].key?('Error') == false
1049
- model = DescribeDDoSAttackTopDataResponse.new
761
+ model = DescribeIdentificationsResponse.new
1050
762
  model.deserialize(response['Response'])
1051
763
  model
1052
764
  else
@@ -1061,16 +773,16 @@ module TencentCloud
1061
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
774
  end
1063
775
 
1064
- # 本接口(DescribeDDoSBlockList)用于查询DDoS封禁解封列表。
776
+ # 本接口(DescribeLogSets)用于获取日志集列表。
1065
777
 
1066
- # @param request: Request instance for DescribeDDoSBlockList.
1067
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSBlockListRequest`
1068
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSBlockListResponse`
1069
- def DescribeDDoSBlockList(request)
1070
- body = send_request('DescribeDDoSBlockList', request.serialize)
778
+ # @param request: Request instance for DescribeLogSets.
779
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogSetsRequest`
780
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogSetsResponse`
781
+ def DescribeLogSets(request)
782
+ body = send_request('DescribeLogSets', request.serialize)
1071
783
  response = JSON.parse(body)
1072
784
  if response['Response'].key?('Error') == false
1073
- model = DescribeDDoSBlockListResponse.new
785
+ model = DescribeLogSetsResponse.new
1074
786
  model.deserialize(response['Response'])
1075
787
  model
1076
788
  else
@@ -1085,424 +797,16 @@ module TencentCloud
1085
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
798
  end
1087
799
 
1088
- # 本接口(DescribeDDoSMajorAttackEvent)用于查询DDoS主攻击事件列表。
1089
-
1090
- # @param request: Request instance for DescribeDDoSMajorAttackEvent.
1091
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSMajorAttackEventRequest`
1092
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSMajorAttackEventResponse`
1093
- def DescribeDDoSMajorAttackEvent(request)
1094
- body = send_request('DescribeDDoSMajorAttackEvent', request.serialize)
1095
- response = JSON.parse(body)
1096
- if response['Response'].key?('Error') == false
1097
- model = DescribeDDoSMajorAttackEventResponse.new
1098
- model.deserialize(response['Response'])
1099
- model
1100
- else
1101
- code = response['Response']['Error']['Code']
1102
- message = response['Response']['Error']['Message']
1103
- reqid = response['Response']['RequestId']
1104
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
- end
1106
- rescue TencentCloud::Common::TencentCloudSDKException => e
1107
- raise e
1108
- rescue StandardError => e
1109
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
- end
1111
-
1112
- # 查询DDoS防护配置详情
1113
-
1114
- # @param request: Request instance for DescribeDDoSPolicy.
1115
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDDoSPolicyRequest`
1116
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDDoSPolicyResponse`
1117
- def DescribeDDoSPolicy(request)
1118
- body = send_request('DescribeDDoSPolicy', request.serialize)
1119
- response = JSON.parse(body)
1120
- if response['Response'].key?('Error') == false
1121
- model = DescribeDDoSPolicyResponse.new
1122
- model.deserialize(response['Response'])
1123
- model
1124
- else
1125
- code = response['Response']['Error']['Code']
1126
- message = response['Response']['Error']['Message']
1127
- reqid = response['Response']['RequestId']
1128
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
- end
1130
- rescue TencentCloud::Common::TencentCloudSDKException => e
1131
- raise e
1132
- rescue StandardError => e
1133
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
- end
1135
-
1136
- # 查询默认证书列表
1137
-
1138
- # @param request: Request instance for DescribeDefaultCertificates.
1139
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDefaultCertificatesRequest`
1140
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDefaultCertificatesResponse`
1141
- def DescribeDefaultCertificates(request)
1142
- body = send_request('DescribeDefaultCertificates', request.serialize)
1143
- response = JSON.parse(body)
1144
- if response['Response'].key?('Error') == false
1145
- model = DescribeDefaultCertificatesResponse.new
1146
- model.deserialize(response['Response'])
1147
- model
1148
- else
1149
- code = response['Response']['Error']['Code']
1150
- message = response['Response']['Error']['Message']
1151
- reqid = response['Response']['RequestId']
1152
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1153
- end
1154
- rescue TencentCloud::Common::TencentCloudSDKException => e
1155
- raise e
1156
- rescue StandardError => e
1157
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
- end
1159
-
1160
- # 本接口(DescribeDistributionL4AccessData)用于查询四层连接时长的时序数据。
1161
-
1162
- # @param request: Request instance for DescribeDistributionL4AccessData.
1163
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDistributionL4AccessDataRequest`
1164
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDistributionL4AccessDataResponse`
1165
- def DescribeDistributionL4AccessData(request)
1166
- body = send_request('DescribeDistributionL4AccessData', request.serialize)
1167
- response = JSON.parse(body)
1168
- if response['Response'].key?('Error') == false
1169
- model = DescribeDistributionL4AccessDataResponse.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
- # 获取DNS请求数统计曲线
1185
-
1186
- # @param request: Request instance for DescribeDnsData.
1187
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDnsDataRequest`
1188
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDnsDataResponse`
1189
- def DescribeDnsData(request)
1190
- body = send_request('DescribeDnsData', request.serialize)
1191
- response = JSON.parse(body)
1192
- if response['Response'].key?('Error') == false
1193
- model = DescribeDnsDataResponse.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
- # 用于查询 DNSSEC 相关信息
1209
-
1210
- # @param request: Request instance for DescribeDnssec.
1211
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDnssecRequest`
1212
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDnssecResponse`
1213
- def DescribeDnssec(request)
1214
- body = send_request('DescribeDnssec', request.serialize)
1215
- response = JSON.parse(body)
1216
- if response['Response'].key?('Error') == false
1217
- model = DescribeDnssecResponse.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 DescribeHostsSetting.
1235
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeHostsSettingRequest`
1236
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeHostsSettingResponse`
1237
- def DescribeHostsSetting(request)
1238
- body = send_request('DescribeHostsSetting', request.serialize)
1239
- response = JSON.parse(body)
1240
- if response['Response'].key?('Error') == false
1241
- model = DescribeHostsSettingResponse.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
- # 查询站点的验证信息。
1257
-
1258
- # @param request: Request instance for DescribeIdentifications.
1259
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeIdentificationsRequest`
1260
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeIdentificationsResponse`
1261
- def DescribeIdentifications(request)
1262
- body = send_request('DescribeIdentifications', request.serialize)
1263
- response = JSON.parse(body)
1264
- if response['Response'].key?('Error') == false
1265
- model = DescribeIdentificationsResponse.new
1266
- model.deserialize(response['Response'])
1267
- model
1268
- else
1269
- code = response['Response']['Error']['Code']
1270
- message = response['Response']['Error']['Message']
1271
- reqid = response['Response']['RequestId']
1272
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
- end
1274
- rescue TencentCloud::Common::TencentCloudSDKException => e
1275
- raise e
1276
- rescue StandardError => e
1277
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
- end
1279
-
1280
- # 本接口(DescribeLogSets)用于获取日志集列表。
1281
-
1282
- # @param request: Request instance for DescribeLogSets.
1283
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogSetsRequest`
1284
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogSetsResponse`
1285
- def DescribeLogSets(request)
1286
- body = send_request('DescribeLogSets', request.serialize)
1287
- response = JSON.parse(body)
1288
- if response['Response'].key?('Error') == false
1289
- model = DescribeLogSetsResponse.new
1290
- model.deserialize(response['Response'])
1291
- model
1292
- else
1293
- code = response['Response']['Error']['Code']
1294
- message = response['Response']['Error']['Message']
1295
- reqid = response['Response']['RequestId']
1296
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
- end
1298
- rescue TencentCloud::Common::TencentCloudSDKException => e
1299
- raise e
1300
- rescue StandardError => e
1301
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
- end
1303
-
1304
- # 本接口(DescribeLogTopicTaskDetail)用于获取日志推送任务详细信息。
1305
-
1306
- # @param request: Request instance for DescribeLogTopicTaskDetail.
1307
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTaskDetailRequest`
1308
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTaskDetailResponse`
1309
- def DescribeLogTopicTaskDetail(request)
1310
- body = send_request('DescribeLogTopicTaskDetail', request.serialize)
1311
- response = JSON.parse(body)
1312
- if response['Response'].key?('Error') == false
1313
- model = DescribeLogTopicTaskDetailResponse.new
1314
- model.deserialize(response['Response'])
1315
- model
1316
- else
1317
- code = response['Response']['Error']['Code']
1318
- message = response['Response']['Error']['Message']
1319
- reqid = response['Response']['RequestId']
1320
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
- end
1322
- rescue TencentCloud::Common::TencentCloudSDKException => e
1323
- raise e
1324
- rescue StandardError => e
1325
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
- end
1327
-
1328
- # 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
1329
-
1330
- # @param request: Request instance for DescribeLogTopicTasks.
1331
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTasksRequest`
1332
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTasksResponse`
1333
- def DescribeLogTopicTasks(request)
1334
- body = send_request('DescribeLogTopicTasks', request.serialize)
1335
- response = JSON.parse(body)
1336
- if response['Response'].key?('Error') == false
1337
- model = DescribeLogTopicTasksResponse.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
- # 获取源站组列表
1353
-
1354
- # @param request: Request instance for DescribeOriginGroup.
1355
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOriginGroupRequest`
1356
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOriginGroupResponse`
1357
- def DescribeOriginGroup(request)
1358
- body = send_request('DescribeOriginGroup', request.serialize)
1359
- response = JSON.parse(body)
1360
- if response['Response'].key?('Error') == false
1361
- model = DescribeOriginGroupResponse.new
1362
- model.deserialize(response['Response'])
1363
- model
1364
- else
1365
- code = response['Response']['Error']['Code']
1366
- message = response['Response']['Error']['Message']
1367
- reqid = response['Response']['RequestId']
1368
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1369
- end
1370
- rescue TencentCloud::Common::TencentCloudSDKException => e
1371
- raise e
1372
- rescue StandardError => e
1373
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1374
- end
1375
-
1376
- # 查询源站防护信息
1377
-
1378
- # @param request: Request instance for DescribeOriginProtection.
1379
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOriginProtectionRequest`
1380
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOriginProtectionResponse`
1381
- def DescribeOriginProtection(request)
1382
- body = send_request('DescribeOriginProtection', request.serialize)
1383
- response = JSON.parse(body)
1384
- if response['Response'].key?('Error') == false
1385
- model = DescribeOriginProtectionResponse.new
1386
- model.deserialize(response['Response'])
1387
- model
1388
- else
1389
- code = response['Response']['Error']['Code']
1390
- message = response['Response']['Error']['Message']
1391
- reqid = response['Response']['RequestId']
1392
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
- end
1394
- rescue TencentCloud::Common::TencentCloudSDKException => e
1395
- raise e
1396
- rescue StandardError => e
1397
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
- end
1399
-
1400
- # 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。
1401
-
1402
- # @param request: Request instance for DescribeOverviewL7Data.
1403
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOverviewL7DataRequest`
1404
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOverviewL7DataResponse`
1405
- def DescribeOverviewL7Data(request)
1406
- body = send_request('DescribeOverviewL7Data', request.serialize)
1407
- response = JSON.parse(body)
1408
- if response['Response'].key?('Error') == false
1409
- model = DescribeOverviewL7DataResponse.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
- # 查询预热任务状态
1425
-
1426
- # @param request: Request instance for DescribePrefetchTasks.
1427
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribePrefetchTasksRequest`
1428
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribePrefetchTasksResponse`
1429
- def DescribePrefetchTasks(request)
1430
- body = send_request('DescribePrefetchTasks', request.serialize)
1431
- response = JSON.parse(body)
1432
- if response['Response'].key?('Error') == false
1433
- model = DescribePrefetchTasksResponse.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
- # 查询清除缓存历史记录
1449
-
1450
- # @param request: Request instance for DescribePurgeTasks.
1451
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribePurgeTasksRequest`
1452
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribePurgeTasksResponse`
1453
- def DescribePurgeTasks(request)
1454
- body = send_request('DescribePurgeTasks', request.serialize)
1455
- response = JSON.parse(body)
1456
- if response['Response'].key?('Error') == false
1457
- model = DescribePurgeTasksResponse.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
- # 查询速率限制智能客户端过滤学习出来的规则
1473
-
1474
- # @param request: Request instance for DescribeRateLimitIntelligenceRule.
1475
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeRateLimitIntelligenceRuleRequest`
1476
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeRateLimitIntelligenceRuleResponse`
1477
- def DescribeRateLimitIntelligenceRule(request)
1478
- body = send_request('DescribeRateLimitIntelligenceRule', request.serialize)
1479
- response = JSON.parse(body)
1480
- if response['Response'].key?('Error') == false
1481
- model = DescribeRateLimitIntelligenceRuleResponse.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
- # 查询规则引擎规则。
800
+ # 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
1497
801
 
1498
- # @param request: Request instance for DescribeRules.
1499
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeRulesRequest`
1500
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeRulesResponse`
1501
- def DescribeRules(request)
1502
- body = send_request('DescribeRules', request.serialize)
802
+ # @param request: Request instance for DescribeLogTopicTasks.
803
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTasksRequest`
804
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLogTopicTasksResponse`
805
+ def DescribeLogTopicTasks(request)
806
+ body = send_request('DescribeLogTopicTasks', request.serialize)
1503
807
  response = JSON.parse(body)
1504
808
  if response['Response'].key?('Error') == false
1505
- model = DescribeRulesResponse.new
809
+ model = DescribeLogTopicTasksResponse.new
1506
810
  model.deserialize(response['Response'])
1507
811
  model
1508
812
  else
@@ -1517,16 +821,16 @@ module TencentCloud
1517
821
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
822
  end
1519
823
 
1520
- # 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
824
+ # 获取源站组列表
1521
825
 
1522
- # @param request: Request instance for DescribeRulesSetting.
1523
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeRulesSettingRequest`
1524
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeRulesSettingResponse`
1525
- def DescribeRulesSetting(request)
1526
- body = send_request('DescribeRulesSetting', request.serialize)
826
+ # @param request: Request instance for DescribeOriginGroup.
827
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOriginGroupRequest`
828
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOriginGroupResponse`
829
+ def DescribeOriginGroup(request)
830
+ body = send_request('DescribeOriginGroup', request.serialize)
1527
831
  response = JSON.parse(body)
1528
832
  if response['Response'].key?('Error') == false
1529
- model = DescribeRulesSettingResponse.new
833
+ model = DescribeOriginGroupResponse.new
1530
834
  model.deserialize(response['Response'])
1531
835
  model
1532
836
  else
@@ -1541,16 +845,16 @@ module TencentCloud
1541
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
846
  end
1543
847
 
1544
- # 获取托管规则组
848
+ # 查询源站防护信息
1545
849
 
1546
- # @param request: Request instance for DescribeSecurityGroupManagedRules.
1547
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityGroupManagedRulesRequest`
1548
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityGroupManagedRulesResponse`
1549
- def DescribeSecurityGroupManagedRules(request)
1550
- body = send_request('DescribeSecurityGroupManagedRules', request.serialize)
850
+ # @param request: Request instance for DescribeOriginProtection.
851
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOriginProtectionRequest`
852
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOriginProtectionResponse`
853
+ def DescribeOriginProtection(request)
854
+ body = send_request('DescribeOriginProtection', request.serialize)
1551
855
  response = JSON.parse(body)
1552
856
  if response['Response'].key?('Error') == false
1553
- model = DescribeSecurityGroupManagedRulesResponse.new
857
+ model = DescribeOriginProtectionResponse.new
1554
858
  model.deserialize(response['Response'])
1555
859
  model
1556
860
  else
@@ -1565,16 +869,16 @@ module TencentCloud
1565
869
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1566
870
  end
1567
871
 
1568
- # 查询安全防护配置详情。请求参数中ZoneId+Entity或TemplateId至少填一项。
872
+ # 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。
1569
873
 
1570
- # @param request: Request instance for DescribeSecurityPolicy.
1571
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyRequest`
1572
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyResponse`
1573
- def DescribeSecurityPolicy(request)
1574
- body = send_request('DescribeSecurityPolicy', request.serialize)
874
+ # @param request: Request instance for DescribeOverviewL7Data.
875
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOverviewL7DataRequest`
876
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOverviewL7DataResponse`
877
+ def DescribeOverviewL7Data(request)
878
+ body = send_request('DescribeOverviewL7Data', request.serialize)
1575
879
  response = JSON.parse(body)
1576
880
  if response['Response'].key?('Error') == false
1577
- model = DescribeSecurityPolicyResponse.new
881
+ model = DescribeOverviewL7DataResponse.new
1578
882
  model.deserialize(response['Response'])
1579
883
  model
1580
884
  else
@@ -1589,16 +893,16 @@ module TencentCloud
1589
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1590
894
  end
1591
895
 
1592
- # 查询全部安全实例
896
+ # 查询预热任务状态
1593
897
 
1594
- # @param request: Request instance for DescribeSecurityPolicyList.
1595
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyListRequest`
1596
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyListResponse`
1597
- def DescribeSecurityPolicyList(request)
1598
- body = send_request('DescribeSecurityPolicyList', request.serialize)
898
+ # @param request: Request instance for DescribePrefetchTasks.
899
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribePrefetchTasksRequest`
900
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribePrefetchTasksResponse`
901
+ def DescribePrefetchTasks(request)
902
+ body = send_request('DescribePrefetchTasks', request.serialize)
1599
903
  response = JSON.parse(body)
1600
904
  if response['Response'].key?('Error') == false
1601
- model = DescribeSecurityPolicyListResponse.new
905
+ model = DescribePrefetchTasksResponse.new
1602
906
  model.deserialize(response['Response'])
1603
907
  model
1604
908
  else
@@ -1613,16 +917,16 @@ module TencentCloud
1613
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
918
  end
1615
919
 
1616
- # 查询所有地域信息
920
+ # 查询清除缓存历史记录
1617
921
 
1618
- # @param request: Request instance for DescribeSecurityPolicyRegions.
1619
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyRegionsRequest`
1620
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyRegionsResponse`
1621
- def DescribeSecurityPolicyRegions(request)
1622
- body = send_request('DescribeSecurityPolicyRegions', request.serialize)
922
+ # @param request: Request instance for DescribePurgeTasks.
923
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribePurgeTasksRequest`
924
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribePurgeTasksResponse`
925
+ def DescribePurgeTasks(request)
926
+ body = send_request('DescribePurgeTasks', request.serialize)
1623
927
  response = JSON.parse(body)
1624
928
  if response['Response'].key?('Error') == false
1625
- model = DescribeSecurityPolicyRegionsResponse.new
929
+ model = DescribePurgeTasksResponse.new
1626
930
  model.deserialize(response['Response'])
1627
931
  model
1628
932
  else
@@ -1637,16 +941,16 @@ module TencentCloud
1637
941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
942
  end
1639
943
 
1640
- # 查询Bot用户画像规则
944
+ # 查询规则引擎规则。
1641
945
 
1642
- # @param request: Request instance for DescribeSecurityPortraitRules.
1643
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPortraitRulesRequest`
1644
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPortraitRulesResponse`
1645
- def DescribeSecurityPortraitRules(request)
1646
- body = send_request('DescribeSecurityPortraitRules', request.serialize)
946
+ # @param request: Request instance for DescribeRules.
947
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeRulesRequest`
948
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeRulesResponse`
949
+ def DescribeRules(request)
950
+ body = send_request('DescribeRules', request.serialize)
1647
951
  response = JSON.parse(body)
1648
952
  if response['Response'].key?('Error') == false
1649
- model = DescribeSecurityPortraitRulesResponse.new
953
+ model = DescribeRulesResponse.new
1650
954
  model.deserialize(response['Response'])
1651
955
  model
1652
956
  else
@@ -1661,16 +965,16 @@ module TencentCloud
1661
965
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1662
966
  end
1663
967
 
1664
- # 查询安全规则详情
968
+ # 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
1665
969
 
1666
- # @param request: Request instance for DescribeSecurityRuleId.
1667
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityRuleIdRequest`
1668
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityRuleIdResponse`
1669
- def DescribeSecurityRuleId(request)
1670
- body = send_request('DescribeSecurityRuleId', request.serialize)
970
+ # @param request: Request instance for DescribeRulesSetting.
971
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeRulesSettingRequest`
972
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeRulesSettingResponse`
973
+ def DescribeRulesSetting(request)
974
+ body = send_request('DescribeRulesSetting', request.serialize)
1671
975
  response = JSON.parse(body)
1672
976
  if response['Response'].key?('Error') == false
1673
- model = DescribeSecurityRuleIdResponse.new
977
+ model = DescribeRulesSettingResponse.new
1674
978
  model.deserialize(response['Response'])
1675
979
  model
1676
980
  else
@@ -1685,7 +989,7 @@ module TencentCloud
1685
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1686
990
  end
1687
991
 
1688
- # 本接口(DescribeSingleL7AnalysisData)用于查询七层数据分析类单值流量数据列表。
992
+ # 本接口(DescribeSingleL7AnalysisData)用于查询七层流量数据分析单值数据列表,单值数据表示:指标在查询时间范围内的单个统计数据,通常表现为接口仅返回一个统计数值。
1689
993
 
1690
994
  # @param request: Request instance for DescribeSingleL7AnalysisData.
1691
995
  # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSingleL7AnalysisDataRequest`
@@ -1781,30 +1085,6 @@ module TencentCloud
1781
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
1086
  end
1783
1087
 
1784
- # 本接口(DescribeTimingL4AccessData)用于查询四层连接数的时序数据列表。
1785
-
1786
- # @param request: Request instance for DescribeTimingL4AccessData.
1787
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeTimingL4AccessDataRequest`
1788
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeTimingL4AccessDataResponse`
1789
- def DescribeTimingL4AccessData(request)
1790
- body = send_request('DescribeTimingL4AccessData', request.serialize)
1791
- response = JSON.parse(body)
1792
- if response['Response'].key?('Error') == false
1793
- model = DescribeTimingL4AccessDataResponse.new
1794
- model.deserialize(response['Response'])
1795
- model
1796
- else
1797
- code = response['Response']['Error']['Code']
1798
- message = response['Response']['Error']['Message']
1799
- reqid = response['Response']['RequestId']
1800
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1801
- end
1802
- rescue TencentCloud::Common::TencentCloudSDKException => e
1803
- raise e
1804
- rescue StandardError => e
1805
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1806
- end
1807
-
1808
1088
  # 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
1809
1089
 
1810
1090
  # @param request: Request instance for DescribeTimingL4Data.
@@ -1997,30 +1277,6 @@ module TencentCloud
1997
1277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1998
1278
  end
1999
1279
 
2000
- # 本接口(DescribeWebProtectionAttackEvents)用于查询CC相关攻击事件列表。
2001
-
2002
- # @param request: Request instance for DescribeWebProtectionAttackEvents.
2003
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionAttackEventsRequest`
2004
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeWebProtectionAttackEventsResponse`
2005
- def DescribeWebProtectionAttackEvents(request)
2006
- body = send_request('DescribeWebProtectionAttackEvents', request.serialize)
2007
- response = JSON.parse(body)
2008
- if response['Response'].key?('Error') == false
2009
- model = DescribeWebProtectionAttackEventsResponse.new
2010
- model.deserialize(response['Response'])
2011
- model
2012
- else
2013
- code = response['Response']['Error']['Code']
2014
- message = response['Response']['Error']['Message']
2015
- reqid = response['Response']['RequestId']
2016
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2017
- end
2018
- rescue TencentCloud::Common::TencentCloudSDKException => e
2019
- raise e
2020
- rescue StandardError => e
2021
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2022
- end
2023
-
2024
1280
  # 本接口(DescribeWebProtectionClientIpList)用于查询CC防护客户端(攻击源)IP信息。
2025
1281
 
2026
1282
  # @param request: Request instance for DescribeWebProtectionClientIpList.
@@ -2117,30 +1373,6 @@ module TencentCloud
2117
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
1374
  end
2119
1375
 
2120
- # 查询所有DDoS防护分区
2121
-
2122
- # @param request: Request instance for DescribeZoneDDoSPolicy.
2123
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeZoneDDoSPolicyRequest`
2124
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeZoneDDoSPolicyResponse`
2125
- def DescribeZoneDDoSPolicy(request)
2126
- body = send_request('DescribeZoneDDoSPolicy', request.serialize)
2127
- response = JSON.parse(body)
2128
- if response['Response'].key?('Error') == false
2129
- model = DescribeZoneDDoSPolicyResponse.new
2130
- model.deserialize(response['Response'])
2131
- model
2132
- else
2133
- code = response['Response']['Error']['Code']
2134
- message = response['Response']['Error']['Message']
2135
- reqid = response['Response']['RequestId']
2136
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2137
- end
2138
- rescue TencentCloud::Common::TencentCloudSDKException => e
2139
- raise e
2140
- rescue StandardError => e
2141
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2142
- end
2143
-
2144
1376
  # 用于查询站点的所有配置信息。
2145
1377
 
2146
1378
  # @param request: Request instance for DescribeZoneSetting.
@@ -2261,54 +1493,6 @@ module TencentCloud
2261
1493
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2262
1494
  end
2263
1495
 
2264
- # 本接口(ModifyAlarmConfig)用于修改用户告警配置。
2265
-
2266
- # @param request: Request instance for ModifyAlarmConfig.
2267
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyAlarmConfigRequest`
2268
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyAlarmConfigResponse`
2269
- def ModifyAlarmConfig(request)
2270
- body = send_request('ModifyAlarmConfig', request.serialize)
2271
- response = JSON.parse(body)
2272
- if response['Response'].key?('Error') == false
2273
- model = ModifyAlarmConfigResponse.new
2274
- model.deserialize(response['Response'])
2275
- model
2276
- else
2277
- code = response['Response']['Error']['Code']
2278
- message = response['Response']['Error']['Message']
2279
- reqid = response['Response']['RequestId']
2280
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2281
- end
2282
- rescue TencentCloud::Common::TencentCloudSDKException => e
2283
- raise e
2284
- rescue StandardError => e
2285
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2286
- end
2287
-
2288
- # 此接口(ModifyAlarmDefaultThreshold)用于修改告警默认阈值。
2289
-
2290
- # @param request: Request instance for ModifyAlarmDefaultThreshold.
2291
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyAlarmDefaultThresholdRequest`
2292
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyAlarmDefaultThresholdResponse`
2293
- def ModifyAlarmDefaultThreshold(request)
2294
- body = send_request('ModifyAlarmDefaultThreshold', request.serialize)
2295
- response = JSON.parse(body)
2296
- if response['Response'].key?('Error') == false
2297
- model = ModifyAlarmDefaultThresholdResponse.new
2298
- model.deserialize(response['Response'])
2299
- model
2300
- else
2301
- code = response['Response']['Error']['Code']
2302
- message = response['Response']['Error']['Message']
2303
- reqid = response['Response']['RequestId']
2304
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2305
- end
2306
- rescue TencentCloud::Common::TencentCloudSDKException => e
2307
- raise e
2308
- rescue StandardError => e
2309
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2310
- end
2311
-
2312
1496
  # 修改别称域名。
2313
1497
 
2314
1498
  # @param request: Request instance for ModifyAliasDomain.
@@ -2453,54 +1637,6 @@ module TencentCloud
2453
1637
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2454
1638
  end
2455
1639
 
2456
- # 修改DDoS防护分区配置
2457
-
2458
- # @param request: Request instance for ModifyDDoSPolicy.
2459
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyDDoSPolicyRequest`
2460
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDDoSPolicyResponse`
2461
- def ModifyDDoSPolicy(request)
2462
- body = send_request('ModifyDDoSPolicy', request.serialize)
2463
- response = JSON.parse(body)
2464
- if response['Response'].key?('Error') == false
2465
- model = ModifyDDoSPolicyResponse.new
2466
- model.deserialize(response['Response'])
2467
- model
2468
- else
2469
- code = response['Response']['Error']['Code']
2470
- message = response['Response']['Error']['Message']
2471
- reqid = response['Response']['RequestId']
2472
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2473
- end
2474
- rescue TencentCloud::Common::TencentCloudSDKException => e
2475
- raise e
2476
- rescue StandardError => e
2477
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2478
- end
2479
-
2480
- # 域名DDoS高可用开关
2481
-
2482
- # @param request: Request instance for ModifyDDoSPolicyHost.
2483
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyDDoSPolicyHostRequest`
2484
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDDoSPolicyHostResponse`
2485
- def ModifyDDoSPolicyHost(request)
2486
- body = send_request('ModifyDDoSPolicyHost', request.serialize)
2487
- response = JSON.parse(body)
2488
- if response['Response'].key?('Error') == false
2489
- model = ModifyDDoSPolicyHostResponse.new
2490
- model.deserialize(response['Response'])
2491
- model
2492
- else
2493
- code = response['Response']['Error']['Code']
2494
- message = response['Response']['Error']['Message']
2495
- reqid = response['Response']['RequestId']
2496
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2497
- end
2498
- rescue TencentCloud::Common::TencentCloudSDKException => e
2499
- raise e
2500
- rescue StandardError => e
2501
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2502
- end
2503
-
2504
1640
  # 修改默认证书状态
2505
1641
 
2506
1642
  # @param request: Request instance for ModifyDefaultCertificate.
@@ -2525,30 +1661,6 @@ module TencentCloud
2525
1661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2526
1662
  end
2527
1663
 
2528
- # 设置站点DNSSEC状态
2529
-
2530
- # @param request: Request instance for ModifyDnssec.
2531
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyDnssecRequest`
2532
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDnssecResponse`
2533
- def ModifyDnssec(request)
2534
- body = send_request('ModifyDnssec', request.serialize)
2535
- response = JSON.parse(body)
2536
- if response['Response'].key?('Error') == false
2537
- model = ModifyDnssecResponse.new
2538
- model.deserialize(response['Response'])
2539
- model
2540
- else
2541
- code = response['Response']['Error']['Code']
2542
- message = response['Response']['Error']['Message']
2543
- reqid = response['Response']['RequestId']
2544
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2545
- end
2546
- rescue TencentCloud::Common::TencentCloudSDKException => e
2547
- raise e
2548
- rescue StandardError => e
2549
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2550
- end
2551
-
2552
1664
  # 用于修改域名证书
2553
1665
 
2554
1666
  # @param request: Request instance for ModifyHostsCertificate.
@@ -2573,30 +1685,6 @@ module TencentCloud
2573
1685
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2574
1686
  end
2575
1687
 
2576
- # 本接口(ModifyLogTopicTask)用于修改日志推送任务信息。
2577
-
2578
- # @param request: Request instance for ModifyLogTopicTask.
2579
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyLogTopicTaskRequest`
2580
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyLogTopicTaskResponse`
2581
- def ModifyLogTopicTask(request)
2582
- body = send_request('ModifyLogTopicTask', request.serialize)
2583
- response = JSON.parse(body)
2584
- if response['Response'].key?('Error') == false
2585
- model = ModifyLogTopicTaskResponse.new
2586
- model.deserialize(response['Response'])
2587
- model
2588
- else
2589
- code = response['Response']['Error']['Code']
2590
- message = response['Response']['Error']['Message']
2591
- reqid = response['Response']['RequestId']
2592
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2593
- end
2594
- rescue TencentCloud::Common::TencentCloudSDKException => e
2595
- raise e
2596
- rescue StandardError => e
2597
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2598
- end
2599
-
2600
1688
  # 修改源站组
2601
1689
 
2602
1690
  # @param request: Request instance for ModifyOriginGroup.
@@ -2741,30 +1829,6 @@ module TencentCloud
2741
1829
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2742
1830
  end
2743
1831
 
2744
- # 开启,关闭 CNAME 加速。
2745
-
2746
- # @param request: Request instance for ModifyZoneCnameSpeedUp.
2747
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyZoneCnameSpeedUpRequest`
2748
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyZoneCnameSpeedUpResponse`
2749
- def ModifyZoneCnameSpeedUp(request)
2750
- body = send_request('ModifyZoneCnameSpeedUp', request.serialize)
2751
- response = JSON.parse(body)
2752
- if response['Response'].key?('Error') == false
2753
- model = ModifyZoneCnameSpeedUpResponse.new
2754
- model.deserialize(response['Response'])
2755
- model
2756
- else
2757
- code = response['Response']['Error']['Code']
2758
- message = response['Response']['Error']['Message']
2759
- reqid = response['Response']['RequestId']
2760
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2761
- end
2762
- rescue TencentCloud::Common::TencentCloudSDKException => e
2763
- raise e
2764
- rescue StandardError => e
2765
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2766
- end
2767
-
2768
1832
  # 用于修改站点配置
2769
1833
 
2770
1834
  # @param request: Request instance for ModifyZoneSetting.
@@ -2861,30 +1925,6 @@ module TencentCloud
2861
1925
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2862
1926
  end
2863
1927
 
2864
- # 本接口(SwitchLogTopicTask)用于开启/关闭推送任务。
2865
-
2866
- # @param request: Request instance for SwitchLogTopicTask.
2867
- # @type request: :class:`Tencentcloud::teo::V20220901::SwitchLogTopicTaskRequest`
2868
- # @rtype: :class:`Tencentcloud::teo::V20220901::SwitchLogTopicTaskResponse`
2869
- def SwitchLogTopicTask(request)
2870
- body = send_request('SwitchLogTopicTask', request.serialize)
2871
- response = JSON.parse(body)
2872
- if response['Response'].key?('Error') == false
2873
- model = SwitchLogTopicTaskResponse.new
2874
- model.deserialize(response['Response'])
2875
- model
2876
- else
2877
- code = response['Response']['Error']['Code']
2878
- message = response['Response']['Error']['Message']
2879
- reqid = response['Response']['RequestId']
2880
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2881
- end
2882
- rescue TencentCloud::Common::TencentCloudSDKException => e
2883
- raise e
2884
- rescue StandardError => e
2885
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2886
- end
2887
-
2888
1928
  # 更新源站防护IP白名单
2889
1929
 
2890
1930
  # @param request: Request instance for UpdateOriginProtectionIPWhitelist.