tencentcloud-sdk-nodejs 4.1.310 → 4.1.312

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cfw/v20190904/cfw_client.js +15 -9
  3. package/es/services/cngw/v20230418/cngw_client.js +72 -12
  4. package/es/services/databuddy/index.js +4 -0
  5. package/es/services/databuddy/v20260715/databuddy_client.js +57 -0
  6. package/es/services/databuddy/v20260715/databuddy_models.js +1 -0
  7. package/es/services/databuddy/v20260715/index.js +6 -0
  8. package/es/services/index.js +1 -0
  9. package/es/services/iotexplorer/v20190423/iotexplorer_client.js +12 -6
  10. package/es/services/tcb/v20180608/tcb_client.js +32 -11
  11. package/es/services/trtc/v20190722/trtc_client.js +163 -160
  12. package/es/services/tsf/v20180326/tsf_client.js +2 -5
  13. package/package.json +1 -1
  14. package/tencentcloud/common/sdk_version.d.ts +1 -1
  15. package/tencentcloud/common/sdk_version.js +1 -1
  16. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -1
  17. package/tencentcloud/services/adp/v20260520/adp_client.js +1 -1
  18. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +110 -28
  19. package/tencentcloud/services/ags/v20250920/ags_models.d.ts +23 -7
  20. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +11 -7
  21. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +19 -11
  22. package/tencentcloud/services/cfw/v20190904/cfw_client.js +27 -15
  23. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +406 -40
  24. package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +12 -12
  25. package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +93 -13
  26. package/tencentcloud/services/cngw/v20230418/cngw_client.js +138 -18
  27. package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +1348 -152
  28. package/tencentcloud/services/databuddy/index.d.ts +6 -0
  29. package/tencentcloud/services/databuddy/index.js +7 -0
  30. package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +139 -0
  31. package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +194 -0
  32. package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +3061 -0
  33. package/tencentcloud/services/databuddy/v20260715/databuddy_models.js +18 -0
  34. package/tencentcloud/services/databuddy/v20260715/index.d.ts +6 -0
  35. package/tencentcloud/services/databuddy/v20260715/index.js +10 -0
  36. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +176 -434
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -13
  38. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +13 -13
  39. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +15 -16
  40. package/tencentcloud/services/index.d.ts +1 -0
  41. package/tencentcloud/services/index.js +7 -5
  42. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -7
  43. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +21 -9
  44. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +173 -4
  45. package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +28 -16
  46. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  47. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +444 -139
  48. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +12 -0
  49. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -30
  50. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +50 -20
  51. package/tencentcloud/services/tcb/v20180608/tcb_client.js +69 -25
  52. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +4770 -3942
  53. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +4 -2
  54. package/tencentcloud/services/teo/v20220901/teo_client.js +4 -2
  55. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +107 -43
  56. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +13 -0
  57. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +3 -1
  58. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +3 -1
  59. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +43 -15
  60. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +333 -329
  61. package/tencentcloud/services/trtc/v20190722/trtc_client.js +425 -419
  62. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +196 -27
  63. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +3 -9
  64. package/tencentcloud/services/tsf/v20180326/tsf_client.js +3 -11
  65. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +0 -30
  66. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
  67. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +65 -6
@@ -16,18 +16,52 @@ export interface CreateCloudNativeAPIGatewayMCPToolRequest {
16
16
  ServiceId?: string;
17
17
  }
18
18
  /**
19
- * DescribeCloudNativeAPIGatewayLLMModelServices返回参数结构体
19
+ * CheckCloudNativeAPIGatewayMCPToolVersionExist请求参数结构体
20
20
  */
21
- export interface DescribeCloudNativeAPIGatewayLLMModelServicesResponse {
21
+ export interface CheckCloudNativeAPIGatewayMCPToolVersionExistRequest {
22
22
  /**
23
- * <p>模型服务列表。</p>
23
+ * <p>网关实例 id</p>
24
24
  */
25
- Result?: ListCloudNativeAPIGatewayLLMModelService;
25
+ GatewayId: string;
26
+ /**
27
+ * <p>MCPserverId</p>
28
+ */
29
+ ServerId: string;
30
+ /**
31
+ * <p>工具 id</p>
32
+ */
33
+ ToolId: string;
34
+ /**
35
+ * <p>mcp tool版本id</p>
36
+ */
37
+ ToolVersion: string;
38
+ }
39
+ /**
40
+ * CompareCloudNativeAPIGatewayMCPToolVersion返回参数结构体
41
+ */
42
+ export interface CompareCloudNativeAPIGatewayMCPToolVersionResponse {
43
+ /**
44
+ * <p>对比总结</p>
45
+ */
46
+ Result?: AIGWChangeSummary;
26
47
  /**
27
48
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
28
49
  */
29
50
  RequestId?: string;
30
51
  }
52
+ /**
53
+ * 密钥列表
54
+ */
55
+ export interface CNAPIGwSecretKeyList {
56
+ /**
57
+ * 密钥列表
58
+ */
59
+ SecretKeys?: Array<CNAPIGwSecretKey>;
60
+ /**
61
+ * 总数
62
+ */
63
+ TotalCount?: number;
64
+ }
31
65
  /**
32
66
  * ModifyCloudNativeAPIGatewayConsumerGroup返回参数结构体
33
67
  */
@@ -38,17 +72,17 @@ export interface ModifyCloudNativeAPIGatewayConsumerGroupResponse {
38
72
  RequestId?: string;
39
73
  }
40
74
  /**
41
- * DescribeCloudNativeAPIGatewayMCPServerACL请求参数结构体
75
+ * DescribeCloudNativeAPIGatewayLLMModelServices返回参数结构体
42
76
  */
43
- export interface DescribeCloudNativeAPIGatewayMCPServerACLRequest {
77
+ export interface DescribeCloudNativeAPIGatewayLLMModelServicesResponse {
44
78
  /**
45
- * <p>网关实例 ID</p>
79
+ * <p>模型服务列表。</p>
46
80
  */
47
- GatewayId: string;
81
+ Result?: ListCloudNativeAPIGatewayLLMModelService;
48
82
  /**
49
- * <p>MCP服务ID</p>
83
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
50
84
  */
51
- ServerId: string;
85
+ RequestId?: string;
52
86
  }
53
87
  /**
54
88
  * DeleteCloudNativeAPIGatewayMCPTool返回参数结构体
@@ -59,6 +93,19 @@ export interface DeleteCloudNativeAPIGatewayMCPToolResponse {
59
93
  */
60
94
  RequestId?: string;
61
95
  }
96
+ /**
97
+ * RollbackCloudNativeAPIGatewayMCPToolVersion返回参数结构体
98
+ */
99
+ export interface RollbackCloudNativeAPIGatewayMCPToolVersionResponse {
100
+ /**
101
+ * <p>操作结果</p>
102
+ */
103
+ Result?: boolean;
104
+ /**
105
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
106
+ */
107
+ RequestId?: string;
108
+ }
62
109
  /**
63
110
  * CreateCloudNativeAPIGatewayMCPServer请求参数结构体
64
111
  */
@@ -120,6 +167,19 @@ export interface CreateCloudNativeAPIGatewayMCPServerRequest {
120
167
  */
121
168
  PreserveHost?: boolean;
122
169
  }
170
+ /**
171
+ * DescribeCloudNativeAPIGatewaySecretKeyList返回参数结构体
172
+ */
173
+ export interface DescribeCloudNativeAPIGatewaySecretKeyListResponse {
174
+ /**
175
+ * <p>密钥列表</p>
176
+ */
177
+ Result?: CNAPIGwSecretKeyList;
178
+ /**
179
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
180
+ */
181
+ RequestId?: string;
182
+ }
123
183
  /**
124
184
  * DeleteCloudNativeAPIGatewaySecretKey请求参数结构体
125
185
  */
@@ -350,6 +410,19 @@ export interface AIGWLatencyPriorityRouteRule {
350
410
  */
351
411
  ModelServiceId: string;
352
412
  }
413
+ /**
414
+ * 版本变更的兼容变更,破坏变更数
415
+ */
416
+ export interface AIGWChangeSummary {
417
+ /**
418
+ * <p>破坏性变更数</p>
419
+ */
420
+ Breaking?: number;
421
+ /**
422
+ * <p>兼容性变更数</p>
423
+ */
424
+ Compatible?: number;
425
+ }
353
426
  /**
354
427
  * AI网关 Basic Auth 凭证物料配置
355
428
  */
@@ -363,6 +436,31 @@ export interface AIGWBasicCredentialConfig {
363
436
  */
364
437
  Username?: string;
365
438
  }
439
+ /**
440
+ * DescribeCloudNativeAPIGatewayMCPToolVersionList请求参数结构体
441
+ */
442
+ export interface DescribeCloudNativeAPIGatewayMCPToolVersionListRequest {
443
+ /**
444
+ * <p>网关实例 id</p>
445
+ */
446
+ GatewayId: string;
447
+ /**
448
+ * <p>MCPserverId</p>
449
+ */
450
+ ServerId: string;
451
+ /**
452
+ * <p>工具 id</p>
453
+ */
454
+ ToolId: string;
455
+ /**
456
+ * <p>分页查询limit</p>
457
+ */
458
+ Limit?: number;
459
+ /**
460
+ * <p>分页查询偏移</p>
461
+ */
462
+ Offset?: number;
463
+ }
366
464
  /**
367
465
  * AI 网关中消费者组简要信息
368
466
  */
@@ -459,17 +557,38 @@ export interface AIGWKVMatch {
459
557
  Operator: string;
460
558
  }
461
559
  /**
462
- * DescribeCloudNativeAPIGatewayMCPServerAuth返回参数结构体
560
+ * ModifyCloudNativeAPIGatewaySecretKey请求参数结构体
463
561
  */
464
- export interface DescribeCloudNativeAPIGatewayMCPServerAuthResponse {
562
+ export interface ModifyCloudNativeAPIGatewaySecretKeyRequest {
465
563
  /**
466
- * <p>MCP服务认证查询结果</p>
564
+ * 实例 ID
467
565
  */
468
- Result?: AIGWMCPServerAuthResult;
566
+ GatewayId: string;
469
567
  /**
470
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
568
+ * 密钥名字
471
569
  */
472
- RequestId?: string;
570
+ Name: string;
571
+ /**
572
+ * 密钥id
573
+ */
574
+ SecretKeyId: string;
575
+ /**
576
+ * 描述,200字以内
577
+ */
578
+ Description?: string;
579
+ }
580
+ /**
581
+ * AI数据源列表
582
+ */
583
+ export interface CNAPIGwAIServiceSourceList {
584
+ /**
585
+ * <p>MCP服务列表</p>
586
+ */
587
+ DataList?: Array<CNAPIGwAIServiceSource>;
588
+ /**
589
+ * <p>总数</p>
590
+ */
591
+ TotalCount?: number;
473
592
  }
474
593
  /**
475
594
  * DescribeCloudNativeAPIGatewayConsumer请求参数结构体
@@ -510,6 +629,27 @@ export interface AIGWACLSubject {
510
629
  */
511
630
  Name?: string;
512
631
  }
632
+ /**
633
+ * RemoveCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
634
+ */
635
+ export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
636
+ /**
637
+ * <p>网关实例id</p>
638
+ */
639
+ GatewayId: string;
640
+ /**
641
+ * <p>授权资源类型。</p><p>枚举值:</p><ul><li>ModelAPI:模型 API</li><li>MCPServer:MCP Server</li></ul>
642
+ */
643
+ ResourceType: string;
644
+ /**
645
+ * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
646
+ */
647
+ ResourceId: string;
648
+ /**
649
+ * <p>消费者组 ID 列表(每个 ID 以 cg- 开头),长度 1-10。</p>
650
+ */
651
+ ConsumerGroupIds: Array<string>;
652
+ }
513
653
  /**
514
654
  * 权重路由配置
515
655
  */
