-
Notifications
You must be signed in to change notification settings - Fork 286
Expand file tree
/
Copy pathTeoClient.java
More file actions
2353 lines (2136 loc) · 121 KB
/
TeoClient.java
File metadata and controls
2353 lines (2136 loc) · 121 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.teo.v20220901;
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.teo.v20220901.models.*;
public class TeoClient extends AbstractClient{
private static String endpoint = "teo.tencentcloudapi.com";
private static String service = "teo";
private static String version = "2022-09-01";
public TeoClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public TeoClient(Credential credential, String region, ClientProfile profile) {
super(TeoClient.endpoint, TeoClient.version, credential, region, profile);
}
/**
*申请免费证书时,如果您需要通过使用 DNS 委派验证或者文件验证进行申请,您可以调用该接口来进行发起证书申请并根据申请方式来获取对应的验证内容。调用接口的顺序如下:
第一步:调用 ApplyFreeCertificate,指定申请免费证书的校验方式,获取验证内容;
第二步:为相应域名按照验证内容配置;
第三步:调用CheckFreeCertificateVerification 验证,验证通过后即完成免费证书申请;
第四步:调用ModifyHostsCertificate,下发域名证书为使用 EdgeOne 免费证书配置。
申请方式的介绍可参考文档:[免费证书申请说明](https://cloud.tencent.com/document/product/1552/90437)
说明:
- 仅 CNAME 接入模式可调用该接口来指定免费证书申请方式。NS/DNSPod 托管接入模式都是使用自动验证来申请免费证书,无需调用该接口。
- 如果您需要切换免费证书验证方式,您可以重新调用本接口通过修改 VerificationMethod 字段来进行变更。
- 同个域名只能申请一本免费证书,在调用本接口后,后台会触发申请免费证书相关任务,您需要在2 天内,完成域名验证信息的相关配置,然后完成证书验证。
* @param req ApplyFreeCertificateRequest
* @return ApplyFreeCertificateResponse
* @throws TencentCloudSDKException
*/
public ApplyFreeCertificateResponse ApplyFreeCertificate(ApplyFreeCertificateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ApplyFreeCertificate", ApplyFreeCertificateResponse.class);
}
/**
*操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
* @param req BindSecurityTemplateToEntityRequest
* @return BindSecurityTemplateToEntityResponse
* @throws TencentCloudSDKException
*/
public BindSecurityTemplateToEntityResponse BindSecurityTemplateToEntity(BindSecurityTemplateToEntityRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindSecurityTemplateToEntity", BindSecurityTemplateToEntityResponse.class);
}
/**
*用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
* @param req BindSharedCNAMERequest
* @return BindSharedCNAMEResponse
* @throws TencentCloudSDKException
*/
public BindSharedCNAMEResponse BindSharedCNAME(BindSharedCNAMERequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindSharedCNAME", BindSharedCNAMEResponse.class);
}
/**
*将未绑定套餐的站点绑定到已有套餐
* @param req BindZoneToPlanRequest
* @return BindZoneToPlanResponse
* @throws TencentCloudSDKException
*/
public BindZoneToPlanResponse BindZoneToPlan(BindZoneToPlanRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindZoneToPlan", BindZoneToPlanResponse.class);
}
/**
*当站点接入类型为 CNAME 接入类型时,要求该站点下的所有接入域名必须按照 EdgeOne 分配的指定 CNAME 域名完成 CNAME 记录配置。
您可以通过本接口获取 EdgeOne 为接入域名分配的指定 CNAME 域名,并且可以通过本接口完成对接入域名的 CNAME 配置状态的校验。
* @param req CheckCnameStatusRequest
* @return CheckCnameStatusResponse
* @throws TencentCloudSDKException
*/
public CheckCnameStatusResponse CheckCnameStatus(CheckCnameStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CheckCnameStatus", CheckCnameStatusResponse.class);
}
/**
*该接口用于验证免费证书并获取免费证书申请结果。如果验证通过,可通过该接口查询到对应域名申请的免费证书信息,如果申请失败,该接口将返回对应的验证失败信息。
在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://cloud.tencent.com/document/product/1552/80764)接口配置,才能将免费证书部署至加速域上。
* @param req CheckFreeCertificateVerificationRequest
* @return CheckFreeCertificateVerificationResponse
* @throws TencentCloudSDKException
*/
public CheckFreeCertificateVerificationResponse CheckFreeCertificateVerification(CheckFreeCertificateVerificationRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CheckFreeCertificateVerification", CheckFreeCertificateVerificationResponse.class);
}
/**
*本接口用于多通道安全加速网关回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。
* @param req ConfirmMultiPathGatewayOriginACLRequest
* @return ConfirmMultiPathGatewayOriginACLResponse
* @throws TencentCloudSDKException
*/
public ConfirmMultiPathGatewayOriginACLResponse ConfirmMultiPathGatewayOriginACL(ConfirmMultiPathGatewayOriginACLRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ConfirmMultiPathGatewayOriginACL", ConfirmMultiPathGatewayOriginACLResponse.class);
}
/**
*本接口用于回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。确认已更新至最新的回源 IP 网段后,相关变更通知将会停止推送。
* @param req ConfirmOriginACLUpdateRequest
* @return ConfirmOriginACLUpdateResponse
* @throws TencentCloudSDKException
*/
public ConfirmOriginACLUpdateResponse ConfirmOriginACLUpdate(ConfirmOriginACLUpdateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ConfirmOriginACLUpdate", ConfirmOriginACLUpdateResponse.class);
}
/**
*在创建完站点之后,您可以通过本接口创建加速域名。
CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
* @param req CreateAccelerationDomainRequest
* @return CreateAccelerationDomainResponse
* @throws TencentCloudSDKException
*/
public CreateAccelerationDomainResponse CreateAccelerationDomain(CreateAccelerationDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAccelerationDomain", CreateAccelerationDomainResponse.class);
}
/**
*创建别称域名。
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
* @param req CreateAliasDomainRequest
* @return CreateAliasDomainResponse
* @throws TencentCloudSDKException
*/
public CreateAliasDomainResponse CreateAliasDomain(CreateAliasDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAliasDomain", CreateAliasDomainResponse.class);
}
/**
*本接口为旧版,如需调用请尽快迁移至新版 [创建四层代理实例](https://cloud.tencent.com/document/product/1552/103417) 。
* @param req CreateApplicationProxyRequest
* @return CreateApplicationProxyResponse
* @throws TencentCloudSDKException
*/
public CreateApplicationProxyResponse CreateApplicationProxy(CreateApplicationProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApplicationProxy", CreateApplicationProxyResponse.class);
}
/**
*本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [创建四层代理转发规则
](https://cloud.tencent.com/document/product/1552/103416) 。
* @param req CreateApplicationProxyRuleRequest
* @return CreateApplicationProxyRuleResponse
* @throws TencentCloudSDKException
*/
public CreateApplicationProxyRuleResponse CreateApplicationProxyRule(CreateApplicationProxyRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApplicationProxyRule", CreateApplicationProxyRuleResponse.class);
}
/**
*针对指定实时日志投递任务(task-id),在对应的腾讯云 CLS 日志主题中创建投递日志字段对应的键值索引。如果您在腾讯云 CLS 已经创建索引,本接口将采用合并的方式追加索引。
* @param req CreateCLSIndexRequest
* @return CreateCLSIndexResponse
* @throws TencentCloudSDKException
*/
public CreateCLSIndexResponse CreateCLSIndex(CreateCLSIndexRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCLSIndex", CreateCLSIndexResponse.class);
}
/**
*在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
* @param req CreateConfigGroupVersionRequest
* @return CreateConfigGroupVersionResponse
* @throws TencentCloudSDKException
*/
public CreateConfigGroupVersionResponse CreateConfigGroupVersion(CreateConfigGroupVersionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateConfigGroupVersion", CreateConfigGroupVersionResponse.class);
}
/**
*创建内容标识符,可以设置描述、标签等信息,同时需要绑定企业版套餐用于统计计费数据;一个内容标识符只能绑定一个计费套餐,一个计费套餐可以绑定多个内容标识符。该功能仅限白名单开放。
* @param req CreateContentIdentifierRequest
* @return CreateContentIdentifierResponse
* @throws TencentCloudSDKException
*/
public CreateContentIdentifierResponse CreateContentIdentifier(CreateContentIdentifierRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateContentIdentifier", CreateContentIdentifierResponse.class);
}
/**
*创建自定义错误页面。
* @param req CreateCustomizeErrorPageRequest
* @return CreateCustomizeErrorPageResponse
* @throws TencentCloudSDKException
*/
public CreateCustomizeErrorPageResponse CreateCustomizeErrorPage(CreateCustomizeErrorPageRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCustomizeErrorPage", CreateCustomizeErrorPageResponse.class);
}
/**
*在创建完站点后,并且站点为 NS 模式接入时,您可以通过本接口创建 DNS 记录。
* @param req CreateDnsRecordRequest
* @return CreateDnsRecordResponse
* @throws TencentCloudSDKException
*/
public CreateDnsRecordResponse CreateDnsRecord(CreateDnsRecordRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDnsRecord", CreateDnsRecordResponse.class);
}
/**
*创建并部署边缘函数至 EdgeOne 的边缘节点。
* @param req CreateFunctionRequest
* @return CreateFunctionResponse
* @throws TencentCloudSDKException
*/
public CreateFunctionResponse CreateFunction(CreateFunctionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateFunction", CreateFunctionResponse.class);
}
/**
*创建边缘函数的触发规则。支持通过自定义过滤条件来决定是否需要执行函数,当需要执行函数时,提供了多种选择目标函数的方式,包括:直接指定,基于客户端归属地区选择和基于权重选择。
* @param req CreateFunctionRuleRequest
* @return CreateFunctionRuleResponse
* @throws TencentCloudSDKException
*/
public CreateFunctionRuleResponse CreateFunctionRule(CreateFunctionRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateFunctionRule", CreateFunctionRuleResponse.class);
}
/**
*即时转码已经提供了预置转码模板,满足大部分的需求。如果有个性化的转码需求,可以通过本接口创建自定义的转码模板,最多可创建100个自定义转码模板。
为了确保即时转码效果的一致性,避免因 EO 缓存或 M3U8 分片处理过程中的模板变更导致视频输出异常,模板在创建后不可进行修改。
即时转码详细能力了解:[EdgeOne视频即时处理功能介绍](https://cloud.tencent.com/document/product/1552/111927)。
* @param req CreateJustInTimeTranscodeTemplateRequest
* @return CreateJustInTimeTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateJustInTimeTranscodeTemplateResponse CreateJustInTimeTranscodeTemplate(CreateJustInTimeTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateJustInTimeTranscodeTemplate", CreateJustInTimeTranscodeTemplateResponse.class);
}
/**
*用于创建四层代理实例。
* @param req CreateL4ProxyRequest
* @return CreateL4ProxyResponse
* @throws TencentCloudSDKException
*/
public CreateL4ProxyResponse CreateL4Proxy(CreateL4ProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateL4Proxy", CreateL4ProxyResponse.class);
}
/**
*用于创建四层代理实例规则,支持单条或者批量创建。
* @param req CreateL4ProxyRulesRequest
* @return CreateL4ProxyRulesResponse
* @throws TencentCloudSDKException
*/
public CreateL4ProxyRulesResponse CreateL4ProxyRules(CreateL4ProxyRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateL4ProxyRules", CreateL4ProxyRulesResponse.class);
}
/**
*本接口用于在[规则引擎](https://cloud.tencent.com/document/product/1552/70901)中创建规则,支持批量创建。
* @param req CreateL7AccRulesRequest
* @return CreateL7AccRulesResponse
* @throws TencentCloudSDKException
*/
public CreateL7AccRulesResponse CreateL7AccRules(CreateL7AccRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateL7AccRules", CreateL7AccRulesResponse.class);
}
/**
*创建负载均衡实例。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223)。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
* @param req CreateLoadBalancerRequest
* @return CreateLoadBalancerResponse
* @throws TencentCloudSDKException
*/
public CreateLoadBalancerResponse CreateLoadBalancer(CreateLoadBalancerRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateLoadBalancer", CreateLoadBalancerResponse.class);
}
/**
*通过本接口创建多通道安全加速网关,包括云上网关(腾讯云创建和管理的网关)和自有网关(用户部署的私有网关),需要通过接口 DescribeMultiPathGateway,查询状态为 online 即创建成功。
* @param req CreateMultiPathGatewayRequest
* @return CreateMultiPathGatewayResponse
* @throws TencentCloudSDKException
*/
public CreateMultiPathGatewayResponse CreateMultiPathGateway(CreateMultiPathGatewayRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateMultiPathGateway", CreateMultiPathGatewayResponse.class);
}
/**
*通过本接口创建接入多通道安全加速网关的线路。包括 EdgeOne 四层代理线路、自定义线路。
* @param req CreateMultiPathGatewayLineRequest
* @return CreateMultiPathGatewayLineResponse
* @throws TencentCloudSDKException
*/
public CreateMultiPathGatewayLineResponse CreateMultiPathGatewayLine(CreateMultiPathGatewayLineRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateMultiPathGatewayLine", CreateMultiPathGatewayLineResponse.class);
}
/**
*通过本接口创建接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关。每个站点下只有一个密钥,可用于接入该站点下的所有网关,可通过接口 DescribeMultiPathGatewaySecretKey 查询。
* @param req CreateMultiPathGatewaySecretKeyRequest
* @return CreateMultiPathGatewaySecretKeyResponse
* @throws TencentCloudSDKException
*/
public CreateMultiPathGatewaySecretKeyResponse CreateMultiPathGatewaySecretKey(CreateMultiPathGatewaySecretKeyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateMultiPathGatewaySecretKey", CreateMultiPathGatewaySecretKeyResponse.class);
}
/**
*创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
* @param req CreateOriginGroupRequest
* @return CreateOriginGroupResponse
* @throws TencentCloudSDKException
*/
public CreateOriginGroupResponse CreateOriginGroup(CreateOriginGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateOriginGroup", CreateOriginGroupResponse.class);
}
/**
*若您需要使用 Edgeone 产品,您需要通过此接口创建计费套餐。
> 创建套餐后,您需要通过 [CreateZone](https://cloud.tencent.com/document/product/1552/80719) 完成创建站点,绑定套餐的流程,Edgeone 才能正常提供服务。
* @param req CreatePlanRequest
* @return CreatePlanResponse
* @throws TencentCloudSDKException
*/
public CreatePlanResponse CreatePlan(CreatePlanRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePlan", CreatePlanResponse.class);
}
/**
*为未购买套餐的站点购买套餐
* @param req CreatePlanForZoneRequest
* @return CreatePlanForZoneResponse
* @throws TencentCloudSDKException
*/
public CreatePlanForZoneResponse CreatePlanForZone(CreatePlanForZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePlanForZone", CreatePlanForZoneResponse.class);
}
/**
*创建预热任务
* @param req CreatePrefetchTaskRequest
* @return CreatePrefetchTaskResponse
* @throws TencentCloudSDKException
*/
public CreatePrefetchTaskResponse CreatePrefetchTask(CreatePrefetchTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePrefetchTask", CreatePrefetchTaskResponse.class);
}
/**
*当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
清除缓存任务详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。
* @param req CreatePurgeTaskRequest
* @return CreatePurgeTaskResponse
* @throws TencentCloudSDKException
*/
public CreatePurgeTaskResponse CreatePurgeTask(CreatePurgeTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePurgeTask", CreatePurgeTaskResponse.class);
}
/**
*本接口用于创建实时日志投递任务。本接口有如下限制:
- 当数据投递类型(LogType)为站点加速日志(七层访问日志)、四层代理日志、边缘函数运行日志时,同一个实体(七层域名、四层代理实例、边缘函数实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到如下实时日志投递任务类型(TaskType)组合中:
- 一个推送至腾讯云 CLS 的任务,加上另一个推送至自定义 HTTP(S) 地址的任务;
- 一个推送至腾讯云 CLS 的任务,加上另一个推送至 AWS S3 兼容对象存储的任务;
- 当数据投递类型(LogType)为速率限制和 CC 攻击防护日志、托管规则日志、自定义规则日志、Bot 管理日志时,同一个实体在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。
- 当实时日志投递任务类型(TaskType)为 EdgeOne 日志分析(log_analysis)时,只支持数据投递类型(LogType)为站点加速日志(domain);在同一站点(ZoneId)和数据投递区域(Area)的组合下,只能添加一个推送至 EdgeOne 日志分析的实时日志投递任务;。
建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。
* @param req CreateRealtimeLogDeliveryTaskRequest
* @return CreateRealtimeLogDeliveryTaskResponse
* @throws TencentCloudSDKException
*/
public CreateRealtimeLogDeliveryTaskResponse CreateRealtimeLogDeliveryTask(CreateRealtimeLogDeliveryTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateRealtimeLogDeliveryTask", CreateRealtimeLogDeliveryTaskResponse.class);
}
/**
*本接口为旧版本创建规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本创建七层加速规则接口详情请参考 [CreateL7AccRules](https://cloud.tencent.com/document/product/1552/115822)。
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
* @param req CreateRuleRequest
* @return CreateRuleResponse
* @throws TencentCloudSDKException
*/
public CreateRuleResponse CreateRule(CreateRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateRule", CreateRuleResponse.class);
}
/**
*用于创建 API 资源。
* @param req CreateSecurityAPIResourceRequest
* @return CreateSecurityAPIResourceResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityAPIResourceResponse CreateSecurityAPIResource(CreateSecurityAPIResourceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityAPIResource", CreateSecurityAPIResourceResponse.class);
}
/**
*用于创建 API 服务。
* @param req CreateSecurityAPIServiceRequest
* @return CreateSecurityAPIServiceResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityAPIServiceResponse CreateSecurityAPIService(CreateSecurityAPIServiceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityAPIService", CreateSecurityAPIServiceResponse.class);
}
/**
*创建客户端认证选项。
* @param req CreateSecurityClientAttesterRequest
* @return CreateSecurityClientAttesterResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityClientAttesterResponse CreateSecurityClientAttester(CreateSecurityClientAttesterRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityClientAttester", CreateSecurityClientAttesterResponse.class);
}
/**
*创建安全 IP 组
* @param req CreateSecurityIPGroupRequest
* @return CreateSecurityIPGroupResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityIPGroupResponse CreateSecurityIPGroup(CreateSecurityIPGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityIPGroup", CreateSecurityIPGroupResponse.class);
}
/**
*创建 JavaScript 注入规则。
* @param req CreateSecurityJSInjectionRuleRequest
* @return CreateSecurityJSInjectionRuleResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityJSInjectionRuleResponse CreateSecurityJSInjectionRule(CreateSecurityJSInjectionRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityJSInjectionRule", CreateSecurityJSInjectionRuleResponse.class);
}
/**
*用于创建共享 CNAME,该功能白名单内测中。
* @param req CreateSharedCNAMERequest
* @return CreateSharedCNAMEResponse
* @throws TencentCloudSDKException
*/
public CreateSharedCNAMEResponse CreateSharedCNAME(CreateSharedCNAMERequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSharedCNAME", CreateSharedCNAMEResponse.class);
}
/**
*创建安全策略配置模板
* @param req CreateWebSecurityTemplateRequest
* @return CreateWebSecurityTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateWebSecurityTemplateResponse CreateWebSecurityTemplate(CreateWebSecurityTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateWebSecurityTemplate", CreateWebSecurityTemplateResponse.class);
}
/**
*EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
> 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
* @param req CreateZoneRequest
* @return CreateZoneResponse
* @throws TencentCloudSDKException
*/
public CreateZoneResponse CreateZone(CreateZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateZone", CreateZoneResponse.class);
}
/**
*批量删除加速域名
* @param req DeleteAccelerationDomainsRequest
* @return DeleteAccelerationDomainsResponse
* @throws TencentCloudSDKException
*/
public DeleteAccelerationDomainsResponse DeleteAccelerationDomains(DeleteAccelerationDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAccelerationDomains", DeleteAccelerationDomainsResponse.class);
}
/**
*删除别称域名。
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
* @param req DeleteAliasDomainRequest
* @return DeleteAliasDomainResponse
* @throws TencentCloudSDKException
*/
public DeleteAliasDomainResponse DeleteAliasDomain(DeleteAliasDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAliasDomain", DeleteAliasDomainResponse.class);
}
/**
*本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理实例
](https://cloud.tencent.com/document/product/1552/103415) 。
* @param req DeleteApplicationProxyRequest
* @return DeleteApplicationProxyResponse
* @throws TencentCloudSDKException
*/
public DeleteApplicationProxyResponse DeleteApplicationProxy(DeleteApplicationProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApplicationProxy", DeleteApplicationProxyResponse.class);
}
/**
*本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理转发规则](https://cloud.tencent.com/document/product/1552/103414) 。
* @param req DeleteApplicationProxyRuleRequest
* @return DeleteApplicationProxyRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteApplicationProxyRuleResponse DeleteApplicationProxyRule(DeleteApplicationProxyRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApplicationProxyRule", DeleteApplicationProxyRuleResponse.class);
}
/**
*删除指定的内容标识符。该功能仅白名单开放。
* @param req DeleteContentIdentifierRequest
* @return DeleteContentIdentifierResponse
* @throws TencentCloudSDKException
*/
public DeleteContentIdentifierResponse DeleteContentIdentifier(DeleteContentIdentifierRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteContentIdentifier", DeleteContentIdentifierResponse.class);
}
/**
*删除自定义错误页面。
* @param req DeleteCustomErrorPageRequest
* @return DeleteCustomErrorPageResponse
* @throws TencentCloudSDKException
*/
public DeleteCustomErrorPageResponse DeleteCustomErrorPage(DeleteCustomErrorPageRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteCustomErrorPage", DeleteCustomErrorPageResponse.class);
}
/**
*您可以用本接口批量删除 DNS 记录。
* @param req DeleteDnsRecordsRequest
* @return DeleteDnsRecordsResponse
* @throws TencentCloudSDKException
*/
public DeleteDnsRecordsResponse DeleteDnsRecords(DeleteDnsRecordsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteDnsRecords", DeleteDnsRecordsResponse.class);
}
/**
*删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
* @param req DeleteFunctionRequest
* @return DeleteFunctionResponse
* @throws TencentCloudSDKException
*/
public DeleteFunctionResponse DeleteFunction(DeleteFunctionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteFunction", DeleteFunctionResponse.class);
}
/**
*删除边缘函数触发规则。
* @param req DeleteFunctionRulesRequest
* @return DeleteFunctionRulesResponse
* @throws TencentCloudSDKException
*/
public DeleteFunctionRulesResponse DeleteFunctionRules(DeleteFunctionRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteFunctionRules", DeleteFunctionRulesResponse.class);
}
/**
*根据站点 id 下唯一的模板标识,删除相应的即时转码模板。
* @param req DeleteJustInTimeTranscodeTemplatesRequest
* @return DeleteJustInTimeTranscodeTemplatesResponse
* @throws TencentCloudSDKException
*/
public DeleteJustInTimeTranscodeTemplatesResponse DeleteJustInTimeTranscodeTemplates(DeleteJustInTimeTranscodeTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteJustInTimeTranscodeTemplates", DeleteJustInTimeTranscodeTemplatesResponse.class);
}
/**
*用于删除四层代理实例。
* @param req DeleteL4ProxyRequest
* @return DeleteL4ProxyResponse
* @throws TencentCloudSDKException
*/
public DeleteL4ProxyResponse DeleteL4Proxy(DeleteL4ProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteL4Proxy", DeleteL4ProxyResponse.class);
}
/**
*用于删除四层代理转发规则,支持单条或者批量操作。
* @param req DeleteL4ProxyRulesRequest
* @return DeleteL4ProxyRulesResponse
* @throws TencentCloudSDKException
*/
public DeleteL4ProxyRulesResponse DeleteL4ProxyRules(DeleteL4ProxyRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteL4ProxyRules", DeleteL4ProxyRulesResponse.class);
}
/**
*本接口用于删除[规则引擎](https://cloud.tencent.com/document/product/1552/70901)的规则,支持批量删除。
* @param req DeleteL7AccRulesRequest
* @return DeleteL7AccRulesResponse
* @throws TencentCloudSDKException
*/
public DeleteL7AccRulesResponse DeleteL7AccRules(DeleteL7AccRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteL7AccRules", DeleteL7AccRulesResponse.class);
}
/**
*删除负载均衡实例,若负载均衡示例被其他服务(例如:四层代理等)引用的时候,示例无法被删除,需要先解除引用关系。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
* @param req DeleteLoadBalancerRequest
* @return DeleteLoadBalancerResponse
* @throws TencentCloudSDKException
*/
public DeleteLoadBalancerResponse DeleteLoadBalancer(DeleteLoadBalancerRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteLoadBalancer", DeleteLoadBalancerResponse.class);
}
/**
*通过本接口删除多通道安全加速网关,包括自有网关和云上网关。
* @param req DeleteMultiPathGatewayRequest
* @return DeleteMultiPathGatewayResponse
* @throws TencentCloudSDKException
*/
public DeleteMultiPathGatewayResponse DeleteMultiPathGateway(DeleteMultiPathGatewayRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteMultiPathGateway", DeleteMultiPathGatewayResponse.class);
}
/**
*通过本接口删除接入多通道安全加速网关的线路,仅自定义线路支持删除。
* @param req DeleteMultiPathGatewayLineRequest
* @return DeleteMultiPathGatewayLineResponse
* @throws TencentCloudSDKException
*/
public DeleteMultiPathGatewayLineResponse DeleteMultiPathGatewayLine(DeleteMultiPathGatewayLineRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteMultiPathGatewayLine", DeleteMultiPathGatewayLineResponse.class);
}
/**
*删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
* @param req DeleteOriginGroupRequest
* @return DeleteOriginGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteOriginGroupResponse DeleteOriginGroup(DeleteOriginGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteOriginGroup", DeleteOriginGroupResponse.class);
}
/**
*通过本接口删除实时日志投递任务。
* @param req DeleteRealtimeLogDeliveryTaskRequest
* @return DeleteRealtimeLogDeliveryTaskResponse
* @throws TencentCloudSDKException
*/
public DeleteRealtimeLogDeliveryTaskResponse DeleteRealtimeLogDeliveryTask(DeleteRealtimeLogDeliveryTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRealtimeLogDeliveryTask", DeleteRealtimeLogDeliveryTaskResponse.class);
}
/**
*本接口为旧版本删除规则引擎接口,EdgeOne 于 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本删除七层加速规则接口详情请参考 [DeleteL7AccRules](https://cloud.tencent.com/document/product/1552/115821)。
<p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
* @param req DeleteRulesRequest
* @return DeleteRulesResponse
* @throws TencentCloudSDKException
*/
public DeleteRulesResponse DeleteRules(DeleteRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRules", DeleteRulesResponse.class);
}
/**
*用于删除 API 资源。
* @param req DeleteSecurityAPIResourceRequest
* @return DeleteSecurityAPIResourceResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityAPIResourceResponse DeleteSecurityAPIResource(DeleteSecurityAPIResourceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityAPIResource", DeleteSecurityAPIResourceResponse.class);
}
/**
*用于删除 API 服务。
* @param req DeleteSecurityAPIServiceRequest
* @return DeleteSecurityAPIServiceResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityAPIServiceResponse DeleteSecurityAPIService(DeleteSecurityAPIServiceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityAPIService", DeleteSecurityAPIServiceResponse.class);
}
/**
*删除客户端认证选项。
* @param req DeleteSecurityClientAttesterRequest
* @return DeleteSecurityClientAttesterResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityClientAttesterResponse DeleteSecurityClientAttester(DeleteSecurityClientAttesterRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityClientAttester", DeleteSecurityClientAttesterResponse.class);
}
/**
*删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
* @param req DeleteSecurityIPGroupRequest
* @return DeleteSecurityIPGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityIPGroupResponse DeleteSecurityIPGroup(DeleteSecurityIPGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityIPGroup", DeleteSecurityIPGroupResponse.class);
}
/**
*删除 JavaScript 注入规则。
* @param req DeleteSecurityJSInjectionRuleRequest
* @return DeleteSecurityJSInjectionRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityJSInjectionRuleResponse DeleteSecurityJSInjectionRule(DeleteSecurityJSInjectionRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityJSInjectionRule", DeleteSecurityJSInjectionRuleResponse.class);
}
/**
*用于删除共享 CNAME,该功能白名单内测中。
* @param req DeleteSharedCNAMERequest
* @return DeleteSharedCNAMEResponse
* @throws TencentCloudSDKException
*/
public DeleteSharedCNAMEResponse DeleteSharedCNAME(DeleteSharedCNAMERequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSharedCNAME", DeleteSharedCNAMEResponse.class);
}
/**
*删除安全策略配置模板
* @param req DeleteWebSecurityTemplateRequest
* @return DeleteWebSecurityTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteWebSecurityTemplateResponse DeleteWebSecurityTemplate(DeleteWebSecurityTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteWebSecurityTemplate", DeleteWebSecurityTemplateResponse.class);
}
/**
*删除站点。
* @param req DeleteZoneRequest
* @return DeleteZoneResponse
* @throws TencentCloudSDKException
*/
public DeleteZoneResponse DeleteZone(DeleteZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteZone", DeleteZoneResponse.class);
}
/**
*在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
* @param req DeployConfigGroupVersionRequest
* @return DeployConfigGroupVersionResponse
* @throws TencentCloudSDKException
*/
public DeployConfigGroupVersionResponse DeployConfigGroupVersion(DeployConfigGroupVersionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeployConfigGroupVersion", DeployConfigGroupVersionResponse.class);
}
/**
*您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
* @param req DescribeAccelerationDomainsRequest
* @return DescribeAccelerationDomainsResponse
* @throws TencentCloudSDKException
*/
public DescribeAccelerationDomainsResponse DescribeAccelerationDomains(DescribeAccelerationDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAccelerationDomains", DescribeAccelerationDomainsResponse.class);
}
/**
*查询别称域名信息列表。
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
* @param req DescribeAliasDomainsRequest
* @return DescribeAliasDomainsResponse
* @throws TencentCloudSDKException
*/
public DescribeAliasDomainsResponse DescribeAliasDomains(DescribeAliasDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAliasDomains", DescribeAliasDomainsResponse.class);
}
/**
*本接口为旧版,如需调用请尽快迁移至新版,新版接口中将四层代理实例列表的查询和四层转发规则的查询拆分成两个接口,详情请参考 [查询四层代理实例列表](https://cloud.tencent.com/document/product/1552/103413) 和 [查询四层代理转发规则列表](https://cloud.tencent.com/document/product/1552/103412)。
* @param req DescribeApplicationProxiesRequest
* @return DescribeApplicationProxiesResponse
* @throws TencentCloudSDKException
*/
public DescribeApplicationProxiesResponse DescribeApplicationProxies(DescribeApplicationProxiesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApplicationProxies", DescribeApplicationProxiesResponse.class);
}
/**
*查询当前账户可用套餐信息列表
* @param req DescribeAvailablePlansRequest
* @return DescribeAvailablePlansResponse
* @throws TencentCloudSDKException
*/
public DescribeAvailablePlansResponse DescribeAvailablePlans(DescribeAvailablePlansRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAvailablePlans", DescribeAvailablePlansResponse.class);
}
/**
*通过本接口查询计费数据。
* @param req DescribeBillingDataRequest
* @return DescribeBillingDataResponse
* @throws TencentCloudSDKException
*/
public DescribeBillingDataResponse DescribeBillingData(DescribeBillingDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBillingData", DescribeBillingDataResponse.class);
}
/**
*在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
* @param req DescribeConfigGroupVersionDetailRequest
* @return DescribeConfigGroupVersionDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigGroupVersionDetailResponse DescribeConfigGroupVersionDetail(DescribeConfigGroupVersionDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigGroupVersionDetail", DescribeConfigGroupVersionDetailResponse.class);
}
/**
*在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
* @param req DescribeConfigGroupVersionsRequest
* @return DescribeConfigGroupVersionsResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigGroupVersionsResponse DescribeConfigGroupVersions(DescribeConfigGroupVersionsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigGroupVersions", DescribeConfigGroupVersionsResponse.class);
}
/**
*批量查询内容标识符,可以根据 ID、描述、状态或者标签过滤。按照状态查询被删除的内容标识符仅保留三个月。该功能仅白名单开放。
* @param req DescribeContentIdentifiersRequest
* @return DescribeContentIdentifiersResponse
* @throws TencentCloudSDKException
*/
public DescribeContentIdentifiersResponse DescribeContentIdentifiers(DescribeContentIdentifiersRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContentIdentifiers", DescribeContentIdentifiersResponse.class);
}
/**
*查询内容管理接口配额
* @param req DescribeContentQuotaRequest
* @return DescribeContentQuotaResponse
* @throws TencentCloudSDKException
*/
public DescribeContentQuotaResponse DescribeContentQuota(DescribeContentQuotaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContentQuota", DescribeContentQuotaResponse.class);
}
/**
*查询自定义错误页列表。
* @param req DescribeCustomErrorPagesRequest
* @return DescribeCustomErrorPagesResponse
* @throws TencentCloudSDKException
*/
public DescribeCustomErrorPagesResponse DescribeCustomErrorPages(DescribeCustomErrorPagesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCustomErrorPages", DescribeCustomErrorPagesResponse.class);
}
/**
*本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
* @param req DescribeDDoSAttackDataRequest
* @return DescribeDDoSAttackDataResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSAttackDataResponse DescribeDDoSAttackData(DescribeDDoSAttackDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSAttackData", DescribeDDoSAttackDataResponse.class);
}
/**
*本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
* @param req DescribeDDoSAttackEventRequest
* @return DescribeDDoSAttackEventResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSAttackEventResponse DescribeDDoSAttackEvent(DescribeDDoSAttackEventRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSAttackEvent", DescribeDDoSAttackEventResponse.class);
}
/**
*本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
* @param req DescribeDDoSAttackTopDataRequest
* @return DescribeDDoSAttackTopDataResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSAttackTopDataResponse DescribeDDoSAttackTopData(DescribeDDoSAttackTopDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSAttackTopData", DescribeDDoSAttackTopDataResponse.class);
}
/**
*获取站点的独立 DDoS 防护信息。
* @param req DescribeDDoSProtectionRequest
* @return DescribeDDoSProtectionResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSProtectionResponse DescribeDDoSProtection(DescribeDDoSProtectionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSProtection", DescribeDDoSProtectionResponse.class);
}
/**