tencentcloud-sdk-nodejs 4.1.331 → 4.1.333

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 (60) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/databuddy/v20260715/databuddy_client.js +202 -103
  3. package/es/services/dbbrain/v20210527/dbbrain_client.js +11 -2
  4. package/es/services/goosefs/v20220519/goosefs_client.js +3 -0
  5. package/es/services/iotexplorer/v20190423/iotexplorer_client.js +39 -12
  6. package/es/services/rum/v20210622/rum_client.js +270 -12
  7. package/es/services/ssm/v20190923/ssm_client.js +6 -3
  8. package/es/services/tcb/v20180608/tcb_client.js +2 -17
  9. package/package.json +1 -1
  10. package/tencentcloud/common/sdk_version.d.ts +1 -1
  11. package/tencentcloud/common/sdk_version.js +1 -1
  12. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -2
  13. package/tencentcloud/services/adp/v20260520/adp_client.js +1 -2
  14. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +7 -3
  15. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +44 -11
  16. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +25 -13
  17. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +47 -10
  18. package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +20 -1
  19. package/tencentcloud/services/cngw/v20230418/cngw_client.js +19 -0
  20. package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +697 -213
  21. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
  22. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +34 -22
  23. package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +301 -140
  24. package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +425 -198
  25. package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +6125 -3540
  26. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +15 -3
  27. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +21 -3
  28. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +554 -88
  29. package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +41 -0
  30. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
  31. package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +5 -1
  32. package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +6 -0
  33. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +169 -23
  34. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +49 -13
  35. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +72 -18
  36. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +436 -130
  37. package/tencentcloud/services/live/v20180801/live_models.d.ts +44 -61
  38. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +4 -4
  39. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +30 -47
  40. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +28 -54
  41. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +63 -3
  42. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +357 -13
  43. package/tencentcloud/services/rum/v20210622/rum_client.js +534 -18
  44. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +9189 -3093
  45. package/tencentcloud/services/ssm/v20190923/ssm_client.d.ts +9 -5
  46. package/tencentcloud/services/ssm/v20190923/ssm_client.js +12 -6
  47. package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +42 -12
  48. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -25
  49. package/tencentcloud/services/tcb/v20180608/tcb_client.js +5 -35
  50. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +102 -514
  51. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
  52. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +12 -0
  53. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +2 -2
  54. package/tencentcloud/services/tse/v20201207/tse_client.js +1 -1
  55. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +457 -145
  56. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
  57. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +40 -22
  58. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +20 -0
  59. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +22 -17
  60. package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
@@ -49,6 +49,19 @@ export interface CompareCloudNativeAPIGatewayMCPToolVersionResponse {
49
49
  */
50
50
  RequestId?: string;
51
51
  }
52
+ /**
53
+ * BindCloudNativeAPIGatewaySecretKey返回参数结构体
54
+ */
55
+ export interface BindCloudNativeAPIGatewaySecretKeyResponse {
56
+ /**
57
+ * 结果
58
+ */
59
+ Result?: boolean;
60
+ /**
61
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
62
+ */
63
+ RequestId?: string;
64
+ }
52
65
  /**
53
66
  * 密钥列表
54
67
  */
@@ -170,6 +183,19 @@ export interface CreateCloudNativeAPIGatewayMCPServerRequest {
170
183
  * <p>日志采集配置</p>
171
184
  */
172
185
  LogConfig?: AIGWLogConfig;
186
+ /**
187
+ * <p>服务级参数改写规则</p>
188
+ */
189
+ ParamRewriteConfig?: AIGWMCPServerParamRewriteConfig;
190
+ }
191
+ /**
192
+ * ModifyCloudNativeAPIGatewayMCPToolACL返回参数结构体
193
+ */
194
+ export interface ModifyCloudNativeAPIGatewayMCPToolACLResponse {
195
+ /**
196
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
197
+ */
198
+ RequestId?: string;
173
199
  }
174
200
  /**
175
201
  * DescribeCloudNativeAPIGatewaySecretKeyList返回参数结构体
@@ -259,7 +285,7 @@ export interface AIGWLLMTokenUsageItem {
259
285
  */
260
286
  ConsumerName?: string;
261
287
  /**
262
- * <p>消费者组信息列表</p>
288
+ * <p>消费者当前直接所属组列表。网关版本不低于 3.9.8 时,从 Kong CP 当前目录补齐全部直接所属组的 ID、名称和 ConsumerGroupPath,不按 IsPrimary 筛选;无所属组为 []。更早版本保留原消费者组信息且省略路径。</p>
263
289
  */
264
290
  ConsumerGroups?: Array<AIGWConsumerGroupBrief>;
265
291
  /**
@@ -298,6 +324,11 @@ export interface AIGWLLMTokenUsageItem {
298
324
  * <p>成本货币单位</p><p>枚举值:</p><ul><li>CNY: 人民币</li></ul><p>当前仅支持CNY</p>
299
325
  */
300
326
  Currency?: string;
327
+ /**
328
+ * <p>按 Dimension 聚合的维度键值;未传 Dimension 的二维列表不使用此字段。</p><p>Key 顺序:</p><ul><li>SecretKey:SecretKeyId、SecretKeyName</li><li>Model:ModelName</li><li>ModelAPI:ModelAPIId、ModelAPIName</li><li>ModelService:ModelServiceId、ModelServiceName</li><li>Consumer:ConsumerId、ConsumerName、ConsumerGroupId、ConsumerGroupName、ConsumerGroupPath</li><li>ConsumerGroup 组行:ConsumerGroupId、ConsumerGroupName、MemberCount、ConsumerGroupPath</li></ul><p>3.9.8 起,消费者行的 ConsumerGroupId、ConsumerGroupName、ConsumerGroupPath 数组按同一下标对应,表示当前全部直接所属组,不按 IsPrimary 筛选;无所属组为 []。组行的 MemberCount 是当前节点及下属存在且未软删消费者的去重人数,不是历史活跃人数;人数已知为零时为 ["0"],未知为 []。路径来自 Kong CP 当前目录,多父节点使用确定性展示路径;元数据缺失时名称回退 ID,路径为 []。更早版本保留原字段,省略 ConsumerGroupPath。</p>
329
+ 注意:此字段可能返回 null,表示取不到有效值。
330
+ */
331
+ DimensionList?: Array<AIGWLLMResourceDimension>;
301
332
  }
302
333
  /**
303
334
  * DeleteCloudNativeAPIGatewayMCPTool请求参数结构体
@@ -365,6 +396,14 @@ export interface AIGWIntentRoute {
365
396
  * <p>规则</p>
366
397
  */
367
398
  Rules?: Array<AIGWIntentRouteRule>;
399
+ /**
400
+ * <p>默认路由目标 DefaultModelServiceId 对应的标准模型名称;为空表示未配置。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
401
+ */
402
+ DefaultStandardModelName?: string;
403
+ /**
404
+ * <p>执行意图识别的 IntentModelServiceId 对应的标准模型名称;为空表示未配置。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
405
+ */
406
+ IntentStandardModelName?: string;
368
407
  }
369
408
  /**
370
409
  * 查询过滤通用对象
@@ -445,29 +484,53 @@ export interface AIGWBasicCredentialConfig {
445
484
  Username?: string;
446
485
  }
447
486
  /**
448
- * DescribeCloudNativeAPIGatewayMCPToolVersionList请求参数结构体
487
+ * AI 网关 MCP Server OAuth2 验签配置
449
488
  */
450
- export interface DescribeCloudNativeAPIGatewayMCPToolVersionListRequest {
489
+ export interface AIGWGatewayVerifyOAuthConfig {
451
490
  /**
452
- * <p>网关实例 id</p>
491
+ * <p>令牌校验方式</p><p>枚举值:</p><ul><li>JWTJWKS: JWTJWKS</li><li>Introspection: Introspection</li></ul><p>切换方式后另一方式专属字段不生效</p>
453
492
  */
454
- GatewayId: string;
493
+ VerifyMethod: string;
455
494
  /**
456
- * <p>MCPserverId</p>
495
+ * <p>令牌签发者,校验 iss;VerifyMethod=JWTJWKS 时必填</p>
457
496
  */
458
- ServerId: string;
497
+ Issuer?: string;
459
498
  /**
460
- * <p>工具 id</p>
499
+ * <p>JWKS 地址</p><p>入参限制:VerifyMethod=JWTJWKS 时必填</p>
461
500
  */
462
- ToolId: string;
501
+ JwksUri?: string;
463
502
  /**
464
- * <p>分页查询limit</p>
503
+ * <p>校验 aud</p>
465
504
  */
466
- Limit?: number;
505
+ Audience?: string;
467
506
  /**
468
- * <p>分页查询偏移</p>
507
+ * <p>JWKS 缓存秒数,默认 3600,必须大于 0</p><p>默认值:3600</p>
469
508
  */
470
- Offset?: number;
509
+ JwksCacheTtl?: number;
510
+ /**
511
+ * <p>令牌内省端点</p><p>入参限制:VerifyMethod=Introspection 时必填</p>
512
+ */
513
+ IntrospectionEndpoint?: string;
514
+ /**
515
+ * <p>调用内省端点的 Client ID</p><p>入参限制:VerifyMethod=Introspection 时必填</p>
516
+ */
517
+ IntrospectionClientId?: string;
518
+ /**
519
+ * <p>调用内省端点的 Client Secret</p><p>入参限制:VerifyMethod=Introspection 时必填</p><p>加密落库,查询时无论 Enable 状态均脱敏</p>
520
+ */
521
+ IntrospectionClientSecret?: string;
522
+ /**
523
+ * <p>内省结果缓存秒数</p><p>默认值:60</p><p>0 表示不缓存</p>
524
+ */
525
+ IntrospectionCacheTtl?: number;
526
+ /**
527
+ * <p>逗号分隔的 scope 白名单;令牌需命中其一,否则 401</p>
528
+ */
529
+ ScopeWhitelist?: string;
530
+ /**
531
+ * <p>读取调用方令牌的 Header 名</p><p>默认值:Authorization</p>
532
+ */
533
+ TokenHeader?: string;
471
534
  }
472
535
  /**
473
536
  * AI 网关中消费者组简要信息
@@ -481,6 +544,11 @@ export interface AIGWConsumerGroupBrief {
481
544
  * <p>消费者组Id</p>
482
545
  */
483
546
  ConsumerGroupId?: string;
547
+ /**
548
+ * <p>消费者组(组织节点)的当前展示路径,可选。TokenUsageList 在网关版本不低于 3.9.8 时,从 Kong CP 当前目录补齐,用于展示当前直接所属组的位置;多父节点使用确定性路径。更早版本、无可用路径或未补齐此元数据的接口可省略;前端缺省时回退 Name。</p>
549
+ 注意:此字段可能返回 null,表示取不到有效值。
550
+ */
551
+ ConsumerGroupPath?: string;
484
552
  }
