-
Notifications
You must be signed in to change notification settings - Fork 286
Expand file tree
/
Copy pathCfwClient.java
More file actions
1436 lines (1305 loc) · 59.9 KB
/
CfwClient.java
File metadata and controls
1436 lines (1305 loc) · 59.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Copyright (c) 2017-2025 Tencent. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cfw.v20190904;
import java.lang.reflect.Type;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.common.AbstractClient;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.JsonResponseModel;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.cfw.v20190904.models.*;
public class CfwClient extends AbstractClient{
private static String endpoint = "cfw.tencentcloudapi.com";
private static String service = "cfw";
private static String version = "2019-09-04";
public CfwClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public CfwClient(Credential credential, String region, ClientProfile profile) {
super(CfwClient.endpoint, CfwClient.version, credential, region, profile);
}
/**
*添加互联网边界访问控制规则
* @param req AddAclRuleRequest
* @return AddAclRuleResponse
* @throws TencentCloudSDKException
*/
public AddAclRuleResponse AddAclRule(AddAclRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddAclRule", AddAclRuleResponse.class);
}
/**
*创建新企业安全组规则
* @param req AddEnterpriseSecurityGroupRulesRequest
* @return AddEnterpriseSecurityGroupRulesResponse
* @throws TencentCloudSDKException
*/
public AddEnterpriseSecurityGroupRulesResponse AddEnterpriseSecurityGroupRules(AddEnterpriseSecurityGroupRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddEnterpriseSecurityGroupRules", AddEnterpriseSecurityGroupRulesResponse.class);
}
/**
*添加nat访问控制规则
* @param req AddNatAcRuleRequest
* @return AddNatAcRuleResponse
* @throws TencentCloudSDKException
*/
public AddNatAcRuleResponse AddNatAcRule(AddNatAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddNatAcRule", AddNatAcRuleResponse.class);
}
/**
*添加VPC内网间规则
* @param req AddVpcAcRuleRequest
* @return AddVpcAcRuleResponse
* @throws TencentCloudSDKException
*/
public AddVpcAcRuleResponse AddVpcAcRule(AddVpcAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddVpcAcRule", AddVpcAcRuleResponse.class);
}
/**
*创建访问控制规则
* @param req CreateAcRulesRequest
* @return CreateAcRulesResponse
* @throws TencentCloudSDKException
*/
public CreateAcRulesResponse CreateAcRules(CreateAcRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAcRules", CreateAcRulesResponse.class);
}
/**
*创建地址模板规则
* @param req CreateAddressTemplateRequest
* @return CreateAddressTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateAddressTemplateResponse CreateAddressTemplate(CreateAddressTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAddressTemplate", CreateAddressTemplateResponse.class);
}
/**
*用户告警中心-封隔离处置按钮
* @param req CreateAlertCenterIsolateRequest
* @return CreateAlertCenterIsolateResponse
* @throws TencentCloudSDKException
*/
public CreateAlertCenterIsolateResponse CreateAlertCenterIsolate(CreateAlertCenterIsolateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAlertCenterIsolate", CreateAlertCenterIsolateResponse.class);
}
/**
*用户告警中心-忽略处置按钮
* @param req CreateAlertCenterOmitRequest
* @return CreateAlertCenterOmitResponse
* @throws TencentCloudSDKException
*/
public CreateAlertCenterOmitResponse CreateAlertCenterOmit(CreateAlertCenterOmitRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAlertCenterOmit", CreateAlertCenterOmitResponse.class);
}
/**
*用户告警中心-封禁、放通处置按钮
* @param req CreateAlertCenterRuleRequest
* @return CreateAlertCenterRuleResponse
* @throws TencentCloudSDKException
*/
public CreateAlertCenterRuleResponse CreateAlertCenterRule(CreateAlertCenterRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAlertCenterRule", CreateAlertCenterRuleResponse.class);
}
/**
*批量添加入侵防御封禁列表、放通列表规则
* @param req CreateBlockIgnoreRuleListRequest
* @return CreateBlockIgnoreRuleListResponse
* @throws TencentCloudSDKException
*/
public CreateBlockIgnoreRuleListResponse CreateBlockIgnoreRuleList(CreateBlockIgnoreRuleListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateBlockIgnoreRuleList", CreateBlockIgnoreRuleListResponse.class);
}
/**
*批量添加入侵防御封禁列表、放通列表规则
* @param req CreateBlockIgnoreRuleNewRequest
* @return CreateBlockIgnoreRuleNewResponse
* @throws TencentCloudSDKException
*/
public CreateBlockIgnoreRuleNewResponse CreateBlockIgnoreRuleNew(CreateBlockIgnoreRuleNewRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateBlockIgnoreRuleNew", CreateBlockIgnoreRuleNewResponse.class);
}
/**
*创建、选择vpc
* @param req CreateChooseVpcsRequest
* @return CreateChooseVpcsResponse
* @throws TencentCloudSDKException
*/
public CreateChooseVpcsResponse CreateChooseVpcs(CreateChooseVpcsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateChooseVpcs", CreateChooseVpcsResponse.class);
}
/**
*创建暴露数据库白名单规则
* @param req CreateDatabaseWhiteListRulesRequest
* @return CreateDatabaseWhiteListRulesResponse
* @throws TencentCloudSDKException
*/
public CreateDatabaseWhiteListRulesResponse CreateDatabaseWhiteListRules(CreateDatabaseWhiteListRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDatabaseWhiteListRules", CreateDatabaseWhiteListRulesResponse.class);
}
/**
*创建Nat防火墙Dnat规则
* @param req CreateNatFwDnatRuleRequest
* @return CreateNatFwDnatRuleResponse
* @throws TencentCloudSDKException
*/
public CreateNatFwDnatRuleResponse CreateNatFwDnatRule(CreateNatFwDnatRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateNatFwDnatRule", CreateNatFwDnatRuleResponse.class);
}
/**
*创建NAT防火墙实例(Region参数必填)
* @param req CreateNatFwInstanceRequest
* @return CreateNatFwInstanceResponse
* @throws TencentCloudSDKException
*/
public CreateNatFwInstanceResponse CreateNatFwInstance(CreateNatFwInstanceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateNatFwInstance", CreateNatFwInstanceResponse.class);
}
/**
*创建防火墙实例和接入域名(Region参数必填)
* @param req CreateNatFwInstanceWithDomainRequest
* @return CreateNatFwInstanceWithDomainResponse
* @throws TencentCloudSDKException
*/
public CreateNatFwInstanceWithDomainResponse CreateNatFwInstanceWithDomain(CreateNatFwInstanceWithDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateNatFwInstanceWithDomain", CreateNatFwInstanceWithDomainResponse.class);
}
/**
*创建企业安全组规则
* @param req CreateSecurityGroupRulesRequest
* @return CreateSecurityGroupRulesResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityGroupRulesResponse CreateSecurityGroupRules(CreateSecurityGroupRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityGroupRules", CreateSecurityGroupRulesResponse.class);
}
/**
*创建VPC间防火墙(防火墙组)
* @param req CreateVpcFwGroupRequest
* @return CreateVpcFwGroupResponse
* @throws TencentCloudSDKException
*/
public CreateVpcFwGroupResponse CreateVpcFwGroup(CreateVpcFwGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateVpcFwGroup", CreateVpcFwGroupResponse.class);
}
/**
*删除规则
* @param req DeleteAcRuleRequest
* @return DeleteAcRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteAcRuleResponse DeleteAcRule(DeleteAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAcRule", DeleteAcRuleResponse.class);
}
/**
*删除地址模板规则
* @param req DeleteAddressTemplateRequest
* @return DeleteAddressTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteAddressTemplateResponse DeleteAddressTemplate(DeleteAddressTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAddressTemplate", DeleteAddressTemplateResponse.class);
}
/**
*批量删除入侵防御封禁列表、放通列表规则
* @param req DeleteBlockIgnoreRuleListRequest
* @return DeleteBlockIgnoreRuleListResponse
* @throws TencentCloudSDKException
*/
public DeleteBlockIgnoreRuleListResponse DeleteBlockIgnoreRuleList(DeleteBlockIgnoreRuleListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteBlockIgnoreRuleList", DeleteBlockIgnoreRuleListResponse.class);
}
/**
*批量删除入侵防御封禁列表、放通列表规则(新)
* @param req DeleteBlockIgnoreRuleNewRequest
* @return DeleteBlockIgnoreRuleNewResponse
* @throws TencentCloudSDKException
*/
public DeleteBlockIgnoreRuleNewResponse DeleteBlockIgnoreRuleNew(DeleteBlockIgnoreRuleNewRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteBlockIgnoreRuleNew", DeleteBlockIgnoreRuleNewResponse.class);
}
/**
*删除Nat防火墙Dnat规则
* @param req DeleteNatFwDnatRuleRequest
* @return DeleteNatFwDnatRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteNatFwDnatRuleResponse DeleteNatFwDnatRule(DeleteNatFwDnatRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteNatFwDnatRule", DeleteNatFwDnatRuleResponse.class);
}
/**
*销毁防火墙实例
* @param req DeleteNatFwInstanceRequest
* @return DeleteNatFwInstanceResponse
* @throws TencentCloudSDKException
*/
public DeleteNatFwInstanceResponse DeleteNatFwInstance(DeleteNatFwInstanceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteNatFwInstance", DeleteNatFwInstanceResponse.class);
}
/**
*删除远程运维域名
* @param req DeleteRemoteAccessDomainRequest
* @return DeleteRemoteAccessDomainResponse
* @throws TencentCloudSDKException
*/
public DeleteRemoteAccessDomainResponse DeleteRemoteAccessDomain(DeleteRemoteAccessDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRemoteAccessDomain", DeleteRemoteAccessDomainResponse.class);
}
/**
*DeleteResourceGroup-资产中心资产组删除
* @param req DeleteResourceGroupRequest
* @return DeleteResourceGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteResourceGroupResponse DeleteResourceGroup(DeleteResourceGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteResourceGroup", DeleteResourceGroupResponse.class);
}
/**
*删除规则
* @param req DeleteSecurityGroupRuleRequest
* @return DeleteSecurityGroupRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityGroupRuleResponse DeleteSecurityGroupRule(DeleteSecurityGroupRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityGroupRule", DeleteSecurityGroupRuleResponse.class);
}
/**
*删除防火墙(组),或者删除其中实例
* @param req DeleteVpcFwGroupRequest
* @return DeleteVpcFwGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteVpcFwGroupResponse DeleteVpcFwGroup(DeleteVpcFwGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteVpcFwGroup", DeleteVpcFwGroupResponse.class);
}
/**
*访问控制列表
* @param req DescribeAcListsRequest
* @return DescribeAcListsResponse
* @throws TencentCloudSDKException
*/
public DescribeAcListsResponse DescribeAcLists(DescribeAcListsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAcLists", DescribeAcListsResponse.class);
}
/**
*查询互联网边界访问控制列表
* @param req DescribeAclRuleRequest
* @return DescribeAclRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeAclRuleResponse DescribeAclRule(DescribeAclRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAclRule", DescribeAclRuleResponse.class);
}
/**
*查询地址模板列表
* @param req DescribeAddressTemplateListRequest
* @return DescribeAddressTemplateListResponse
* @throws TencentCloudSDKException
*/
public DescribeAddressTemplateListResponse DescribeAddressTemplateList(DescribeAddressTemplateListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAddressTemplateList", DescribeAddressTemplateListResponse.class);
}
/**
*资产同步状态查询
* @param req DescribeAssetSyncRequest
* @return DescribeAssetSyncResponse
* @throws TencentCloudSDKException
*/
public DescribeAssetSyncResponse DescribeAssetSync(DescribeAssetSyncRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAssetSync", DescribeAssetSyncResponse.class);
}
/**
*获取安全组关联实例列表
* @param req DescribeAssociatedInstanceListRequest
* @return DescribeAssociatedInstanceListResponse
* @throws TencentCloudSDKException
*/
public DescribeAssociatedInstanceListResponse DescribeAssociatedInstanceList(DescribeAssociatedInstanceListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAssociatedInstanceList", DescribeAssociatedInstanceListResponse.class);
}
/**
*DescribeBlockByIpTimesList 告警中心阻断IP折线图
* @param req DescribeBlockByIpTimesListRequest
* @return DescribeBlockByIpTimesListResponse
* @throws TencentCloudSDKException
*/
public DescribeBlockByIpTimesListResponse DescribeBlockByIpTimesList(DescribeBlockByIpTimesListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBlockByIpTimesList", DescribeBlockByIpTimesListResponse.class);
}
/**
*查询入侵防御放通封禁列表
* @param req DescribeBlockIgnoreListRequest
* @return DescribeBlockIgnoreListResponse
* @throws TencentCloudSDKException
*/
public DescribeBlockIgnoreListResponse DescribeBlockIgnoreList(DescribeBlockIgnoreListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBlockIgnoreList", DescribeBlockIgnoreListResponse.class);
}
/**
*DescribeBlockStaticList 告警中心柱形图
* @param req DescribeBlockStaticListRequest
* @return DescribeBlockStaticListResponse
* @throws TencentCloudSDKException
*/
public DescribeBlockStaticListResponse DescribeBlockStaticList(DescribeBlockStaticListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBlockStaticList", DescribeBlockStaticListResponse.class);
}
/**
*查询云联网关联的实例信息
* @param req DescribeCcnAssociatedInstancesRequest
* @return DescribeCcnAssociatedInstancesResponse
* @throws TencentCloudSDKException
*/
public DescribeCcnAssociatedInstancesResponse DescribeCcnAssociatedInstances(DescribeCcnAssociatedInstancesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCcnAssociatedInstances", DescribeCcnAssociatedInstancesResponse.class);
}
/**
*查询CCN关联实例的地域防火墙引流网络部署状态
1.根据CCN ID和实例ID列表,返回实例对应地域的防火墙引流网络部署状态
2.如果传入实例ID列表为空,则返回CCN关联的所有实例的地域防火墙引流网络部署状态
* @param req DescribeCcnInstanceRegionStatusRequest
* @return DescribeCcnInstanceRegionStatusResponse
* @throws TencentCloudSDKException
*/
public DescribeCcnInstanceRegionStatusResponse DescribeCcnInstanceRegionStatus(DescribeCcnInstanceRegionStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCcnInstanceRegionStatus", DescribeCcnInstanceRegionStatusResponse.class);
}
/**
*查询CCN中VPC防火墙接入策略配置时的规则数量限制
* @param req DescribeCcnVpcFwPolicyLimitRequest
* @return DescribeCcnVpcFwPolicyLimitResponse
* @throws TencentCloudSDKException
*/
public DescribeCcnVpcFwPolicyLimitResponse DescribeCcnVpcFwPolicyLimit(DescribeCcnVpcFwPolicyLimitRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCcnVpcFwPolicyLimit", DescribeCcnVpcFwPolicyLimitResponse.class);
}
/**
*查询CCN VPC防火墙开关配置
* @param req DescribeCcnVpcFwSwitchRequest
* @return DescribeCcnVpcFwSwitchResponse
* @throws TencentCloudSDKException
*/
public DescribeCcnVpcFwSwitchResponse DescribeCcnVpcFwSwitch(DescribeCcnVpcFwSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCcnVpcFwSwitch", DescribeCcnVpcFwSwitchResponse.class);
}
/**
*查询防火墙弹性公网IP
* @param req DescribeCfwEipsRequest
* @return DescribeCfwEipsResponse
* @throws TencentCloudSDKException
*/
public DescribeCfwEipsResponse DescribeCfwEips(DescribeCfwEipsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCfwEips", DescribeCfwEipsResponse.class);
}
/**
*cfw实例运行状态查询
* @param req DescribeCfwInsStatusRequest
* @return DescribeCfwInsStatusResponse
* @throws TencentCloudSDKException
*/
public DescribeCfwInsStatusResponse DescribeCfwInsStatus(DescribeCfwInsStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCfwInsStatus", DescribeCfwInsStatusResponse.class);
}
/**
*查询集群模式Vpc间防火墙开关
* @param req DescribeClusterVpcFwSwitchsRequest
* @return DescribeClusterVpcFwSwitchsResponse
* @throws TencentCloudSDKException
*/
public DescribeClusterVpcFwSwitchsResponse DescribeClusterVpcFwSwitchs(DescribeClusterVpcFwSwitchsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeClusterVpcFwSwitchs", DescribeClusterVpcFwSwitchsResponse.class);
}
/**
*获取入侵防御按钮列表
* @param req DescribeDefenseSwitchRequest
* @return DescribeDefenseSwitchResponse
* @throws TencentCloudSDKException
*/
public DescribeDefenseSwitchResponse DescribeDefenseSwitch(DescribeDefenseSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDefenseSwitch", DescribeDefenseSwitchResponse.class);
}
/**
*查询新版安全组下发进度
* @param req DescribeEnterpriseSGRuleProgressRequest
* @return DescribeEnterpriseSGRuleProgressResponse
* @throws TencentCloudSDKException
*/
public DescribeEnterpriseSGRuleProgressResponse DescribeEnterpriseSGRuleProgress(DescribeEnterpriseSGRuleProgressRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEnterpriseSGRuleProgress", DescribeEnterpriseSGRuleProgressResponse.class);
}
/**
*查询新企业安全组规则
* @param req DescribeEnterpriseSecurityGroupRuleRequest
* @return DescribeEnterpriseSecurityGroupRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeEnterpriseSecurityGroupRuleResponse DescribeEnterpriseSecurityGroupRule(DescribeEnterpriseSecurityGroupRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEnterpriseSecurityGroupRule", DescribeEnterpriseSecurityGroupRuleResponse.class);
}
/**
*查询新企业安全组规则 从node接口迁移 原接口DescribeSecurityGroupNewList
* @param req DescribeEnterpriseSecurityGroupRuleListRequest
* @return DescribeEnterpriseSecurityGroupRuleListResponse
* @throws TencentCloudSDKException
*/
public DescribeEnterpriseSecurityGroupRuleListResponse DescribeEnterpriseSecurityGroupRuleList(DescribeEnterpriseSecurityGroupRuleListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEnterpriseSecurityGroupRuleList", DescribeEnterpriseSecurityGroupRuleListResponse.class);
}
/**
*串行防火墙IP开关列表
* @param req DescribeFwEdgeIpsRequest
* @return DescribeFwEdgeIpsResponse
* @throws TencentCloudSDKException
*/
public DescribeFwEdgeIpsResponse DescribeFwEdgeIps(DescribeFwEdgeIpsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeFwEdgeIps", DescribeFwEdgeIpsResponse.class);
}
/**
*获取租户所有VPC防火墙(组)及VPC防火墙实例卡片信息
* @param req DescribeFwGroupInstanceInfoRequest
* @return DescribeFwGroupInstanceInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeFwGroupInstanceInfoResponse DescribeFwGroupInstanceInfo(DescribeFwGroupInstanceInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeFwGroupInstanceInfo", DescribeFwGroupInstanceInfoResponse.class);
}
/**
*获取防火墙同步状态,一般在执行同步操作后查询
* @param req DescribeFwSyncStatusRequest
* @return DescribeFwSyncStatusResponse
* @throws TencentCloudSDKException
*/
public DescribeFwSyncStatusResponse DescribeFwSyncStatus(DescribeFwSyncStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeFwSyncStatus", DescribeFwSyncStatusResponse.class);
}
/**
*DescribeGuideScanInfo新手引导扫描接口信息
* @param req DescribeGuideScanInfoRequest
* @return DescribeGuideScanInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeGuideScanInfoResponse DescribeGuideScanInfo(DescribeGuideScanInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeGuideScanInfo", DescribeGuideScanInfoResponse.class);
}
/**
*IP防护状态查询
* @param req DescribeIPStatusListRequest
* @return DescribeIPStatusListResponse
* @throws TencentCloudSDKException
*/
public DescribeIPStatusListResponse DescribeIPStatusList(DescribeIPStatusListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIPStatusList", DescribeIPStatusListResponse.class);
}
/**
*获取入侵防御防护模式
* @param req DescribeIpsModeSwitchRequest
* @return DescribeIpsModeSwitchResponse
* @throws TencentCloudSDKException
*/
public DescribeIpsModeSwitchResponse DescribeIpsModeSwitch(DescribeIpsModeSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIpsModeSwitch", DescribeIpsModeSwitchResponse.class);
}
/**
*租户日志存储统计
* @param req DescribeLogStorageStatisticRequest
* @return DescribeLogStorageStatisticResponse
* @throws TencentCloudSDKException
*/
public DescribeLogStorageStatisticResponse DescribeLogStorageStatistic(DescribeLogStorageStatisticRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeLogStorageStatistic", DescribeLogStorageStatisticResponse.class);
}
/**
*日志审计日志查询
* @param req DescribeLogsRequest
* @return DescribeLogsResponse
* @throws TencentCloudSDKException
*/
public DescribeLogsResponse DescribeLogs(DescribeLogsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeLogs", DescribeLogsResponse.class);
}
/**
*查询NAT访问控制列表
* @param req DescribeNatAcRuleRequest
* @return DescribeNatAcRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeNatAcRuleResponse DescribeNatAcRule(DescribeNatAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatAcRule", DescribeNatAcRuleResponse.class);
}
/**
*查询Nat防火墙Dnat规则
* @param req DescribeNatFwDnatRuleRequest
* @return DescribeNatFwDnatRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwDnatRuleResponse DescribeNatFwDnatRule(DescribeNatFwDnatRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwDnatRule", DescribeNatFwDnatRuleResponse.class);
}
/**
*获取当前用户接入nat防火墙的所有子网数及natfw实例个数
* @param req DescribeNatFwInfoCountRequest
* @return DescribeNatFwInfoCountResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInfoCountResponse DescribeNatFwInfoCount(DescribeNatFwInfoCountRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInfoCount", DescribeNatFwInfoCountResponse.class);
}
/**
*DescribeNatFwInstance 获取租户所有NAT实例
* @param req DescribeNatFwInstanceRequest
* @return DescribeNatFwInstanceResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInstanceResponse DescribeNatFwInstance(DescribeNatFwInstanceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInstance", DescribeNatFwInstanceResponse.class);
}
/**
*GetNatFwInstanceWithRegion 获取租户新增运维的NAT实例,带上地域
* @param req DescribeNatFwInstanceWithRegionRequest
* @return DescribeNatFwInstanceWithRegionResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInstanceWithRegionResponse DescribeNatFwInstanceWithRegion(DescribeNatFwInstanceWithRegionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInstanceWithRegion", DescribeNatFwInstanceWithRegionResponse.class);
}
/**
*GetNatInstance 获取租户所有NAT实例及实例卡片信息
* @param req DescribeNatFwInstancesInfoRequest
* @return DescribeNatFwInstancesInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInstancesInfoResponse DescribeNatFwInstancesInfo(DescribeNatFwInstancesInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInstancesInfo", DescribeNatFwInstancesInfoResponse.class);
}
/**
*查询NAT边界防火墙开关列表
* @param req DescribeNatFwSwitchRequest
* @return DescribeNatFwSwitchResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwSwitchResponse DescribeNatFwSwitch(DescribeNatFwSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwSwitch", DescribeNatFwSwitchResponse.class);
}
/**
*展示当前natfw 实例对应的vpc dns开关
* @param req DescribeNatFwVpcDnsLstRequest
* @return DescribeNatFwVpcDnsLstResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwVpcDnsLstResponse DescribeNatFwVpcDnsLst(DescribeNatFwVpcDnsLstRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwVpcDnsLst", DescribeNatFwVpcDnsLstResponse.class);
}
/**
*DescribeResourceGroup资产中心资产树信息
* @param req DescribeResourceGroupRequest
* @return DescribeResourceGroupResponse
* @throws TencentCloudSDKException
*/
public DescribeResourceGroupResponse DescribeResourceGroup(DescribeResourceGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeResourceGroup", DescribeResourceGroupResponse.class);
}
/**
*资产中心资产组数数据信息查询
* @param req DescribeResourceGroupNewRequest
* @return DescribeResourceGroupNewResponse
* @throws TencentCloudSDKException
*/
public DescribeResourceGroupNewResponse DescribeResourceGroupNew(DescribeResourceGroupNewRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeResourceGroupNew", DescribeResourceGroupNewResponse.class);
}
/**
*查询规则列表概况
* @param req DescribeRuleOverviewRequest
* @return DescribeRuleOverviewResponse
* @throws TencentCloudSDKException
*/
public DescribeRuleOverviewResponse DescribeRuleOverview(DescribeRuleOverviewRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRuleOverview", DescribeRuleOverviewResponse.class);
}
/**
*查询安全组规则列表
* @param req DescribeSecurityGroupListRequest
* @return DescribeSecurityGroupListResponse
* @throws TencentCloudSDKException
*/
public DescribeSecurityGroupListResponse DescribeSecurityGroupList(DescribeSecurityGroupListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSecurityGroupList", DescribeSecurityGroupListResponse.class);
}
/**
*DescribeSourceAsset-查询全部资产信息
* @param req DescribeSourceAssetRequest
* @return DescribeSourceAssetResponse
* @throws TencentCloudSDKException
*/
public DescribeSourceAssetResponse DescribeSourceAsset(DescribeSourceAssetRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSourceAsset", DescribeSourceAssetResponse.class);
}
/**
*互联网边界防火墙开关横幅错误信息
* @param req DescribeSwitchErrorRequest
* @return DescribeSwitchErrorResponse
* @throws TencentCloudSDKException
*/
public DescribeSwitchErrorResponse DescribeSwitchError(DescribeSwitchErrorRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSwitchError", DescribeSwitchErrorResponse.class);
}
/**
*防火墙开关列表,请换用DescribeFwEdgeIps
* @param req DescribeSwitchListsRequest
* @return DescribeSwitchListsResponse
* @throws TencentCloudSDKException
*/
public DescribeSwitchListsResponse DescribeSwitchLists(DescribeSwitchListsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSwitchLists", DescribeSwitchListsResponse.class);
}
/**
*DescribeTLogInfo告警中心概况查询
* @param req DescribeTLogInfoRequest
* @return DescribeTLogInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeTLogInfoResponse DescribeTLogInfo(DescribeTLogInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTLogInfo", DescribeTLogInfoResponse.class);
}
/**
*DescribeTLogIpList告警中心IP柱形图
* @param req DescribeTLogIpListRequest
* @return DescribeTLogIpListResponse
* @throws TencentCloudSDKException
*/
public DescribeTLogIpListResponse DescribeTLogIpList(DescribeTLogIpListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTLogIpList", DescribeTLogIpListResponse.class);
}
/**
*查询规则表状态
* @param req DescribeTableStatusRequest
* @return DescribeTableStatusResponse
* @throws TencentCloudSDKException
*/
public DescribeTableStatusResponse DescribeTableStatus(DescribeTableStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTableStatus", DescribeTableStatusResponse.class);
}
/**
*DescribeUnHandleEventTabList 告警中心伪攻击链事件未处置接口
* @param req DescribeUnHandleEventTabListRequest
* @return DescribeUnHandleEventTabListResponse
* @throws TencentCloudSDKException
*/
public DescribeUnHandleEventTabListResponse DescribeUnHandleEventTabList(DescribeUnHandleEventTabListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeUnHandleEventTabList", DescribeUnHandleEventTabListResponse.class);
}
/**
*查询内网间访问控制列表
* @param req DescribeVpcAcRuleRequest
* @return DescribeVpcAcRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeVpcAcRuleResponse DescribeVpcAcRule(DescribeVpcAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeVpcAcRule", DescribeVpcAcRuleResponse.class);
}
/**
*查询VPC防火墙策略路由功能开白的CCN列表
* @param req DescribeVpcFwCcnPolicyWhiteListRequest
* @return DescribeVpcFwCcnPolicyWhiteListResponse
* @throws TencentCloudSDKException
*/
public DescribeVpcFwCcnPolicyWhiteListResponse DescribeVpcFwCcnPolicyWhiteList(DescribeVpcFwCcnPolicyWhiteListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeVpcFwCcnPolicyWhiteList", DescribeVpcFwCcnPolicyWhiteListResponse.class);
}
/**
*VPC防火墙(组)开关列表
* @param req DescribeVpcFwGroupSwitchRequest
* @return DescribeVpcFwGroupSwitchResponse
* @throws TencentCloudSDKException
*/
public DescribeVpcFwGroupSwitchResponse DescribeVpcFwGroupSwitch(DescribeVpcFwGroupSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeVpcFwGroupSwitch", DescribeVpcFwGroupSwitchResponse.class);
}
/**
*防火墙垂直扩容
* @param req ExpandCfwVerticalRequest
* @return ExpandCfwVerticalResponse
* @throws TencentCloudSDKException
*/
public ExpandCfwVerticalResponse ExpandCfwVertical(ExpandCfwVerticalRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExpandCfwVertical", ExpandCfwVerticalResponse.class);
}
/**
*修改规则
* @param req ModifyAcRuleRequest
* @return ModifyAcRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyAcRuleResponse ModifyAcRule(ModifyAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAcRule", ModifyAcRuleResponse.class);
}
/**
*修改互联网边界访问控制规则
* @param req ModifyAclRuleRequest
* @return ModifyAclRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyAclRuleResponse ModifyAclRule(ModifyAclRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAclRule", ModifyAclRuleResponse.class);
}
/**
*修改地址模板
* @param req ModifyAddressTemplateRequest
* @return ModifyAddressTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyAddressTemplateResponse ModifyAddressTemplate(ModifyAddressTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAddressTemplate", ModifyAddressTemplateResponse.class);
}
/**
*互联网边界防火墙一键开关
* @param req ModifyAllPublicIPSwitchStatusRequest
* @return ModifyAllPublicIPSwitchStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyAllPublicIPSwitchStatusResponse ModifyAllPublicIPSwitchStatus(ModifyAllPublicIPSwitchStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAllPublicIPSwitchStatus", ModifyAllPublicIPSwitchStatusResponse.class);
}
/**
*启用停用全部规则
* @param req ModifyAllRuleStatusRequest
* @return ModifyAllRuleStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyAllRuleStatusResponse ModifyAllRuleStatus(ModifyAllRuleStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAllRuleStatus", ModifyAllRuleStatusResponse.class);
}
/**
*资产扫描
* @param req ModifyAssetScanRequest
* @return ModifyAssetScanResponse
* @throws TencentCloudSDKException
*/
public ModifyAssetScanResponse ModifyAssetScan(ModifyAssetScanRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAssetScan", ModifyAssetScanResponse.class);
}
/**
*资产同步
* @param req ModifyAssetSyncRequest
* @return ModifyAssetSyncResponse
* @throws TencentCloudSDKException
*/
public ModifyAssetSyncResponse ModifyAssetSync(ModifyAssetSyncRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAssetSync", ModifyAssetSyncResponse.class);
}
/**
*支持对封禁列表、放通列表如下操作:
批量增加封禁IP、放通IP/域名
批量删除封禁IP、放通IP/域名
批量修改封禁IP、放通IP/域名生效事件
* @param req ModifyBlockIgnoreListRequest
* @return ModifyBlockIgnoreListResponse
* @throws TencentCloudSDKException
*/
public ModifyBlockIgnoreListResponse ModifyBlockIgnoreList(ModifyBlockIgnoreListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyBlockIgnoreList", ModifyBlockIgnoreListResponse.class);
}
/**
*编辑单条入侵防御封禁列表、放通列表规则
* @param req ModifyBlockIgnoreRuleRequest
* @return ModifyBlockIgnoreRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyBlockIgnoreRuleResponse ModifyBlockIgnoreRule(ModifyBlockIgnoreRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyBlockIgnoreRule", ModifyBlockIgnoreRuleResponse.class);