@@ -580,6 +720,56 @@ export interface AIGWTagFilter {
580
720
  */
581
721
  Tags?: Array<string>;
582
722
  }
723
+ /**
724
+ * CreateCloudNativeAPIGatewayMCPRoute请求参数结构体
725
+ */
726
+ export interface CreateCloudNativeAPIGatewayMCPRouteRequest {
727
+ /**
728
+ * <p>网关ID</p>
729
+ */
730
+ GatewayId: string;
731
+ /**
732
+ * <p>MCP Server ID</p>
733
+ */
734
+ ServerId: string;
735
+ /**
736
+ * <p>描述</p>
737
+ */
738
+ Description?: string;
739
+ /**
740
+ * <p>Header匹配规则</p>
741
+ */
742
+ HeaderMatch?: Array<AIGWHeaderRule>;
743
+ /**
744
+ * <p>http method</p>
745
+ */
746
+ Methods?: Array<string>;
747
+ /**
748
+ * <p>路由名称</p>
749
+ */
750
+ Name?: string;
751
+ /**
752
+ * <p>路径</p>
753
+ */
754
+ Path?: string;
755
+ /**
756
+ * <p>路径匹配规则</p><p>枚举值:</p><ul><li>Exact: 精确</li><li>Prefix: 前缀</li><li>Regex: 正则</li></ul>
757
+ */
758
+ PathMatchType?: string;
759
+ /**
760
+ * <p>route优先级</p>
761
+ */
762
+ Priority?: number;
763
+ }
764
+ /**
765
+ * DescribeCloudNativeAPIGatewayMCPTool返回参数结构体
766
+ */
767
+ export interface DescribeCloudNativeAPIGatewayMCPToolResponse {
768
+ /**
769
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
770
+ */
771
+ RequestId?: string;
772
+ }
583
773
  /**
584
774
  * LLM-模型参数检查信息
585
775
  */
@@ -606,6 +796,27 @@ export interface DescribeCloudNativeAPIGatewayMCPToolACLListResponse {
606
796
  */
607
797
  RequestId?: string;
608
798
  }
799
+ /**
800
+ * DescribeCloudNativeAPIGatewayMCPServerList请求参数结构体
801
+ */
802
+ export interface DescribeCloudNativeAPIGatewayMCPServerListRequest {
803
+ /**
804
+ * <p>实例 ID</p>
805
+ */
806
+ GatewayId: string;
807
+ /**
808
+ * <p>分页大小</p>
809
+ */
810
+ Limit: number;
811
+ /**
812
+ * <p>分页偏移</p>
813
+ */
814
+ Offset: number;
815
+ /**
816
+ * <p>密钥凭证ID</p>
817
+ */
818
+ SecretKeyId?: string;
819
+ }
609
820
  /**
610
821
  * ModifyCloudNativeAPIGatewayMCPServerAuth返回参数结构体
611
822
  */
@@ -615,6 +826,20 @@ export interface ModifyCloudNativeAPIGatewayMCPServerAuthResponse {
615
826
  */
616
827
  RequestId?: string;
617
828
  }
829
+ /**
830
+ * ModifyCloudNativeAPIGatewayMCPRouteStatus返回参数结构体
831
+ */
832
+ export interface ModifyCloudNativeAPIGatewayMCPRouteStatusResponse {
833
+ /**
834
+ * <p>操作结果</p>
835
+ 注意:此字段可能返回 null,表示取不到有效值。
836
+ */
837
+ Result?: boolean;
838
+ /**
839
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
840
+ */
841
+ RequestId?: string;
842
+ }
618
843
  /**
619
844
  * CreateCloudNativeAPIGatewayConsumerGroup请求参数结构体
620
845
  */
@@ -888,6 +1113,23 @@ export interface KongServicePreview {
888
1113
  */
889
1114
  UpstreamType?: string;
890
1115
  }
1116
+ /**
1117
+ * AI 的服务来源配置信息
1118
+ */
1119
+ export interface CNAPIGwAIServiceSourceInfo {
1120
+ /**
1121
+ * <p>服务来源实例id</p>
1122
+ */
1123
+ InstanceId?: string;
1124
+ /**
1125
+ * <p>授权信息</p>
1126
+ */
1127
+ Auth?: CNAPIGwAIServiceSourceAuth;
1128
+ /**
1129
+ * <p>地址列表</p>
1130
+ */
1131
+ Addresses?: Array<string>;
1132
+ }
891
1133
  /**
892
1134
  * MCP Server 列表
893
1135
  */
@@ -924,13 +1166,13 @@ export interface AIGWJWTCredentialConfig {
924
1166
  Secret?: string;
925
1167
  }
926
1168
  /**
927
- * ModifyCloudNativeAPIGatewayLLMModelService返回参数结构体
1169
+ * DescribeCloudNativeAPIGatewayLLMModelService返回参数结构体
928
1170
  */