485
553
  /**
486
554
  * DeleteCloudNativeAPIGatewayConsumer返回参数结构体
@@ -565,25 +633,17 @@ export interface AIGWKVMatch {
565
633
  Operator: string;
566
634
  }
567
635
  /**
568
- * ModifyCloudNativeAPIGatewaySecretKey请求参数结构体
636
+ * AI 网关模型服务单次请求输入字符长度限制。只拒绝超限输入,不做截断。计量为整个请求 JSON 的 Unicode 字符数。
569
637
  */
570
- export interface ModifyCloudNativeAPIGatewaySecretKeyRequest {
571
- /**
572
- * 实例 ID
573
- */
574
- GatewayId: string;
638
+ export interface AIGWLengthLimitConfig {
575
639
  /**
576
- * 密钥名字
640
+ * <p>是否开启输入长度限制</p>
577
641
  */
578
- Name: string;
642
+ EnableInputLimit?: boolean;
579
643
  /**
580
- * 密钥id
644
+ * <p>最大输入长度字符数</p>
581
645
  */
582
- SecretKeyId: string;
583
- /**
584
- * 描述,200字以内
585
- */
586
- Description?: string;
646
+ MaxInputChars?: number;
587
647
  }
588
648
  /**
589
649
  * AI数据源列表
@@ -638,25 +698,17 @@ export interface AIGWACLSubject {
638
698
  Name?: string;
639
699
  }
640
700
  /**
641
- * RemoveCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
701
+ * DescribeCloudNativeAPIGatewayMCPToolVersionList返回参数结构体
642
702
  */
643
- export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
644
- /**
645
- * <p>网关实例id</p>
646
- */
647
- GatewayId: string;
648
- /**
649
- * <p>授权资源类型。</p><p>枚举值:</p><ul><li>ModelAPI:模型 API</li><li>MCPServer:MCP Server</li></ul>
650
- */
651
- ResourceType: string;
703
+ export interface DescribeCloudNativeAPIGatewayMCPToolVersionListResponse {
652
704
  /**
653
- * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
705
+ * <p>tool版本列表</p>
654
706
  */
655
- ResourceId: string;
707
+ Result?: AIGWMCPToolVersionList;
656
708
  /**
657
- * <p>消费者组 ID 列表(每个 ID 以 cg- 开头),长度 1-10。</p>
709
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
658
710
  */
659
- ConsumerGroupIds: Array<string>;
711
+ RequestId?: string;
660
712
  }
661
713
  /**
662
714
  * 权重路由配置
@@ -670,6 +722,10 @@ export interface CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy {
670
722
  * <p>权重值</p>
671
723
  */
672
724
  Weight: number;
725
+ /**
726
+ * <p>当前权重路由条目中 ModelServiceId 对应的标准模型名称;为空表示未配置。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
727
+ */
728
+ StandardModelName?: string;
673
729
  }
674
730
  /**
675
731
  * DescribeCloudNativeAPIGatewayMCPToolsFromFile接口的出参
@@ -857,17 +913,25 @@ export interface CreateCloudNativeAPIGatewayConsumerGroupRequest {
857
913
  */
858
914
  GatewayId: string;
859
915
  /**
860
- * <p>消费者组名称,最长 60 字符。同一网关下唯一。</p>
916
+ * <p>消费者组名称,最长 60 字符。同一网关下唯一。</p><p>CustomOrganization 时非空、最大 255 字符;Legacy 原规则不变。</p>
861
917
  */
862
918
  Name: string;
863
919
  /**
864
- * <p>启用状态。</p><p>枚举值:</p><ul><li>Enable:启用</li><li>Disable:禁用</li></ul>
920
+ * <p>启用状态。</p><p>枚举值:</p><ul><li>Enable:启用</li><li>Disable:禁用</li></ul><p>CustomOrganization 时传 Active 或 Disabled;保持 Status 必填。Legacy 原 Enable/Disable 不变。</p>
865
921
  */
866
922
  Status: string;
867
923
  /**
868
- * <p>消费者组描述。最长 200 字符。</p>
924
+ * <p>消费者组描述。最长 200 字符。</p><p>CustomOrganization 时最大 500 字符;Legacy 原规则不变。</p>
869
925
  */
870
926
  Description?: string;
927
+ /**
928
+ * <p>调用业务来源,可选 Legacy 或 CustomOrganization;省略或空串按 Legacy。Legacy 保持原行为,CustomOrganization 用于自定义组织架构。该字段不替代鉴权,不改变资源归属,不覆盖 RequestSource。来源保存在操作记录请求内容中。</p>
929
+ */
930
+ OperationSource?: string;
931
+ /**
932
+ * <p>仅 CustomOrganization 使用。1–32 个当前网关自定义父部门 UUID,完整保留多父关系;省略时挂自定义根,空数组非法。不得使用同步部门或未归属组。Legacy 不使用此字段。</p>
933
+ */
934
+ ParentConsumerGroupIds?: Array<string>;
871
935
  }
872
936
  /**
873
937
  * 密钥信息
@@ -993,6 +1057,18 @@ export interface CNAPIGwSecretKey {
993
1057
  * <p>绑定了该模型密钥的消费者密钥列表</p>
994
1058
  */
995
1059
  BoundConsumerSecretKeys?: Array<AIGWSimpleSecretKey>;
1060
+ /**
1061
+ * <p>可选返回字段,仅 IncludeCreationInfo=true 且 ResourceType=Consumer 时存在。凭证内容生成方式:System 自动生成、Custom 自定义、KMS。旧 GenerateType=AutoWithConsumer 映射为 System;其他值保持原 GenerateType,未知值由前端显示“未知”。不改写原 GenerateType。</p>
1062
+ */
1063
+ CredentialGenerateType?: string;
1064
+ /**
1065
+ * <p>可选返回字段,仅 IncludeCreationInfo=true 且 ResourceType=Consumer 时存在。创建来源:Manual 手动新建、AutoWithConsumer 随消费者自动新建、Batch 批量新建。按持久化 BatchId 和原 GenerateType 判定,不按名称前缀猜测。</p>
1066
+ */
1067
+ CreationSource?: string;
1068
+ /**
1069
+ * <p>可选返回字段,仅 IncludeCreationInfo=true 且 ResourceType=Consumer 时存在。批量创建填原批次 ID,非批量为空字符串。来源关联随密钥保留,不因批次结果过期而消失;此字段不表示批次结果或明文仍可读取。</p>
1070
+ */
1071
+ BatchId?: string;
996
1072
  }
997
1073
  /**
998
1074
  * ModifyCloudNativeAPIGatewayLLMModelAPI返回参数结构体
@@ -1053,6 +1129,30 @@ export interface CNAPIGwConsumer {
1053
1129
  * <p>同步版本</p>
1054
1130
  */
1055
1131
  SyncedVersion?: string;
1132
+ /**
1133
+ * <p>消费者展示名称;目录同步对象可与登录名不同。</p>
1134
+ */
1135
+ DisplayName?: string;
1136
+ /**
1137
+ * <p>消费者登录名称。</p>
1138
+ */
1139
+ UserName?: string;
1140
+ /**
1141
+ * <p>目录消费者状态:active / disabled / soft_deleted。保留存量接口原始值,不转换为 AIGW 枚举。</p>
1142
+ */
1143
+ Status?: string;
1144
+ /**
1145
+ * <p>消费者来源:manual / sync;保留目录隔离和同步对象只读规则。</p>
1146
+ */
1147
+ Origin?: string;
1148
+ /**
1149
+ * <p>产生该消费者的同步源 ID;手工消费者可为空。</p>
1150
+ */
1151
+ SyncSourceId?: string;
1152
+ /**
1153
+ * <p>对象在外部目录中的稳定标识;手工消费者可为空。</p>
1154
+ */
1155
+ ExternalId?: string;
1056
1156
  }
1057
1157
  /**
1058
1158
  * AI 网关日志输出配置
@@ -1075,11 +1175,11 @@ export interface AIGWLogConfig {
1075
1175
  */
1076
1176
  ResponseLogPayloadMaxSize?: number;
