tencentcloud-sdk-nodejs 4.1.300 → 4.1.301

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 (81) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/ags/v20250920/ags_client.js +37 -19
  3. package/es/services/bdrc/index.js +4 -0
  4. package/es/services/bdrc/v20260330/bdrc_client.js +234 -0
  5. package/es/services/bdrc/v20260330/bdrc_models.js +1 -0
  6. package/es/services/bdrc/v20260330/index.js +6 -0
  7. package/es/services/csip/v20221121/csip_client.js +186 -24
  8. package/es/services/index.js +1 -0
  9. package/es/services/iotexplorer/v20190423/iotexplorer_client.js +37 -10
  10. package/es/services/monitor/v20180724/monitor_client.js +20 -8
  11. package/es/services/monitor/v20230616/monitor_client.js +77 -8
  12. package/es/services/redis/v20180412/redis_client.js +7 -4
  13. package/es/services/waf/v20180125/waf_client.js +6 -0
  14. package/package.json +2 -3
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +1 -1
  18. package/tencentcloud/services/ags/v20250920/ags_client.d.ts +47 -23
  19. package/tencentcloud/services/ags/v20250920/ags_client.js +69 -33
  20. package/tencentcloud/services/ags/v20250920/ags_models.d.ts +412 -110
  21. package/tencentcloud/services/bdrc/index.d.ts +6 -0
  22. package/tencentcloud/services/bdrc/index.js +7 -0
  23. package/tencentcloud/services/bdrc/v20260330/bdrc_client.d.ts +314 -0
  24. package/tencentcloud/services/bdrc/v20260330/bdrc_client.js +487 -0
  25. package/tencentcloud/services/bdrc/v20260330/bdrc_models.d.ts +4803 -0
  26. package/tencentcloud/services/bdrc/v20260330/bdrc_models.js +18 -0
  27. package/tencentcloud/services/bdrc/v20260330/index.d.ts +6 -0
  28. package/tencentcloud/services/bdrc/v20260330/index.js +10 -0
  29. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +5 -5
  30. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +12 -12
  31. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +7 -8
  32. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +17 -19
  33. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -12
  34. package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +1 -1
  35. package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +996 -570
  36. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +241 -25
  37. package/tencentcloud/services/csip/v20221121/csip_client.js +360 -36
  38. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +3862 -753
  39. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
  40. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +32 -2
  41. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +42 -37
  42. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +126 -33
  43. package/tencentcloud/services/es/v20180416/es_models.d.ts +8 -0
  44. package/tencentcloud/services/es/v20250101/es_models.d.ts +14 -14
  45. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +8 -2
  46. package/tencentcloud/services/ess/v20201111/ess_client.js +8 -2
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -4
  48. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -4
  49. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  50. package/tencentcloud/services/index.d.ts +1 -0
  51. package/tencentcloud/services/index.js +8 -6
  52. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +47 -11
  53. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +69 -15
  54. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +648 -181
  55. package/tencentcloud/services/kms/v20190118/kms_models.d.ts +27 -27
  56. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +25 -9
  57. package/tencentcloud/services/monitor/v20180724/monitor_client.js +36 -12
  58. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +860 -513
  59. package/tencentcloud/services/monitor/v20230616/monitor_client.d.ts +101 -9
  60. package/tencentcloud/services/monitor/v20230616/monitor_client.js +150 -12
  61. package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +1921 -463
  62. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +39 -25
  63. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +5 -1
  64. package/tencentcloud/services/rce/v20260130/rce_client.d.ts +2 -2
  65. package/tencentcloud/services/rce/v20260130/rce_client.js +2 -2
  66. package/tencentcloud/services/rce/v20260130/rce_models.d.ts +6 -6
  67. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +9 -5
  68. package/tencentcloud/services/redis/v20180412/redis_client.js +12 -6
  69. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +108 -86
  70. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +39 -10
  71. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +29 -34
  72. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +20 -8
  73. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +11 -11
  74. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -54
  75. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
  76. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +616 -205
  77. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +11 -2
  78. package/tencentcloud/services/waf/v20180125/waf_client.js +14 -1
  79. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +155 -58
  80. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +8 -0
  81. package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +42 -14
@@ -167,6 +167,19 @@ export interface Metadata {
167
167
  */
168
168
  Value?: string;
169
169
  }
170
+ /**
171
+ * AI网关 Basic Auth 凭证物料配置
172
+ */
173
+ export interface AIGWBasicCredentialConfig {
174
+ /**
175
+ * <p>用户名</p>
176
+ */
177
+ Username?: string;
178
+ /**
179
+ * <p>密码</p>
180
+ */
181
+ Password?: string;
182
+ }
170
183
  /**
171
184
  * RemoveCloudNativeAPIGatewayConsumerGroupAuth返回参数结构体
172
185
  */
@@ -177,17 +190,17 @@ export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse {
177
190
  RequestId?: string;
178
191
  }
179
192
  /**
180
- * DescribeUpstreamHealthCheckConfig请求参数结构体
193
+ * AI 网关Rerank场景最大文档数限制配置
181
194
  */