929
- export interface ModifyCloudNativeAPIGatewayLLMModelServiceResponse {
1171
+ export interface DescribeCloudNativeAPIGatewayLLMModelServiceResponse {
930
1172
  /**
931
- * <p>是否成功</p>
1173
+ * <p>模型服务。</p>
932
1174
  */
933
- Result?: boolean;
1175
+ Result?: CloudNativeAPIGatewayLLMModelService;
934
1176
  /**
935
1177
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
936
1178
  */
@@ -1023,6 +1265,23 @@ export interface RemoveCloudNativeAPIGatewayConsumerInGroupRequest {
1023
1265
  */
1024
1266
  ConsumerIds: Array<string>;
1025
1267
  }
1268
+ /**
1269
+ * MCP路由 Header规则对象
1270
+ */
1271
+ export interface AIGWHeaderRule {
1272
+ /**
1273
+ * <p>Header的Key</p>
1274
+ */
1275
+ Key: string;
1276
+ /**
1277
+ * <p>Header匹配规则</p><p>枚举值:</p><ul><li>Exact: 精确</li><li>Prefix: 前缀</li><li>Regex: 正则</li></ul>
1278
+ */
1279
+ MatchType: string;
1280
+ /**
1281
+ * <p>Header匹配的值</p>
1282
+ */
1283
+ Value: string;
1284
+ }
1026
1285
  /**
1027
1286
  * CreateCloudNativeAPIGatewayLLMModelService请求参数结构体
1028
1287
  */
@@ -1426,32 +1685,75 @@ export interface AIGWJWTAuthPluginConfig {
1426
1685
  RunOnPreFlight?: boolean;
1427
1686
  }
1428
1687
  /**
1429
- * DescribeCNGWServicesWithRoutes返回参数结构体
1688
+ * MCP Tools导入任务的进度
1430
1689
  */
1431
- export interface DescribeCNGWServicesWithRoutesResponse {
1690
+ export interface CNAPIGwMCPToolImportTaskResult {
1432
1691
  /**
1433
- * <p>服务及路由查询结果</p>
1692
+ * <p>导入失败的数量</p>
1434
1693
  */
1435
- Result?: KongServiceWithRoutes;
1694
+ FailedCount?: number;
1436
1695
  /**
1437
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1696
+ * <p>已处理导入Tool的总数</p>
1438
1697
  */
1439
- RequestId?: string;
1440
- }
1441
- /**
1442
- * LLM 模型 API
1443
- */
1444
- export interface CloudNativeAPIGatewayLLMModelAPI {
1698
+ ProcessedCount?: number;
1445
1699
  /**
1446
- * <p>模型 API ID。</p>
1700
+ * <p>成功导入的Tool数量</p>
1447
1701
  */
1448
- Id?: string;
1702
+ SuccessCount?: number;
1449
1703
  /**
1450
- * <p>创建时间</p>
1704
+ * <p>任务结束时间</p>
1705
+ 注意:此字段可能返回 null,表示取不到有效值。
1451
1706
  */
1452
- CreateTime?: string;
1707
+ TaskEndTime?: string;
1453
1708
  /**
1454
- * <p>修改时间</p>
1709
+ * <p>任务ID</p>
1710
+ */
1711
+ TaskId?: string;
1712
+ /**
1713
+ * <p>任务开始时间</p>
1714
+ 注意:此字段可能返回 null,表示取不到有效值。
1715
+ */
1716
+ TaskStartTime?: string;
1717
+ /**
1718
+ * <p>任务状态</p><p>枚举值:</p><ul><li>Running: 运行中</li><li>End: 结束</li></ul>
1719
+ */
1720
+ TaskStatus?: string;
1721
+ /**
1722
+ * <p>导入结果详情</p>
1723
+ */
1724
+ ToolsImportResult?: Array<CNAPIGwMCPToolImportResult>;
1725
+ /**
1726
+ * <p>待导入Tools的总数</p>
1727
+ */
1728
+ TotalCount?: number;
1729
+ }
1730
+ /**
1731
+ * DescribeCNGWServicesWithRoutes返回参数结构体
1732
+ */
1733
+ export interface DescribeCNGWServicesWithRoutesResponse {
1734
+ /**
1735
+ * <p>服务及路由查询结果</p>
1736
+ */
1737
+ Result?: KongServiceWithRoutes;
1738
+ /**
1739
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1740
+ */
1741
+ RequestId?: string;
1742
+ }
1743
+ /**
1744
+ * LLM 模型 API
1745
+ */
1746
+ export interface CloudNativeAPIGatewayLLMModelAPI {
1747
+ /**
1748
+ * <p>模型 API ID。</p>
1749
+ */
1750
+ Id?: string;
1751
+ /**
1752
+ * <p>创建时间</p>
1753
+ */
1754
+ CreateTime?: string;
1755
+ /**
1756
+ * <p>修改时间</p>
1455
1757
  */
1456
1758
  ModifyTime?: string;
1457
1759
  /**
@@ -1618,6 +1920,63 @@ export interface AIGWModelRewriteRule {
1618
1920
  */
1619
1921
  TargetModel?: string;
1620
1922
  }
1923
+ /**
1924
+ * AI网关配额
1925
+ */
1926
+ export interface AIGWQuota {
1927
+ /**
1928
+ * <p>Id</p>
1929
+ */
1930
+ Id?: string;
1931
+ /**
1932
+ * <p>资源类型</p><p>枚举值:</p><ul><li>Consumer: 消费者</li></ul>
1933
+ */
1934
+ ResourceType?: string;
1935
+ /**
1936
+ * <p>资源 id</p>
1937
+ */
1938
+ ResourceId?: string;
1939
+ /**
1940
+ * <p>资源名字</p><p>如消费者名字</p>
1941
+ */
1942
+ ResourceName?: string;
1943
+ /**
1944
+ * <p>配额类型</p><p>枚举值:</p><ul><li>RequestCount: 请求数</li><li>TotalToken: 总 token</li><li>Cost: 成本</li></ul>
1945
+ */
1946
+ QuotaType?: string;
1947
+ /**
1948
+ * <p>配额周期单位</p><p>枚举值:</p><ul><li>Day: 天</li><li>Week: 周</li><li>Month: 月</li></ul>
1949
+ */
1950
+ PeriodUnit?: string;
1951
+ /**
1952
+ * <p>配额</p>
1953
+ */
1954
+ QuotaLimit?: number;
1955
+ /**
1956
+ * <p>启用</p>
1957
+ */
1958
+ Enabled?: boolean;
1959
+ /**
1960
+ * <p>创建时间</p><p>参数格式:YYYY-MM-DD hh:mm:ss</p>
1961
+ */
1962
+ CreateTime?: string;
1963
+ /**
1964
+ * <p>更新时间</p><p>参数格式:YYYY-MM-DD hh:mm:ss</p>
1965
+ */
1966
+ ModifyTime?: string;
1967
+ /**
1968
+ * <p>配额类型,手动配额还是默认配额</p>
1969
+ */
1970
+ Source?: string;
1971
+ /**
1972
+ * <p>配额超限行为</p><p>枚举值:</p><ul><li>Reject: 拒绝请求</li><li>AllowOverage: 允许超支</li></ul>
1973
+ */
1974
+ ExceedAction?: string;
1975
+ /**
1976
+ * <p>缓存是否计入限额</p><p>枚举值:</p><ul><li>Full: 全量计入</li><li>Exclude: 不计入网关缓存命中部分</li></ul>
1977
+ */
1978
+ CacheHitStat?: string;
1979
+ }
1621
1980
  /**
1622
1981
  * 创建资源通用结果
1623
1982
  */
@@ -1773,6 +2132,19 @@ export interface ModifyCloudNativeAPIGatewayConsumerRequest {
1773
2132
  */
1774
2133
  Description?: string;
1775
2134
  }
2135
+ /**
2136
+ * DescribeCloudNativeAPIGatewayMCPToolImportTask返回参数结构体
2137
+ */
2138
+ export interface DescribeCloudNativeAPIGatewayMCPToolImportTaskResponse {
2139
+ /**
2140
+ * <p>导入任务的进度</p>
2141
+ */
2142
+ Result?: CNAPIGwMCPToolImportTaskResult;
2143
+ /**
2144
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2145
+ */
2146
+ RequestId?: string;
2147
+ }
1776
2148
  /**
1777
2149
  * AI 网关日志脱敏配置
1778
2150
  */
@@ -1795,17 +2167,26 @@ export interface AIGWLogDesensitizeConfig {
1795
2167
  Scope?: Array<string>;
1796
2168
  }
1797
2169
  /**
1798
- * DescribeCloudNativeAPIGatewaySecretKey返回参数结构体
2170
+ * AI网关 Bearer Token 凭证配置
1799
2171
  */
1800
- export interface DescribeCloudNativeAPIGatewaySecretKeyResponse {
2172
+ export interface AIGWBearerTokenCredentialConfig {
1801
2173
  /**
1802
- * <p>密钥详情。</p>
2174
+ * <p>Token凭证</p>
1803
2175
  */
1804
- Result?: CNAPIGwSecretKey;
2176
+ Token?: string;
2177
+ }
2178
+ /**
2179
+ * 新建MCP路由结果
2180
+ */
2181
+ export interface AIGWCreateMCPRouteResult {
1805
2182
  /**
1806
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2183
+ * <p>路由ID</p>
1807
2184
  */
1808
- RequestId?: string;
2185
+ RouteId?: string;
2186
+ /**
2187
+ * <p>结果</p>
2188
+ */
2189
+ Success?: boolean;
1809
2190
  }
1810
2191
  /**
1811
2192
  * DescribeCloudNativeAPIGatewayConsumer返回参数结构体
@@ -1854,6 +2235,19 @@ export interface AIGWMCPServerAuthResult {
1854
2235
  */
1855
2236
  OIDCAuthConfig?: AIGWOIDCAuthPluginConfig;
1856
2237
  }
2238
+ /**
2239
+ * DeleteCloudNativeAPIGatewayMCPToolVersion返回参数结构体
2240
+ */
2241
+ export interface DeleteCloudNativeAPIGatewayMCPToolVersionResponse {
2242
+ /**
2243
+ * <p>删除mcp tool版本结果</p>
2244
+ */
2245
+ Result?: boolean;
2246
+ /**
2247
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2248
+ */
2249
+ RequestId?: string;
2250
+ }
1857
2251
  /**
1858
2252
  * DescribeCloudNativeAPIGatewayMCPToolList请求参数结构体
1859
2253
  */
@@ -2093,14 +2487,32 @@ export interface DeleteCloudNativeAPIGatewayLLMModelServiceResponse {
2093
2487
  RequestId?: string;
2094
2488
  }
2095
2489
  /**
2096
- * DescribeCloudNativeAPIGatewayMCPTool返回参数结构体
2490
+ * DescribeCloudNativeAPIGatewayMCPRouteList返回参数结构体
2097
2491
  */
2098
- export interface DescribeCloudNativeAPIGatewayMCPToolResponse {
2492
+ export interface DescribeCloudNativeAPIGatewayMCPRouteListResponse {
2493
+ /**
2494
+ * <p>路由列表信息</p>
2495
+ 注意:此字段可能返回 null,表示取不到有效值。
2496
+ */
2497
+ Result?: AIGWMCPRouteListResult;
2099
2498
  /**
2100
2499
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2101
2500
  */
2102
2501
  RequestId?: string;
2103
2502
  }
2503
+ /**
2504
+ * AI网关配额列表
2505
+ */
2506
+ export interface AIGWQuotaList {
2507
+ /**
2508
+ * <p>总数</p>
2509
+ */
2510
+ TotalCount?: number;
2511
+ /**
2512
+ * <p>配额列表</p>
2513
+ */
2514
+ DataList?: Array<AIGWQuota>;
2515
+ }
2104
2516
  /**
2105
2517
  * ModifyCloudNativeAPIGatewayMCPToolACL返回参数结构体
2106
2518
  */
@@ -2200,6 +2612,32 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIResponse {
2200
2612
  */
2201
2613
  RequestId?: string;
2202
2614
  }
2615
+ /**
2616
+ * ModifyCloudNativeAPIGatewayMCPServerStatus返回参数结构体
2617
+ */
2618
+ export interface ModifyCloudNativeAPIGatewayMCPServerStatusResponse {
2619
+ /**
2620
+ * <p>创建结果</p>
2621
+ */
2622
+ Result?: boolean;
2623
+ /**
2624
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2625
+ */
2626
+ RequestId?: string;
2627
+ }
2628
+ /**
2629
+ * DescribeCloudNativeAPIGatewayMCPToolVersion返回参数结构体
2630
+ */
2631
+ export interface DescribeCloudNativeAPIGatewayMCPToolVersionResponse {
2632
+ /**
2633
+ * <p>tool版本的json snapshot</p>
2634
+ */
2635
+ Result?: string;
2636
+ /**
2637
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2638
+ */
2639
+ RequestId?: string;
2640
+ }
2203
2641
  /**
2204
2642
  * 云原生网关MCP后端信息,用于展示
2205
2643
  */
@@ -2258,45 +2696,17 @@ export interface AIGWMCPUpstreamInfoDetail {
2258
2696
  TLSConfig?: AIGWUpstreamTLSConfig;
2259
2697
  }
2260
2698
  /**
2261
- * Kong Upstream中的Target
2699
+ * MCP 路由列表分页查询结果
2262
2700
  */
2263
- export interface KongTarget {
2264
- /**
2265
- * 目标主机地址
2266
- */
2267
- Host: string;
2268
- /**
2269
- * 端口
2270
- */
2271
- Port: number;
2272
- /**
2273
- * 权重
2274
- */
2275
- Weight: number;
2701
+ export interface AIGWMCPRouteListResult {
2276
2702
  /**
2277
- * 创建时间
2278
- */
2279
- CreatedTime?: string;
2280
- /**
2281
- * CVM实例ID
2282
- */
2283
- CvmInstanceId?: string;
2284
- /**
2285
- * CVM实例名称
2286
- */
2287
- CvmInstanceName?: string;
2288
- /**
2289
- * 健康状态
2290
- */
2291
- Health?: string;
2292
- /**
2293
- * Target的来源
2703
+ * <p>路由列表</p>
2294
2704
  */
2295
- Source?: string;
2705
+ DataList?: Array<AIGWMCPRoute>;
2296
2706
  /**
2297
- * target标签
2707
+ * <p>总数</p>
2298
2708
  */
2299
- Tags?: Array<string>;
2709
+ TotalCount?: number;
2300
2710
  }
2301
2711
  /**
2302
2712
  * DescribeCloudNativeAPIGatewayLLMModelAPI请求参数结构体
@@ -2311,6 +2721,27 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIRequest {
2311
2721
  */
2312
2722
  ModelAPIId: string;
2313
2723
  }
2724
+ /**
2725
+ * DescribeCloudNativeAPIGatewaySecretKeyList请求参数结构体
2726
+ */
2727
+ export interface DescribeCloudNativeAPIGatewaySecretKeyListRequest {
2728
+ /**
2729
+ * <p>实例 ID</p>
2730
+ */
2731
+ GatewayId: string;
2732
+ /**
2733
+ * <p>每页条数,范围 [1, 100],默认 10。</p>
2734
+ */
2735
+ Limit: number;
2736
+ /**
2737
+ * <p>起始位置,从 0 开始。</p>
2738
+ */
2739
+ Offset: number;
2740
+ /**
2741
+ * <p>密钥归属资源类型。UseToBind=true 时必填。</p><p>枚举值:</p><ul><li>Consumer:消费者</li><li>ModelService:模型服务</li></ul>
2742
+ */
2743
+ ResourceType?: string;
2744
+ }
2314
2745
  /**
2315
2746
  * 键值对
2316
2747
  */
@@ -2325,13 +2756,55 @@ export interface KVMapping {
2325
2756
  Value?: string;
2326
2757
  }
2327
2758
  /**
2328
- * AI网关 Bearer Token 凭证配置
2759
+ * ModifyCloudNativeAPIGatewayMCPRoute返回参数结构体
2329
2760
  */
2330
- export interface AIGWBearerTokenCredentialConfig {
2761
+ export interface ModifyCloudNativeAPIGatewayMCPRouteResponse {
2331
2762
  /**
2332
- * <p>Token凭证</p>
2763
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2333
2764
  */
2334
- Token?: string;
2765
+ RequestId?: string;
2766
+ }
2767
+ /**
2768
+ * mcp tool版本信息
2769
+ */
2770
+ export interface AIGWMCPToolVersion {
2771
+ /**
2772
+ * <p>创建时间</p>
2773
+ */
2774
+ CreateTime?: string;
2775
+ /**
2776
+ * <p>创建者</p>
2777
+ */
2778
+ Creator?: string;
2779
+ /**
2780
+ * <p>是否生效</p>
2781
+ */
2782
+ IsActive?: boolean;
2783
+ /**
2784
+ * <p>总参数</p>
2785
+ */
2786
+ TotalParam?: number;
2787
+ /**
2788
+ * <p>版本号</p>
2789
+ */
2790
+ Version?: string;
2791
+ }
2792
+ /**
2793
+ * AI的服务来源授权信息
2794
+ */
2795
+ export interface CNAPIGwAIServiceSourceAuth {
2796
+ /**
2797
+ * <p>账号</p>
2798
+ */
2799
+ Username?: string;
2800
+ /**
2801
+ * <p>密码</p>
2802
+ */
2803
+ Password?: string;
2804
+ /**
2805
+ * <p>接入Token</p>
2806
+ */
2807
+ AccessToken?: string;
2335
2808
  }
2336
2809
  /**
2337
2810
  * AI 网关token长度路由配置
@@ -2350,6 +2823,19 @@ export interface AIGWTokenLengthRoute {
2350
2823
  */
2351
2824
  Rules?: Array<AIGWTokenLengthRouteRule>;
2352
2825
  }
2826
+ /**
2827
+ * DescribeCloudNativeAPIGatewayMCPToolsFromFile返回参数结构体
2828
+ */
2829
+ export interface DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse {
2830
+ /**
2831
+ * <p>解析结果</p>
2832
+ */
2833
+ Result?: CNAPIGwParseMCPToolsResult;
2834
+ /**
2835
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2836
+ */
2837
+ RequestId?: string;
2838
+ }
2353
2839
  /**
2354
2840
  * 缓存感知路由候选模型服务
2355
2841
  */
@@ -2364,35 +2850,102 @@ export interface AIGWCacheAwareRouteCandidate {
2364
2850
  ModelServiceName?: string;
2365
2851
  }
2366
2852
  /**
2367
- * BindCloudNativeAPIGatewaySecretKey请求参数结构体
2853
+ * AI服务来源
2368
2854
  */
2369
- export interface BindCloudNativeAPIGatewaySecretKeyRequest {
2855
+ export interface CNAPIGwAIServiceSource {
2370
2856
  /**
2371
- * 网关实例id
2857
+ * <p>服务来源</p>
2372
2858
  */
2373
- GatewayId: string;
2859
+ SourceName: string;
2374
2860
  /**
2375
- * 资源类型
2861
+ * <p>服务ID</p>
2376
2862
  */
2377
- ResourceType: string;
2863
+ SourceId: string;
2378
2864
  /**
2379
- * 资源ID,当前最多支持一个
2865
+ * <p>来源类型</p>
2380
2866
  */
2381
- ResourceIds: Array<string>;
2867
+ SourceType: string;
2868
+ /**
2869
+ * <p>来源产品</p>
2870
+ */
2871
+ SourceProduct: string;
2872
+ /**
2873
+ * <p>来源配置信息</p>
2874
+ */
2875
+ SourceInfo: CNAPIGwAIServiceSourceInfo;
2876
+ /**
2877
+ * <p>描述</p>
2878
+ */
2879
+ Description?: string;
2880
+ /**
2881
+ * <p>创建时间</p>
2882
+ */
2883
+ CreateTime?: string;
2884
+ /**
2885
+ * <p>更新时间</p>
2886
+ */
2887
+ UpdateTime?: string;
2888
+ }
2889
+ /**
2890
+ * ModifyCloudNativeAPIGatewayAIServiceSource返回参数结构体
2891
+ */
2892
+ export interface ModifyCloudNativeAPIGatewayAIServiceSourceResponse {
2893
+ /**
2894
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2895
+ */
2896
+ RequestId?: string;
2897
+ }
2898
+ /**
2899
+ * BindCloudNativeAPIGatewaySecretKey请求参数结构体
2900
+ */
2901
+ export interface BindCloudNativeAPIGatewaySecretKeyRequest {
2902
+ /**
2903
+ * 网关实例id
2904
+ */
2905
+ GatewayId: string;
2906
+ /**
2907
+ * 资源类型
2908
+ */
2909
+ ResourceType: string;
2910
+ /**
2911
+ * 资源ID,当前最多支持一个
2912
+ */
2913
+ ResourceIds: Array<string>;
2382
2914
  /**
2383
2915
  * 密钥id
2384
2916
  */
2385
2917
  SecretKeyId: string;
2386
2918
  }
2387
2919
  /**
2388
- * ModifyCloudNativeAPIGatewayConsumer返回参数结构体
2920
+ * DescribeCloudNativeAPIGatewayAIQuota返回参数结构体
2389
2921
  */
2390
- export interface ModifyCloudNativeAPIGatewayConsumerResponse {
2922
+ export interface DescribeCloudNativeAPIGatewayAIQuotaResponse {
2923
+ /**
2924
+ * <p>配额详情</p>
2925
+ */
2926
+ Result?: AIGWQuotaDetail;
2391
2927
  /**
2392
2928
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2393
2929
  */
2394
2930
  RequestId?: string;
2395
2931
  }
2932
+ /**
2933
+ * DescribeCloudNativeAPIGatewayAIServiceSourceList请求参数结构体
2934
+ */
2935
+ export interface DescribeCloudNativeAPIGatewayAIServiceSourceListRequest {
2936
+ /**
2937
+ * 实例 ID
2938
+ */
2939
+ GatewayId: string;
2940
+ /**
2941
+ * 分页大小
2942
+ */
2943
+ Limit: number;
2944
+ /**
2945
+ * 分页偏移
2946
+ */
2947
+ Offset: number;
2948
+ }
2396
2949
  /**
2397
2950
  * ModifyCloudNativeAPIGatewayMCPServerACL返回参数结构体
2398
2951
  */
@@ -2402,6 +2955,48 @@ export interface ModifyCloudNativeAPIGatewayMCPServerACLResponse {
2402
2955
  */
2403
2956
  RequestId?: string;
2404
2957
  }
2958
+ /**
2959
+ * RollbackCloudNativeAPIGatewayMCPToolVersion请求参数结构体
2960
+ */
2961
+ export interface RollbackCloudNativeAPIGatewayMCPToolVersionRequest {
2962
+ /**
2963
+ * <p>网关实例 id</p>
2964
+ */
2965
+ GatewayId: string;
2966
+ /**
2967
+ * <p>MCPserverId</p>
2968
+ */
2969
+ ServerId: string;
2970
+ /**
2971
+ * <p>工具 id</p>
2972
+ */
2973
+ ToolId: string;
2974
+ /**
2975
+ * <p>mcp tool版本</p>
2976
+ */
2977
+ ToolVersion: string;
2978
+ }
2979
+ /**
2980
+ * DescribeCloudNativeAPIGatewayMCPToolVersion请求参数结构体
2981
+ */
2982
+ export interface DescribeCloudNativeAPIGatewayMCPToolVersionRequest {
2983
+ /**
2984
+ * <p>网关实例 id</p>
2985
+ */
2986
+ GatewayId: string;
2987
+ /**
2988
+ * <p>MCPserverId</p>
2989
+ */
2990
+ ServerId: string;
2991
+ /**
2992
+ * <p>工具 id</p>
2993
+ */
2994
+ ToolId: string;
2995
+ /**
2996
+ * <p>tool版本id</p>
2997
+ */
2998
+ ToolVersion: string;
2999
+ }
2405
3000
  /**
2406
3001
  * DeleteCloudNativeAPIGatewayMCPServer请求参数结构体
2407
3002
  */
@@ -2416,17 +3011,45 @@ export interface DeleteCloudNativeAPIGatewayMCPServerRequest {
2416
3011
  ServerId: string;
2417
3012
  }
2418
3013
  /**
2419
- * ModifyCloudNativeAPIGatewayMCPServerStatus返回参数结构体
3014
+ * Kong Upstream中的Target
2420
3015
  */
2421
- export interface ModifyCloudNativeAPIGatewayMCPServerStatusResponse {
3016
+ export interface KongTarget {
2422
3017
  /**
2423
- * <p>创建结果</p>
3018
+ * 目标主机地址
2424
3019
  */
2425
- Result?: boolean;
3020
+ Host: string;
2426
3021
  /**
2427
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3022
+ * 端口
2428
3023
  */
2429
- RequestId?: string;
3024
+ Port: number;
3025
+ /**
3026
+ * 权重
3027
+ */
3028
+ Weight: number;
3029
+ /**
3030
+ * 创建时间
3031
+ */
3032
+ CreatedTime?: string;
3033
+ /**
3034
+ * CVM实例ID
3035
+ */
3036
+ CvmInstanceId?: string;
3037
+ /**
3038
+ * CVM实例名称
3039
+ */
3040
+ CvmInstanceName?: string;
3041
+ /**
3042
+ * 健康状态
3043
+ */
3044
+ Health?: string;
3045
+ /**
3046
+ * Target的来源
3047
+ */
3048
+ Source?: string;
3049
+ /**
3050
+ * target标签
3051
+ */
3052
+ Tags?: Array<string>;
2430
3053
  }
2431
3054
  /**
2432
3055
  * DeleteCloudNativeAPIGatewaySecretKey返回参数结构体
@@ -2556,6 +3179,77 @@ export interface CreateCloudNativeAPIGatewaySecretKeyRequest {
2556
3179
  */
2557
3180
  BasicCredentialConfig?: AIGWBasicCredentialConfig;
2558
3181
  }
3182
+ /**
3183
+ * AI 网关配额详情
3184
+ */
3185
+ export interface AIGWQuotaDetail {
3186
+ /**
3187
+ * <p>id</p>
3188
+ */
3189
+ Id?: string;
3190
+ /**
3191
+ * <p>资源类型</p><p>枚举值:</p><ul><li>Consumer: 消费者</li></ul>
3192
+ */
3193
+ ResourceType?: string;
3194
+ /**
3195
+ * <p>资源id</p>
3196
+ */
3197
+ ResourceId?: string;
3198
+ /**
3199
+ * <p>资源名字</p>
3200
+ */
3201
+ ResourceName?: string;
3202
+ /**
3203
+ * <p>配额类型</p><p>枚举值:</p><ul><li>RequestCount: 请求数</li><li>TotalToken: token总数</li><li>Cost: 成本</li></ul>
3204
+ */
3205
+ QuotaType?: string;
3206
+ /**
3207
+ * <p>配额单位</p><p>枚举值:</p><ul><li>Day: 天</li><li>Week: 周</li><li>Month: 月</li></ul>
3208
+ */
3209
+ PeriodUnit?: string;
3210
+ /**
3211
+ * <p>配额</p><p>如果是成本则数值单位是分,如 1000 表示 10.00 元</p>
3212
+ */
3213
+ QuotaLimit?: number;
3214
+ /**
3215
+ * <p>启用</p>
3216
+ */
3217
+ Enabled?: boolean;
3218
+ /**
3219
+ * <p>用量</p>
3220
+ */
3221
+ Used?: number;
3222
+ /**
3223
+ * <p>使用率</p>
3224
+ */
3225
+ UsageRate?: number;
3226
+ /**
3227
+ * <p>预警级别</p><p>枚举值:</p><ul><li>Normal: 正常</li><li>Warning: 预警</li><li>NearLimit: 临近超限</li><li>Exceeded: 超限</li></ul>
3228
+ */
3229
+ AlarmLevel?: string;
3230
+ /**
3231
+ * <p>配额规则来源</p><p>枚举值:</p><ul><li>Manual: 手动配置</li><li>Default: 默认配额</li></ul>
3232
+ */
3233
+ Source?: string;
3234
+ /**
3235
+ * <p>配额超限行为</p><p>枚举值:</p><ul><li>Reject: 拒绝请求</li><li>AllowOverage: 允许超支</li></ul>
3236
+ */
3237
+ ExceedAction?: string;
3238
+ /**
3239
+ * <p>创建时间</p><p>参数格式:YYYY-MM-DD hh:mm:ss</p>
3240
+ 注意:此字段可能返回 null,表示取不到有效值。
3241
+ */
3242
+ CreateTime?: string;
3243
+ /**
3244
+ * <p>更新时间</p><p>参数格式:YYYY-MM-DD hh:mm:ss</p>
3245
+ 注意:此字段可能返回 null,表示取不到有效值。
3246
+ */
3247
+ ModifyTime?: string;
3248
+ /**
3249
+ * <p>缓存是否计入限额</p><p>枚举值:</p><ul><li>Full: 全量计入</li><li>Exclude: 不计入网关缓存命中部分</li></ul>
3250
+ */
3251
+ CacheHitStat?: string;
3252
+ }
2559
3253
  /**
2560
3254
  * DescribeCloudNativeAPIGatewayMCPServer返回参数结构体
2561
3255
  */
@@ -2819,6 +3513,23 @@ export interface AIGWConsumerModelScope {
2819
3513
  */
2820
3514
  AllowList?: Array<string>;
2821
3515
  }
3516
+ /**
3517
+ * DeleteCloudNativeAPIGatewayMCPRoute请求参数结构体
3518
+ */
3519
+ export interface DeleteCloudNativeAPIGatewayMCPRouteRequest {
3520
+ /**
3521
+ * <p>网关ID</p>
3522
+ */
3523
+ GatewayId: string;
3524
+ /**
3525
+ * <p>路由ID</p>
3526
+ */
3527
+ RouteId: string;
3528
+ /**
3529
+ * <p>MCP Server ID</p>
3530
+ */
3531
+ ServerId: string;
3532
+ }
2822
3533
  /**
2823
3534
  * DescribeCloudNativeAPIGatewayLLMModelAPIs返回参数结构体
2824
3535
  */
@@ -2832,6 +3543,31 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIsResponse {
2832
3543
  */
2833
3544
  RequestId?: string;
2834
3545
  }
3546
+ /**
3547
+ * CompareCloudNativeAPIGatewayMCPToolVersion请求参数结构体
3548
+ */
3549
+ export interface CompareCloudNativeAPIGatewayMCPToolVersionRequest {
3550
+ /**
3551
+ * <p>对比源版本号</p>
3552
+ */
3553
+ BaseVersion: string;
3554
+ /**
3555
+ * <p>网关实例 id</p>
3556
+ */
3557
+ GatewayId: string;
3558
+ /**
3559
+ * <p>MCPserverId</p>
3560
+ */
3561
+ ServerId: string;
3562
+ /**
3563
+ * <p>对比目标版本号</p>
3564
+ */
3565
+ TargetVersion: string;
3566
+ /**
3567
+ * <p>工具 id</p>
3568
+ */
3569
+ ToolId: string;
3570
+ }
2835
3571
  /**
2836
3572
  * AddCloudNativeAPIGatewayConsumerInGroup请求参数结构体
2837
3573
  */
@@ -2862,6 +3598,59 @@ export interface CreateCloudNativeAPIGatewayConsumerResponse {
2862
3598
  */
2863
3599
  RequestId?: string;
2864
3600
  }
3601
+ /**
3602
+ * MCP路由对象
3603
+ */
3604
+ export interface AIGWMCPRoute {
3605
+ /**
3606
+ * <p>创建时间</p>
3607
+ */
3608
+ CreateTime?: string;
3609
+ /**
3610
+ * <p>路由表达式</p>
3611
+ */
3612
+ Expression?: string;
3613
+ /**
3614
+ * <p>Header匹配规则</p>
3615
+ */
3616
+ HeaderMatch?: Array<AIGWHeaderRule>;
3617
+ /**
3618
+ * <p>是否为默认路由</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
3619
+ */
3620
+ IsDefault?: boolean;
3621
+ /**
3622
+ * <p>http path</p>
3623
+ */
3624
+ Methods?: Array<string>;
3625
+ /**
3626
+ * <p>路由名称</p>
3627
+ */
3628
+ Name?: string;
3629
+ /**
3630
+ * <p>路由路径</p>
3631
+ */
3632
+ Path?: string;
3633
+ /**
3634
+ * <p>路径匹配方式</p><p>枚举值:</p><ul><li>Exact: 精确</li><li>Prefix: 前缀</li><li>Regex: 正则</li></ul>
3635
+ */
3636
+ PathMatchType?: string;
3637
+ /**
3638
+ * <p>优先级</p>
3639
+ */
3640
+ Priority?: number;
3641
+ /**
3642
+ * <p>路由ID</p>
3643
+ */
3644
+ RouteId?: string;
3645
+ /**
3646
+ * <p>启用/禁用状态</p><p>枚举值:</p><ul><li>Enabled: 启用</li><li>Disabled: 禁用</li></ul>
3647
+ */
3648
+ Status?: string;
3649
+ /**
3650
+ * <p>是否开启保留原Host功能</p>
3651
+ */
3652
+ PreserveHost?: boolean;
3653
+ }
2865
3654
  /**
2866
3655
  * 模型服务模型名称路由策略
2867
3656
  */
@@ -2901,6 +3690,19 @@ export interface UnbindCloudNativeAPIGatewaySecretKeyResponse {
2901
3690
  */
2902
3691
  RequestId?: string;
2903
3692
  }
3693
+ /**
3694
+ * DescribeCloudNativeAPIGatewayMCPServerList返回参数结构体
3695
+ */
3696
+ export interface DescribeCloudNativeAPIGatewayMCPServerListResponse {
3697
+ /**
3698
+ * <p>MCP Server 列表结果</p>
3699
+ */
3700
+ Result?: AIGWMCPServerList;
3701
+ /**
3702
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3703
+ */
3704
+ RequestId?: string;
3705
+ }
2904
3706
  /**
2905
3707
  * Token用量统计结果
2906
3708
  */
@@ -2915,38 +3717,89 @@ export interface AIGWLLMTokenUsageListResult {
2915
3717
  TotalCount?: number;
2916
3718
  }
2917
3719
  /**
2918
- * DescribeCloudNativeAPIGatewayMCPToolsFromFile返回参数结构体
3720
+ * DescribeCloudNativeAPIGatewayMCPServerAuth返回参数结构体
2919
3721
  */
2920
- export interface DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse {
3722
+ export interface DescribeCloudNativeAPIGatewayMCPServerAuthResponse {
2921
3723
  /**
2922
- * <p>解析结果</p>
3724
+ * <p>MCP服务认证查询结果</p>
2923
3725
  */
2924
- Result?: CNAPIGwParseMCPToolsResult;
3726
+ Result?: AIGWMCPServerAuthResult;
2925
3727
  /**
2926
3728
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2927
3729
  */
2928
3730
  RequestId?: string;
2929
3731
  }
2930
3732
  /**
2931
- * ModifyCloudNativeAPIGatewaySecretKey请求参数结构体
3733
+ * MCP Tools的导入结果
2932
3734
  */
2933
- export interface ModifyCloudNativeAPIGatewaySecretKeyRequest {
3735
+ export interface CNAPIGwMCPToolImportResult {
2934
3736
  /**
2935
- * 实例 ID
3737
+ * <p>导入失败的原因信息</p>
3738
+ 注意:此字段可能返回 null,表示取不到有效值。
3739
+ */
3740
+ FailedMessage?: string;
3741
+ /**
3742
+ * <p>请求方法</p>
3743
+ */
3744
+ Method?: string;
3745
+ /**
3746
+ * <p>MCP Tool 名字</p>
3747
+ */
3748
+ Name?: string;
3749
+ /**
3750
+ * <p>MCP Tool的请求路径</p>
3751
+ */
3752
+ Path?: string;
3753
+ /**
3754
+ * <p>导入结果</p><p>枚举值:</p><ul><li>Waiting: 等待导入</li><li>Success: 导入成功</li><li>Failed: 导入失败</li></ul>
3755
+ */
3756
+ Status?: string;
3757
+ /**
3758
+ * <p>虚拟MCP Server的Tool的完整后端地址</p>
3759
+ 注意:此字段可能返回 null,表示取不到有效值。
3760
+ */
3761
+ UpstreamUrl?: string;
3762
+ }
3763
+ /**
3764
+ * ModifyCloudNativeAPIGatewayMCPRoute请求参数结构体
3765
+ */
3766
+ export interface ModifyCloudNativeAPIGatewayMCPRouteRequest {
3767
+ /**
3768
+ * <p>网关ID</p>
2936
3769
  */
2937
3770
  GatewayId: string;
2938
3771
  /**
2939
- * 密钥名字
3772
+ * <p>Route ID</p>
2940
3773
  */
2941
- Name: string;
3774
+ RouteId: string;
2942
3775
  /**
2943
- * 密钥id
3776
+ * <p>MCP Server ID</p>
2944
3777
  */
2945
- SecretKeyId: string;
3778
+ ServerId: string;
2946
3779
  /**
2947
- * 描述,200字以内
3780
+ * <p>描述</p>
2948
3781
  */
2949
3782
  Description?: string;
3783
+ /**
3784
+ * <p>Header 匹配规则</p>
3785
+ */
3786
+ HeaderMatch?: Array<AIGWHeaderRule>;
3787
+ /**
3788
+ * <p>http method</p>
3789
+ */
3790
+ Methods?: Array<string>;
3791
+ /**
3792
+ * <p>路径</p>
3793
+ */
3794
+ Path?: string;
3795
+ /**
3796
+ * <p>匹配规则</p><p>枚举值:</p><ul><li>Exact: 精确</li><li>Prefix: 前缀</li><li>Regex: 正则</li></ul>
3797
+ */
3798
+ PathMatchType?: string;
3799
+ /**
3800
+ * <p>路由优先级</p>
3801
+ */
3802
+ Priority?: number;
2950
3803
  }
2951
3804
  /**
2952
3805
  * 通过OpenAPI文件导入MCP tools的预览内容
@@ -3050,6 +3903,35 @@ export interface CNAPIGwMCPTool {
3050
3903
  */
3051
3904
  CurrentVersion?: string;
3052
3905
  }
3906
+ /**
3907
+ * ModifyCloudNativeAPIGatewayAIServiceSource请求参数结构体
3908
+ */
3909
+ export interface ModifyCloudNativeAPIGatewayAIServiceSourceRequest {
3910
+ /**
3911
+ * <p>实例 ID</p>
3912
+ */
3913
+ GatewayId: string;
3914
+ /**
3915
+ * <p>服务来源名字</p>
3916
+ */
3917
+ SourceName: string;
3918
+ /**
3919
+ * <p>服务来源类型</p><p>枚举值:</p><ul><li>Registry: 普通注册中心</li><li>MCPRegistry: MCP注册中心</li><li>DNS: 域名服务</li></ul>
3920
+ */
3921
+ SourceType?: string;
3922
+ /**
3923
+ * <p>服务来源id</p>
3924
+ */
3925
+ SourceId?: string;
3926
+ /**
3927
+ * <p>描述</p>
3928
+ */
3929
+ Description?: string;
3930
+ /**
3931
+ * <p>来源信息</p>
3932
+ */
3933
+ SourceInfo?: CNAPIGwAIServiceSourceInfo;
3934
+ }
3053
3935
  /**
3054
3936
  * AI 网关 Tool ACL 单条记录(DescribeMCPToolACLList 数组元素)
3055
3937
  */
@@ -3088,6 +3970,31 @@ export interface DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse {
3088
3970
  */
3089
3971
  RequestId?: string;
3090
3972
  }
3973
+ /**
3974
+ * DescribeCloudNativeAPIGatewayAIQuotaList请求参数结构体
3975
+ */
3976
+ export interface DescribeCloudNativeAPIGatewayAIQuotaListRequest {
3977
+ /**
3978
+ * <p>网关实例Id</p>
3979
+ */
3980
+ GatewayId: string;
3981
+ /**
3982
+ * <p>开始位置</p>
3983
+ */
3984
+ Offset: number;
3985
+ /**
3986
+ * <p>每页数量</p>
3987
+ */
3988
+ Limit: number;
3989
+ /**
3990
+ * <p>过滤条件</p>
3991
+ */
3992
+ Filters?: Array<Filter>;
3993
+ /**
3994
+ * <p>配额预警级别</p><p>枚举值:</p><ul><li>Normal: 正常</li><li>Warning: 预警</li><li>NearLimit: 临近超限</li><li>Exceeded: 超限</li></ul>
3995
+ */
3996
+ AlarmLevels?: Array<string>;
3997
+ }
3091
3998
  /**
3092
3999
  * LLM 模型服务列表
3093
4000
  */
@@ -3118,22 +4025,69 @@ export interface DescribeCNGWServicesWithRoutesRequest {
3118
4025
  */
3119
4026
  Offset?: number;
3120
4027
  /**
3121
- * <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
4028
+ * <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
4029
+ */
4030
+ Filters?: Array<ListFilter>;
4031
+ }
4032
+ /**
4033
+ * DescribeCloudNativeAPIGatewaySecretKey返回参数结构体
4034
+ */
4035
+ export interface DescribeCloudNativeAPIGatewaySecretKeyResponse {
4036
+ /**
4037
+ * <p>密钥详情。</p>
4038
+ */
4039
+ Result?: CNAPIGwSecretKey;
4040
+ /**
4041
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4042
+ */
4043
+ RequestId?: string;
4044
+ }
4045
+ /**
4046
+ * DescribeCloudNativeAPIGatewayMCPServerACL返回参数结构体
4047
+ */
4048
+ export interface DescribeCloudNativeAPIGatewayMCPServerACLResponse {
4049
+ /**
4050
+ * <p>MCP 服务 ACL 列表结果</p>
4051
+ */
4052
+ Result?: AIGWMCPServerACLResult;
4053
+ /**
4054
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4055
+ */
4056
+ RequestId?: string;
4057
+ }
4058
+ /**
4059
+ * DescribeCloudNativeAPIGatewayAIServiceSourceList返回参数结构体
4060
+ */
4061
+ export interface DescribeCloudNativeAPIGatewayAIServiceSourceListResponse {
4062
+ /**
4063
+ * MCP Server 列表结果
4064
+ */
4065
+ Result?: CNAPIGwAIServiceSourceList;
4066
+ /**
4067
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3122
4068
  */
3123
- Filters?: Array<ListFilter>;
4069
+ RequestId?: string;
3124
4070
  }
3125
4071
  /**
3126
- * DescribeCloudNativeAPIGatewayMCPServerACL返回参数结构体
4072
+ * DescribeCloudNativeAPIGatewayMCPRouteList请求参数结构体
3127
4073
  */
3128
- export interface DescribeCloudNativeAPIGatewayMCPServerACLResponse {
4074
+ export interface DescribeCloudNativeAPIGatewayMCPRouteListRequest {
3129
4075
  /**
3130
- * <p>MCP 服务 ACL 列表结果</p>
4076
+ * <p>网关ID</p>
3131
4077
  */
3132
- Result?: AIGWMCPServerACLResult;
4078
+ GatewayId: string;
3133
4079
  /**
3134
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4080
+ * <p>MCP Server ID</p>
3135
4081
  */
3136
- RequestId?: string;
4082
+ ServerId: string;
4083
+ /**
4084
+ * <p>分页限制</p>
4085
+ */
4086
+ Limit?: number;
4087
+ /**
4088
+ * <p>分页偏移</p>
4089
+ */
4090
+ Offset?: number;
3137
4091
  }
3138
4092
  /**
3139
4093
  * ModifyCloudNativeAPIGatewayMCPServer返回参数结构体
@@ -3145,17 +4099,37 @@ export interface ModifyCloudNativeAPIGatewayMCPServerResponse {
3145
4099
  RequestId?: string;
3146
4100
  }
3147
4101
  /**
3148
- * DescribeCloudNativeAPIGatewayLLMModelService返回参数结构体
4102
+ * CheckCloudNativeAPIGatewayMCPRouteMatch请求参数结构体
3149
4103
  */
3150
- export interface DescribeCloudNativeAPIGatewayLLMModelServiceResponse {
4104
+ export interface CheckCloudNativeAPIGatewayMCPRouteMatchRequest {
3151
4105
  /**
3152
- * <p>模型服务。</p>
4106
+ * <p>网关 ID</p>
3153
4107
  */
3154
- Result?: CloudNativeAPIGatewayLLMModelService;
4108
+ GatewayId: string;
3155
4109
  /**
3156
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4110
+ * <p>MCP Server ID</p>
3157
4111
  */
3158
- RequestId?: string;
4112
+ ServerId: string;
4113
+ /**
4114
+ * <p>Modify时用于排除自身的Route ID</p>
4115
+ */
4116
+ ExcludeRouteId?: string;
4117
+ /**
4118
+ * <p>Head匹配规则</p>
4119
+ */
4120
+ HeaderMatch?: Array<AIGWHeaderRule>;
4121
+ /**
4122
+ * <p>http method</p>
4123
+ */
4124
+ Methods?: Array<string>;
4125
+ /**
4126
+ * <p>路径</p>
4127
+ */
4128
+ Path?: string;
4129
+ /**
4130
+ * <p>path的匹配方式</p><p>枚举值:</p><ul><li>Exact: 精确</li><li>Prefix: 前缀</li><li>Regex: 正则</li></ul>
4131
+ */
4132
+ PathMatchType?: string;
3159
4133
  }
3160
4134
  /**
3161
4135
  * 云原生网关模型API 配额降级触发条件信息
@@ -3170,6 +4144,19 @@ export interface AIGWLLMQuotaFallbackTrigger {
3170
4144
  */
3171
4145
  CheckDimension?: string;
3172
4146
  }
4147
+ /**
4148
+ * DescribeCloudNativeAPIGatewayAIQuota请求参数结构体
4149
+ */
4150
+ export interface DescribeCloudNativeAPIGatewayAIQuotaRequest {
4151
+ /**
4152
+ * <p>网关实例Id</p>
4153
+ */
4154
+ GatewayId: string;
4155
+ /**
4156
+ * <p>配额 id</p>
4157
+ */
4158
+ Id: string;
4159
+ }
3173
4160
  /**
3174
4161
  * DescribeCloudNativeAPIGatewaySecretKey请求参数结构体
3175
4162
  */
@@ -3394,6 +4381,23 @@ export interface AIGWAuthModelScopeItem {
3394
4381
  */
3395
4382
  EffectiveModelNames?: Array<string>;
3396
4383
  }
4384
+ /**
4385
+ * MCP路由规则的校验结果
4386
+ */
4387
+ export interface AIGWMCPRouteCheckResult {
4388
+ /**
4389
+ * <p>冲突路由ID</p>
4390
+ */
4391
+ ConflictRouteId?: string;
4392
+ /**
4393
+ * <p>是否冲突</p><p>枚举值:</p><ul><li>true: 冲突</li><li>false: 未冲突</li></ul>
4394
+ */
4395
+ IsConflict?: boolean;
4396
+ /**
4397
+ * <p>冲突原因</p>
4398
+ */
4399
+ Reason?: string;
4400
+ }
3397
4401
  /**
3398
4402
  * DeleteCloudNativeAPIGatewayConsumer请求参数结构体
3399
4403
  */
@@ -3429,6 +4433,41 @@ export interface ModifyCloudNativeAPIGatewayMCPToolStatusResponse {
3429
4433
  */
3430
4434
  RequestId?: string;
3431
4435
  }
4436
+ /**
4437
+ * CreateCloudNativeAPIGatewayMCPRoute返回参数结构体
4438
+ */
4439
+ export interface CreateCloudNativeAPIGatewayMCPRouteResponse {
4440
+ /**
4441
+ * <p>操作结果</p>
4442
+ 注意:此字段可能返回 null,表示取不到有效值。
4443
+ */
4444
+ Result?: AIGWCreateMCPRouteResult;
4445
+ /**
4446
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4447
+ */
4448
+ RequestId?: string;
4449
+ }
4450
+ /**
4451
+ * ModifyCloudNativeAPIGatewayMCPRouteStatus请求参数结构体
4452
+ */
4453
+ export interface ModifyCloudNativeAPIGatewayMCPRouteStatusRequest {
4454
+ /**
4455
+ * <p>网关ID</p>
4456
+ */
4457
+ GatewayId: string;
4458
+ /**
4459
+ * <p>路由ID</p>
4460
+ */
4461
+ RouteId: string;
4462
+ /**
4463
+ * <p>MCP Server ID</p>
4464
+ */
4465
+ ServerId: string;
4466
+ /**
4467
+ * <p>启用/禁用状态</p><p>枚举值:</p><ul><li>Enabled: 启用</li><li>Disabled: 禁用</li></ul>
4468
+ */
4469
+ Status: string;
4470
+ }
3432
4471
  /**
3433
4472
  * 云原生网关模型LLM配额限制信息
3434
4473
  */
@@ -3501,6 +4540,44 @@ export interface CNAPIGwMCPToolList {
3501
4540
  */
3502
4541
  TotalCount?: number;
3503
4542
  }
4543
+ /**
4544
+ * DeleteCloudNativeAPIGatewayAIServiceSource返回参数结构体
4545
+ */
4546
+ export interface DeleteCloudNativeAPIGatewayAIServiceSourceResponse {
4547
+ /**
4548
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4549
+ */
4550
+ RequestId?: string;
4551
+ }
4552
+ /**
4553
+ * CreateCloudNativeAPIGatewayAIServiceSource请求参数结构体
4554
+ */
4555
+ export interface CreateCloudNativeAPIGatewayAIServiceSourceRequest {
4556
+ /**
4557
+ * <p>实例 ID</p>
4558
+ */
4559
+ GatewayId: string;
4560
+ /**
4561
+ * <p>来源类型:</p><ul><li>MCPRegistry: mcp 注册中心</li></ul>
4562
+ */
4563
+ SourceType: string;
4564
+ /**
4565
+ * <p>服务来源名字</p>
4566
+ */
4567
+ SourceName?: string;
4568
+ /**
4569
+ * <p>来源产品:- TSFNacos:TSF Nacos</p>
4570
+ */
4571
+ SourceProduct?: string;
4572
+ /**
4573
+ * <p>来源详情</p>
4574
+ */
4575
+ SourceInfo?: CNAPIGwAIServiceSourceInfo;
4576
+ /**
4577
+ * <p>描述</p>
4578
+ */
4579
+ Description?: string;
4580
+ }
3504
4581
  /**
3505
4582
  * AI 网关Token长度路由规则
3506
4583
  */
@@ -3560,6 +4637,15 @@ export interface ModifyCloudNativeAPIGatewayConsumerGroupRequest {
3560
4637
  */
3561
4638
  Description?: string;
3562
4639
  }
4640
+ /**
4641
+ * DeleteCloudNativeAPIGatewayMCPRoute返回参数结构体
4642
+ */
4643
+ export interface DeleteCloudNativeAPIGatewayMCPRouteResponse {
4644
+ /**
4645
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4646
+ */
4647
+ RequestId?: string;
4648
+ }
3563
4649
  /**
3564
4650
  * UnbindCloudNativeAPIGatewaySecretKey请求参数结构体
3565
4651
  */
@@ -3811,55 +4897,66 @@ export interface DeleteCloudNativeAPIGatewayConsumerGroupRequest {
3811
4897
  ConsumerGroupId: string;
3812
4898
  }
3813
4899
  /**
3814
- * RemoveCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
4900
+ * DescribeCloudNativeAPIGatewayMCPToolVersionList返回参数结构体
3815
4901
  */
3816
- export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
4902
+ export interface DescribeCloudNativeAPIGatewayMCPToolVersionListResponse {
3817
4903
  /**
3818
- * <p>网关实例id</p>
4904
+ * <p>tool版本列表</p>
3819
4905
  */
3820
- GatewayId: string;
4906
+ Result?: AIGWMCPToolVersionList;
3821
4907
  /**
3822
- * <p>授权资源类型。</p><p>枚举值:</p><ul><li>ModelAPI:模型 API</li><li>MCPServer:MCP Server</li></ul>
4908
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3823
4909
  */
3824
- ResourceType: string;
4910
+ RequestId?: string;
4911
+ }
4912
+ /**
4913
+ * 分页查询返回的mcp tool version列表
4914
+ */
4915
+ export interface AIGWMCPToolVersionList {
3825
4916
  /**
3826
- * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
4917
+ * <p>mcp. tool 版本详情</p>
3827
4918
  */
3828
- ResourceId: string;
4919
+ MCPToolVersions?: Array<AIGWMCPToolVersion>;
3829
4920
  /**
3830
- * <p>消费者组 ID 列表(每个 ID 以 cg- 开头),长度 1-10。</p>
4921
+ * <p>总数</p>
3831
4922
  */
3832
- ConsumerGroupIds: Array<string>;
4923
+ TotalCount?: number;
3833
4924
  }
3834
4925
  /**
3835
- * DescribeCloudNativeAPIGatewayMCPServerList请求参数结构体
4926
+ * DescribeCloudNativeAPIGatewayConsumerGroup返回参数结构体
3836
4927
  */
3837
- export interface DescribeCloudNativeAPIGatewayMCPServerListRequest {
4928
+ export interface DescribeCloudNativeAPIGatewayConsumerGroupResponse {
3838
4929
  /**
3839
- * <p>实例 ID</p>
4930
+ * <p>消费者组详情。</p>
3840
4931
  */
3841
- GatewayId: string;
4932
+ Result?: CNAPIGwConsumerGroup;
3842
4933
  /**
3843
- * <p>分页大小</p>
4934
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3844
4935
  */
3845
- Limit: number;
4936
+ RequestId?: string;
4937
+ }
4938
+ /**
4939
+ * CheckCloudNativeAPIGatewayMCPToolVersionExist返回参数结构体
4940
+ */
4941
+ export interface CheckCloudNativeAPIGatewayMCPToolVersionExistResponse {
3846
4942
  /**
3847
- * <p>分页偏移</p>
4943
+ * <p>版本是否存在</p>
3848
4944
  */
3849
- Offset: number;
4945
+ Result?: boolean;
3850
4946
  /**
3851
- * <p>密钥凭证ID</p>
4947
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3852
4948
  */
3853
- SecretKeyId?: string;
4949
+ RequestId?: string;
3854
4950
  }
3855
4951
  /**
3856
- * DescribeCloudNativeAPIGatewayConsumerGroup返回参数结构体
4952
+ * CheckCloudNativeAPIGatewayMCPRouteMatch返回参数结构体
3857
4953
  */
3858
- export interface DescribeCloudNativeAPIGatewayConsumerGroupResponse {
4954
+ export interface CheckCloudNativeAPIGatewayMCPRouteMatchResponse {
3859
4955
  /**
3860
- * <p>消费者组详情。</p>
4956
+ * <p>是否冲突</p>
4957
+ 注意:此字段可能返回 null,表示取不到有效值。
3861
4958
  */
3862
- Result?: CNAPIGwConsumerGroup;
4959
+ Result?: AIGWMCPRouteCheckResult;
3863
4960
  /**
3864
4961
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3865
4962
  */
@@ -4020,6 +5117,19 @@ export interface AddCloudNativeAPIGatewayConsumerGroupAuthRequest {
4020
5117
  */
4021
5118
  ConsumerGroupIds: Array<string>;
4022
5119
  }
5120
+ /**
5121
+ * DescribeCloudNativeAPIGatewayAIQuotaList返回参数结构体
5122
+ */
5123
+ export interface DescribeCloudNativeAPIGatewayAIQuotaListResponse {
5124
+ /**
5125
+ * <p>配额列表</p>
5126
+ */
5127
+ Result?: AIGWQuotaList;
5128
+ /**
5129
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5130
+ */
5131
+ RequestId?: string;
5132
+ }
4023
5133
  /**
4024
5134
  * 模型服务二级路由配置
4025
5135
  */
@@ -4041,6 +5151,15 @@ export interface AIGWLLMModelServiceSubRoute {
4041
5151
  */
4042
5152
  ModelServiceConfig?: AIGWRouteModelServiceConfig;
4043
5153
  }
5154
+ /**
5155
+ * ModifyCloudNativeAPIGatewayConsumer返回参数结构体
5156
+ */
5157
+ export interface ModifyCloudNativeAPIGatewayConsumerResponse {
5158
+ /**
5159
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5160
+ */
5161
+ RequestId?: string;
5162
+ }
4044
5163
  /**
4045
5164
  * AI 网关转发脱敏配置
4046
5165
  */
@@ -4247,18 +5366,56 @@ export interface ModifyCloudNativeAPIGatewayLLMModelServiceRequest {
4247
5366
  LoadBalanceConfig?: AIGWLoadBalanceConfig;
4248
5367
  }
4249
5368
  /**
4250
- * DescribeCloudNativeAPIGatewayMCPServerList返回参数结构体
5369
+ * DeleteCloudNativeAPIGatewayAIServiceSource请求参数结构体
4251
5370
  */
4252
- export interface DescribeCloudNativeAPIGatewayMCPServerListResponse {
5371
+ export interface DeleteCloudNativeAPIGatewayAIServiceSourceRequest {
4253
5372
  /**
4254
- * <p>MCP Server 列表结果</p>
5373
+ * <p>实例 ID</p>
4255
5374
  */
4256
- Result?: AIGWMCPServerList;
5375
+ GatewayId: string;
5376
+ /**
5377
+ * <p>服务来源id</p>
5378
+ */
5379
+ SourceId?: string;
5380
+ /**
5381
+ * <p>服务来源类型</p><p>枚举值:</p><ul><li>Registry: 普通注册中心</li><li>MCPRegistry: MCP注册中心</li><li>DNS: 域名服务</li></ul>
5382
+ */
5383
+ SourceType?: string;
5384
+ }
5385
+ /**
5386
+ * ModifyCloudNativeAPIGatewayLLMModelService返回参数结构体
5387
+ */
5388
+ export interface ModifyCloudNativeAPIGatewayLLMModelServiceResponse {
5389
+ /**
5390
+ * <p>是否成功</p>
5391
+ */
5392
+ Result?: boolean;
4257
5393
  /**
4258
5394
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4259
5395
  */
4260
5396
  RequestId?: string;
4261
5397
  }
5398
+ /**
5399
+ * DeleteCloudNativeAPIGatewayMCPToolVersion请求参数结构体
5400
+ */
5401
+ export interface DeleteCloudNativeAPIGatewayMCPToolVersionRequest {
5402
+ /**
5403
+ * <p>网关实例 id</p>
5404
+ */
5405
+ GatewayId: string;
5406
+ /**
5407
+ * <p>MCPserverId</p>
5408
+ */
5409
+ ServerId: string;
5410
+ /**
5411
+ * <p>工具 id</p>
5412
+ */
5413
+ ToolId: string;
5414
+ /**
5415
+ * <p>mcp tool版本</p>
5416
+ */
5417
+ ToolVersion: string;
5418
+ }
4262
5419
  /**
4263
5420
  * CreateCloudNativeAPIGatewayLLMModelAPI返回参数结构体
4264
5421
  */
@@ -4302,6 +5459,19 @@ export interface DescribeCloudNativeAPIGatewayMCPServerAuthRequest {
4302
5459
  */
4303
5460
  ServerId: string;
4304
5461
  }
5462
+ /**
5463
+ * CreateCloudNativeAPIGatewayAIServiceSource返回参数结构体
5464
+ */
5465
+ export interface CreateCloudNativeAPIGatewayAIServiceSourceResponse {
5466
+ /**
5467
+ * <p>创建结果</p>
5468
+ */
5469
+ Result?: CNAPIGwCreateCommonResult;
5470
+ /**
5471
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5472
+ */
5473
+ RequestId?: string;
5474
+ }
4305
5475
  /**
4306
5476
  * DeleteCloudNativeAPIGatewayLLMModelService请求参数结构体
4307
5477
  */
@@ -4315,6 +5485,19 @@ export interface DeleteCloudNativeAPIGatewayLLMModelServiceRequest {
4315
5485
  */
4316
5486
  ModelServiceId: string;
4317
5487
  }
5488
+ /**
5489
+ * DescribeCloudNativeAPIGatewayMCPToolImportTask请求参数结构体
5490
+ */
5491
+ export interface DescribeCloudNativeAPIGatewayMCPToolImportTaskRequest {
5492
+ /**
5493
+ * <p>网关实例ID</p>
5494
+ */
5495
+ GatewayId: string;
5496
+ /**
5497
+ * <p>MCP Server ID</p>
5498
+ */
5499
+ MCPServerId: string;
5500
+ }
4318
5501
  /**
4319
5502
  * DeleteCloudNativeAPIGatewayConsumerGroup返回参数结构体
4320
5503
  */
@@ -4324,6 +5507,19 @@ export interface DeleteCloudNativeAPIGatewayConsumerGroupResponse {
4324
5507
  */
4325
5508
  RequestId?: string;
4326
5509
  }
5510
+ /**
5511
+ * DescribeCloudNativeAPIGatewayMCPServerACL请求参数结构体
5512
+ */
5513
+ export interface DescribeCloudNativeAPIGatewayMCPServerACLRequest {
5514
+ /**
5515
+ * <p>网关实例 ID</p>
5516
+ */
5517
+ GatewayId: string;
5518
+ /**
5519
+ * <p>MCP服务ID</p>
5520
+ */
5521
+ ServerId: string;
5522
+ }
4327
5523
  /**
4328
5524
  * ModifyCloudNativeAPIGatewayLLMModelAPI请求参数结构体
4329
5525
  */