1077
1177
  /**
1078
- * <p>请求 payload access log 输出模式</p><p>枚举值:</p><ul><li>raw: access log 中 body 记录客户端原始请求</li><li>processed: access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
1178
+ * <p>请求 payload access log 输出模式。MCP情况下不需要传入</p><p>枚举值:</p><ul><li>raw: access log 中 body 记录客户端原始请求</li><li>processed: access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
1079
1179
  */
1080
1180
  RequestLogPayloadMode?: string;
1081
1181
  /**
1082
- * <p>上游原始 payload access log 输出模式</p><p>枚举值:</p><ul><li>raw: access log 中 body 记录客户端原始上游响应</li><li>processed: access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
1182
+ * <p>上游原始 payload access log 输出模式。MCP情况下不需要传入</p><p>枚举值:</p><ul><li>raw: access log 中 body 记录客户端原始上游响应</li><li>processed: access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
1083
1183
  */
1084
1184
  ResponseLogPayloadMode?: string;
1085
1185
  /**
@@ -1434,6 +1534,14 @@ export interface CreateCloudNativeAPIGatewayLLMModelServiceRequest {
1434
1534
  * <p>负载均衡配置</p>
1435
1535
  */
1436
1536
  LoadBalanceConfig?: AIGWLoadBalanceConfig;
1537
+ /**
1538
+ * <p>智能负载均衡配置</p>
1539
+ */
1540
+ SmartBalance?: AIGWSmartBalanceConfig;
1541
+ /**
1542
+ * <p>内容长度限制配置</p>
1543
+ */
1544
+ LengthLimitConfig?: AIGWLengthLimitConfig;
1437
1545
  }
1438
1546
  /**
1439
1547
  * DescribeCloudNativeAPIGatewayLLMModelServices请求参数结构体
@@ -1536,6 +1644,18 @@ export interface CreateCloudNativeAPIGatewayLLMModelAPIRequest {
1536
1644
  * <p>敏感词路由配置</p>
1537
1645
  */
1538
1646
  SensitiveWordRoute?: AIGWSensitiveWordRoute;
1647
+ /**
1648
+ * <p>请求优先级调度配置</p>
1649
+ */
1650
+ PriorityScheduleConfig?: AIGWPriorityScheduleConfig;
1651
+ /**
1652
+ * <p>按请求体顶层 model 字段选择模型 API 的入口路由配置。传入对象即启用,ModelNames 须为非空列表;不传表示不启用。仅用于 Chat 场景下受支持的 POST 路由:openai 协议的 /v1/chat/completions、/v1/responses,或 anthropic 协议的 /v1/messages。公有云要求网关版本不低于 3.9.8,TCS 要求不低于 3.9.6。</p>
1653
+ */
1654
+ ModelNameRoute?: AIGWModelNameRoute;
1655
+ /**
1656
+ * <p>单模型 API 的顶层标准模型名称。仅当 ListModelServiceId 包含一个模型服务且未配置 ModelServiceRoute 时可设置;多模型场景应在对应路由或降级条目中配置。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
1657
+ */
1658
+ StandardModelName?: string;
1539
1659
  }
1540
1660
  /**
1541
1661
  * AI网关自定义 Header 凭证配置
@@ -1651,17 +1771,17 @@ export interface DescribeCloudNativeAPIGatewayMCPToolACLListRequest {
1651
1771
  Keyword?: string;
1652
1772
  }
1653
1773
  /**
1654
- * 返回kong的服务和路由列表
1774
+ * DescribeCloudNativeAPIGatewayAIQuota请求参数结构体
1655
1775
  */
1656
- export interface KongServiceWithRoutes {
1776
+ export interface DescribeCloudNativeAPIGatewayAIQuotaRequest {
1657
1777
  /**
1658
- * 服务及路由列表
1778
+ * <p>网关实例Id</p>
1659
1779
  */
1660
- ServiceList?: Array<KongServiceRoute>;
1780
+ GatewayId: string;
1661
1781
  /**
1662
- * 总数
1782
+ * <p>配额 id</p>
1663
1783
  */
1664
- TotalCount?: number;
1784
+ Id: string;
1665
1785
  }
1666
1786
  /**
1667
1787
  * JWT 认证插件配置
@@ -1860,13 +1980,37 @@ export interface CloudNativeAPIGatewayLLMModelAPI {
1860
1980
  * <p>消费者继承的模型范围</p>
1861
1981
  */
1862
1982
  ConsumerInheritModelScope?: AIGWConsumerModelScope;
1983
+ /**
1984
+ * <p>消费者模型范围</p>
1985
+ */
1986
+ ConsumerDirectModelScopes?: Array<AIGWAuthModelScopeItem>;
1987
+ /**
1988
+ * <p>消费者密钥模型范围</p>
1989
+ */
1990
+ SecretKeyModelScopes?: Array<AIGWAuthModelScopeItem>;
1991
+ /**
1992
+ * <p>请求优先级配置</p>
1993
+ */
1994
+ PriorityScheduleConfig?: AIGWPriorityScheduleConfig;
1995
+ /**
1996
+ * <p>模型API是否支持Playground调试</p>
1997
+ */
1998
+ PlaygroundAvailable?: boolean;
1999
+ /**
2000
+ * <p>模型 API 当前配置的入口模型名路由规则,根据请求体顶层 model 字段匹配 ModelNames 中的名称或别名;未配置时不启用该入口路由规则。</p>
2001
+ */
2002
+ ModelNameRoute?: AIGWModelNameRoute;
2003
+ /**
2004
+ * <p>单模型 API 当前配置的顶层标准模型名称,仅适用于其关联的 TIONE 模型服务;为空表示未配置。多模型场景的标准模型名称在各路由或降级条目中返回。</p>
2005
+ */
2006
+ StandardModelName?: string;
1863
2007
  }
1864
2008
  /**
1865
2009
  * DescribeCloudNativeAPIGatewayLLMModelAPIs请求参数结构体
1866
2010
  */
1867
2011
  export interface DescribeCloudNativeAPIGatewayLLMModelAPIsRequest {
1868
2012
  /**
1869
- * 网关 id。
2013
+ * <p>网关 id。</p>
1870
2014
  */
1871
2015
  GatewayId: string;
1872
2016
  /**
@@ -1897,31 +2041,27 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIsRequest {
1897
2041
  * <p>消费者 ID(以 consumer- 开头)。</p>
1898
2042
  */
1899
2043
  ConsumerId?: string;
2044
+ /**
2045
+ * <p>密钥ID</p>
2046
+ */
2047
+ SecretKeyId?: string;
1900
2048
  }
1901
2049
  /**
1902
- * ModifyCloudNativeAPIGatewayMCPServerACL请求参数结构体
2050
+ * AI 网关 MCP Server 参数改写规则
1903
2051
  */