182
- export interface DescribeUpstreamHealthCheckConfigRequest {
195
+ export interface AIGWRerankMaxDocumentsConfig {
183
196
  /**
184
- * 网关ID
197
+ * <p>是否开启最大文档数限制</p><p>枚举值:</p><ul><li>true: 开启最大文档数限制</li><li>false: 关闭最大文档数限制</li></ul>
185
198
  */
186
- GatewayId: string;
199
+ EnableMaxDocuments: boolean;
187
200
  /**
188
- * 网关服务名称
201
+ * <p>最大文档数限制</p><p>取值范围:[1, 5000]</p>
189
202
  */
190
- Name: string;
203
+ MaxDocumentValue?: number;
191
204
  }
192
205
  /**
193
206
  * Key/Value结构
@@ -241,21 +254,29 @@ export interface CreateNativeGatewayServerGroupRequest {
241
254
  */
242
255
  export interface DescribeCloudNativeAPIGatewayCertificatesRequest {
243
256
  /**
244
- * 网关ID
257
+ * <p>网关ID</p>
245
258
  */
246
259
  GatewayId: string;
247
260
  /**
248
- * 列表数量
261
+ * <p>列表数量</p>
249
262
  */
250
263
  Limit?: number;
251
264
  /**
252
- * 列表offset
265
+ * <p>列表offset</p>
253
266
  */
254
267
  Offset?: number;
255
268
  /**
256
- * 过滤条件,多个过滤条件之间是与的关系,支持BindDomain ,Name
269
+ * <p>过滤条件,多个过滤条件之间是与的关系,支持BindDomain ,Name</p>
257
270
  */
258
271
  Filters?: Array<ListFilter>;
272
+ /**
273
+ * <p>证书类型</p><p>枚举值:</p><ul><li>SVR: 服务证书</li><li>CA: CA证书</li></ul>
274
+ */
275
+ CertType?: string;
276
+ /**
277
+ * <p>证书用途</p><p>枚举值:</p><ul><li>SERVER: 用作服务端证书</li><li>CLIENT: 用作客户端证书</li></ul>
278
+ */
279
+ CertUsage?: string;
259
280
  }
260
281
  /**
261
282
  * DeleteGovernanceLaneGroups返回参数结构体
@@ -305,59 +326,26 @@ export interface CloseWafProtectionRequest {
305
326
  List?: Array<string>;
306
327
  }
307
328
  /**
308
- * 泳道组
329
+ * DescribeWafProtection请求参数结构体
309
330
  */
310
- export interface DeleteGovernanceLaneGroup {
311
- /**
312
- * 泳道名称
313
- 注意:此字段可能返回 null,表示取不到有效值。
314
- */
315
- Name: string;
316
- /**
317
- * 泳道组ID
318
- 注意:此字段可能返回 null,表示取不到有效值。
319
- */
320
- ID?: string;
321
- /**
322
- * 泳道入口服务列表
323
- 注意:此字段可能返回 null,表示取不到有效值。
324
- */
325
- TrafficEntries?: Array<LaneTrafficEntry>;
326
- /**
327
- * 泳道服务列表
328
- 注意:此字段可能返回 null,表示取不到有效值。
329
- */
330
- Destinations?: Array<GovernanceServiceDestination>;
331
- /**
332
- * 泳道组描述
333
- 注意:此字段可能返回 null,表示取不到有效值。
334
- */
335
- Description?: string;
336
- /**
337
- * 规则内容摘要
338
- 注意:此字段可能返回 null,表示取不到有效值。
339
- */
340
- Revision?: string;
341
- /**
342
- * 创建时间
343
- 注意:此字段可能返回 null,表示取不到有效值。
344
- */
345
- CreateTime?: string;
331
+ export interface DescribeWafProtectionRequest {
346
332
  /**
347
- * 修改时间
348
- 注意:此字段可能返回 null,表示取不到有效值。
333
+ * 网关ID
349
334
  */
350
- ModifyTime?: string;
335
+ GatewayId: string;
351
336
  /**
352
- * 规则一致性状态
353
- 注意:此字段可能返回 null,表示取不到有效值。
337
+ * 防护资源的类型。
338
+ - Global 实例
339
+ - Service 服务
340
+ - Route 路由
341
+ - Object 对象
342
+ * @deprecated
354
343
  */
355
- Consistency?: string;
344
+ Type?: string;
356
345
  /**
357
- * 泳道规则列表
358
- 注意:此字段可能返回 null,表示取不到有效值。
346
+ * 防护资源类型列表,支持查询多个类型(Global、Service、Route、Object)。为空时,默认查询Global类型。
359
347
  */
360
- Rules?: Array<GovernanceLaneRule>;
348
+ TypeList?: Array<string>;
361
349
  }
362
350
  /**
363
351
  * DescribeCloudNativeAPIGatewayNodes返回参数结构体
@@ -501,6 +489,14 @@ export interface ModifyCloudNativeAPIGatewayLLMModelServiceRequest {
501
489
  * <p>外部服务来源ID</p>
502
490
  */
503
491
  ExternalInstanceId?: string;
492
+ /**
493
+ * <p>自定义供应商名称</p><p>仅当Provider值为&quot;custom&quot;时允许填写</p>
494
+ */
495
+ CustomProviderName?: string;
496
+ /**
497
+ * <p>负载均衡配置</p>
498
+ */
499
+ LoadBalanceConfig?: AIGWLoadBalanceConfig;
504
500
  }
505
501
  /**
506
502
  * 分组列表
@@ -940,57 +936,65 @@ export interface CreateCloudNativeAPIGatewayLLMModelAPIRequest {
940
936
  */
941
937
  GatewayId: string;
942
938
  /**
943
- * <p>模型 API 名称,最长 60 字符。同一网关下唯一。</p>
939
+ * <p>AI 网关 LLM 模型 API 的唯一标识名称,格式规则:2-50 字符,支持中英文大小写、数字及分隔符(“-”、“_”),不能以数字和分隔符开头,不能以分隔符结尾。</p>
944
940
  */
945
941
  Name: string;
946
942
  /**
947
- * <p>业务场景。</p><p>枚举值:</p><ul><li>Chat:聊天</li><li>Image:图像(需要网关版本 ≥ 3.9.3)</li></ul>
943
+ * <p>选择业务场景, 选项:Chat(聊天)。</p>
948
944
  */
949
945
  SceneType: string;
950
946
  /**
951
- * <p>请求协议(小写)。当前仅支持:</p><ul><li>openai</li></ul>
947
+ * <p>业务场景对应的请求协议,选项:OpenAI(目前只支持 OpenAI)。</p>
952
948
  */
953
949
  RequestProtocol: string;
954
950
  /**
955
- * <p>关联的模型服务 ID 列表,长度 1-10。</p><p>注:字段名建议改为 ModelServiceIds,当前保留用于兼容。</p>
951
+ * <p>初始化关联的模型服务列表。</p>
956
952
  */
957
953
  ListModelServiceId: Array<string>;
958
954
  /**
959
- * <p>路由列表,至少 1 条。每条包含 Methods/Paths/Hosts 等 Kong 路由属性。</p>
955
+ * <p>路由列表</p>
960
956
  */
961
957
  RouteList: Array<DefaultKongRoute>;
962
958
  /**
963
- * <p>统一前缀路径(可选)。例如 /v1/openai。</p>
959
+ * <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
964
960
  */
965
961
  BasePath?: string;
966
962
  /**
967
- * <p>模型 API 描述。最长 200 字符。</p>
963
+ * <p>模型 API 的相关描述。</p>
968
964
  */
969
965
  Description?: string;
970
966
  /**
971
- * <p>多模型服务路由策略。ListModelServiceId 多于 1 项时必填。</p>
967
+ * <p>模型服务路由策略(是指如何路由到模型服务)</p>
972
968
  */
973
969
  ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
974
970
  /**
975
- * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
971
+ * <p>路由 Header 匹配规则</p>
976
972
  */
977
973
  MatchHeaders?: Array<AIGWKVMatch>;
978
974
  /**
979
- * <p>是否启用跨服务 Fallback。开启后需提供 CrossServiceFallbackConfig。</p>
975
+ * <p>跨服务 fallback 开关</p>
980
976
  */
981
977
  EnableCrossServiceFallback?: boolean;
982
978
  /**
983
- * <p>跨服务 Fallback 配置。EnableCrossServiceFallback=true 时必填。</p>
979
+ * <p>跨服务 fallback 配置</p>
984
980
  */
985
981
  CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
986
982
  /**
987
- * <p>标签过滤策略。需要网关版本 ≥ 3.9.4。</p>
983
+ * <p>标签</p>
988
984
  */
989
985
  TagFilter?: AIGWTagFilter;
990
986
  /**
991
- * <p>日志输出配置(请求/响应 payload 落 LLM Log)。需要网关版本 ≥ 3.9.4。</p>
987
+ * <p>模型 API 日志配置。未传时使用默认日志配置。</p>
992
988
  */
993
989
  LogConfig?: AIGWLogConfig;
990
+ /**
991
+ * <p>Rerank场景最大文档数限制</p>
992
+ */
993
+ MaxDocumentsConfig?: AIGWRerankMaxDocumentsConfig;
994
+ /**
995
+ * <p>敏感词路由配置</p>
996
+ */
997
+ SensitiveWordRoute?: AIGWSensitiveWordRoute;
994
998
  }
995
999
  /**
996
1000
  * 服务实例组
@@ -1055,13 +1059,17 @@ export interface KongServiceWithRoutes {
1055
1059
  */
