-
Notifications
You must be signed in to change notification settings - Fork 283
/
TsfClient.java
2478 lines (2251 loc) · 98.1 KB
/
TsfClient.java
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-2018 THL A29 Limited, a Tencent company. 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.tsf.v20180326;
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.tsf.v20180326.models.*;
public class TsfClient extends AbstractClient{
private static String endpoint = "tsf.tencentcloudapi.com";
private static String service = "tsf";
private static String version = "2018-03-26";
public TsfClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public TsfClient(Credential credential, String region, ClientProfile profile) {
super(TsfClient.endpoint, TsfClient.version, credential, region, profile);
}
/**
*添加云主机节点至TSF集群
* @param req AddClusterInstancesRequest
* @return AddClusterInstancesResponse
* @throws TencentCloudSDKException
*/
public AddClusterInstancesResponse AddClusterInstances(AddClusterInstancesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddClusterInstances", AddClusterInstancesResponse.class);
}
/**
*添加云主机节点至TSF集群
* @param req AddInstancesRequest
* @return AddInstancesResponse
* @throws TencentCloudSDKException
*/
public AddInstancesResponse AddInstances(AddInstancesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddInstances", AddInstancesResponse.class);
}
/**
*关联日志配置项到应用
* @param req AssociateBusinessLogConfigRequest
* @return AssociateBusinessLogConfigResponse
* @throws TencentCloudSDKException
*/
public AssociateBusinessLogConfigResponse AssociateBusinessLogConfig(AssociateBusinessLogConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AssociateBusinessLogConfig", AssociateBusinessLogConfigResponse.class);
}
/**
*关联投递配置到部署组
* @param req AssociateConfigWithGroupRequest
* @return AssociateConfigWithGroupResponse
* @throws TencentCloudSDKException
*/
public AssociateConfigWithGroupResponse AssociateConfigWithGroup(AssociateConfigWithGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AssociateConfigWithGroup", AssociateConfigWithGroupResponse.class);
}
/**
*网关与API分组批量绑定
* @param req BindApiGroupRequest
* @return BindApiGroupResponse
* @throws TencentCloudSDKException
*/
public BindApiGroupResponse BindApiGroup(BindApiGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindApiGroup", BindApiGroupResponse.class);
}
/**
*插件与网关分组/API批量绑定
* @param req BindPluginRequest
* @return BindPluginResponse
* @throws TencentCloudSDKException
*/
public BindPluginResponse BindPlugin(BindPluginRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindPlugin", BindPluginResponse.class);
}
/**
*启用或禁用API
* @param req ChangeApiUsableStatusRequest
* @return ChangeApiUsableStatusResponse
* @throws TencentCloudSDKException
*/
public ChangeApiUsableStatusResponse ChangeApiUsableStatus(ChangeApiUsableStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ChangeApiUsableStatus", ChangeApiUsableStatusResponse.class);
}
/**
*对执行失败的任务批次执行续跑
* @param req ContinueRunFailedTaskBatchRequest
* @return ContinueRunFailedTaskBatchResponse
* @throws TencentCloudSDKException
*/
public ContinueRunFailedTaskBatchResponse ContinueRunFailedTaskBatch(ContinueRunFailedTaskBatchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ContinueRunFailedTaskBatch", ContinueRunFailedTaskBatchResponse.class);
}
/**
*一键导入API分组
* @param req CreateAllGatewayApiAsyncRequest
* @return CreateAllGatewayApiAsyncResponse
* @throws TencentCloudSDKException
*/
public CreateAllGatewayApiAsyncResponse CreateAllGatewayApiAsync(CreateAllGatewayApiAsyncRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAllGatewayApiAsync", CreateAllGatewayApiAsyncResponse.class);
}
/**
*创建API分组
* @param req CreateApiGroupRequest
* @return CreateApiGroupResponse
* @throws TencentCloudSDKException
*/
public CreateApiGroupResponse CreateApiGroup(CreateApiGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApiGroup", CreateApiGroupResponse.class);
}
/**
*创建API限流规则
* @param req CreateApiRateLimitRuleRequest
* @return CreateApiRateLimitRuleResponse
* @throws TencentCloudSDKException
*/
public CreateApiRateLimitRuleResponse CreateApiRateLimitRule(CreateApiRateLimitRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApiRateLimitRule", CreateApiRateLimitRuleResponse.class);
}
/**
*创建API限流规则,并返回规则信息
* @param req CreateApiRateLimitRuleWithDetailRespRequest
* @return CreateApiRateLimitRuleWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreateApiRateLimitRuleWithDetailRespResponse CreateApiRateLimitRuleWithDetailResp(CreateApiRateLimitRuleWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApiRateLimitRuleWithDetailResp", CreateApiRateLimitRuleWithDetailRespResponse.class);
}
/**
*创建应用
* @param req CreateApplicationRequest
* @return CreateApplicationResponse
* @throws TencentCloudSDKException
*/
public CreateApplicationResponse CreateApplication(CreateApplicationRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApplication", CreateApplicationResponse.class);
}
/**
*创建集群
* @param req CreateClusterRequest
* @return CreateClusterResponse
* @throws TencentCloudSDKException
*/
public CreateClusterResponse CreateCluster(CreateClusterRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCluster", CreateClusterResponse.class);
}
/**
*创建配置项
* @param req CreateConfigRequest
* @return CreateConfigResponse
* @throws TencentCloudSDKException
*/
public CreateConfigResponse CreateConfig(CreateConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateConfig", CreateConfigResponse.class);
}
/**
*创建参数模板
* @param req CreateConfigTemplateRequest
* @return CreateConfigTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateConfigTemplateResponse CreateConfigTemplate(CreateConfigTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateConfigTemplate", CreateConfigTemplateResponse.class);
}
/**
*创建参数模板,并返回模板详细信息
* @param req CreateConfigTemplateWithDetailRespRequest
* @return CreateConfigTemplateWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreateConfigTemplateWithDetailRespResponse CreateConfigTemplateWithDetailResp(CreateConfigTemplateWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateConfigTemplateWithDetailResp", CreateConfigTemplateWithDetailRespResponse.class);
}
/**
*创建配置项,返回详细信息
* @param req CreateConfigWithDetailRespRequest
* @return CreateConfigWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreateConfigWithDetailRespResponse CreateConfigWithDetailResp(CreateConfigWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateConfigWithDetailResp", CreateConfigWithDetailRespResponse.class);
}
/**
*(已废弃,请使用 CreateGroup 和 DeployContainerGroup 创建和部署容器部署组)创建容器部署组
* @param req CreateContainGroupRequest
* @return CreateContainGroupResponse
* @throws TencentCloudSDKException
*/
public CreateContainGroupResponse CreateContainGroup(CreateContainGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateContainGroup", CreateContainGroupResponse.class);
}
/**
*创建文件配置项
* @param req CreateFileConfigRequest
* @return CreateFileConfigResponse
* @throws TencentCloudSDKException
*/
public CreateFileConfigResponse CreateFileConfig(CreateFileConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateFileConfig", CreateFileConfigResponse.class);
}
/**
*创建文件配置项,返回详细信息
* @param req CreateFileConfigWithDetailRespRequest
* @return CreateFileConfigWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreateFileConfigWithDetailRespResponse CreateFileConfigWithDetailResp(CreateFileConfigWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateFileConfigWithDetailResp", CreateFileConfigWithDetailRespResponse.class);
}
/**
*批量导入API至api分组(也支持新建API到分组)
* @param req CreateGatewayApiRequest
* @return CreateGatewayApiResponse
* @throws TencentCloudSDKException
*/
public CreateGatewayApiResponse CreateGatewayApi(CreateGatewayApiRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateGatewayApi", CreateGatewayApiResponse.class);
}
/**
*创建虚拟机部署组
* @param req CreateGroupRequest
* @return CreateGroupResponse
* @throws TencentCloudSDKException
*/
public CreateGroupResponse CreateGroup(CreateGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateGroup", CreateGroupResponse.class);
}
/**
*创建泳道
* @param req CreateLaneRequest
* @return CreateLaneResponse
* @throws TencentCloudSDKException
*/
public CreateLaneResponse CreateLane(CreateLaneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateLane", CreateLaneResponse.class);
}
/**
*创建泳道规则
* @param req CreateLaneRuleRequest
* @return CreateLaneRuleResponse
* @throws TencentCloudSDKException
*/
public CreateLaneRuleResponse CreateLaneRule(CreateLaneRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateLaneRule", CreateLaneRuleResponse.class);
}
/**
*新增微服务
* @param req CreateMicroserviceRequest
* @return CreateMicroserviceResponse
* @throws TencentCloudSDKException
*/
public CreateMicroserviceResponse CreateMicroservice(CreateMicroserviceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateMicroservice", CreateMicroserviceResponse.class);
}
/**
*新增微服务返回id
* @param req CreateMicroserviceWithDetailRespRequest
* @return CreateMicroserviceWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreateMicroserviceWithDetailRespResponse CreateMicroserviceWithDetailResp(CreateMicroserviceWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateMicroserviceWithDetailResp", CreateMicroserviceWithDetailRespResponse.class);
}
/**
*创建命名空间
* @param req CreateNamespaceRequest
* @return CreateNamespaceResponse
* @throws TencentCloudSDKException
*/
public CreateNamespaceResponse CreateNamespace(CreateNamespaceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateNamespace", CreateNamespaceResponse.class);
}
/**
*创建路径重写
* @param req CreatePathRewritesRequest
* @return CreatePathRewritesResponse
* @throws TencentCloudSDKException
*/
public CreatePathRewritesResponse CreatePathRewrites(CreatePathRewritesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePathRewrites", CreatePathRewritesResponse.class);
}
/**
*创建路径重写,并返回路径重写规则信息
* @param req CreatePathRewritesWithDetailRespRequest
* @return CreatePathRewritesWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreatePathRewritesWithDetailRespResponse CreatePathRewritesWithDetailResp(CreatePathRewritesWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePathRewritesWithDetailResp", CreatePathRewritesWithDetailRespResponse.class);
}
/**
*创建公共配置项
* @param req CreatePublicConfigRequest
* @return CreatePublicConfigResponse
* @throws TencentCloudSDKException
*/
public CreatePublicConfigResponse CreatePublicConfig(CreatePublicConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePublicConfig", CreatePublicConfigResponse.class);
}
/**
*创建公共配置项,并返回配置项详细信息
* @param req CreatePublicConfigWithDetailRespRequest
* @return CreatePublicConfigWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreatePublicConfigWithDetailRespResponse CreatePublicConfigWithDetailResp(CreatePublicConfigWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePublicConfigWithDetailResp", CreatePublicConfigWithDetailRespResponse.class);
}
/**
*创建仓库
* @param req CreateRepositoryRequest
* @return CreateRepositoryResponse
* @throws TencentCloudSDKException
*/
public CreateRepositoryResponse CreateRepository(CreateRepositoryRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateRepository", CreateRepositoryResponse.class);
}
/**
*创建任务
* @param req CreateTaskRequest
* @return CreateTaskResponse
* @throws TencentCloudSDKException
*/
public CreateTaskResponse CreateTask(CreateTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateTask", CreateTaskResponse.class);
}
/**
*创建工作流
* @param req CreateTaskFlowRequest
* @return CreateTaskFlowResponse
* @throws TencentCloudSDKException
*/
public CreateTaskFlowResponse CreateTaskFlow(CreateTaskFlowRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateTaskFlow", CreateTaskFlowResponse.class);
}
/**
*批量创建单元化命名空间
* @param req CreateUnitNamespacesRequest
* @return CreateUnitNamespacesResponse
* @throws TencentCloudSDKException
*/
public CreateUnitNamespacesResponse CreateUnitNamespaces(CreateUnitNamespacesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateUnitNamespaces", CreateUnitNamespacesResponse.class);
}
/**
*创建单元化规则
* @param req CreateUnitRuleRequest
* @return CreateUnitRuleResponse
* @throws TencentCloudSDKException
*/
public CreateUnitRuleResponse CreateUnitRule(CreateUnitRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateUnitRule", CreateUnitRuleResponse.class);
}
/**
*创建单元化规则, 并返回详细信息
* @param req CreateUnitRuleWithDetailRespRequest
* @return CreateUnitRuleWithDetailRespResponse
* @throws TencentCloudSDKException
*/
public CreateUnitRuleWithDetailRespResponse CreateUnitRuleWithDetailResp(CreateUnitRuleWithDetailRespRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateUnitRuleWithDetailResp", CreateUnitRuleWithDetailRespResponse.class);
}
/**
*删除Api分组
* @param req DeleteApiGroupRequest
* @return DeleteApiGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteApiGroupResponse DeleteApiGroup(DeleteApiGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApiGroup", DeleteApiGroupResponse.class);
}
/**
*删除API限流规则
* @param req DeleteApiRateLimitRuleRequest
* @return DeleteApiRateLimitRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteApiRateLimitRuleResponse DeleteApiRateLimitRule(DeleteApiRateLimitRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApiRateLimitRule", DeleteApiRateLimitRuleResponse.class);
}
/**
*删除应用
* @param req DeleteApplicationRequest
* @return DeleteApplicationResponse
* @throws TencentCloudSDKException
*/
public DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApplication", DeleteApplicationResponse.class);
}
/**
*删除集群
* @param req DeleteClusterRequest
* @return DeleteClusterResponse
* @throws TencentCloudSDKException
*/
public DeleteClusterResponse DeleteCluster(DeleteClusterRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteCluster", DeleteClusterResponse.class);
}
/**
*删除配置项
* @param req DeleteConfigRequest
* @return DeleteConfigResponse
* @throws TencentCloudSDKException
*/
public DeleteConfigResponse DeleteConfig(DeleteConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteConfig", DeleteConfigResponse.class);
}
/**
*删除模板
* @param req DeleteConfigTemplateRequest
* @return DeleteConfigTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteConfigTemplateResponse DeleteConfigTemplate(DeleteConfigTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteConfigTemplate", DeleteConfigTemplateResponse.class);
}
/**
*删除容器部署组
* @param req DeleteContainerGroupRequest
* @return DeleteContainerGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteContainerGroupResponse DeleteContainerGroup(DeleteContainerGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteContainerGroup", DeleteContainerGroupResponse.class);
}
/**
*删除文件配置项
* @param req DeleteFileConfigRequest
* @return DeleteFileConfigResponse
* @throws TencentCloudSDKException
*/
public DeleteFileConfigResponse DeleteFileConfig(DeleteFileConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteFileConfig", DeleteFileConfigResponse.class);
}
/**
*批量删除API
* @param req DeleteGatewayApiRequest
* @return DeleteGatewayApiResponse
* @throws TencentCloudSDKException
*/
public DeleteGatewayApiResponse DeleteGatewayApi(DeleteGatewayApiRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteGatewayApi", DeleteGatewayApiResponse.class);
}
/**
*删除容器部署组
* @param req DeleteGroupRequest
* @return DeleteGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteGroupResponse DeleteGroup(DeleteGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteGroup", DeleteGroupResponse.class);
}
/**
*批量删除镜像版本
* @param req DeleteImageTagsRequest
* @return DeleteImageTagsResponse
* @throws TencentCloudSDKException
*/
public DeleteImageTagsResponse DeleteImageTags(DeleteImageTagsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteImageTags", DeleteImageTagsResponse.class);
}
/**
*删除泳道
* @param req DeleteLaneRequest
* @return DeleteLaneResponse
* @throws TencentCloudSDKException
*/
public DeleteLaneResponse DeleteLane(DeleteLaneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteLane", DeleteLaneResponse.class);
}
/**
*删除泳道规则
* @param req DeleteLaneRuleRequest
* @return DeleteLaneRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteLaneRuleResponse DeleteLaneRule(DeleteLaneRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteLaneRule", DeleteLaneRuleResponse.class);
}
/**
*删除微服务
* @param req DeleteMicroserviceRequest
* @return DeleteMicroserviceResponse
* @throws TencentCloudSDKException
*/
public DeleteMicroserviceResponse DeleteMicroservice(DeleteMicroserviceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteMicroservice", DeleteMicroserviceResponse.class);
}
/**
*删除命名空间
* @param req DeleteNamespaceRequest
* @return DeleteNamespaceResponse
* @throws TencentCloudSDKException
*/
public DeleteNamespaceResponse DeleteNamespace(DeleteNamespaceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteNamespace", DeleteNamespaceResponse.class);
}
/**
*删除路径重写
* @param req DeletePathRewritesRequest
* @return DeletePathRewritesResponse
* @throws TencentCloudSDKException
*/
public DeletePathRewritesResponse DeletePathRewrites(DeletePathRewritesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeletePathRewrites", DeletePathRewritesResponse.class);
}
/**
*从软件仓库批量删除程序包。
一次最多支持删除1000个包,数量超过1000,返回UpperDeleteLimit错误。
* @param req DeletePkgsRequest
* @return DeletePkgsResponse
* @throws TencentCloudSDKException
*/
public DeletePkgsResponse DeletePkgs(DeletePkgsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeletePkgs", DeletePkgsResponse.class);
}
/**
*删除公共配置项
* @param req DeletePublicConfigRequest
* @return DeletePublicConfigResponse
* @throws TencentCloudSDKException
*/
public DeletePublicConfigResponse DeletePublicConfig(DeletePublicConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeletePublicConfig", DeletePublicConfigResponse.class);
}
/**
*删除仓库
* @param req DeleteRepositoryRequest
* @return DeleteRepositoryResponse
* @throws TencentCloudSDKException
*/
public DeleteRepositoryResponse DeleteRepository(DeleteRepositoryRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRepository", DeleteRepositoryResponse.class);
}
/**
*删除Serverless部署组
* @param req DeleteServerlessGroupRequest
* @return DeleteServerlessGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteServerlessGroupResponse DeleteServerlessGroup(DeleteServerlessGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteServerlessGroup", DeleteServerlessGroupResponse.class);
}
/**
*删除任务
* @param req DeleteTaskRequest
* @return DeleteTaskResponse
* @throws TencentCloudSDKException
*/
public DeleteTaskResponse DeleteTask(DeleteTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteTask", DeleteTaskResponse.class);
}
/**
*删除单元化命名空间
* @param req DeleteUnitNamespacesRequest
* @return DeleteUnitNamespacesResponse
* @throws TencentCloudSDKException
*/
public DeleteUnitNamespacesResponse DeleteUnitNamespaces(DeleteUnitNamespacesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteUnitNamespaces", DeleteUnitNamespacesResponse.class);
}
/**
*删除单元化规则
* @param req DeleteUnitRuleRequest
* @return DeleteUnitRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteUnitRuleResponse DeleteUnitRule(DeleteUnitRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteUnitRule", DeleteUnitRuleResponse.class);
}
/**
*部署容器应用-更新
* @param req DeployContainerGroupRequest
* @return DeployContainerGroupResponse
* @throws TencentCloudSDKException
*/
public DeployContainerGroupResponse DeployContainerGroup(DeployContainerGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeployContainerGroup", DeployContainerGroupResponse.class);
}
/**
*部署虚拟机部署组应用
* @param req DeployGroupRequest
* @return DeployGroupResponse
* @throws TencentCloudSDKException
*/
public DeployGroupResponse DeployGroup(DeployGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeployGroup", DeployGroupResponse.class);
}
/**
*查询API详情
* @param req DescribeApiDetailRequest
* @return DescribeApiDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeApiDetailResponse DescribeApiDetail(DescribeApiDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApiDetail", DescribeApiDetailResponse.class);
}
/**
*查询API分组
* @param req DescribeApiGroupRequest
* @return DescribeApiGroupResponse
* @throws TencentCloudSDKException
*/
public DescribeApiGroupResponse DescribeApiGroup(DescribeApiGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApiGroup", DescribeApiGroupResponse.class);
}
/**
*查询API 分组信息列表
* @param req DescribeApiGroupsRequest
* @return DescribeApiGroupsResponse
* @throws TencentCloudSDKException
*/
public DescribeApiGroupsResponse DescribeApiGroups(DescribeApiGroupsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApiGroups", DescribeApiGroupsResponse.class);
}
/**
*查询API限流规则
* @param req DescribeApiRateLimitRulesRequest
* @return DescribeApiRateLimitRulesResponse
* @throws TencentCloudSDKException
*/
public DescribeApiRateLimitRulesResponse DescribeApiRateLimitRules(DescribeApiRateLimitRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApiRateLimitRules", DescribeApiRateLimitRulesResponse.class);
}
/**
*查询网关API监控明细数据
* @param req DescribeApiUseDetailRequest
* @return DescribeApiUseDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeApiUseDetailResponse DescribeApiUseDetail(DescribeApiUseDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApiUseDetail", DescribeApiUseDetailResponse.class);
}
/**
*查询API 版本
* @param req DescribeApiVersionsRequest
* @return DescribeApiVersionsResponse
* @throws TencentCloudSDKException
*/
public DescribeApiVersionsResponse DescribeApiVersions(DescribeApiVersionsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApiVersions", DescribeApiVersionsResponse.class);
}
/**
*获取应用详情
* @param req DescribeApplicationRequest
* @return DescribeApplicationResponse
* @throws TencentCloudSDKException
*/
public DescribeApplicationResponse DescribeApplication(DescribeApplicationRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApplication", DescribeApplicationResponse.class);
}
/**
*获取应用列表其它字段,如实例数量信息等
* @param req DescribeApplicationAttributeRequest
* @return DescribeApplicationAttributeResponse
* @throws TencentCloudSDKException
*/
public DescribeApplicationAttributeResponse DescribeApplicationAttribute(DescribeApplicationAttributeRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApplicationAttribute", DescribeApplicationAttributeResponse.class);
}
/**
*接口未使用,废弃录用
查询应用关联日志配置项信息
* @param req DescribeApplicationBusinessLogConfigRequest
* @return DescribeApplicationBusinessLogConfigResponse
* @throws TencentCloudSDKException
*/
public DescribeApplicationBusinessLogConfigResponse DescribeApplicationBusinessLogConfig(DescribeApplicationBusinessLogConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApplicationBusinessLogConfig", DescribeApplicationBusinessLogConfigResponse.class);
}
/**
*获取应用列表
* @param req DescribeApplicationsRequest
* @return DescribeApplicationsResponse
* @throws TencentCloudSDKException
*/
public DescribeApplicationsResponse DescribeApplications(DescribeApplicationsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApplications", DescribeApplicationsResponse.class);
}
/**
*TSF基本资源信息概览接口
* @param req DescribeBasicResourceUsageRequest
* @return DescribeBasicResourceUsageResponse
* @throws TencentCloudSDKException
*/
public DescribeBasicResourceUsageResponse DescribeBasicResourceUsage(DescribeBasicResourceUsageRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBasicResourceUsage", DescribeBasicResourceUsageResponse.class);
}
/**
*查询业务日志配置项信息
* @param req DescribeBusinessLogConfigRequest
* @return DescribeBusinessLogConfigResponse
* @throws TencentCloudSDKException
*/
public DescribeBusinessLogConfigResponse DescribeBusinessLogConfig(DescribeBusinessLogConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBusinessLogConfig", DescribeBusinessLogConfigResponse.class);
}
/**
*查询日志配置项列表
* @param req DescribeBusinessLogConfigsRequest
* @return DescribeBusinessLogConfigsResponse
* @throws TencentCloudSDKException
*/
public DescribeBusinessLogConfigsResponse DescribeBusinessLogConfigs(DescribeBusinessLogConfigsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBusinessLogConfigs", DescribeBusinessLogConfigsResponse.class);
}
/**
*查询集群实例
* @param req DescribeClusterInstancesRequest
* @return DescribeClusterInstancesResponse
* @throws TencentCloudSDKException
*/
public DescribeClusterInstancesResponse DescribeClusterInstances(DescribeClusterInstancesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeClusterInstances", DescribeClusterInstancesResponse.class);
}
/**
*获取集群列表
* @param req DescribeClustersRequest
* @return DescribeClustersResponse
* @throws TencentCloudSDKException
*/
public DescribeClustersResponse DescribeClusters(DescribeClustersRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeClusters", DescribeClustersResponse.class);
}
/**
*查询配置
* @param req DescribeConfigRequest
* @return DescribeConfigResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigResponse DescribeConfig(DescribeConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfig", DescribeConfigResponse.class);
}
/**
*查询配置发布历史
* @param req DescribeConfigReleaseLogsRequest
* @return DescribeConfigReleaseLogsResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigReleaseLogsResponse DescribeConfigReleaseLogs(DescribeConfigReleaseLogsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigReleaseLogs", DescribeConfigReleaseLogsResponse.class);
}
/**
*查询配置发布信息
* @param req DescribeConfigReleasesRequest
* @return DescribeConfigReleasesResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigReleasesResponse DescribeConfigReleases(DescribeConfigReleasesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigReleases", DescribeConfigReleasesResponse.class);
}
/**
*查询配置汇总列表
* @param req DescribeConfigSummaryRequest
* @return DescribeConfigSummaryResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigSummaryResponse DescribeConfigSummary(DescribeConfigSummaryRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigSummary", DescribeConfigSummaryResponse.class);
}
/**
*导入配置
* @param req DescribeConfigTemplateRequest
* @return DescribeConfigTemplateResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigTemplateResponse DescribeConfigTemplate(DescribeConfigTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigTemplate", DescribeConfigTemplateResponse.class);
}
/**
*查询配置项列表
* @param req DescribeConfigsRequest
* @return DescribeConfigsResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigsResponse DescribeConfigs(DescribeConfigsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigs", DescribeConfigsResponse.class);
}
/**
*获取容器事件列表
* @param req DescribeContainerEventsRequest
* @return DescribeContainerEventsResponse
* @throws TencentCloudSDKException
*/
public DescribeContainerEventsResponse DescribeContainerEvents(DescribeContainerEventsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContainerEvents", DescribeContainerEventsResponse.class);
}
/**
*获取部署组其他字段-用于前端并发调用
* @param req DescribeContainerGroupAttributeRequest
* @return DescribeContainerGroupAttributeResponse
* @throws TencentCloudSDKException
*/
public DescribeContainerGroupAttributeResponse DescribeContainerGroupAttribute(DescribeContainerGroupAttributeRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContainerGroupAttribute", DescribeContainerGroupAttributeResponse.class);
}
/**
* 获取部署组详情
* @param req DescribeContainerGroupDeployInfoRequest
* @return DescribeContainerGroupDeployInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeContainerGroupDeployInfoResponse DescribeContainerGroupDeployInfo(DescribeContainerGroupDeployInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContainerGroupDeployInfo", DescribeContainerGroupDeployInfoResponse.class);
}