1904
- export interface ModifyCloudNativeAPIGatewayMCPServerACLRequest {
1905
- /**
1906
- * <p>网关实例ID</p>
1907
- */
1908
- GatewayId: string;
1909
- /**
1910
- * <p>MCP服务ID</p>
1911
- */
1912
- ServerId: string;
2052
+ export interface AIGWMCPServerParamRewriteRule {
1913
2053
  /**
1914
- * <p>ACL类型</p><p>枚举值:</p><ul><li>None: 不开启</li><li>Allow: 白名单</li><li>Deny: 黑名单</li></ul><p>默认值:None</p>
2054
+ * <p>操作方式</p>
1915
2055
  */
1916
- ACLType: string;
2056
+ Operate: string;
1917
2057
  /**
1918
- * <p>需要关联的消费者ID列表</p>
2058
+ * <p>键</p>
1919
2059
  */
1920
- ACLConsumerIds?: Array<string>;
2060
+ Key: string;
1921
2061
  /**
1922
- * <p>需要关联的消费者组ID列表</p>
2062
+ * <p>值</p>
1923
2063
  */
1924
- ACLConsumerGroupIds?: Array<string>;
2064
+ Value?: string;
1925
2065
  }
1926
2066
  /**
1927
2067
  * 模型名字重写规则
@@ -1985,13 +2125,62 @@ export interface AIGWQuota {
1985
2125
  */
1986
2126
  Source?: string;
1987
2127
  /**
1988
- * <p>配额超限行为</p><p>枚举值:</p><ul><li>Reject: 拒绝请求</li><li>AllowOverage: 允许超支</li></ul>
2128
+ * <p>配额超限行为</p><p>枚举值:</p><ul><li>Reject: 拒绝消费者请求</li><li>AllowOverage: 允许超限</li></ul>
1989
2129
  */
1990
2130
  ExceedAction?: string;
1991
2131
  /**
1992
2132
  * <p>缓存是否计入限额</p><p>枚举值:</p><ul><li>Full: 全量计入</li><li>Exclude: 不计入网关缓存命中部分</li></ul>
1993
2133
  */
1994
2134
  CacheHitStat?: string;
2135
+ /**
2136
+ * <p>超限百分比</p><p>默认值:0</p><p>Consumer 的超量百分比,指定模型服务配额默认为 0;ConsumerGroup 固定为 0。</p><p>举例:20,超出设置额度的20%,可用额度为(1+20%)*QuotaLimit。当SetExceedPercentage=true时,条件必选。</p>
2137
+ */
2138
+ ExceedPercentage?: number;
2139
+ /**
2140
+ * <p>是否设置超限百分比</p><p>仅 Consumer 的 AllowOverage 场景可用,指定模型服务的配额必须为 false;ConsumerGroup 必须为 false。</p><p>枚举值:</p><ul><li>true: 设置超限百分比</li><li>false: 不设置超限百分比,即不设上限</li></ul><p>默认值:false</p><p>当ExceedAction=AllowOverage时,条件必选。</p>
2141
+ */
2142
+ SetExceedPercentage?: boolean;
2143
+ /**
2144
+ * <p>Consumer粒度某资源对象的配额范围,支持:全部模型服务(all)、指定模型服务(specified)</p><p>枚举值:</p><ul><li>All: 全部</li><li>Specified: 指定</li></ul><p>默认值:All</p>
2145
+ */
2146
+ Scope?: string;
2147
+ /**
2148
+ * <p>Consumer粒度配额的资源类型,如“模型服务”</p><p>枚举值:</p><ul><li>ModelService: 模型服务</li></ul><p>默认值:ModelService</p>
2149
+ */
2150
+ SubResourceType?: string;
2151
+ /**
2152
+ * <p>Consumer粒度配额若支持指定子资源配额,则该项为子资源配额个数</p>
2153
+ */
2154
+ SubResourceCount?: number;
2155
+ /**
2156
+ * <p>消费者组完整层级路径。仅 ResourceType=ConsumerGroup 返回,未知时为空字符串;Consumer 行省略。</p>
2157
+ */
2158
+ ConsumerGroupPath?: string;
2159
+ /**
2160
+ * <p>消费者组是否有效。仅 ResourceType=ConsumerGroup 返回;组不存在或非 active 时为 false。与配额规则 Enabled 区分,字段省略与 false 含义不同。</p>
2161
+ */
2162
+ ConsumerGroupActive?: boolean;
2163
+ /**
2164
+ * <p>兼容用量字段。Cost 为向下取整的整数元;TotalToken 单位为 token;RequestCount 单位为次。精确显示优先使用 UsedExact。</p> 仅支持用量查询的实际规则返回;旧 Consumer 网关和 DefaultPolicy 模板可省略。
2165
+ */
2166
+ Used?: number;
2167
+ /**
2168
+ * <p>精确使用量。Cost 单位为元,保留 1e-7 元精度;TotalToken 单位为 token;RequestCount 单位为次。旧版插件不提供精确值时省略,调用方可回退使用 Used;该值已换算为业务单位,不要再除以 ValueScale。</p> 仅支持用量查询的实际规则返回;旧 Consumer 网关和 DefaultPolicy 模板可省略。
2169
+ 注意:此字段可能返回 null,表示取不到有效值。
2170
+ */
2171
+ UsedExact?: number;
2172
+ /**
2173
+ * <p>使用率</p> 仅支持用量查询的实际规则返回;旧 Consumer 网关和 DefaultPolicy 模板可省略。
2174
+ */
2175
+ UsageRate?: number;
2176
+ /**
2177
+ * <p>预警级别</p><p>枚举值:</p><ul><li>Normal: 正常</li><li>Warning: 预警</li><li>NearLimit: 临近超限</li><li>Exceeded: 超限</li></ul> 仅支持用量查询的实际规则返回;旧 Consumer 网关和 DefaultPolicy 模板可省略。
2178
+ */
2179
+ AlarmLevel?: string;
2180
+ /**
2181
+ * <p>关联消费者密钥数量。ConsumerGroup 规则固定为 0。</p>
2182
+ */
2183
+ SecretKeyCount?: number;
1995
2184
  }
1996
2185
  /**
1997
2186
  * 创建资源通用结果
@@ -2084,6 +2273,10 @@ export interface CNAPIGwConsumerGroup {
2084
2273
  * <p>同步版本</p>
2085
2274
  */
2086
2275
  SyncedVersion?: string;
2276
+ /**
2277
+ * <p>只读保留的组织部门外部标识,仅 SoftDeleted 对象返回;用于后续删除检查,不在基础信息页面展示。</p>
2278
+ */
2279
+ ExternalId?: string;
2087
2280
  }
2088
2281
  /**
2089
2282
  * CreateCloudNativeAPIGatewayLLMModelService返回参数结构体
@@ -2191,6 +2384,19 @@ export interface AIGWBearerTokenCredentialConfig {
2191
2384
  */
2192
2385
  Token?: string;
2193
2386
  }
2387
+ /**
2388
+ * 配额规则中,某资源对象的指定子资源信息。如资源对象“模型服务”的“指定模型服务”的信息。当Scope=Specified 必填(1~50 项,msvc_id 不重复,QuotaLimit>0);Scope=All 必须为空。
2389
+ */
2390
+ export interface AIGWQuotaSubItem {
2391
+ /**
2392
+ * <p>子资源 ID(如:模型服务 ID)</p>
2393
+ */
2394
+ SubResourceId: string;
2395
+ /**
2396
+ * <p>该子资源独立配额上限,必须 &gt; 0;单位与 QuotaType 对齐(Cost=元 TotalToken=tokens RequestCount=次)</p>
2397
+ */
2398
+ QuotaLimit?: number;
2399
+ }
2194
2400
  /**
2195
2401
  * 新建MCP路由结果
2196
2402
  */
@@ -2323,96 +2529,27 @@ export interface AIGWIntentRouteRule {
2323
2529
  * <p>模型服务id</p>
2324
2530
  */
2325
2531
  ModelServiceId?: string;
2326
- }
2327
- /**
2328
- * 云原生网关路由信息
2329
- */
2330
- export interface KongRoutePreview {
2331
- /**
2332
- * <p>服务ID</p>
2333
- */
2334
- ID: string;
2335
- /**
2336
- * <p>服务名字</p>
2337
- */
2338
- Name?: string;
2339
- /**
2340
- * <p>请求方法列表</p>
2341
- 注意:此字段可能返回 null,表示取不到有效值。
2342
- */
2343
- Methods?: Array<string>;
2344
- /**
2345
- * <p>路由Paths列表</p>
2346
- 注意:此字段可能返回 null,表示取不到有效值。
2347
- */
2348
- Paths?: Array<string>;
2349
- /**
2350
- * <p>路由Hosts列表</p>
2351
- 注意:此字段可能返回 null,表示取不到有效值。
2352
- */
2353
- Hosts?: Array<string>;
2354
- /**
2355
- * <p>协议列表</p>
2356
- */
2357
- Protocols?: Array<string>;
2358
- /**
2359
- * <p>是否保留Host头</p>
2360
- */
2361
- PreserveHost?: boolean;
2362
- /**
2363
- * <p>HTTPS重定向状态码</p>
2364
- */
2365
- HttpsRedirectStatusCode?: number;
2366
2532
  /**
2367
- * <p>是否去除路径前缀</p>
2368
- */
2369
- StripPath?: boolean;
2370
- /**
2371
- * <p>创建时间</p>
2372
- */
2373
- CreatedTime?: string;
2374
- /**
2375
- * <p>强制转换 https</p>
2376
- 注意:此字段可能返回 null,表示取不到有效值。
2377
- * @deprecated
2378
- */
2379
- ForceHttps?: boolean;
2380
- /**
2381
- * <p>服务名</p>
2382
- */
2383
- ServiceName?: string;
2384
- /**
2385
- * <p>服务ID</p>
2386
- */
2387
- ServiceID?: string;
2388
- /**
2389
- * <p>目的端口</p>
2390
- */
2391
- DestinationPorts?: Array<number | bigint>;
2392
- /**
2393
- * <p>headers</p>
2533
+ * <p>意图ID</p>
2394
2534
  */
2395
- Headers?: Array<KVMapping>;
2535
+ IntentId?: string;
2396
2536
  /**
2397
- * <p>是否缓存请求body,默认true</p>
2537
+ * <p>意图名称</p>
2398
2538
  */
2399
- RequestBuffering?: boolean;
2539
+ IntentName?: string;
2400
2540
  /**
2401
- * <p>是否缓存响应body,默认true</p>
2402
- */
2403
- ResponseBuffering?: boolean;
2404
- /**
2405
- * <p>正则优先级</p>
2406
- */
2407
- RegexPriority?: number;
2408
- /**
2409
- * <p>querystring参数</p>
2541
+ * <p>当前意图路由规则中目标 ModelServiceId 对应的标准模型名称;为空表示未配置。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
2410
2542
  */
2411
- QueryStringParameters?: Array<KVMapping>;
2543
+ StandardModelName?: string;
2544
+ }
2545
+ /**
2546
+ * 智能负载均衡配置,仅服务来源(ServiceSource,SourceId 非空)场景生效。
2547
+ */
2548
+ export interface AIGWSmartBalanceConfig {
2412
2549
  /**
2413
- * <p>路由来源</p>
2550
+ * <p>负载均衡类型</p><p>枚举值:</p><ul><li>LeastRequests: 最少运行请求</li><li>LeastQueued: 最少排队请求</li><li>LeastTTFT: 最少TTFT</li><li>LeastTPOT: 最少TPOT</li></ul>
2414
2551
  */
2415
- RouteSource?: string;
2552
+ Algorithm?: string;
2416
2553
  }
2417
2554
  /**
2418
2555
  * ModifyCloudNativeAPIGatewayMCPTool请求参数结构体
@@ -2530,13 +2667,94 @@ export interface AIGWQuotaList {
2530
2667
  DataList?: Array<AIGWQuota>;
2531
2668
  }
2532
2669
  /**
2533
- * ModifyCloudNativeAPIGatewayMCPToolACL返回参数结构体
2670
+ * 云原生网关路由信息
2534
2671
  */