1056
1060
  export interface CreateCloudNativeAPIGatewayConsumerRequest {
1057
1061
  /**
1058
- * 网关实例id
1062
+ * <p>网关实例id</p>
1059
1063
  */
1060
1064
  GatewayId: string;
1061
1065
  /**
1062
1066
  * <p>消费者名称,最长 60 字符。同一网关下唯一。</p>
1063
1067
  */
1064
1068
  Name: string;
1069
+ /**
1070
+ * <p>消费者优先级,默认medium</p><p>枚举值:</p><ul><li>Low: 低优先级</li><li>Medium: 中优先级</li><li>High: 高优先级</li></ul>
1071
+ */
1072
+ Priority?: string;
1065
1073
  /**
1066
1074
  * <p>消费者描述。最长 200 字符。</p>
1067
1075
  */
@@ -1164,6 +1172,22 @@ export interface CloudNativeAPIGatewayLLMModelAPI {
1164
1172
  * <p>转发脱敏规则</p>
1165
1173
  */
1166
1174
  ForwardDesensitizeConfig?: AIGWForwardDesensitizeConfig;
1175
+ /**
1176
+ * <p>Rerank场景最大文档数限制配置</p>
1177
+ */
1178
+ MaxDocumentsConfig?: AIGWRerankMaxDocumentsConfig;
1179
+ /**
1180
+ * <p>敏感词路由配置</p>
1181
+ */
1182
+ SensitiveWordRoute?: AIGWSensitiveWordRoute;
1183
+ /**
1184
+ * <p>消费者组的授权模型范围</p>
1185
+ */
1186
+ ConsumerGroupModelScopes?: Array<AIGWAuthModelScopeItem>;
1187
+ /**
1188
+ * <p>继承自消费者组的授权模型范围</p>
1189
+ */
1190
+ ConsumerInheritModelScope?: AIGWConsumerModelScope;
1167
1191
  }
1168
1192
  /**
1169
1193
  * DeleteGovernanceNamespaces返回参数结构体
@@ -1408,23 +1432,23 @@ export interface DeleteCloudNativeAPIGatewayRouteResponse {
1408
1432
  RequestId?: string;
1409
1433
  }
1410
1434
  /**
1411
- * AI 网关 B 层日志脱敏配置(写入 LLM Log 前对 payload 掩码)
1435
+ * AI 网关日志脱敏配置
1412
1436
  */
1413
1437
  export interface AIGWLogDesensitizeConfig {
1414
1438
  /**
1415
- * <p>日志脱敏开关</p>
1439
+ * <p>日志脱敏配置总开关</p>
1416
1440
  */
1417
1441
  Enabled: boolean;
1418
1442
  /**
1419
- * <p>预定义规则类型</p><p>枚举值:</p><ul><li>Phone: 电话号码</li><li>IdCard: 身份证号</li><li>BankCard: 银行卡号</li><li>Email: 邮箱地址</li><li>IP: IP地址</li><li>Name: 姓名</li></ul>
1443
+ * <p>内置规则类型:PhoneIdCardBankCardEmailIPName</p>
1420
1444
  */
1421
1445
  PredefinedRuleTypes?: Array<string>;
1422
1446
  /**
1423
- * <p>自定义脱敏规则</p>
1447
+ * <p>自定义规则,最多 20 条</p>
1424
1448
  */
1425
1449
  CustomRules?: Array<AIGWCustomDesensitizeRule>;
1426
1450
  /**
1427
- * <p>日志脱敏范围</p><p>枚举值:</p><ul><li>Request: 请求</li><li>Response: 响应</li></ul>
1451
+ * <p>脱敏方向:RequestResponse;为空时默认两者</p>
1428
1452
  */
1429
1453
  Scope?: Array<string>;
1430
1454
  }
@@ -2009,6 +2033,19 @@ export interface CreateCloudNativeAPIGatewayPublicNetworkResponse {
2009
2033
  */
2010
2034
  RequestId?: string;
2011
2035
  }
2036
+ /**
2037
+ * DescribeUpstreamHealthCheckConfig请求参数结构体
2038
+ */
2039
+ export interface DescribeUpstreamHealthCheckConfigRequest {
2040
+ /**
2041
+ * 网关ID
2042
+ */
2043
+ GatewayId: string;
2044
+ /**
2045
+ * 网关服务名称
2046
+ */
2047
+ Name: string;
2048
+ }
2012
2049
  /**
2013
2050
  * ModifyGovernanceServices请求参数结构体
2014
2051
  */
@@ -2445,26 +2482,59 @@ export interface DescribeAutoScalerResourceStrategyBindingGroupsRequest {
2445
2482
  Limit?: number;
2446
2483
  }
2447
2484
  /**
2448
- * DescribeWafProtection请求参数结构体
2485
+ * 泳道组
2449
2486
  */
2450
- export interface DescribeWafProtectionRequest {
2487
+ export interface DeleteGovernanceLaneGroup {
2451
2488
  /**
2452
- * 网关ID
2489
+ * 泳道名称
2490
+ 注意:此字段可能返回 null,表示取不到有效值。
2453
2491
  */
2454
- GatewayId: string;
2492
+ Name: string;
2455
2493
  /**
2456
- * 防护资源的类型。
2457
- - Global 实例
2458
- - Service 服务
2459
- - Route 路由
2460
- - Object 对象
2461
- * @deprecated
2494
+ * 泳道组ID
2495
+ 注意:此字段可能返回 null,表示取不到有效值。
2462
2496
  */
2463
- Type?: string;
2497
+ ID?: string;
2464
2498
  /**
2465
- * 防护资源类型列表,支持查询多个类型(Global、Service、Route、Object)。为空时,默认查询Global类型。
2499
+ * 泳道入口服务列表
2500
+ 注意:此字段可能返回 null,表示取不到有效值。
2466
2501
  */
2467
- TypeList?: Array<string>;
2502
+ TrafficEntries?: Array<LaneTrafficEntry>;
2503
+ /**
2504
+ * 泳道服务列表
2505
+ 注意:此字段可能返回 null,表示取不到有效值。
2506
+ */
2507
+ Destinations?: Array<GovernanceServiceDestination>;
2508
+ /**
2509
+ * 泳道组描述
2510
+ 注意:此字段可能返回 null,表示取不到有效值。
2511
+ */
2512
+ Description?: string;
2513
+ /**
2514
+ * 规则内容摘要
2515
+ 注意:此字段可能返回 null,表示取不到有效值。
2516
+ */
2517
+ Revision?: string;
2518
+ /**
2519
+ * 创建时间
2520
+ 注意:此字段可能返回 null,表示取不到有效值。
2521
+ */
2522
+ CreateTime?: string;
2523
+ /**
2524
+ * 修改时间
2525
+ 注意:此字段可能返回 null,表示取不到有效值。
2526
+ */
2527
+ ModifyTime?: string;
2528
+ /**
2529
+ * 规则一致性状态
2530
+ 注意:此字段可能返回 null,表示取不到有效值。
2531
+ */
2532
+ Consistency?: string;
2533
+ /**
2534
+ * 泳道规则列表
2535
+ 注意:此字段可能返回 null,表示取不到有效值。
2536
+ */
2537
+ Rules?: Array<GovernanceLaneRule>;
2468
2538
  }
2469
2539
  /**
2470
2540
  * DescribeAutoScalerResourceStrategies请求参数结构体
@@ -3077,27 +3147,27 @@ export interface ModifyNativeGatewayServerGroupRequest {
3077
3147
  Description?: string;
3078
3148
  }
3079
3149
  /**
3080
- * AI 网关 A 层转发脱敏配置(请求转发到 LLM 供应商前对 messages 替换为占位符)
3150
+ * AI 网关转发脱敏配置
3081
3151
  */
3082
3152
  export interface AIGWForwardDesensitizeConfig {
3083
3153
  /**
3084
- * <p>转发脱敏开关</p>
3154
+ * <p>转发脱敏配置总开关</p>
3085
3155
  */
3086
3156
  Enabled: boolean;
3087
3157
  /**
3088
- * <p>预定义规则类型</p><p>枚举值:</p><ul><li>Phone: 电话号码</li><li>IdCard: 身份证号</li><li>BankCard: 银行卡号</li><li>Email: 电子邮箱地址</li><li>IP: IP地址</li><li>Name: 姓名</li></ul>
3158
+ * <p>内置规则类型:PhoneIdCardBankCardEmailIPName</p>
3089
3159
  */
3090
3160
  PredefinedRuleTypes?: Array<string>;
3091
3161
  /**
3092
- * <p>自定义脱敏规则</p>
3162
+ * <p>自定义规则,最多 20 条</p>
3093
3163
  */
3094
3164
  CustomRules?: Array<AIGWCustomDesensitizeRule>;
3095
3165
  /**
3096
- * <p>掩码</p>
3166
+ * <p>内置规则占位符格式,最长 32;为空时默认 [{type}]</p>
3097
3167
  */
3098
3168
  PlaceholderFormat?: string;
3099
3169
  /**
3100
- * <p>脱敏异常处理</p><p>枚举值:</p><ul><li>Reject 拒绝请求</li><li>Skip: 跳过</li></ul>
3170
+ * <p>脱敏失败处理:Reject(拒绝请求)或 Skip(跳过脱敏并转发)</p>
3101
3171
  */
3102
3172
  OnFailure?: string;
3103
3173
  }
@@ -3927,13 +3997,49 @@ export interface CNAPIGwSecretKey {
3927
3997
  * <p>secret key provider方</p><p>枚举值:</p><ul><li>Dify: Dify</li></ul>
3928
3998
  */
3929
3999
  Provider?: string;
4000
+ /**
4001
+ * <p>AK/SK凭证配置</p>
4002
+ */
4003
+ AKSKCredentialConfig?: AIGWAKSKCredentialConfig;
4004
+ /**
4005
+ * <p>CAM凭证配置</p>
4006
+ */
4007
+ CAMCredentialConfig?: AIGWCAMCredentialConfig;
4008
+ /**
4009
+ * <p>Bearer Token凭证配置</p>
4010
+ */
4011
+ BearerTokenCredentialConfig?: AIGWBearerTokenCredentialConfig;
4012
+ /**
4013
+ * <p>Basic Auth凭证配置</p>
4014
+ */
4015
+ BasicCredentialConfig?: AIGWBasicCredentialConfig;
4016
+ /**
4017
+ * <p>自定义Header凭证配置</p>
4018
+ */
4019
+ CustomHeaderCredentialConfig?: AIGWCustomHeaderCredentialConfig;
4020
+ /**
4021
+ * <p>自定义Query参数凭证配置</p>
4022
+ */
4023
+ QueryParamCredentialConfig?: AIGWQueryParamCredentialConfig;
4024
+ /**
4025
+ * <p>同步状态</p>
4026
+ */
4027
+ SyncStatus?: string;
4028
+ /**
4029
+ * <p>来源类型</p>
4030
+ */
4031
+ SourceType?: string;
4032
+ /**
4033
+ * <p>已同步版本</p>
4034
+ */
4035
+ SyncedVersion?: string;
3930
4036
  }
3931
4037
  /**
3932
4038
  * ModifyCloudNativeAPIGatewayLLMModelAPI返回参数结构体
3933
4039
  */
3934
4040
  export interface ModifyCloudNativeAPIGatewayLLMModelAPIResponse {
3935
4041
  /**
3936
- * <p>是否成功。</p>
4042
+ * <p>是否成功</p>
3937
4043
  */
3938
4044
  Result?: boolean;
3939
4045
  /**
@@ -4075,45 +4181,17 @@ export interface UpdateUpstreamTargetsResponse {
4075
4181
  RequestId?: string;
4076
4182
  }
4077
4183
  /**
4078
- * 服务契约接口定义
4184
+ * AI网关自定义 Header 凭证配置
4079
4185
  */
4080
- export interface GovernanceInterfaceDescription {
4081
- /**
4082
- * 契约接口ID
4083
- */
4084
- ID?: string;
4085
- /**
4086
- * 方法名称
4087
- */
4088
- Method?: string;
4089
- /**
4090
- * 路径/接口名称
4091
- */
4092
- Path?: string;
4093
- /**
4094
- * 内容
4095
- */
4096
- Content?: string;
4097
- /**
4098
- * 创建来源
4099
- */
4100
- Source?: string;
4101
- /**
4102
- * 信息摘要
4103
- */
4104
- Revision?: string;
4105
- /**
4106
- * 创建时间
4107
- */
4108
- CreateTime?: string;
4186
+ export interface AIGWCustomHeaderCredentialConfig {
4109
4187
  /**
4110
- * 修改时间
4188
+ * <p>Header名</p>
4111
4189
  */
4112
- ModifyTime?: string;
4190
+ HeaderName?: string;
4113
4191
  /**
4114
- * 接口名称
4192
+ * <p>Header值</p>
4115
4193
  */
4116
- Name?: string;
4194
+ HeaderValue?: string;
4117
4195
  }
4118
4196
  /**
4119
4197
  * DescribeGovernanceServiceContractVersions请求参数结构体
@@ -4137,7 +4215,7 @@ export interface DescribeGovernanceServiceContractVersionsRequest {
4137
4215
  */
4138
4216
  export interface DescribeCloudNativeAPIGatewayCertificatesResponse {
4139
4217
  /**
4140
- *
4218
+ * <p>无</p>
4141
4219
  */
4142
4220
  Result?: KongCertificatesList;
4143
4221
  /**
@@ -4397,51 +4475,61 @@ export interface DescribeCloudNativeAPIGatewayConsumerResponse {
4397
4475
  */
4398
4476
  export interface KongCertificatesPreview {
4399
4477
  /**
4400
- * 证书名称
4478
+ * <p>证书名称</p>
4401
4479
  */
4402
4480
  Name?: string;
4403
4481
  /**
4404
- * Id
4482
+ * <p>Id</p>
4405
4483
  */
4406
4484
  Id?: string;
4407
4485
  /**
4408
- * 绑定的域名
4486
+ * <p>绑定的域名</p>
4409
4487
  */
4410
4488
  BindDomains?: Array<string>;
4411
4489
  /**
4412
- * 证书状态:expired(已过期)
4413
- active(生效中)
4490
+ * <p>证书状态:expired(已过期)<br> active(生效中)</p>
4414
4491
  */
4415
4492
  Status?: string;
4416
4493
  /**
4417
- * 证书pem格式
4494
+ * <p>证书pem格式</p>
4418
4495
  */
4419
4496
  Crt?: string;
4420
4497
  /**
4421
- * 证书私钥
4498
+ * <p>证书私钥</p>
4422
4499
  */
4423
4500
  Key?: string;
4424
4501
  /**
4425
- * 证书过期时间
4502
+ * <p>证书过期时间</p>
4426
4503
  */
4427
4504
  ExpireTime?: string;
4428
4505
  /**
4429
- * 证书上传时间
4506
+ * <p>证书上传时间</p>
4430
4507
  */
4431
4508
  CreateTime?: string;
4432
4509
  /**
4433
- * 证书签发时间
4510
+ * <p>证书签发时间</p>
4434
4511
  */
4435
4512
  IssueTime?: string;
4436
4513
  /**
4437
- * 证书来源:native(kong自定义证书)
4438
- ssl(ssl平台证书)
4514
+ * <p>证书来源:native(kong自定义证书)<br> ssl(ssl平台证书)</p>
4439
4515
  */
4440
4516
  CertSource?: string;
4441
4517
  /**
4442
- * ssl平台证书Id
4518
+ * <p>ssl平台证书Id</p>
4443
4519
  */
4444
4520
  CertId?: string;
4521
+ /**
4522
+ * <p>证书类型</p><p>枚举值:</p><ul><li>SVR: 服务证书</li><li>CA: CA证书</li></ul>
4523
+ */
4524
+ CertType?: string;
4525
+ /**
4526
+ * <p>证书用途</p><p>枚举值:</p><ul><li>SERVER: 用作服务端证书</li><li>CLIENT: 用作客户端证书</li></ul>
4527
+ */
4528
+ CertUsage?: string;
4529
+ /**
4530
+ * <p>证书被引用的次数</p>
4531
+ */
4532
+ ReferCount?: number;
4445
4533
  }
4446
4534
  /**
4447
4535
  * 默认kong路由,目前只在 LLM 模型 API相 关接口使用
@@ -4643,6 +4731,15 @@ export interface KongRoutePreview {
4643
4731
  */
4644
4732
  RouteSource?: string;
4645
4733
  }
4734
+ /**
4735
+ * 负载均衡配置,仅服务来源(ServiceSource,SourceId 非空)场景生效。
4736
+ */
4737
+ export interface AIGWLoadBalanceConfig {
4738
+ /**
4739
+ * <p>负载均衡算法</p>
4740
+ */
4741
+ Algorithm?: string;
4742
+ }
4646
4743
  /**
4647
4744
  * 实例地域信息描述
4648
4745
  */
@@ -4811,7 +4908,7 @@ export interface ModifyAutoScalerResourceStrategyResponse {
4811
4908
  */
4812
4909
  export interface CreateCloudNativeAPIGatewayCertificateResponse {
4813
4910
  /**
4814
- * 创建证书结果
4911
+ * <p>创建证书结果</p>
4815
4912
  */
4816
4913
  Result?: CertificateInfo;
4817
4914
  /**
@@ -4850,6 +4947,31 @@ export interface DescribeCloudNativeAPIGatewayRouteRateLimitRequest {
4850
4947
  */
4851
4948
  Id: string;
4852
4949
  }
4950
+ /**
4951
+ * AI网关LLM健康检查配置
4952
+ */
4953
+ export interface AIGWLLMHealthCheckSetting {
4954
+ /**
4955
+ * <p>检查间隔</p>
4956
+ */
4957
+ HealthCheckIntervalSecond: number;
4958
+ /**
4959
+ * <p>检查超时时间</p>
4960
+ */
4961
+ HealthCheckTimeout: number;
4962
+ /**
4963
+ * <p>检查失败阈值</p>
4964
+ */
4965
+ HealthCheckFailThreshold: number;
4966
+ /**
4967
+ * <p>检查恢复阈值</p>
4968
+ */
4969
+ HealthCheckRecoverThreshold: number;
4970
+ /**
4971
+ * <p>检查路径</p>
4972
+ */
4973
+ HealthCheckPath?: string;
4974
+ }
4853
4975
  /**
4854
4976
  * UpdateUpstreamHealthCheckConfig请求参数结构体
4855
4977
  */
@@ -4978,6 +5100,30 @@ export interface CreateCloudNativeAPIGatewaySecretKeyRequest {
4978
5100
  * <p>OIDC凭证配置</p>
4979
5101
  */
4980
5102
  OIDCCredentialConfig?: AIGWOIDCCredentialConfig;
5103
+ /**
5104
+ * <p>AK/SK凭证配置</p>
5105
+ */
5106
+ AKSKCredentialConfig?: AIGWAKSKCredentialConfig;
5107
+ /**
5108
+ * <p>CAM凭证配置</p>
5109
+ */
5110
+ CAMCredentialConfig?: AIGWCAMCredentialConfig;
5111
+ /**
5112
+ * <p>Bearer Token凭证配置</p>
5113
+ */
5114
+ BearerTokenCredentialConfig?: AIGWBearerTokenCredentialConfig;
5115
+ /**
5116
+ * <p>自定义Header凭证配置</p>
5117
+ */
5118
+ CustomHeaderCredentialConfig?: AIGWCustomHeaderCredentialConfig;
5119
+ /**
5120
+ * <p>自定义Query参数凭证配置</p>
5121
+ */
5122
+ QueryParamCredentialConfig?: AIGWQueryParamCredentialConfig;
5123
+ /**
5124
+ * <p>Basic Auth凭证配置</p>
5125
+ */
5126
+ BasicCredentialConfig?: AIGWBasicCredentialConfig;
4981
5127
  /**
4982
5128
  * <p>第三方平台类型</p><p>枚举值:</p><ul><li>Dify: Dify平台</li></ul>
4983
5129
  */
@@ -5363,28 +5509,36 @@ export interface DeleteCloudNativeAPIGatewayResponse {
5363
5509
  */
5364
5510
  export interface CreateCloudNativeAPIGatewayCertificateRequest {
5365
5511
  /**
5366
- * 网关ID
5512
+ * <p>网关ID</p>
5367
5513
  */
5368
5514
  GatewayId: string;
5369
5515
  /**
5370
- * 绑定的域名
5516
+ * <p>ssl平台证书 Id</p>
5371
5517
  */
5372
- BindDomains: Array<string>;
5518
+ CertId: string;
5373
5519
  /**
5374
- * ssl平台证书 Id
5520
+ * <p>绑定的域名</p>
5375
5521
  */
5376
- CertId: string;
5522
+ BindDomains?: Array<string>;
5377
5523
  /**
5378
- * 证书名称
5524
+ * <p>证书名称</p>
5379
5525
  */
5380
5526
  Name?: string;
5381
5527
  /**
5382
- * 证书私钥
5528
+ * <p>证书类型</p><p>枚举值:</p><ul><li>SVR: 服务证书</li><li>CA: CA证书</li></ul>
5529
+ */
5530
+ CertType?: string;
5531
+ /**
5532
+ * <p>证书用途</p><p>枚举值:</p><ul><li>SERVER: 用作服务端证书</li><li>CLIENT: 用作客户端证书</li></ul>
5533
+ */
5534
+ CertUsage?: string;
5535
+ /**
5536
+ * <p>证书私钥</p>
5383
5537
  * @deprecated
5384
5538
  */
5385
5539
  Key?: string;
5386
5540
  /**
5387
- * 证书pem格式
5541
+ * <p>证书pem格式</p>
5388
5542
  * @deprecated
5389
5543
  */
5390
5544
  Crt?: string;
@@ -5511,17 +5665,25 @@ export interface RouteWafStatus {
5511
5665
  ServiceId?: string;
5512
5666
  }
5513
5667
  /**
5514
- * ModifyGovernanceNamespaces请求参数结构体
5668
+ * AI网关授权模型访问范围
5515
5669
  */
5516
- export interface ModifyGovernanceNamespacesRequest {
5670
+ export interface AIGWAuthModelScopeItem {
5517
5671
  /**
5518
- * tse实例id。
5672
+ * <p>授权主体 ID,如消费者组、消费者</p>
5519
5673
  */
5520
- InstanceId: string;
5674
+ PrincipalId?: string;
5521
5675
  /**
5522
- * 命名空间信息。
5676
+ * <p>授权主体名称,如消费者组、消费者</p>
5523
5677
  */
5524
- GovernanceNamespaces: Array<GovernanceNamespaceInput>;
5678
+ PrincipalName?: string;
5679
+ /**
5680
+ * <p>模型范围原始配置</p>
5681
+ */
5682
+ ModelScope?: AIGWModelScope;
5683
+ /**
5684
+ * <p>MAG 已展开、保序去重后的可用模型名称列表</p>
5685
+ */
5686
+ EffectiveModelNames?: Array<string>;
5525
5687
  }
5526
5688
  /**
5527
5689
  * 微服务引擎实例的VPC信息
@@ -5849,6 +6011,42 @@ export interface CloudNativeAPIGatewayLLMModelService {
5849
6011
  * <p>外部服务来源ID</p>
5850
6012
  */
5851
6013
  ExternalInstanceId?: string;
6014
+ /**
6015
+ * <p>负载均衡配置</p>
6016
+ */
6017
+ LoadBalanceConfig?: AIGWLoadBalanceConfig;
6018
+ /**
6019
+ * <p>模型服务是否发布到广场</p><p>枚举值:</p><ul><li>Published: 已发布</li><li>Unpublished: 未发布</li></ul>
6020
+ */
6021
+ PublishStatus?: string;
6022
+ /**
6023
+ * <p>模型服务是否可以发布</p>
6024
+ */
6025
+ CanPublish?: boolean;
6026
+ /**
6027
+ * <p>同步状态</p><p>枚举值:</p><ul><li>Fail: 失败</li><li>Success: 成功</li></ul>
6028
+ */
6029
+ SyncStatus?: string;
6030
+ /**
6031
+ * <p>资源类型</p><p>枚举值:</p><ul><li>Public: 公共</li><li>Private: 私有</li><li>SourceDelete: 资源删除</li></ul>
6032
+ */
6033
+ SourceType?: string;
6034
+ /**
6035
+ * <p>同步版本</p>
6036
+ */
6037
+ SyncedVersion?: string;
6038
+ /**
6039
+ * <p>健康状态</p><p>枚举值:</p><ul><li>Error: 异常</li></ul>
6040
+ */
6041
+ Status?: string;
6042
+ /**
6043
+ * <p>是否开启健康检查</p>
6044
+ */
6045
+ EnableHealthCheck?: boolean;
6046
+ /**
6047
+ * <p>健康检查配置</p>
6048
+ */
6049
+ HealthCheck?: AIGWLLMHealthCheckSetting;
5852
6050
  }
5853
6051
  /**
5854
6052
  * DescribeCloudNativeAPIGatewayServicesLight请求参数结构体
@@ -5903,7 +6101,7 @@ export interface UpdateCloudNativeAPIGatewayCertificateInfoRequest {
5903
6101
  /**
5904
6102
  * 绑定的域名列表
5905
6103
  */
5906
- BindDomains: Array<string>;
6104
+ BindDomains?: Array<string>;
5907
6105
  /**
5908
6106
  * 证书名称
5909
6107
  */
@@ -6571,6 +6769,14 @@ export interface AIGWLogConfig {
6571
6769
  * <p>上游原始 payload access log 输出模式</p><p>枚举值:</p><ul><li>raw: access log 中 body 记录客户端原始上游响应</li><li>processed: access log 中 body 记录 AI 网关协议适配、改写、归一化后的 OpenAI-compatible 内容</li></ul>
6572
6770
  */
6573
6771
  ResponseLogPayloadMode?: string;
6772
+ /**
6773
+ * <p>请求 Body 大小裁剪策略</p><p>枚举值:</p><ul><li>Bounded: 裁剪大小</li><li>UnBounded: 不裁剪大小</li></ul>
6774
+ */
6775
+ RequestLogPayloadTruncationPolicy?: string;
6776
+ /**
6777
+ * <p>响应 Body 大小裁剪策略</p><p>枚举值:</p><ul><li>Bounded: 裁剪大小</li><li>UnBounded: 不裁剪大小</li></ul>
6778
+ */
6779
+ ResponseLogPayloadTruncationPolicy?: string;
6574
6780
  }
6575
6781
  /**
6576
6782
  * ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
@@ -6972,34 +7178,46 @@ export interface CloudNativeAPIGatewayLLMModelServiceRoute {
6972
7178
  */
6973
7179
  export interface CNAPIGwConsumerGroup {
6974
7180
  /**
6975
- * 分组id
7181
+ * <p>分组id</p>
6976
7182
  */
6977
7183
  ConsumerGroupId: string;
6978
7184
  /**
6979
- * 名字
7185
+ * <p>名字</p>
6980
7186
  */
6981
7187
  Name: string;
6982
7188
  /**
6983
- * 状态Disable/Enable
7189
+ * <p>状态Disable/Enable</p>
6984
7190
  */
6985
7191
  Status: string;
6986
7192
  /**
6987
- * 描述
7193
+ * <p>描述</p>
6988
7194
  */
6989
7195
  Description: string;
6990
7196
  /**
6991
- * 创建时间
7197
+ * <p>创建时间</p>
6992
7198
  */
6993
7199
  CreateTime?: string;
6994
7200
  /**
6995
- * 更新时间 yyyy-MM-dd hh:mm:ss
7201
+ * <p>更新时间 yyyy-MM-dd hh:mm:ss</p>
6996
7202
  */
6997
7203
  ModifyTime?: string;
6998
7204
  /**
6999
- * 绑定的消费者数量
7205
+ * <p>绑定的消费者数量</p>
7000
7206
  注意:此字段可能返回 null,表示取不到有效值。
7001
7207
  */
7002
7208
  BindCount?: number;
7209
+ /**
7210
+ * <p>同步状态</p><p>枚举值:</p><ul><li>Fail: 失败</li></ul>
7211
+ */
7212
+ SyncStatus?: string;
7213
+ /**
7214
+ * <p>资源类型</p><p>枚举值:</p><ul><li>Public: 公有</li></ul>
7215
+ */
7216
+ SourceType?: string;
7217
+ /**
7218
+ * <p>同步版本</p>
7219
+ */
7220
+ SyncedVersion?: string;
7003
7221
  }
7004
7222
  /**
7005
7223
  * 新增Location字段,展示zone/region/campus
@@ -7275,6 +7493,19 @@ export interface DescribeCloudNativeAPIGatewayServiceRateLimitResponse {
7275
7493
  */
7276
7494
  RequestId?: string;
7277
7495
  }
7496
+ /**
7497
+ * ModifyGovernanceNamespaces请求参数结构体
7498
+ */
7499
+ export interface ModifyGovernanceNamespacesRequest {
7500
+ /**
7501
+ * tse实例id。
7502
+ */
7503
+ InstanceId: string;
7504
+ /**
7505
+ * 命名空间信息。
7506
+ */
7507
+ GovernanceNamespaces: Array<GovernanceNamespaceInput>;
7508
+ }
7278
7509
  /**
7279
7510
  * ModifyGovernanceAlias返回参数结构体
7280
7511
  */
@@ -7532,6 +7763,19 @@ export interface DescribeOneCloudNativeAPIGatewayServiceRequest {
7532
7763
  */
7533
7764
  Name: string;
7534
7765
  }
7766
+ /**
7767
+ * AI网关消费者模型范围
7768
+ */
7769
+ export interface AIGWConsumerModelScope {
7770
+ /**
7771
+ * <p>消费者模型生效范围类型</p><p>枚举值:</p><ul><li>INHERIT: 继承所在消费者组的生效模型范围</li><li>ALLOWLIST: 自定义白名单,必须 ⊆ 所在组针对该资源的生效模型集合</li></ul>
7772
+ */
7773
+ ScopeType?: string;
7774
+ /**
7775
+ * <p>模型授权白名单列表</p>
7776
+ */
7777
+ AllowList?: Array<string>;
7778
+ }
7535
7779
  /**
7536
7780
  * DescribeCloudNativeAPIGatewayLLMModelAPIs返回参数结构体
7537
7781
  */
@@ -8096,6 +8340,19 @@ export interface ModifyCloudNativeAPIGatewayConsumerGroupRequest {
8096
8340
  */
8097
8341
  Description?: string;
8098
8342
  }
8343
+ /**
8344
+ * AI网关 Query Param 凭证物料配置
8345
+ */
8346
+ export interface AIGWQueryParamCredentialConfig {
8347
+ /**
8348
+ * <p>参数名</p>
8349
+ */
8350
+ ParamName?: string;
8351
+ /**
8352
+ * <p>参数值</p>
8353
+ */
8354
+ ParamValue?: string;
8355
+ }
8099
8356
  /**
8100
8357
  * DescribeCloudNativeAPIGatewayCORS返回参数结构体
8101
8358
  */
@@ -8351,25 +8608,33 @@ export interface DescribePublicAddressConfigResponse {
8351
8608
  RequestId?: string;
8352
8609
  }
8353
8610
  /**
8354
- * 私有网络信息
8611
+ * AI GW Sensitive Word Route
8355
8612
  */
8356
- export interface VpcInfo {
8613
+ export interface AIGWSensitiveWordRoute {
8357
8614
  /**
8358
- * Vpc Id
8615
+ * <p>是否开启敏感词路由</p>
8359
8616
  */
8360
- VpcId: string;
8617
+ Enabled?: boolean;
8361
8618
  /**
8362
- * 子网ID
8619
+ * <p>目标模型服务列表</p>
8363
8620
  */
8364
- SubnetId: string;
8621
+ ModelServiceRefs?: Array<string>;
8365
8622
  /**
8366
- * 内网访问地址
8623
+ * <p>目标模型服务名,查询的时候会填充</p>
8367
8624
  */
8368
- IntranetAddress?: string;
8625
+ ModelServiceNames?: Array<string>;
8369
8626
  /**
8370
- * 负载均衡均衡接入点子网ID
8627
+ * <p>路由方法</p><p>枚举值:</p><ul><li>Weighted: 权重路由</li><li>ModelName: 按模型名称路由</li></ul>
8371
8628
  */
8372
- LbSubnetId?: string;
8629
+ SelectedTypes?: Array<string>;
8630
+ /**
8631
+ * <p>权重路由配置</p>
8632
+ */
8633
+ WeightedConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy>;
8634
+ /**
8635
+ * <p>模型名称路由权重</p>
8636
+ */
8637
+ ModelNameConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy>;
8373
8638
  }
8374
8639
  /**
8375
8640
  * PublishConfigFiles请求参数结构体
@@ -8388,6 +8653,19 @@ export interface PublishConfigFilesRequest {
8388
8653
  */
8389
8654
  StrictEnable?: boolean;
8390
8655
  }
8656
+ /**
8657
+ * aksk类型密钥
8658
+ */
8659
+ export interface AIGWAKSKCredentialConfig {
8660
+ /**
8661
+ * <p>AccessKeyId</p>
8662
+ */
8663
+ AccessKeyId?: string;
8664
+ /**
8665
+ * <p>SecretAccessKey</p>
8666
+ */
8667
+ SecretAccessKey?: string;
8668
+ }
8391
8669
  /**
8392
8670
  * DescribeConfigFileReleaseHistories请求参数结构体
8393
8671
  */
@@ -8797,6 +9075,10 @@ export interface CNAPIGwConsumer {
8797
9075
  * <p>更新时间 yyyy-MM-dd hh:mm:ss</p>
8798
9076
  */
8799
9077
  ModifyTime: string;
9078
+ /**
9079
+ * <p>消费者优先级</p><p>枚举值:</p><ul><li>Low: 低优先级</li><li>Medium: 中优先级</li><li>High: 高优先级</li></ul>
9080
+ */
9081
+ Priority?: string;
8800
9082
  /**
8801
9083
  * <p>描述</p>
8802
9084
  注意:此字段可能返回 null,表示取不到有效值。
@@ -8807,6 +9089,18 @@ export interface CNAPIGwConsumer {
8807
9089
  注意:此字段可能返回 null,表示取不到有效值。
8808
9090
  */
8809
9091
  ConsumerGroups?: Array<CNAPIGwConsumerGroup>;
9092
+ /**
9093
+ * <p>同步状态</p><p>枚举值:</p><ul><li>Success: 成功</li><li>Fail: 失败</li></ul>
9094
+ */
9095
+ SyncStatus?: string;
9096
+ /**
9097
+ * <p>资源类型</p><p>枚举值:</p><ul><li>Public: 公共</li><li>Private: 私有</li><li>SourceDeleted: 已删除</li></ul>
9098
+ */
9099
+ SourceType?: string;
9100
+ /**
9101
+ * <p>同步版本</p>
9102
+ */
9103
+ SyncedVersion?: string;
8810
9104
  }
8811
9105
  /**
8812
9106
  * CreateGovernanceAlias返回参数结构体
@@ -9253,6 +9547,10 @@ export interface CreateCloudNativeAPIGatewayLLMModelServiceRequest {
9253
9547
  * <p>外部服务来源ID</p>
9254
9548
  */
9255
9549
  ExternalInstanceId?: string;
9550
+ /**
9551
+ * <p>负载均衡配置</p>
9552
+ */
9553
+ LoadBalanceConfig?: AIGWLoadBalanceConfig;
9256
9554
  }
9257
9555
  /**
9258
9556
  * DescribeNativeGatewayServiceSources请求参数结构体
@@ -9482,7 +9780,7 @@ export interface InstancePort {
9482
9780
  */
9483
9781
  export interface ModifyCloudNativeAPIGatewayConsumerRequest {
9484
9782
  /**
9485
- * 网关实例id
9783
+ * <p>网关实例id</p>
9486
9784
  */
9487
9785
  GatewayId: string;
9488
9786
  /**
@@ -9493,6 +9791,10 @@ export interface ModifyCloudNativeAPIGatewayConsumerRequest {
9493
9791
  * <p>消费者名称,最长 60 字符。</p>
9494
9792
  */
9495
9793
  Name: string;
9794
+ /**
9795
+ * <p>优先级,默认Medium</p><p>枚举值:</p><ul><li>Low: 低优先级</li><li>Medium: 中优先级</li><li>High: 高优先级</li></ul>
9796
+ */
9797
+ Priority?: string;
9496
9798
  /**
9497
9799
  * <p>消费者描述。最长 200 字符。</p>
9498
9800
  */
@@ -9733,6 +10035,44 @@ export interface CanaryPriorityRule {
9733
10035
  */
9734
10036
  CanaryRule?: CloudNativeAPIGatewayCanaryRule;
9735
10037
  }
10038
+ /**
10039
+ * AI网关模型可用范围
10040
+ */
10041
+ export interface AIGWModelScope {
10042
+ /**
10043
+ * <p>范围类型</p><p>枚举值:</p><ul><li>ALL: 允许全部访问</li><li>ALLOWLIST: 允许访问的模型列表</li><li>MAG: 模型访问组</li></ul>
10044
+ */
10045
+ ScopeType?: string;
10046
+ /**
10047
+ * <p>允许访问的模型列表,ScopeType=ALLOWLIST时设置</p>
10048
+ */
10049
+ AllowList?: Array<string>;
10050
+ /**
10051
+ * <p>模型访问组,ScopeType=MAG时设置</p>
10052
+ */
10053
+ MagRefs?: Array<string>;
10054
+ }
10055
+ /**
10056
+ * 私有网络信息
10057
+ */
10058
+ export interface VpcInfo {
10059
+ /**
10060
+ * Vpc Id
10061
+ */
10062
+ VpcId: string;
10063
+ /**
10064
+ * 子网ID
10065
+ */
10066
+ SubnetId: string;
10067
+ /**
10068
+ * 内网访问地址
10069
+ */
10070
+ IntranetAddress?: string;
10071
+ /**
10072
+ * 负载均衡均衡接入点子网ID
10073
+ */
10074
+ LbSubnetId?: string;
10075
+ }
9736
10076
  /**
9737
10077
  * 云原生API网关vpc配置。
9738
10078
  */
@@ -9973,6 +10313,15 @@ export interface DeleteCloudNativeAPIGatewayServiceRequest {
9973
10313
  */
9974
10314
  DeleteRoutes?: boolean;
9975
10315
  }
10316
+ /**
10317
+ * AI网关 Bearer Token 凭证配置
10318
+ */
10319
+ export interface AIGWBearerTokenCredentialConfig {
10320
+ /**
10321
+ * <p>Token凭证</p>
10322
+ */
10323
+ Token?: string;
10324
+ }
9976
10325
  /**
9977
10326
  * 路由规则来源服务的请求规则配置详情
9978
10327
  */
@@ -10155,18 +10504,13 @@ export interface CloseWafProtectionResponse {
10155
10504
  RequestId?: string;
10156
10505
  }
10157
10506
  /**
10158
- * CreateAutoScalerResourceStrategy返回参数结构体
10507
+ * DescribeCloudNativeAPIGatewaySecretKeyValue返回参数结构体
10159
10508
  */
10160
- export interface CreateAutoScalerResourceStrategyResponse {
10161
- /**
10162
- * 是否成功
10163
- * @deprecated
10164
- */
10165
- Result?: boolean;
10509
+ export interface DescribeCloudNativeAPIGatewaySecretKeyValueResponse {
10166
10510
  /**
10167
- * 策略Id
10511
+ * 密钥值
10168
10512
  */
10169
- StrategyId?: string;
10513
+ Result?: string;
10170
10514
  /**
10171
10515
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10172
10516
  */
@@ -10737,23 +11081,23 @@ export interface CreateAutoScalerResourceStrategyRequest {
10737
11081
  CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
10738
11082
  }
10739
11083
  /**
10740
- * AI 网关自定义脱敏规则(A 层 / B 层共用结构体,MaskFormat 含义随所属层不同)
11084
+ * AI 网关自定义脱敏规则
10741
11085
  */
10742
11086
  export interface AIGWCustomDesensitizeRule {
10743
11087
  /**
10744
- * <p>自定义脱敏规则名称</p>
11088
+ * <p>规则名称,同一配置内唯一,最长 64</p>
10745
11089
  */
10746
11090
  Name: string;
10747
11091
  /**
10748
- * <p>自定义脱敏规则匹配正则</p>
11092
+ * <p>RE2 兼容的正则表达式</p>
10749
11093
  */
10750
11094
  Pattern: string;
10751
11095
  /**
10752
- * <p>自定义脱敏规则掩码</p>
11096
+ * <p>日志场景为掩码格式,转发场景为占位符;最长 64</p>
10753
11097
  */
10754
11098
  MaskFormat: string;
10755
11099
  /**
10756
- * <p>自定义脱敏规则开关</p>
11100
+ * <p>单条自定义规则是否启用</p>
10757
11101
  */
10758
11102
  Enabled: boolean;
10759
11103
  }
@@ -10907,6 +11251,47 @@ export interface DescribeCloudNativeAPIGatewayConsumerRequest {
10907
11251
  */
10908
11252
  ConsumerId: string;
10909
11253
  }
11254
+ /**
11255
+ * 服务契约接口定义
11256
+ */
11257
+ export interface GovernanceInterfaceDescription {
11258
+ /**
11259
+ * 契约接口ID
11260
+ */
11261
+ ID?: string;
11262
+ /**
11263
+ * 方法名称
11264
+ */
11265
+ Method?: string;
11266
+ /**
11267
+ * 路径/接口名称
11268
+ */
11269
+ Path?: string;
11270
+ /**
11271
+ * 内容
11272
+ */
11273
+ Content?: string;
11274
+ /**
11275
+ * 创建来源
11276
+ */
11277
+ Source?: string;
11278
+ /**
11279
+ * 信息摘要
11280
+ */
11281
+ Revision?: string;
11282
+ /**
11283
+ * 创建时间
11284
+ */
11285
+ CreateTime?: string;
11286
+ /**
11287
+ * 修改时间
11288
+ */
11289
+ ModifyTime?: string;
11290
+ /**
11291
+ * 接口名称
11292
+ */
11293
+ Name?: string;
11294
+ }
10910
11295
  /**
10911
11296
  * 获取云原生api网关公网地址信息响应结果
10912
11297
  */
@@ -11237,13 +11622,18 @@ export interface DescribeGovernanceLaneGroupsRequest {
11237
11622
  Brief?: boolean;
11238
11623
  }
11239
11624
  /**
11240
- * DescribeCloudNativeAPIGatewaySecretKeyValue返回参数结构体
11625
+ * CreateAutoScalerResourceStrategy返回参数结构体
11241
11626
  */
11242
- export interface DescribeCloudNativeAPIGatewaySecretKeyValueResponse {
11627
+ export interface CreateAutoScalerResourceStrategyResponse {
11243
11628
  /**
11244
- * 密钥值
11629
+ * 是否成功
11630
+ * @deprecated
11245
11631
  */
11246
- Result?: string;
11632
+ Result?: boolean;
11633
+ /**
11634
+ * 策略Id
11635
+ */
11636
+ StrategyId?: string;
11247
11637
  /**
11248
11638
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11249
11639
  */
@@ -11422,45 +11812,53 @@ export interface ModifyCloudNativeAPIGatewayLLMModelAPIRequest {
11422
11812
  */
11423
11813
  ModelAPIId: string;
11424
11814
  /**
11425
- * <p>模型 API 名称,最长 60 字符。</p>
11815
+ * <p>修改模型 API 名称</p>
11426
11816
  */
11427
11817
  Name?: string;
11428
11818
  /**
11429
- * <p>统一前缀路径(可选)。例如 /v1/openai。</p>
11819
+ * <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
11430
11820
  */
11431
11821
  BasePath?: string;
11432
11822
  /**
11433
- * <p>模型 API 描述。最长 200 字符。</p>
11823
+ * <p>模型 API 的相关描述。</p>
11434
11824
  */
11435
11825
  Description?: string;
11436
11826
  /**
11437
- * <p>关联的模型服务 ID 列表,长度 1-10。</p>
11827
+ * <p>关联的模型服务列表(支持填多个模型服务)</p>
11438
11828
  */
11439
11829
  ListModelServiceId?: Array<string>;
11440
11830
  /**
11441
- * <p>多模型服务路由策略。ListModelServiceId 多于 1 项时必填。</p>
11831
+ * <p>模型服务路由策略(是指如何路由到模型服务)</p>
11442
11832
  */
11443
11833
  ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
11444
11834
  /**
11445
- * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
11835
+ * <p>headers 路由匹配</p>
11446
11836
  */
11447
11837
  MatchHeaders?: Array<AIGWKVMatch>;
11448
11838
  /**
11449
- * <p>是否启用跨服务 Fallback。</p>
11839
+ * <p>跨服务 fallback</p>
11450
11840
  */
11451
11841
  EnableCrossServiceFallback?: boolean;
11452
11842
  /**
11453
- * <p>跨服务 Fallback 配置。EnableCrossServiceFallback=true 时必填。</p>
11843
+ * <p>跨服务 fallback 配置</p>
11454
11844
  */
11455
11845
  CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
11456
11846
  /**
11457
- * <p>标签过滤策略。需要网关版本 ≥ 3.9.4。</p>
11847
+ * <p>标签</p>
11458
11848
  */
11459
11849
  TagFilter?: AIGWTagFilter;
11460
11850
  /**
11461
- * <p>日志输出配置。需要网关版本 3.9.4。</p>
11851
+ * <p>模型 API 日志配置</p>
11462
11852
  */
11463
11853
  LogConfig?: AIGWLogConfig;
11854
+ /**
11855
+ * <p>Rerank场景最大文档数配置</p>
11856
+ */
11857
+ MaxDocumentsConfig?: AIGWRerankMaxDocumentsConfig;
11858
+ /**
11859
+ * <p>敏感词路由配置</p>
11860
+ */
11861
+ SensitiveWordRoute?: AIGWSensitiveWordRoute;
11464
11862
  }
11465
11863
  /**
11466
11864
  * DescribeConfigFileRelease返回参数结构体
@@ -11496,6 +11894,19 @@ export interface DescribeWafProtectionResult {
11496
11894
  */
11497
11895
  ObjectStatus?: string;
11498
11896
  }
11897
+ /**
11898
+ * CAM类型密钥
11899
+ */
11900
+ export interface AIGWCAMCredentialConfig {
11901
+ /**
11902
+ * <p>SecretId</p>
11903
+ */
11904
+ SecretId?: string;
11905
+ /**
11906
+ * <p>SecretKey</p>
11907
+ */
11908
+ SecretKey?: string;
11909
+ }
11499
11910
  /**
11500
11911
  * CreateCloudNativeAPIGatewaySecretKey返回参数结构体
11501
11912
  */