2535
- export interface ModifyCloudNativeAPIGatewayMCPToolACLResponse {
2672
+ export interface KongRoutePreview {
2536
2673
  /**
2537
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2674
+ * <p>服务ID</p>
2538
2675
  */
2539
- RequestId?: string;
2676
+ ID: string;
2677
+ /**
2678
+ * <p>服务名字</p>
2679
+ */
2680
+ Name?: string;
2681
+ /**
2682
+ * <p>请求方法列表</p>
2683
+ 注意:此字段可能返回 null,表示取不到有效值。
2684
+ */
2685
+ Methods?: Array<string>;
2686
+ /**
2687
+ * <p>路由Paths列表</p>
2688
+ 注意:此字段可能返回 null,表示取不到有效值。
2689
+ */
2690
+ Paths?: Array<string>;
2691
+ /**
2692
+ * <p>路由Hosts列表</p>
2693
+ 注意:此字段可能返回 null,表示取不到有效值。
2694
+ */
2695
+ Hosts?: Array<string>;
2696
+ /**
2697
+ * <p>协议列表</p>
2698
+ */
2699
+ Protocols?: Array<string>;
2700
+ /**
2701
+ * <p>是否保留Host头</p>
2702
+ */
2703
+ PreserveHost?: boolean;
2704
+ /**
2705
+ * <p>HTTPS重定向状态码</p>
2706
+ */
2707
+ HttpsRedirectStatusCode?: number;
2708
+ /**
2709
+ * <p>是否去除路径前缀</p>
2710
+ */
2711
+ StripPath?: boolean;
2712
+ /**
2713
+ * <p>创建时间</p>
2714
+ */
2715
+ CreatedTime?: string;
2716
+ /**
2717
+ * <p>强制转换 https</p>
2718
+ 注意:此字段可能返回 null,表示取不到有效值。
2719
+ * @deprecated
2720
+ */
2721
+ ForceHttps?: boolean;
2722
+ /**
2723
+ * <p>服务名</p>
2724
+ */
2725
+ ServiceName?: string;
2726
+ /**
2727
+ * <p>服务ID</p>
2728
+ */
2729
+ ServiceID?: string;
2730
+ /**
2731
+ * <p>目的端口</p>
2732
+ */
2733
+ DestinationPorts?: Array<number | bigint>;
2734
+ /**
2735
+ * <p>headers</p>
2736
+ */
2737
+ Headers?: Array<KVMapping>;
2738
+ /**
2739
+ * <p>是否缓存请求body,默认true</p>
2740
+ */
2741
+ RequestBuffering?: boolean;
2742
+ /**
2743
+ * <p>是否缓存响应body,默认true</p>
2744
+ */
2745
+ ResponseBuffering?: boolean;
2746
+ /**
2747
+ * <p>正则优先级</p>
2748
+ */
2749
+ RegexPriority?: number;
2750
+ /**
2751
+ * <p>querystring参数</p>
2752
+ */
2753
+ QueryStringParameters?: Array<KVMapping>;
2754
+ /**
2755
+ * <p>路由来源</p>
2756
+ */
2757
+ RouteSource?: string;
2540
2758
  }
2541
2759
  /**
2542
2760
  * DescribeCloudNativeAPIGatewayMCPToolsFromFile请求参数结构体
@@ -2628,6 +2846,21 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIResponse {
2628
2846
  */
2629
2847
  RequestId?: string;
2630
2848
  }
2849
+ /**
2850
+ * 新建消费者时为消费者自动绑定API密钥时自动生成密钥的参数体。仅当 SecretBindType="AutoGenerate" 时必填,其他分支禁止携带,否则返回 InvalidParameterValue.CreateError。
2851
+ */
2852
+ export interface AutoSecretKey {
2853
+ /**
2854
+ * <p>密钥名称,2-60 字符。</p><p>字符集与「密钥管理-新建密钥」一致(中英文、数字、下划线、短横线),禁止 -share 后缀,同网关内不可重名。</p>
2855
+ 注意:此字段可能返回 null,表示取不到有效值。
2856
+ */
2857
+ Name: string;
2858
+ /**
2859
+ * <p>密钥描述。长度 ≤ 200,可为空。</p>
2860
+ 注意:此字段可能返回 null,表示取不到有效值。
2861
+ */
2862
+ Description?: string;
2863
+ }
2631
2864
  /**
2632
2865
  * ModifyCloudNativeAPIGatewayMCPServerStatus返回参数结构体
2633
2866
  */
@@ -2737,6 +2970,19 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIRequest {
2737
2970
  */
2738
2971
  ModelAPIId: string;
2739
2972
  }
2973
+ /**
2974
+ * AI网关成本报表列表维度信息
2975
+ */
2976
+ export interface AIGWLLMResourceDimension {
2977
+ /**
2978
+ * <p>维度Key</p>
2979
+ */
2980
+ Key?: string;
2981
+ /**
2982
+ * <p>维度值</p>
2983
+ */
2984
+ Values?: Array<string>;
2985
+ }
2740
2986
  /**
2741
2987
  * DescribeCloudNativeAPIGatewaySecretKeyList请求参数结构体
2742
2988
  */
@@ -2773,6 +3019,10 @@ export interface DescribeCloudNativeAPIGatewaySecretKeyListRequest {
2773
3019
  * <p>是否用于绑定场景。true 时返回可被绑定到指定资源的密钥。</p>
2774
3020
  */
2775
3021
  UseToBind?: boolean;
3022
+ /**
3023
+ * <p>可选 Boolean,默认 false。仅传 true 且返回记录 ResourceType=Consumer 时,额外返回 CredentialGenerateType、CreationSource、BatchId;省略或 false 时不返回这三个字段,原字段和返回结构保持不变。此参数只控制展示字段,不控制 Filters 是否生效。</p>
3024
+ */
3025
+ IncludeCreationInfo?: boolean;
2776
3026
  }
2777
3027
  /**
2778
3028
  * 键值对
@@ -2868,6 +3118,31 @@ export interface DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse {
2868
3118
  */
2869
3119
  RequestId?: string;
2870
3120
  }
3121
+ /**
3122
+ * DescribeCloudNativeAPIGatewayMCPToolVersionList请求参数结构体
3123
+ */
3124
+ export interface DescribeCloudNativeAPIGatewayMCPToolVersionListRequest {
3125
+ /**
3126
+ * <p>网关实例 id</p>
3127
+ */
3128
+ GatewayId: string;
3129
+ /**
3130
+ * <p>MCPserverId</p>
3131
+ */
3132
+ ServerId: string;
3133
+ /**
3134
+ * <p>工具 id</p>
3135
+ */
3136
+ ToolId: string;
3137
+ /**
3138
+ * <p>分页查询limit</p>
3139
+ */
3140
+ Limit?: number;
3141
+ /**
3142
+ * <p>分页查询偏移</p>
3143
+ */
3144
+ Offset?: number;
3145
+ }
2871
3146
  /**
2872
3147
  * 缓存感知路由候选模型服务
2873
3148
  */
@@ -2928,25 +3203,29 @@ export interface ModifyCloudNativeAPIGatewayAIServiceSourceResponse {
2928
3203
  RequestId?: string;
2929
3204
  }
2930
3205
  /**
2931
- * BindCloudNativeAPIGatewaySecretKey请求参数结构体
3206
+ * AI网关LLM健康检查配置
2932
3207
  */
2933
- export interface BindCloudNativeAPIGatewaySecretKeyRequest {
3208
+ export interface AIGWLLMHealthCheckSetting {
2934
3209
  /**
2935
- * 网关实例id
3210
+ * <p>检查失败阈值</p>
2936
3211
  */
2937
- GatewayId: string;
3212
+ HealthCheckFailThreshold: number;
2938
3213
  /**
2939
- * 资源类型
3214
+ * <p>检查间隔</p>
2940
3215
  */
2941
- ResourceType: string;
3216
+ HealthCheckIntervalSecond: number;
2942
3217
  /**
2943
- * 资源ID,当前最多支持一个
3218
+ * <p>检查恢复阈值</p>
2944
3219
  */
2945
- ResourceIds: Array<string>;
3220
+ HealthCheckRecoverThreshold: number;
2946
3221
  /**
2947
- * 密钥id
3222
+ * <p>检查超时时间</p>
2948
3223
  */
2949
- SecretKeyId: string;
3224
+ HealthCheckTimeout: number;
3225
+ /**
3226
+ * <p>检查路径</p>
3227
+ */
3228
+ HealthCheckPath?: string;
2950
3229
  }
2951
3230
  /**
2952
3231
  * DescribeCloudNativeAPIGatewayAIQuota返回参数结构体
@@ -3272,7 +3551,7 @@ export interface AIGWQuotaDetail {
3272
3551
  */
3273
3552
  Source?: string;
3274
3553
  /**
3275
- * <p>配额超限行为</p><p>枚举值:</p><ul><li>Reject: 拒绝请求</li><li>AllowOverage: 允许超支</li></ul>
3554
+ * <p>配额超限行为</p><p>枚举值:</p><ul><li>Reject: 拒绝消费者请求</li><li>AllowOverage: 允许超限</li></ul>
3276
3555
  */
3277
3556
  ExceedAction?: string;
3278
3557
  /**
@@ -3289,6 +3568,31 @@ export interface AIGWQuotaDetail {
3289
3568
  * <p>缓存是否计入限额</p><p>枚举值:</p><ul><li>Full: 全量计入</li><li>Exclude: 不计入网关缓存命中部分</li></ul>
3290
3569
  */
3291
3570
  CacheHitStat?: string;
3571
+ /**
3572
+ * <p>是否设置超限百分比</p><p>仅 Consumer 的 AllowOverage 场景可用,指定模型服务的配额必须为 false;ConsumerGroup 必须为 false。</p><p>枚举值:</p><ul><li>true: 设置超限百分比</li><li>false: 不设置超限百分比,即不设上限</li></ul><p>默认值:false</p><p>当ExceedAction=AllowOverage时,条件必选。</p>
3573
+ */
3574
+ SetExceedPercentage?: boolean;
3575
+ /**
3576
+ * <p>超限百分比</p><p>默认值:0</p><p>Consumer 的超量百分比,指定模型服务配额默认为 0;ConsumerGroup 固定为 0。</p><p>举例:20,超出设置额度的20%,可用额度为(1+20%)*QuotaLimit。当SetExceedPercentage=true时,条件必选。</p>
3577
+ */
3578
+ ExceedPercentage?: number;
3579
+ /**
3580
+ * <p>精确使用量。Cost 单位为元,保留 1e-7 元精度;TotalToken 单位为 token;RequestCount 单位为次。旧版插件不提供精确值时省略,调用方可回退使用 Used;该值已换算为业务单位,不要再除以 ValueScale。</p>
3581
+ 注意:此字段可能返回 null,表示取不到有效值。
3582
+ */
3583
+ UsedExact?: number;
3584
+ /**
3585
+ * <p>消费者组完整层级路径。仅 ResourceType=ConsumerGroup 返回,未知时为空字符串;Consumer 行省略。</p>
3586
+ */
3587
+ ConsumerGroupPath?: string;
3588
+ /**
3589
+ * <p>消费者组是否有效。仅 ResourceType=ConsumerGroup 返回;组不存在或非 active 时为 false。与配额规则 Enabled 区分,字段省略与 false 含义不同。</p>
3590
+ */
3591
+ ConsumerGroupActive?: boolean;
3592
+ /**
3593
+ * <p>配额规则中,某资源对象的指定子资源配额信息。如资源对象“模型服务”的“指定模型服务”的配额信息。</p>
3594
+ */
3595
+ SubResources?: Array<AIGWQuotaSubItem>;
3292
3596
  }
3293
3597
  /**
3294
3598
  * DescribeCloudNativeAPIGatewayMCPServer返回参数结构体
@@ -3303,6 +3607,19 @@ export interface DescribeCloudNativeAPIGatewayMCPServerResponse {
3303
3607
  */
3304
3608
  RequestId?: string;
3305
3609
  }
3610
+ /**
3611
+ * 返回kong的服务和路由列表
3612
+ */
3613
+ export interface KongServiceWithRoutes {
3614
+ /**
3615
+ * 服务及路由列表
3616
+ */
3617
+ ServiceList?: Array<KongServiceRoute>;
3618
+ /**
3619
+ * 总数
3620
+ */
3621
+ TotalCount?: number;
3622
+ }
3306
3623
  /**
3307
3624
  * 缓存感知路由
3308
3625
  */
@@ -3433,9 +3750,18 @@ export interface AIGWLLMTokenUsageStatisticsResult {
3433
3750
  */
3434
3751
  Currency?: string;
3435
3752
  /**
3436
- * <p>查询时间范围内成本最高的消费者</p>
3753
+ * <p>未传 Dimension 时返回原消费者排行;传入 Dimension 时为 []。ConsumerGroup 汇总不逐组拆分。</p>
3437
3754
  */
3438
3755
  TopConsumers?: Array<AIGWTopConsumersItem>;
3756
+ /**
3757
+ * <p>查询时间范围内原始 total_tokens 累计</p>
3758
+ */
3759
+ TotalTokens?: number;
3760
+ /**
3761
+ * <p>组织归属是否不完整。网关版本不低于 3.9.8,使用 ConsumerGroup 维度或 ConsumerGroupId / ConsumerGroupName 筛选时返回,其余请求省略。true 表示时间及业务筛选范围内存在组归属未知的日志;检查不受组筛选条件遮蔽,空结果也执行检查。组范围统计仅计入可归因日志。</p>
3762
+ 注意:此字段可能返回 null,表示取不到有效值。
3763
+ */
3764
+ OrgAttributionIncomplete?: boolean;
3439
3765
  }
3440
3766
  /**
3441
3767
  * CreateCloudNativeAPIGatewayConsumer请求参数结构体
@@ -3457,6 +3783,22 @@ export interface CreateCloudNativeAPIGatewayConsumerRequest {
3457
3783
  * <p>消费者描述。最长 200 字符。</p>
3458
3784
  */
3459
3785
  Description?: string;
3786
+ /**
3787
+ * <p>调用业务来源,可选 Legacy 或 CustomOrganization;省略或空串按 Legacy。Legacy 保持原行为,CustomOrganization 用于自定义组织架构。该字段不替代鉴权,不改变资源归属,不覆盖 RequestSource。来源保存在操作记录请求内容中。</p>
3788
+ */
3789
+ OperationSource?: string;
3790
+ /**
3791
+ * <p>仅 CustomOrganization 使用 Active 或 Disabled,默认 Active。Legacy 不新增状态行为。</p>
3792
+ */
3793
+ Status?: string;
3794
+ /**
3795
+ * <p>密钥关联方式,三选一枚举。不传时兼容老逻辑(等价于 None 或 Existing,取决于是否传 SecretKeyId)</p><p>枚举值:</p><ul><li>Existing: 选择已有密钥</li><li>AutoGenerate: 自动生成并关联密钥</li><li>None: 暂不关联密钥</li></ul><p>默认值:None</p>
3796
+ */
3797
+ SecretBindType?: string;
3798
+ /**
3799
+ * <p>自动生成密钥的参数体。仅当 SecretBindType=&quot;AutoGenerate&quot; 时必填,其他分支禁止携带,否则返回 InvalidParameterValue.CreateError。</p>
3800
+ */
3801
+ AutoSecretKey?: AutoSecretKey;
3460
3802
  }
3461
3803
  /**
3462
3804
  * ModifyCloudNativeAPIGatewayMCPServerStatus请求参数结构体
@@ -3575,7 +3917,7 @@ export interface DeleteCloudNativeAPIGatewayMCPRouteRequest {
3575
3917
  */
3576
3918
  export interface DescribeCloudNativeAPIGatewayLLMModelAPIsResponse {
3577
3919
  /**
3578
- * 模型 API 列表。
3920
+ * <p>模型 API 列表。</p>
3579
3921
  */
3580
3922
  Result?: ListCloudNativeAPIGatewayLLMModelAPI;
3581
3923
  /**
@@ -3691,6 +4033,31 @@ export interface AIGWMCPRoute {
3691
4033
  */
3692
4034
  PreserveHost?: boolean;
3693
4035
  }
4036
+ /**
4037
+ * ModifyCloudNativeAPIGatewayMCPServerACL请求参数结构体
4038
+ */
4039
+ export interface ModifyCloudNativeAPIGatewayMCPServerACLRequest {
4040
+ /**
4041
+ * <p>网关实例ID</p>
4042
+ */
4043
+ GatewayId: string;
4044
+ /**
4045
+ * <p>MCP服务ID</p>
4046
+ */
4047
+ ServerId: string;
4048
+ /**
4049
+ * <p>ACL类型</p><p>枚举值:</p><ul><li>None: 不开启</li><li>Allow: 白名单</li><li>Deny: 黑名单</li></ul><p>默认值:None</p>
4050
+ */
4051
+ ACLType: string;
4052
+ /**
4053
+ * <p>需要关联的消费者ID列表</p>
4054
+ */
4055
+ ACLConsumerIds?: Array<string>;
4056
+ /**
4057
+ * <p>需要关联的消费者组ID列表</p>
4058
+ */
4059
+ ACLConsumerGroupIds?: Array<string>;
4060
+ }
3694
4061
  /**
3695
4062
  * 模型服务模型名称路由策略
3696
4063
  */
@@ -3707,6 +4074,10 @@ export interface CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy {
3707
4074
  * <p>重写模型</p>
3708
4075
  */
3709
4076
  RewriteModelName?: string;
4077
+ /**
4078
+ * <p>当前模型名称匹配路由条目中 ModelServiceId 对应的标准模型名称;为空表示未配置。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
4079
+ */
4080
+ StandardModelName?: string;
3710
4081
  }
3711
4082
  /**
3712
4083
  * DeleteCloudNativeAPIGatewayLLMModelAPI返回参数结构体
@@ -3764,13 +4135,18 @@ export interface DescribeCloudNativeAPIGatewayMCPServerListResponse {
3764
4135
  */
3765
4136
  export interface AIGWLLMTokenUsageListResult {
3766
4137
  /**
3767
- * <p>Token用量明细返回结果列表</p>
4138
+ * <p>网关版本不低于 3.9.8 且 Dimension=ConsumerGroup 时,未指定节点筛选则列出 Kong CP 当前目录的全部真实节点,包含同步、自定义、禁用及保留中的软删节点,排除合成展示节点。按当前名称、节点 UUID 升序,先分页节点再查询历史指标;无调用节点仍返回,Token 与请求数补零。节点指标包含历史下属,同一请求可计入多个组行,不能逐行相加作为网关总量。</p>
3768
4139
  */
3769
4140
  DataList?: Array<AIGWLLMTokenUsageItem>;
3770
4141
  /**
3771
- * <p>结果总数</p>
4142
+ * <p>筛选后的结果总数。新版 ConsumerGroup 查询为候选节点总数,包含无调用节点,不受 Limit / Offset 影响。</p>
3772
4143
  */
3773
4144
  TotalCount?: number;
4145
+ /**
4146
+ * <p>组织归属是否不完整。网关版本不低于 3.9.8,使用 ConsumerGroup 维度或 ConsumerGroupId / ConsumerGroupName 筛选时返回,其余请求省略。true 表示时间及业务筛选范围内存在组归属未知的日志;检查不受组筛选条件遮蔽,空结果也执行检查。组范围统计仅计入可归因日志。</p>
4147
+ 注意:此字段可能返回 null,表示取不到有效值。
4148
+ */
4149
+ OrgAttributionIncomplete?: boolean;
3774
4150
  }
3775
4151
  /**
3776
4152
  * DescribeCloudNativeAPIGatewayMCPServerAuth返回参数结构体
@@ -4047,7 +4423,7 @@ export interface DescribeCloudNativeAPIGatewayAIQuotaListRequest {
4047
4423
  */
4048
4424
  Keyword?: string;
4049
4425
  /**
4050
- * <p>过滤条件</p>
4426
+ * 可选过滤条件,不同 Name 为 AND,同一 Values 为 OR。支持 ResourceType(单值 Consumer 或 ConsumerGroup,省略默认 Consumer)、ResourceId(资源 ID,1~100 项)、ConsumerId(仅 Consumer 可用)、Source(Manual / Default / DefaultPolicy)、QuotaId、QuotaType(RequestCount / TotalToken / Cost)、PeriodUnit(Day / Week / Month / Year / Unlimit)。Values 不得为空,QuotaId、QuotaType、PeriodUnit 各为 1~100 项。ConsumerGroup 使用 ResourceId,不使用 ConsumerId;不自动展开上下级。Source 省略时排除 DefaultPolicy。
4051
4427
  */
4052
4428
  Filters?: Array<Filter>;
4053
4429
  /**
@@ -4055,6 +4431,27 @@ export interface DescribeCloudNativeAPIGatewayAIQuotaListRequest {
4055
4431
  */
4056
4432
  AlarmLevels?: Array<string>;
4057
4433
  }
4434
+ /**
4435
+ * ModifyCloudNativeAPIGatewaySecretKey请求参数结构体
4436
+ */
4437
+ export interface ModifyCloudNativeAPIGatewaySecretKeyRequest {
4438
+ /**
4439
+ * 实例 ID
4440
+ */
4441
+ GatewayId: string;
4442
+ /**
4443
+ * 密钥名字
4444
+ */
4445
+ Name: string;
4446
+ /**
4447
+ * 密钥id
4448
+ */
4449
+ SecretKeyId: string;
4450
+ /**
4451
+ * 描述,200字以内
4452
+ */
4453
+ Description?: string;
4454
+ }
4058
4455
  /**
4059
4456
  * LLM 模型服务列表
4060
4457
  */
@@ -4205,17 +4602,34 @@ export interface AIGWLLMQuotaFallbackTrigger {
4205
4602
  CheckDimension?: string;
4206
4603
  }
4207
4604
  /**
4208
- * DescribeCloudNativeAPIGatewayAIQuota请求参数结构体
4605
+ * RemoveCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
4209
4606
  */
4210
- export interface DescribeCloudNativeAPIGatewayAIQuotaRequest {
4607
+ export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
4211
4608
  /**
4212
- * <p>网关实例Id</p>
4609
+ * <p>网关实例id</p>
4213
4610
  */
4214
4611
  GatewayId: string;
4215
4612
  /**
4216
- * <p>配额 id</p>
4613
+ * <p>授权资源类型。</p><p>枚举值:</p><ul><li>ModelAPI:模型 API</li><li>MCPServer:MCP Server</li></ul>
4217
4614
  */
4218
- Id: string;
4615
+ ResourceType: string;
4616
+ /**
4617
+ * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
4618
+ */
4619
+ ResourceId: string;
4620
+ /**
4621
+ * <p>消费者组 ID 列表(每个 ID 以 cg- 开头),长度 1-10。</p>
4622
+ */
4623
+ ConsumerGroupIds: Array<string>;
4624
+ }
4625
+ /**
4626
+ * AI网关入口按模型名称路由
4627
+ */
4628
+ export interface AIGWModelNameRoute {
4629
+ /**
4630
+ * <p>模型名称和别名列表;对象存在即启用</p>
4631
+ */
4632
+ ModelNames?: Array<string>;
4219
4633
  }
4220
4634
  /**
4221
4635
  * DescribeCloudNativeAPIGatewaySecretKey请求参数结构体
@@ -4229,6 +4643,10 @@ export interface DescribeCloudNativeAPIGatewaySecretKeyRequest {
4229
4643
  * <p>密钥id</p>
4230
4644
  */
4231
4645
  SecretKeyId: string;
4646
+ /**
4647
+ * <p>可选 Boolean,默认 false。仅传 true 且返回记录 ResourceType=Consumer 时,额外返回 CredentialGenerateType、CreationSource、BatchId;省略或 false 时不返回这三个字段,原字段和返回结构保持不变。此参数只控制展示字段,不控制 Filters 是否生效。</p>
4648
+ */
4649
+ IncludeCreationInfo?: boolean;
4232
4650
  }
4233
4651
  /**
4234
4652
  * ModifyCloudNativeAPIGatewayMCPServer请求参数结构体
@@ -4286,6 +4704,10 @@ export interface ModifyCloudNativeAPIGatewayMCPServerRequest {
4286
4704
  * <p>日志配置</p>
4287
4705
  */
4288
4706
  LogConfig?: AIGWLogConfig;
4707
+ /**
4708
+ * <p>服务级参数改写配置</p>
4709
+ */
4710
+ ParamRewriteConfig?: AIGWMCPServerParamRewriteConfig;
4289
4711
  }
4290
4712
  /**
4291
4713
  * AI 网关 mcp server 下所有 tool 的 ACL 状态
@@ -4424,6 +4846,15 @@ export interface DescribeCloudNativeAPIGatewaySecretKeyValueResponse {
4424
4846
  */
4425
4847
  RequestId?: string;
4426
4848
  }
4849
+ /**
4850
+ * AI 网关 HTTP 转 MCP 请求阶段参数改写配置
4851
+ */
4852
+ export interface AIGWMCPServerRequestRewriteConfig {
4853
+ /**
4854
+ * <p>头部重写规则</p>
4855
+ */
4856
+ Headers?: Array<AIGWMCPServerParamRewriteRule>;
4857
+ }
4427
4858
  /**
4428
4859
  * AI网关授权模型访问范围
4429
4860
  */
@@ -4471,9 +4902,13 @@ export interface DeleteCloudNativeAPIGatewayConsumerRequest {
4471
4902
  */
4472
4903
  GatewayId: string;
4473
4904
  /**
4474
- * 消费者ID
4905
+ * 消费者ID<p>CustomOrganization 仅允许手工/存量消费者,拒绝目录来源、非空 SyncSourceId、Public 和只读保留对象,即使原源已删除也不借此入口清理。删除复用原依赖检查及全归属/凭证/授权清理,Legacy 原行为不变。成功响应不新增 Result。</p>
4475
4906
  */
4476
4907
  ConsumerId: string;
4908
+ /**
4909
+ * <p>调用业务来源,可选 Legacy 或 CustomOrganization;省略或空串按 Legacy。Legacy 保持原行为,CustomOrganization 用于自定义组织架构。该字段不替代鉴权,不改变资源归属,不覆盖 RequestSource。来源保存在操作记录请求内容中。</p>
4910
+ */
4911
+ OperationSource?: string;
4477
4912
  }
4478
4913
  /**
4479
4914
  * LLM-单模型内降级规则
@@ -4570,6 +5005,19 @@ export interface AIGWCustomDesensitizeRule {
4570
5005
  */
4571
5006
  Enabled: boolean;
4572
5007
  }
5008
+ /**
5009
+ * CreateCloudNativeAPIGatewaySecretKey返回参数结构体
5010
+ */
5011
+ export interface CreateCloudNativeAPIGatewaySecretKeyResponse {
5012
+ /**
5013
+ * <p>创建结果。包含成功标识与新建资源 ID。</p>
5014
+ */
5015
+ Result?: CNAPIGwCreateCommonResult;
5016
+ /**
5017
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5018
+ */
5019
+ RequestId?: string;
5020
+ }
4573
5021
  /**
4574
5022
  * kong实例的服务和路由列表
4575
5023
  */
@@ -4754,17 +5202,13 @@ export interface AIGWQueryParamCredentialConfig {
4754
5202
  ParamValue?: string;
4755
5203
  }
4756
5204
  /**
4757
- * BindCloudNativeAPIGatewaySecretKey返回参数结构体
5205
+ * 模型API请求优先级调度
4758
5206
  */
4759
- export interface BindCloudNativeAPIGatewaySecretKeyResponse {
4760
- /**
4761
- * 结果
4762
- */
4763
- Result?: boolean;
5207
+ export interface AIGWPriorityScheduleConfig {
4764
5208
  /**
4765
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5209
+ * <p>是否开启优先级调度</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
4766
5210
  */
4767
- RequestId?: string;
5211
+ Enabled?: boolean;
4768
5212
  }
4769
5213
  /**
4770
5214
  * DescribeCloudNativeAPIGatewayMCPToolList返回参数结构体
@@ -4955,6 +5399,14 @@ export interface CloudNativeAPIGatewayLLMModelService {
4955
5399
  * <p>健康检查配置</p>
4956
5400
  */
4957
5401
  HealthCheck?: AIGWLLMHealthCheckSetting;
5402
+ /**
5403
+ * <p>内容长度限制配置</p>
5404
+ */
5405
+ LengthLimitConfig?: AIGWLengthLimitConfig;
5406
+ /**
5407
+ * <p>智能负载均衡配置。</p>
5408
+ */
5409
+ SmartBalance?: AIGWSmartBalanceConfig;
4958
5410
  }
4959
5411
  /**
4960
5412
  * DeleteCloudNativeAPIGatewayConsumerGroup请求参数结构体
@@ -4965,22 +5417,26 @@ export interface DeleteCloudNativeAPIGatewayConsumerGroupRequest {
4965
5417
  */
4966
5418
  GatewayId: string;
4967
5419
  /**
4968
- * 消费者组ID
5420
+ * 消费者组ID<p>CustomOrganization 时必须为当前网关自定义部门 UUID,保留系统节点、子部门、成员与授权/MCP 依赖检查。Legacy 原 cg-* 及已有 UUID 兼容行为不变。成功响应不新增 Result。</p>
4969
5421
  */
4970
5422
  ConsumerGroupId: string;
5423
+ /**
5424
+ * <p>调用业务来源,可选 Legacy 或 CustomOrganization;省略或空串按 Legacy。Legacy 保持原行为,CustomOrganization 用于自定义组织架构。该字段不替代鉴权,不改变资源归属,不覆盖 RequestSource。来源保存在操作记录请求内容中。</p>
5425
+ */
5426
+ OperationSource?: string;
4971
5427
  }
4972
5428
  /**
4973
- * DescribeCloudNativeAPIGatewayMCPToolVersionList返回参数结构体
5429
+ * AI 网关 HTTP 转 MCP 参数改写配置
4974
5430
  */
4975
- export interface DescribeCloudNativeAPIGatewayMCPToolVersionListResponse {
5431
+ export interface AIGWMCPServerParamRewriteConfig {
4976
5432
  /**
4977
- * <p>tool版本列表</p>
5433
+ * <p>是否开启服务级参数重写</p>
4978
5434
  */
4979
- Result?: AIGWMCPToolVersionList;
5435
+ Enable?: boolean;
4980
5436
  /**
4981
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5437
+ * <p>服务级请求参数重写配置</p>
4982
5438
  */
4983
- RequestId?: string;
5439
+ Request?: AIGWMCPServerRequestRewriteConfig;
4984
5440
  }
4985
5441
  /**
4986
5442
  * 分页查询返回的mcp tool version列表
@@ -5124,29 +5580,25 @@ export interface DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest {
5124
5580
  Offset?: number;
5125
5581
  }
5126
5582
  /**
5127
- * AI网关LLM健康检查配置
5583
+ * BindCloudNativeAPIGatewaySecretKey请求参数结构体
5128
5584
  */
5129
- export interface AIGWLLMHealthCheckSetting {
5130
- /**
5131
- * <p>检查失败阈值</p>
5132
- */
5133
- HealthCheckFailThreshold: number;
5585
+ export interface BindCloudNativeAPIGatewaySecretKeyRequest {
5134
5586
  /**
5135
- * <p>检查间隔</p>
5587
+ * 网关实例id
5136
5588
  */
5137
- HealthCheckIntervalSecond: number;
5589
+ GatewayId: string;
5138
5590
  /**
5139
- * <p>检查恢复阈值</p>
5591
+ * 资源类型
5140
5592
  */
5141
- HealthCheckRecoverThreshold: number;
5593
+ ResourceType: string;
5142
5594
  /**
5143
- * <p>检查超时时间</p>
5595
+ * 资源ID,当前最多支持一个
5144
5596
  */
5145
- HealthCheckTimeout: number;
5597
+ ResourceIds: Array<string>;
5146
5598
  /**
5147
- * <p>检查路径</p>
5599
+ * 密钥id
5148
5600
  */
5149
- HealthCheckPath?: string;
5601
+ SecretKeyId: string;
5150
5602
  }
5151
5603
  /**
5152
5604
  * ModifyCloudNativeAPIGatewayMCPToolStatus请求参数结构体
@@ -5286,6 +5738,10 @@ export interface AIGWSensitiveWordRoute {
5286
5738
  * <p>路由名称路由配置</p>
5287
5739
  */
5288
5740
  ModelNameConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy>;
5741
+ /**
5742
+ * <p>敏感词路由单模型直选时的标准模型名称。仅在 Enabled=true、SelectedTypes 为空且 ModelServiceRefs 只有一个模型服务时可设置;使用 Weighted 或 ModelName 策略时应在相应配置条目中填写。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
5743
+ */
5744
+ StandardModelName?: string;
5289
5745
  }
5290
5746
  /**
5291
5747
  * aksk类型密钥
@@ -5437,6 +5893,10 @@ export interface ModifyCloudNativeAPIGatewayLLMModelServiceRequest {
5437
5893
  * <p>负载均衡配置</p>
5438
5894
  */
5439
5895
  LoadBalanceConfig?: AIGWLoadBalanceConfig;
5896
+ /**
5897
+ * <p>智能负载均衡配置</p>
5898
+ */
5899
+ SmartBalance?: AIGWSmartBalanceConfig;
5440
5900
  }
5441
5901
  /**
5442
5902
  * DeleteCloudNativeAPIGatewayAIServiceSource请求参数结构体
@@ -5507,17 +5967,21 @@ export interface CreateCloudNativeAPIGatewayLLMModelAPIResponse {
5507
5967
  RequestId?: string;
5508
5968
  }
5509
5969
  /**
5510
- * CreateCloudNativeAPIGatewaySecretKey返回参数结构体
5970
+ * AI 网关 MCP Server 网关验签配置
5511
5971
  */
5512
- export interface CreateCloudNativeAPIGatewaySecretKeyResponse {
5972
+ export interface AIGWGatewayVerifyConfig {
5513
5973
  /**
5514
- * <p>创建结果。包含成功标识与新建资源 ID。</p>
5974
+ * <p>是否开启网关验签</p>
5515
5975
  */
5516
- Result?: CNAPIGwCreateCommonResult;
5976
+ Enable?: boolean;
5517
5977
  /**
5518
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5978
+ * <p>网关验签类型</p><p>枚举值:</p><ul><li>OAuth: OAuth2</li></ul>
5519
5979
  */
5520
- RequestId?: string;
5980
+ VerifyType?: string;
5981
+ /**
5982
+ * <p>OAuth2验签配置</p>
5983
+ */
5984
+ OAuthConfig?: AIGWGatewayVerifyOAuthConfig;
5521
5985
  }
5522
5986
  /**
5523
5987
  * DescribeCloudNativeAPIGatewayMCPServerAuth请求参数结构体
@@ -5629,6 +6093,10 @@ export interface ModifyCloudNativeAPIGatewayLLMModelAPIRequest {
5629
6093
  * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
5630
6094
  */
5631
6095
  MatchHeaders?: Array<AIGWKVMatch>;
6096
+ /**
6097
+ * <p>按请求体顶层 model 字段匹配模型 API 的全量最终态配置。要保留现值必须提交完整对象;省略或 null 表示清空。</p>
6098
+ */
6099
+ ModelNameRoute?: AIGWModelNameRoute;
5632
6100
  /**
5633
6101
  * <p>是否启用跨服务 Fallback。</p>
5634
6102
  */
@@ -5653,6 +6121,14 @@ export interface ModifyCloudNativeAPIGatewayLLMModelAPIRequest {
5653
6121
  * <p>敏感词路由配置</p>
5654
6122
  */
5655
6123
  SensitiveWordRoute?: AIGWSensitiveWordRoute;
6124
+ /**
6125
+ * <p>请求优先级配置</p>
6126
+ */
6127
+ PriorityScheduleConfig?: AIGWPriorityScheduleConfig;
6128
+ /**
6129
+ * <p>单模型 API 的顶层标准模型名称。不传保留原值,传空字符串清空,传非空字符串设置新值;仅单模型场景可设置。已配置顶层标准模型名时,需先清空该字段再切换多模型路由。仅对应 TIONE 模型服务时可配置。非空值最长 256 字节,支持中文、英文、数字、下划线和短横线,须以中文、英文或数字开头。同一网关内不同模型 API 不得使用相同的标准模型名称;同一模型 API 内同一模型服务在多处配置时须保持一致。</p>
6130
+ */
6131
+ StandardModelName?: string;
5656
6132
  }
5657
6133
  /**
5658
6134
  * CAM类型密钥
@@ -5762,6 +6238,14 @@ export interface AIGWMCPServer {
5762
6238
  * <p>日志采集配置</p>
5763
6239
  */
5764
6240
  LogConfig?: AIGWLogConfig;
6241
+ /**
6242
+ * <p>服务级参数重写规则</p>
6243
+ */
6244
+ ParamRewriteConfig?: AIGWMCPServerParamRewriteConfig;
6245
+ /**
6246
+ * <p>网关验签配置</p>
6247
+ */
6248
+ GatewayVerifyConfig?: AIGWGatewayVerifyConfig;
5765
6249
  }
5766
6250
  /**
5767
6251
  * DescribeCloudNativeAPIGatewayLLMTokenUsageList返回参数结构体