tencentcloud-sdk-nodejs-tse 4.1.237 → 4.1.240

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.
@@ -120,6 +120,27 @@ export interface DescribeCloudNativeAPIGatewayUpstreamRequest {
120
120
  */
121
121
  ServiceName: string;
122
122
  }
123
+ /**
124
+ * AI 网关意图路由配置
125
+ */
126
+ export interface AIGWIntentRoute {
127
+ /**
128
+ * <p>意图识别模型id</p>
129
+ */
130
+ IntentModelServiceId: string;
131
+ /**
132
+ * <p>置信度</p>
133
+ */
134
+ ConfidenceThreshold: number;
135
+ /**
136
+ * <p>默认服务id</p>
137
+ */
138
+ DefaultModelServiceId: string;
139
+ /**
140
+ * <p>规则</p>
141
+ */
142
+ Rules?: Array<AIGWIntentRouteRule>;
143
+ }
123
144
  /**
124
145
  * 元数据信息
125
146
  */
@@ -423,6 +444,14 @@ export interface ModifyCloudNativeAPIGatewayLLMModelServiceRequest {
423
444
  * <p>SNI</p>
424
445
  */
425
446
  SNI?: string;
447
+ /**
448
+ * <p>模型服务级别的配额上限(RPM/TPM)。需要网关版本 ≥ 3.9.4。</p>
449
+ */
450
+ QuotaLimit?: AIGWLLMQuotaLimit;
451
+ /**
452
+ * <p>标签</p>
453
+ */
454
+ Tags?: Array<string>;
426
455
  }
427
456
  /**
428
457
  * 分组列表
@@ -833,49 +862,57 @@ export interface CreateCloudNativeAPIGatewayLLMModelAPIRequest {
833
862
  */
834
863
  GatewayId: string;
835
864
  /**
836
- * <p>AI 网关 LLM 模型 API 的唯一标识名称,格式规则:最长60个字符,支持中英文大小写、数字及分隔符(“-”、“_”),不能以数字和分隔符开头,不能以分隔符结尾。</p>
865
+ * <p>模型 API 名称,最长 60 字符。同一网关下唯一。</p>
837
866
  */
838
867
  Name: string;
839
868
  /**
840
- * <p>选择业务场景, 选项:Chat(聊天)。</p>
869
+ * <p>业务场景。</p><p>枚举值:</p><ul><li>Chat:聊天</li><li>Image:图像(需要网关版本 ≥ 3.9.3)</li></ul>
841
870
  */
842
871
  SceneType: string;
843
872
  /**
844
- * <p>业务场景对应的请求协议,选项:OpenAI(目前只支持 OpenAI)。</p>
873
+ * <p>请求协议(小写)。当前仅支持:</p><ul><li>openai</li></ul>
845
874
  */
846
875
  RequestProtocol: string;
847
876
  /**
848
- * <p>初始化关联的模型服务列表。</p>
877
+ * <p>关联的模型服务 ID 列表,长度 1-10。</p><p>注:字段名建议改为 ModelServiceIds,当前保留用于兼容。</p>
849
878
  */
850
879
  ListModelServiceId: Array<string>;
851
880
  /**
852
- * <p>路由列表</p>
881
+ * <p>路由列表,至少 1 条。每条包含 Methods/Paths/Hosts 等 Kong 路由属性。</p>
853
882
  */
854
883
  RouteList: Array<DefaultKongRoute>;
855
884
  /**
856
- * <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
885
+ * <p>统一前缀路径(可选)。例如 /v1/openai。</p>
857
886
  */
858
887
  BasePath?: string;
859
888
  /**
860
- * <p>模型 API 的相关描述。</p>
889
+ * <p>模型 API 描述。最长 200 字符。</p>
861
890
  */
862
891
  Description?: string;
863
892
  /**
864
- * <p>模型服务路由策略(是指如何路由到模型服务)</p>
893
+ * <p>多模型服务路由策略。ListModelServiceId 多于 1 项时必填。</p>
865
894
  */
866
895
  ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
867
896
  /**
868
- * <p>路由 Header 匹配规则</p>
897
+ * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
869
898
  */
870
899
  MatchHeaders?: Array<AIGWKVMatch>;
871
900
  /**
872
- * <p>跨服务 fallback 开关</p>
901
+ * <p>是否启用跨服务 Fallback。开启后需提供 CrossServiceFallbackConfig。</p>
873
902
  */
874
903
  EnableCrossServiceFallback?: boolean;
875
904
  /**
876
- * <p>跨服务 fallback 配置</p>
905
+ * <p>跨服务 Fallback 配置。EnableCrossServiceFallback=true 时必填。</p>
877
906
  */
878
907
  CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
908
+ /**
909
+ * <p>标签过滤策略。需要网关版本 ≥ 3.9.4。</p>
910
+ */
911
+ TagFilter?: AIGWTagFilter;
912
+ /**
913
+ * <p>日志输出配置(请求/响应 payload 落 LLM Log)。需要网关版本 ≥ 3.9.4。</p>
914
+ */
915
+ LogConfig?: AIGWLogConfig;
879
916
  }
880
917
  /**
881
918
  * 服务实例组
@@ -902,15 +939,15 @@ export interface GovernanceServiceDestination {
902
939
  */
903
940
  export interface DescribeCloudNativeAPIGatewayConsumerListRequest {
904
941
  /**
905
- * 网关实例id
942
+ * <p>网关实例id</p>
906
943
  */
907
944
  GatewayId: string;
908
945
  /**
909
- * 页显示条数,最大20
946
+ * <p>每页条数,范围 [1, 100],默认 20。</p>
910
947
  */
911
948
  Limit: number;
912
949
  /**
913
- * 起始位置
950
+ * <p>起始位置,从 0 开始。</p>
914
951
  */
915
952
  Offset: number;
916
953
  }
@@ -923,11 +960,11 @@ export interface CreateCloudNativeAPIGatewayConsumerRequest {
923
960
  */
924
961
  GatewayId: string;
925
962
  /**
926
- * 消费者名称
963
+ * <p>消费者名称,最长 60 字符。同一网关下唯一。</p>
927
964
  */
928
965
  Name: string;
929
966
  /**
930
- * 消费者描述
967
+ * <p>消费者描述。最长 200 字符。</p>
931
968
  */
932
969
  Description?: string;
933
970
  }
@@ -1012,6 +1049,22 @@ export interface CloudNativeAPIGatewayLLMModelAPI {
1012
1049
  * <p>是否展示模型API</p>
1013
1050
  */
1014
1051
  DescribeCloudNativeAPIGatewayLLMModelAPI?: boolean;
1052
+ /**
1053
+ * <p>标签</p>
1054
+ */
1055
+ TagFilter?: AIGWTagFilter;
1056
+ /**
1057
+ * <p>日志显示相关开关</p>
1058
+ */
1059
+ LogConfig?: AIGWLogConfig;
1060
+ /**
1061
+ * <p>日志脱敏规则</p>
1062
+ */
1063
+ LogDesensitizeConfig?: AIGWLogDesensitizeConfig;
1064
+ /**
1065
+ * <p>转发脱敏规则</p>
1066
+ */
1067
+ ForwardDesensitizeConfig?: AIGWForwardDesensitizeConfig;
1015
1068
  }
1016
1069
  /**
1017
1070
  * DeleteGovernanceNamespaces返回参数结构体
@@ -1254,12 +1307,33 @@ export interface DeleteCloudNativeAPIGatewayRouteResponse {
1254
1307
  */
1255
1308
  RequestId?: string;
1256
1309
  }
1310
+ /**
1311
+ * AI 网关 B 层日志脱敏配置(写入 LLM Log 前对 payload 掩码)
1312
+ */
1313
+ export interface AIGWLogDesensitizeConfig {
1314
+ /**
1315
+ * <p>日志脱敏开关</p>
1316
+ */
1317
+ Enabled: boolean;
1318
+ /**
1319
+ * <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>
1320
+ */
1321
+ PredefinedRuleTypes?: Array<string>;
1322
+ /**
1323
+ * <p>自定义脱敏规则</p>
1324
+ */
1325
+ CustomRules?: Array<AIGWCustomDesensitizeRule>;
1326
+ /**
1327
+ * <p>日志脱敏范围</p><p>枚举值:</p><ul><li>Request: 请求</li><li>Response: 响应</li></ul>
1328
+ */
1329
+ Scope?: Array<string>;
1330
+ }
1257
1331
  /**
1258
1332
  * DeleteCloudNativeAPIGatewayLLMModelService返回参数结构体
1259
1333
  */
1260
1334
  export interface DeleteCloudNativeAPIGatewayLLMModelServiceResponse {
1261
1335
  /**
1262
- * 是否成功
1336
+ * <p>是否成功。</p>
1263
1337
  */
1264
1338
  Result?: boolean;
1265
1339
  /**
@@ -1280,6 +1354,19 @@ export interface DeleteCloudNativeAPIGatewayServiceRateLimitRequest {
1280
1354
  */
1281
1355
  Name: string;
1282
1356
  }
1357
+ /**
1358
+ * AI 网关意图路由规则
1359
+ */
1360
+ export interface AIGWIntentRouteRule {
1361
+ /**
1362
+ * <p>意图编码</p><p>枚举值:</p><ul><li>Coder: 代码编写</li><li>Math: 数学计算</li><li>Translation: 翻译</li><li>Flash: 快速问答</li><li>Complex: 复杂推理</li></ul>
1363
+ */
1364
+ IntentCode?: string;
1365
+ /**
1366
+ * <p>模型服务id</p>
1367
+ */
1368
+ ModelServiceId?: string;
1369
+ }
1283
1370
  /**
1284
1371
  * 灰度规则列表
1285
1372
  */
@@ -1992,21 +2079,41 @@ export interface UnbindAutoScalerResourceStrategyFromGroupsRequest {
1992
2079
  GroupIds: Array<string>;
1993
2080
  }
1994
2081
  /**
1995
- * 配置文件持久化
2082
+ * 公网负载均衡配置
1996
2083
  */
1997
- export interface ConfigFilePersistent {
2084
+ export interface InternetConfig {
1998
2085
  /**
1999
- * 文件编码
2086
+ * 公网地址版本,可选:"IPV4" | "IPV6" 。不填默认 IPV4 。
2000
2087
  */
2001
- Encoding?: string;
2088
+ InternetAddressVersion?: string;
2002
2089
  /**
2003
- * 文件下发路径
2090
+ * 公网付费类型,当前仅可选:"BANDWIDTH"。不填默认为 "BANDWIDTH"
2004
2091
  */
2005
- Path?: string;
2092
+ InternetPayMode?: string;
2006
2093
  /**
2007
- * 文件后置命令
2094
+ * 公网带宽。
2008
2095
  */
2009
- PostCmd?: string;
2096
+ InternetMaxBandwidthOut?: number;
2097
+ /**
2098
+ * 负载均衡描述
2099
+ */
2100
+ Description?: string;
2101
+ /**
2102
+ * 负载均衡的规格类型,支持clb.c2.medium、clb.c3.small、clb.c3.medium、clb.c4.small、clb.c4.medium、clb.c4.large、clb.c4.xlarge,不传为共享型。
2103
+ */
2104
+ SlaType?: string;
2105
+ /**
2106
+ * 负载均衡是否多可用区
2107
+ */
2108
+ MultiZoneFlag?: boolean;
2109
+ /**
2110
+ * 主可用区
2111
+ */
2112
+ MasterZoneId?: string;
2113
+ /**
2114
+ * 备可用区
2115
+ */
2116
+ SlaveZoneId?: string;
2010
2117
  }
2011
2118
  /**
2012
2119
  * DeleteCloudNativeAPIGatewayPublicNetwork请求参数结构体
@@ -2441,41 +2548,21 @@ export interface GovernanceInstanceUpdate {
2441
2548
  Metadatas?: Array<Metadata>;
2442
2549
  }
2443
2550
  /**
2444
- * 公网负载均衡配置
2551
+ * 配置文件持久化
2445
2552
  */
2446
- export interface InternetConfig {
2447
- /**
2448
- * 公网地址版本,可选:"IPV4" | "IPV6" 。不填默认 IPV4 。
2449
- */
2450
- InternetAddressVersion?: string;
2451
- /**
2452
- * 公网付费类型,当前仅可选:"BANDWIDTH"。不填默认为 "BANDWIDTH"
2453
- */
2454
- InternetPayMode?: string;
2455
- /**
2456
- * 公网带宽。
2457
- */
2458
- InternetMaxBandwidthOut?: number;
2459
- /**
2460
- * 负载均衡描述
2461
- */
2462
- Description?: string;
2463
- /**
2464
- * 负载均衡的规格类型,支持clb.c2.medium、clb.c3.small、clb.c3.medium、clb.c4.small、clb.c4.medium、clb.c4.large、clb.c4.xlarge,不传为共享型。
2465
- */
2466
- SlaType?: string;
2553
+ export interface ConfigFilePersistent {
2467
2554
  /**
2468
- * 负载均衡是否多可用区
2555
+ * 文件编码
2469
2556
  */
2470
- MultiZoneFlag?: boolean;
2557
+ Encoding?: string;
2471
2558
  /**
2472
- * 主可用区
2559
+ * 文件下发路径
2473
2560
  */
2474
- MasterZoneId?: string;
2561
+ Path?: string;
2475
2562
  /**
2476
- * 备可用区
2563
+ * 文件后置命令
2477
2564
  */
2478
- SlaveZoneId?: string;
2565
+ PostCmd?: string;
2479
2566
  }
2480
2567
  /**
2481
2568
  * kong后端upstream列表
@@ -2724,7 +2811,7 @@ export interface DescribeSREInstancesResponse {
2724
2811
  */
2725
2812
  export interface DescribeCloudNativeAPIGatewayConsumerGroupResponse {
2726
2813
  /**
2727
- * 删除结果
2814
+ * <p>消费者组详情。</p>
2728
2815
  */
2729
2816
  Result?: CNAPIGwConsumerGroup;
2730
2817
  /**
@@ -2828,6 +2915,31 @@ export interface ModifyNativeGatewayServerGroupRequest {
2828
2915
  */
2829
2916
  Description?: string;
2830
2917
  }
2918
+ /**
2919
+ * AI 网关 A 层转发脱敏配置(请求转发到 LLM 供应商前对 messages 替换为占位符)
2920
+ */
2921
+ export interface AIGWForwardDesensitizeConfig {
2922
+ /**
2923
+ * <p>转发脱敏开关</p>
2924
+ */
2925
+ Enabled: boolean;
2926
+ /**
2927
+ * <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>
2928
+ */
2929
+ PredefinedRuleTypes?: Array<string>;
2930
+ /**
2931
+ * <p>自定义脱敏规则</p>
2932
+ */
2933
+ CustomRules?: Array<AIGWCustomDesensitizeRule>;
2934
+ /**
2935
+ * <p>掩码</p>
2936
+ */
2937
+ PlaceholderFormat?: string;
2938
+ /**
2939
+ * <p>脱敏异常处理</p><p>枚举值:</p><ul><li>Reject: 拒绝请求</li><li>Skip: 跳过</li></ul>
2940
+ */
2941
+ OnFailure?: string;
2942
+ }
2831
2943
  /**
2832
2944
  * ModifyConsoleNetwork返回参数结构体
2833
2945
  */
@@ -3109,7 +3221,7 @@ export interface UpdateEngineInternetAccessRequest {
3109
3221
  */
3110
3222
  export interface DescribeCloudNativeAPIGatewayConsumerGroupListResponse {
3111
3223
  /**
3112
- * 修改结果
3224
+ * <p>分组列表</p>
3113
3225
  */
3114
3226
  Result?: CNAPIGwConsumerGroupList;
3115
3227
  /**
@@ -3359,11 +3471,11 @@ export interface ListCloudNativeAPIGatewayStrategyResult {
3359
3471
  */
3360
3472
  export interface CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy {
3361
3473
  /**
3362
- * 模型服务id
3474
+ * <p>模型服务id</p>
3363
3475
  */
3364
3476
  ModelServiceId: string;
3365
3477
  /**
3366
- * 权重值
3478
+ * <p>权重值</p>
3367
3479
  */
3368
3480
  Weight: number;
3369
3481
  }
@@ -3372,7 +3484,7 @@ export interface CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy {
3372
3484
  */
3373
3485
  export interface AddCloudNativeAPIGatewayConsumerInGroupResponse {
3374
3486
  /**
3375
- * 添加结果
3487
+ * <p>是否成功。</p>
3376
3488
  */
3377
3489
  Result?: boolean;
3378
3490
  /**
@@ -3380,6 +3492,19 @@ export interface AddCloudNativeAPIGatewayConsumerInGroupResponse {
3380
3492
  */
3381
3493
  RequestId?: string;
3382
3494
  }
3495
+ /**
3496
+ * AI网关标签过滤
3497
+ */
3498
+ export interface AIGWTagFilter {
3499
+ /**
3500
+ * <p>匹配策略</p><p>枚举值:</p><ul><li>AND: 并</li><li>OR: 或</li></ul>
3501
+ */
3502
+ MatchStrategy?: string;
3503
+ /**
3504
+ * <p>标签</p>
3505
+ */
3506
+ Tags?: Array<string>;
3507
+ }
3383
3508
  /**
3384
3509
  * 治理中心服务入参
3385
3510
  */
@@ -3557,67 +3682,63 @@ export interface ModifyNativeGatewayServiceSourceRequest {
3557
3682
  */
3558
3683
  export interface CNAPIGwSecretKey {
3559
3684
  /**
3560
- * 密钥id
3685
+ * <p>密钥id</p>
3561
3686
  */
3562
3687
  SecretKeyId?: string;
3563
3688
  /**
3564
- * 密钥名字
3689
+ * <p>密钥名字</p>
3565
3690
  */
3566
3691
  Name?: string;
3567
3692
  /**
3568
- * 密钥类型:ApiKey/JWT
3693
+ * <p>密钥协议类型。</p>
3569
3694
  */
3570
3695
  SecretType?: string;
3571
3696
  /**
3572
- * 状态:
3573
- - Enable: 启用
3574
- - Disable: 禁用
3697
+ * <p>状态。</p><p>枚举值:</p><ul><li>Enable: 启用</li><li>Disable: 禁用</li></ul>
3575
3698
  */
3576
3699
  Status?: string;
3577
3700
  /**
3578
- * 生成方式:KMS/System/Custom
3701
+ * <p>密钥生成方式。</p><p>枚举值:</p><ul><li>System: 系统自动生成</li><li>Custom: 用户自定义</li><li>KMS: 使用 KMS 密钥</li></ul>
3579
3702
  */
3580
3703
  GenerateType?: string;
3581
3704
  /**
3582
- * 密钥值
3705
+ * <p>密钥明文</p>
3583
3706
  */
3584
3707
  SecretValue?: string;
3585
3708
  /**
3586
- * KMS凭证名字
3709
+ * <p>KMS凭证名字</p>
3587
3710
  注意:此字段可能返回 null,表示取不到有效值。
3588
3711
  */
3589
3712
  KmsKeyName?: string;
3590
3713
  /**
3591
- * KMS凭证版本
3714
+ * <p>KMS凭证版本</p>
3592
3715
  注意:此字段可能返回 null,表示取不到有效值。
3593
3716
  */
3594
3717
  KmsKeyVersion?: string;
3595
3718
  /**
3596
- * 描述
3719
+ * <p>描述</p>
3597
3720
  注意:此字段可能返回 null,表示取不到有效值。
3598
3721
  */
3599
3722
  Description?: string;
3600
3723
  /**
3601
- * 是否可以绑定
3724
+ * <p>是否可以绑定</p>
3602
3725
  注意:此字段可能返回 null,表示取不到有效值。
3603
3726
  */
3604
3727
  CanBind?: boolean;
3605
3728
  /**
3606
- * 创建时间
3729
+ * <p>创建时间</p>
3607
3730
  */
3608
3731
  CreateTime?: string;
3609
3732
  /**
3610
- * 修改时间
3733
+ * <p>修改时间</p>
3611
3734
  */
3612
3735
  ModifyTime?: string;
3613
3736
  /**
3614
- * 绑定数
3737
+ * <p>绑定数</p>
3615
3738
  */
3616
3739
  BindCount?: number;
3617
3740
  /**
3618
- * 资源类型:
3619
- - Consumer 消费者
3620
- - LLM 模型服务
3741
+ * <p>密钥归属资源类型。</p><p>枚举值:</p><ul><li>Consumer: 消费者</li><li>ModelService: 模型服务</li></ul>
3621
3742
  */
3622
3743
  ResourceType?: string;
3623
3744
  }
@@ -3626,7 +3747,7 @@ export interface CNAPIGwSecretKey {
3626
3747
  */
3627
3748
  export interface ModifyCloudNativeAPIGatewayLLMModelAPIResponse {
3628
3749
  /**
3629
- * <p>是否成功</p>
3750
+ * <p>是否成功。</p>
3630
3751
  */
3631
3752
  Result?: boolean;
3632
3753
  /**
@@ -3720,11 +3841,11 @@ export interface RemoveCloudNativeAPIGatewayConsumerInGroupRequest {
3720
3841
  */
3721
3842
  GatewayId: string;
3722
3843
  /**
3723
- * 消费者组ID
3844
+ * <p>消费者组 ID(以 cg- 开头)。</p>
3724
3845
  */
3725
3846
  ConsumerGroupId: string;
3726
3847
  /**
3727
- * 消费者ID列表
3848
+ * <p>消费者 ID 列表,长度 1-10。</p>
3728
3849
  */
3729
3850
  ConsumerIds: Array<string>;
3730
3851
  }
@@ -3867,15 +3988,15 @@ export interface SourceInfo {
3867
3988
  */
3868
3989
  export interface ModifyCloudNativeAPIGatewaySecretKeyStatusRequest {
3869
3990
  /**
3870
- * 实例 ID
3991
+ * <p>实例 ID</p>
3871
3992
  */
3872
3993
  GatewayId: string;
3873
3994
  /**
3874
- * 密钥名字
3995
+ * <p>密钥状态。</p><p>枚举值:</p><ul><li>Enable:启用</li><li>Disable:禁用</li></ul>
3875
3996
  */
3876
3997
  Status: string;
3877
3998
  /**
3878
- * 密钥id
3999
+ * <p>密钥 ID(以 secret- 开头)。</p>
3879
4000
  */
3880
4001
  SecretKeyId: string;
3881
4002
  }
@@ -4003,37 +4124,17 @@ export interface CreateCloudNativeAPIGatewayRouteRateLimitRequest {
4003
4124
  LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
4004
4125
  }
4005
4126
  /**
4006
- * 多环境网络信息
4127
+ * DeleteGovernanceAliases返回参数结构体
4007
4128
  */
4008
- export interface EnvAddressInfo {
4009
- /**
4010
- * 环境名
4011
- */
4012
- EnvName?: string;
4013
- /**
4014
- * 是否开启config公网
4015
- */
4016
- EnableConfigInternet?: boolean;
4017
- /**
4018
- * config公网ip
4019
- */
4020
- ConfigInternetServiceIp?: string;
4021
- /**
4022
- * config内网访问地址
4023
- */
4024
- ConfigIntranetAddress?: string;
4025
- /**
4026
- * 是否开启config内网clb
4027
- */
4028
- EnableConfigIntranet?: boolean;
4129
+ export interface DeleteGovernanceAliasesResponse {
4029
4130
  /**
4030
- * 客户端公网带宽
4131
+ * 创建是否成功。
4031
4132
  */
4032
- InternetBandWidth?: number;
4133
+ Result?: boolean;
4033
4134
  /**
4034
- * 客户端公网CLB多可用区信息
4135
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4035
4136
  */
4036
- CLBMultiRegion?: CLBMultiRegion;
4137
+ RequestId?: string;
4037
4138
  }
4038
4139
  /**
4039
4140
  * ModifyCloudNativeAPIGatewayRoute返回参数结构体
@@ -4049,7 +4150,7 @@ export interface ModifyCloudNativeAPIGatewayRouteResponse {
4049
4150
  */
4050
4151
  export interface DescribeCloudNativeAPIGatewayConsumerResponse {
4051
4152
  /**
4052
- * 删除结果
4153
+ * <p>消费者详情</p>
4053
4154
  */
4054
4155
  Result?: CNAPIGwConsumer;
4055
4156
  /**
@@ -4588,48 +4689,35 @@ export interface CreateCloudNativeAPIGatewaySecretKeyRequest {
4588
4689
  */
4589
4690
  GatewayId: string;
4590
4691
  /**
4591
- * 密钥类型: ApiKey
4692
+ * <p>密钥协议类型。</p><p>枚举值:</p><ul><li>ApiKey</li><li>Basic</li><li>Hmac</li><li>OAuth2</li><li>JWT</li></ul>
4592
4693
  */
4593
4694
  SecretType: string;
4594
4695
  /**
4595
- * 密钥名字
4696
+ * <p>密钥名称,2-60 字符。</p>
4596
4697
  */
4597
4698
  Name: string;
4598
4699
  /**
4599
- * 生成方式:
4600
-
4601
- 密钥类型 Consumer 时选项:
4602
-
4603
- - KMS
4604
- - System 系统
4605
- - Custom  自定义
4606
-
4607
- 密钥类型是 LLM 时选项
4608
-
4609
- - KMS
4610
- - Custom  自定义
4700
+ * <p>密钥生成方式。</p><p>枚举值:</p><ul><li>System:系统自动生成</li><li>Custom:用户自定义(需传 SecretValue)</li><li>KMS:使用 KMS 密钥(需传 KmsKeyName 与 KmsKeyVersion)</li></ul>
4611
4701
  */
4612
4702
  GenerateType: string;
4613
4703
  /**
4614
- * 资源类型:
4615
- - Consumer 消费者
4616
- - LLM 模型服务
4704
+ * <p>密钥归属资源类型。</p><p>枚举值:</p><ul><li>Consumer:消费者</li><li>ModelService:模型服务</li></ul>
4617
4705
  */
4618
4706
  ResourceType: string;
4619
4707
  /**
4620
- * KMS 的凭证名字, GenerateType 时 kms 必填
4708
+ * <p>KMS 密钥名称。GenerateType=KMS 时必填。</p>
4621
4709
  */
4622
4710
  KmsKeyName?: string;
4623
4711
  /**
4624
- * KMS 的凭证版本, GenerateType 时 kms 必填
4712
+ * <p>KMS 密钥版本。GenerateType=KMS 时必填。</p>
4625
4713
  */
4626
4714
  KmsKeyVersion?: string;
4627
4715
  /**
4628
- * GenerateType 等于 Custom 是必填
4716
+ * <p>密钥值,长度 8-256。GenerateType=Custom 时必填。</p>
4629
4717
  */
4630
4718
  SecretValue?: string;
4631
4719
  /**
4632
- * 描述
4720
+ * <p>密钥描述。最长 200 字符。</p>
4633
4721
  */
4634
4722
  Description?: string;
4635
4723
  }
@@ -5413,6 +5501,18 @@ export interface CloudNativeAPIGatewayLLMModelService {
5413
5501
  * <p>sni</p>
5414
5502
  */
5415
5503
  SNI?: string;
5504
+ /**
5505
+ * <p>配额限制</p>
5506
+ */
5507
+ QuotaLimit?: AIGWLLMQuotaLimit;
5508
+ /**
5509
+ * <p>标签</p>
5510
+ */
5511
+ Tags?: string;
5512
+ /**
5513
+ * <p>绑定的模型服务秘钥</p>
5514
+ */
5515
+ SecretKeyIds?: Array<string>;
5416
5516
  }
5417
5517
  /**
5418
5518
  * DescribeCloudNativeAPIGatewayServicesLight请求参数结构体
@@ -5587,21 +5687,19 @@ export interface CreateNativeGatewayServerGroupResponse {
5587
5687
  */
5588
5688
  export interface AddCloudNativeAPIGatewayConsumerGroupAuthRequest {
5589
5689
  /**
5590
- * 网关实例id
5690
+ * <p>网关实例id</p>
5591
5691
  */
5592
5692
  GatewayId: string;
5593
5693
  /**
5594
- * 资源类型:
5595
-
5596
- - ModelAPI: 模型API
5694
+ * <p>授权资源类型。</p><p>枚举值:</p><ul><li>ModelAPI:模型 API</li><li>MCPServer:MCP Server</li></ul>
5597
5695
  */
5598
5696
  ResourceType: string;
5599
5697
  /**
5600
- * 对应资源的id
5698
+ * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
5601
5699
  */
5602
5700
  ResourceId: string;
5603
5701
  /**
5604
- * 资源ID
5702
+ * <p>消费者组 ID 列表(每个 ID 以 cg- 开头),长度 1-10。</p>
5605
5703
  */
5606
5704
  ConsumerGroupIds: Array<string>;
5607
5705
  }
@@ -5968,6 +6066,15 @@ export interface DescribeCloudNativeAPIGatewaySecretKeyValueRequest {
5968
6066
  */
5969
6067
  SecretKeyId: string;
5970
6068
  }
6069
+ /**
6070
+ * AI 网关延迟优先路由模型服务
6071
+ */
6072
+ export interface AIGWLatencyPriorityRouteRule {
6073
+ /**
6074
+ * <p>模型服务id</p>
6075
+ */
6076
+ ModelServiceId: string;
6077
+ }
5971
6078
  /**
5972
6079
  * ModifyConfigFiles返回参数结构体
5973
6080
  */
@@ -5986,7 +6093,7 @@ export interface ModifyConfigFilesResponse {
5986
6093
  */
5987
6094
  export interface DescribeCloudNativeAPIGatewaySecretKeyResponse {
5988
6095
  /**
5989
- * 允许的操作
6096
+ * <p>密钥详情。</p>
5990
6097
  */
5991
6098
  Result?: CNAPIGwSecretKey;
5992
6099
  /**
@@ -6054,7 +6161,7 @@ export interface DescribeConfigFileReleaseVersionsRequest {
6054
6161
  */
6055
6162
  export interface DescribeCloudNativeAPIGatewaySecretKeyListResponse {
6056
6163
  /**
6057
- * 允许的操作
6164
+ * <p>密钥列表</p>
6058
6165
  */
6059
6166
  Result?: CNAPIGwSecretKeyList;
6060
6167
  /**
@@ -6088,20 +6195,39 @@ export interface CreateCloudNativeAPIGatewayConsumerGroupRequest {
6088
6195
  */
6089
6196
  GatewayId: string;
6090
6197
  /**
6091
- * 消费者组名称
6198
+ * <p>消费者组名称,最长 60 字符。同一网关下唯一。</p>
6092
6199
  */
6093
6200
  Name: string;
6094
6201
  /**
6095
- * 状态:
6096
- - Enable 启用
6097
- - Disable 禁用
6202
+ * <p>启用状态。</p><p>枚举值:</p><ul><li>Enable:启用</li><li>Disable:禁用</li></ul>
6098
6203
  */
6099
6204
  Status: string;
6100
6205
  /**
6101
- * 消费者组描述
6206
+ * <p>消费者组描述。最长 200 字符。</p>
6102
6207
  */
6103
6208
  Description?: string;
6104
6209
  }
6210
+ /**
6211
+ * AI 网关日志输出配置
6212
+ */
6213
+ export interface AIGWLogConfig {
6214
+ /**
6215
+ * <p>是否开启请求 payload 记录日志</p>
6216
+ */
6217
+ EnableRequestLogPayloads?: boolean;
6218
+ /**
6219
+ * <p>是否开启响应 payload 记录日志</p>
6220
+ */
6221
+ EnableResponseLogPayloads?: boolean;
6222
+ /**
6223
+ * <p>日志记录的请求body的最大字节数</p><p>取值范围:[512, 1048576]</p><p>EnableRequestLogPayloads 为true时必填</p>
6224
+ */
6225
+ RequestLogPayloadMaxSize?: number;
6226
+ /**
6227
+ * <p>日志记录的响应body的最大字节数</p><p>取值范围:[512, 1048576]</p><p>EnableResponseLogPayloads 为true时必填</p>
6228
+ */
6229
+ ResponseLogPayloadMaxSize?: number;
6230
+ }
6105
6231
  /**
6106
6232
  * ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
6107
6233
  */
@@ -6205,36 +6331,56 @@ export interface ModifyCloudNativeAPIGatewayCertificateRequest {
6205
6331
  CertSource?: string;
6206
6332
  }
6207
6333
  /**
6208
- * DeleteGovernanceAliases返回参数结构体
6334
+ * 多环境网络信息
6209
6335
  */
6210
- export interface DeleteGovernanceAliasesResponse {
6336
+ export interface EnvAddressInfo {
6211
6337
  /**
6212
- * 创建是否成功。
6338
+ * 环境名
6213
6339
  */
6214
- Result?: boolean;
6340
+ EnvName?: string;
6215
6341
  /**
6216
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6342
+ * 是否开启config公网
6217
6343
  */
6218
- RequestId?: string;
6219
- }
6220
- /**
6221
- * 治理中心服务信息。
6222
- */
6223
- export interface GovernanceService {
6344
+ EnableConfigInternet?: boolean;
6224
6345
  /**
6225
- * <p>服务名称。</p>
6346
+ * config公网ip
6226
6347
  */
6227
- Name?: string;
6348
+ ConfigInternetServiceIp?: string;
6228
6349
  /**
6229
- * <p>命名空间名称。</p>
6350
+ * config内网访问地址
6230
6351
  */
6231
- Namespace?: string;
6352
+ ConfigIntranetAddress?: string;
6232
6353
  /**
6233
- * <p>元数据信息数组。</p>
6354
+ * 是否开启config内网clb
6234
6355
  */
6235
- Metadatas?: Array<Metadata>;
6356
+ EnableConfigIntranet?: boolean;
6236
6357
  /**
6237
- * <p>描述信息。</p>
6358
+ * 客户端公网带宽
6359
+ */
6360
+ InternetBandWidth?: number;
6361
+ /**
6362
+ * 客户端公网CLB多可用区信息
6363
+ */
6364
+ CLBMultiRegion?: CLBMultiRegion;
6365
+ }
6366
+ /**
6367
+ * 治理中心服务信息。
6368
+ */
6369
+ export interface GovernanceService {
6370
+ /**
6371
+ * <p>服务名称。</p>
6372
+ */
6373
+ Name?: string;
6374
+ /**
6375
+ * <p>命名空间名称。</p>
6376
+ */
6377
+ Namespace?: string;
6378
+ /**
6379
+ * <p>元数据信息数组。</p>
6380
+ */
6381
+ Metadatas?: Array<Metadata>;
6382
+ /**
6383
+ * <p>描述信息。</p>
6238
6384
  */
6239
6385
  Comment?: string;
6240
6386
  /**
@@ -6328,11 +6474,11 @@ export interface DeleteAutoScalerResourceStrategyRequest {
6328
6474
  */
6329
6475
  export interface DescribeCloudNativeAPIGatewayConsumerGroupRequest {
6330
6476
  /**
6331
- * 网关实例id
6477
+ * <p>网关实例id</p>
6332
6478
  */
6333
6479
  GatewayId: string;
6334
6480
  /**
6335
- * 消费者组ID
6481
+ * <p>消费者组ID</p>
6336
6482
  */
6337
6483
  ConsumerGroupId: string;
6338
6484
  }
@@ -6371,27 +6517,27 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIsRequest {
6371
6517
  */
6372
6518
  GatewayId: string;
6373
6519
  /**
6374
- * 返回数量,默认为 10,最大值为 1000
6520
+ * <p>每页条数,范围 [1, 1000],默认 10。</p>
6375
6521
  */
6376
6522
  Limit?: number;
6377
6523
  /**
6378
- * 偏移量,默认为 0
6524
+ * <p>起始位置,从 0 开始。</p>
6379
6525
  */
6380
6526
  Offset?: number;
6381
6527
  /**
6382
- * 过滤条件,多个过滤条件之间是“与”的关系
6528
+ * <p>过滤条件。当前未启用具体字段。</p>
6383
6529
  */
6384
6530
  Filters?: Array<Filter>;
6385
6531
  /**
6386
- * 搜索关键词,模糊匹配 name 和 description
6532
+ * <p>模糊匹配模型 API 名称。</p>
6387
6533
  */
6388
6534
  Keyword?: string;
6389
6535
  /**
6390
- * 通过消费者组Id筛选,UseToBind true 时ConsumerGroupId不为空
6536
+ * <p>消费者组 ID(以 cg- 开头),与 UseToBind 搭配使用。</p>
6391
6537
  */
6392
6538
  ConsumerGroupId?: string;
6393
6539
  /**
6394
- * 筛选可被绑定的数据, 比如模型API里面绑定模型服务筛选时,如果设置true, 返回结果只会有可以被绑定的数据。
6540
+ * <p>是否用于绑定场景。true 时仅返回可被绑定到指定消费者组的模型 API。</p>
6395
6541
  */
6396
6542
  UseToBind?: boolean;
6397
6543
  }
@@ -6448,17 +6594,25 @@ export interface CNAPIGwCreateCommonResult {
6448
6594
  */
6449
6595
  export interface CloudNativeAPIGatewayLLMModelServiceRoute {
6450
6596
  /**
6451
- * 生效的路由算法类型:权重路由,模型名称路由、参数路由等Weighted/ModelName/Query (预留多个,暂时只能填写一个)
6597
+ * <p>生效的路由算法类型:权重路由,模型名称路由、参数路由等Weighted/ModelName/Query (预留多个,暂时只能填写一个)</p>
6452
6598
  */
6453
6599
  SelectedTypes: Array<string>;
6454
6600
  /**
6455
- * 权重路由配置,最多10
6601
+ * <p>权重路由配置,最多10个</p>
6456
6602
  */
6457
6603
  WeightedConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy>;
6458
6604
  /**
6459
- * 模型名称路由配置,最多10
6605
+ * <p>模型名称路由配置,最多10个</p>
6460
6606
  */
6461
6607
  ModelNameConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy>;
6608
+ /**
6609
+ * <p>意图识别</p>
6610
+ */
6611
+ IntentRouteConfig?: AIGWIntentRoute;
6612
+ /**
6613
+ * <p>延迟路由</p>
6614
+ */
6615
+ LatencyPriorityConfig?: AIGWLatencyPriorityConfig;
6462
6616
  }
6463
6617
  /**
6464
6618
  * 消费者组结构
@@ -6556,184 +6710,6 @@ export interface DescribeKongCORSResult {
6556
6710
  */
6557
6711
  PreFlightContinue?: boolean;
6558
6712
  }
6559
- /**
6560
- * CreateEngine请求参数结构体
6561
- */
6562
- export interface CreateEngineRequest {
6563
- /**
6564
- * 引擎类型。参考值:
6565
- - zookeeper
6566
- - nacos
6567
- - consul
6568
- - apollo
6569
- - eureka
6570
- - polaris
6571
- */
6572
- EngineType: string;
6573
- /**
6574
- * 引擎的开源版本。每种引擎支持的开源版本不同,请参考产品文档或者控制台购买页
6575
- */
6576
- EngineVersion: string;
6577
- /**
6578
- * 引擎的产品版本。参考值:
6579
- - STANDARD: 标准版
6580
- - PROFESSIONAL: 专业版(Zookeeper)/企业版(PolarisMesh)
6581
-
6582
- 引擎各版本及可选择的规格、节点数说明:
6583
- apollo - STANDARD版本
6584
- 规格列表:1C2G、2C4G、4C8G、8C16G、16C32G
6585
- 节点数:1,2,3,4,5
6586
-
6587
- eureka - STANDARD版本
6588
- 规格列表:1C2G、2C4G、4C8G、8C16G、16C32G
6589
- 节点数:3,4,5
6590
-
6591
- polarismesh - STANDARD版本
6592
- 规格列表:NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000
6593
-
6594
- 兼容原spec-xxxxxx形式的规格ID
6595
- */
6596
- EngineProductVersion: string;
6597
- /**
6598
- * 引擎所在地域。参考值说明:
6599
- 中国区 参考值:
6600
- - ap-guangzhou:广州
6601
- - ap-beijing:北京
6602
- - ap-chengdu:成都
6603
- - ap-chongqing:重庆
6604
- - ap-nanjing:南京
6605
- - ap-shanghai:上海
6606
- - ap-hongkong:香港
6607
- - ap-taipei:台北
6608
- 亚太区 参考值:
6609
- - ap-jakarta:雅加达
6610
- - ap-singapore:新加坡
6611
- 北美区 参考值
6612
- - na-siliconvalley:硅谷
6613
- - na-ashburn: 弗吉尼亚
6614
- 金融专区 参考值
6615
- - ap-beijing-fsi:北京金融
6616
- - ap-shanghai-fsi:上海金融
6617
- - ap-shenzhen-fsi:深圳金融
6618
- */
6619
- EngineRegion: string;
6620
- /**
6621
- * 引擎名称。参考值:
6622
- - eurek-test
6623
- */
6624
- EngineName: string;
6625
- /**
6626
- * 付费类型。参考值:
6627
- - 0:后付费
6628
- - 1:预付费(接口暂不支持创建预付费实例)
6629
- */
6630
- TradeType: number;
6631
- /**
6632
- * 引擎的节点规格 ID。参见EngineProductVersion字段说明
6633
- 北极星支持的引擎规格ID与节点数对应关系:
6634
- 基础版:
6635
- spec-c160bas1 500
6636
- spec-c160bas2 1000
6637
- spec-c160bas3 2000
6638
- spec-c160bas4 5000
6639
- spec-c160bas5 10000
6640
- spec-c160bas6 20000
6641
- spec-c160bas7 50000
6642
- 企业版:
6643
- spec-c160pro50 50
6644
- spec-c160pro100 100
6645
- spec-c160pro200 200
6646
- spec-c160pro500 500
6647
- spec-c160pro1k 1000
6648
- spec-c160pro5k 5000
6649
- spec-c160pro10k 10000
6650
- spec-c160pro20k 20000
6651
- spec-c160pro50k 50000
6652
- 开发版:
6653
- spec-c160dev1 50
6654
- */
6655
- EngineResourceSpec?: string;
6656
- /**
6657
- * 引擎的节点数量。参见EngineProductVersion字段说明
6658
- */
6659
- EngineNodeNum?: number;
6660
- /**
6661
- * VPC ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值:
6662
- - vpc-conz6aix
6663
- */
6664
- VpcId?: string;
6665
- /**
6666
- * 子网 ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值:
6667
- - subnet-ahde9me9
6668
- */
6669
- SubnetId?: string;
6670
- /**
6671
- * Apollo 环境配置参数列表。参数说明:
6672
- 如果创建Apollo类型,此参数为必填的环境信息列表,最多可选4个环境。环境信息参数说明:
6673
- - Name:环境名。参考值:prod, dev, fat, uat
6674
- - EngineResourceSpec:环境内引擎的节点规格ID。参见EngineProductVersion参数说明
6675
- - EngineNodeNum:环境内引擎的节点数量。参见EngineProductVersion参数说明,其中prod环境支持的节点数为2,3,4,5
6676
- - StorageCapacity:配置存储空间大小,以GB为单位,步长为5.参考值:35
6677
- - VpcId:VPC ID。参考值:vpc-conz6aix
6678
- - SubnetId:子网 ID。参考值:subnet-ahde9me9
6679
- */
6680
- ApolloEnvParams?: Array<ApolloEnvParam>;
6681
- /**
6682
- * 引擎的标签列表。用户自定义的key/value形式,无参考值
6683
- */
6684
- EngineTags?: Array<InstanceTagInfo>;
6685
- /**
6686
- * 引擎的初始账号信息。可设置参数:
6687
- - Name:控制台初始用户名
6688
- - Password:控制台初始密码
6689
- - Token:引擎接口的管理员 Token
6690
- */
6691
- EngineAdmin?: EngineAdmin;
6692
- /**
6693
- * 预付费时长,以月为单位
6694
- */
6695
- PrepaidPeriod?: number;
6696
- /**
6697
- * 自动续费标记,仅预付费使用。参考值:
6698
- - 0:不自动续费
6699
- - 1:自动续费
6700
- */
6701
- PrepaidRenewFlag?: number;
6702
- /**
6703
- * 跨地域部署的引擎地域配置详情
6704
- zk标准版没有跨地域部署,请不要填写
6705
- zk专业版跨地域部署开启了固定Leader所在地域,需要满足以下条件
6706
- - 固定Leader所在地域当前仅支持跨两个地域
6707
- - leader地域的副本数必须是3/2 + 1,5/2+1,7/2+1,也就是 2,3,4
6708
- */
6709
- EngineRegionInfos?: Array<EngineRegionInfo>;
6710
- /**
6711
- * zk标准版请填CLOUD_PREMIUM,zk标准版无法选择磁盘类型和磁盘容量,默认为CLOUD_PREMIUM
6712
- zk专业版可以为:CLOUD_SSD,CLOUD_SSD_PLUS,CLOUD_PREMIUM
6713
- */
6714
- StorageType?: string;
6715
- /**
6716
- * zk标准版请填50,zk标准版无法选择磁盘类型和磁盘容量,磁盘容量默认为50
6717
- */
6718
- StorageCapacity?: number;
6719
- /**
6720
- * zk专业版至多有两个盘,且磁盘的容量在50-3200之间
6721
- 如果只有一个磁盘,storageCapacity与storageOption里面的capacity应该一致
6722
- */
6723
- StorageOption?: Array<StorageOption>;
6724
- /**
6725
- * ZK引擎实例,可用区分布约束,STRICT:强约束,PERMISSIVE: 弱约束
6726
- */
6727
- AffinityConstraint?: string;
6728
- /**
6729
- * 指定zone id列表
6730
- */
6731
- ZoneIds?: Array<number | bigint>;
6732
- /**
6733
- * 地域特殊标签,用于区分相同地域,不通的业务属性
6734
- */
6735
- EngineRegionTag?: string;
6736
- }
6737
6713
  /**
6738
6714
  * ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
6739
6715
  */
@@ -6818,7 +6794,7 @@ export interface DescribeCloudNativeAPIGatewayConfigResponse {
6818
6794
  */
6819
6795
  export interface CreateCloudNativeAPIGatewayConsumerGroupResponse {
6820
6796
  /**
6821
- * 创建结果
6797
+ * <p>创建结果。包含成功标识与新建资源 ID。</p>
6822
6798
  */
6823
6799
  Result?: CNAPIGwCreateCommonResult;
6824
6800
  /**
@@ -6831,7 +6807,7 @@ export interface CreateCloudNativeAPIGatewayConsumerGroupResponse {
6831
6807
  */
6832
6808
  export interface DescribeCloudNativeAPIGatewayLLMModelAPIResponse {
6833
6809
  /**
6834
- * 模型 API 信息。
6810
+ * <p>模型 API 信息。</p>
6835
6811
  */
6836
6812
  Result?: CloudNativeAPIGatewayLLMModelAPI;
6837
6813
  /**
@@ -7196,6 +7172,19 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIsResponse {
7196
7172
  */
7197
7173
  RequestId?: string;
7198
7174
  }
7175
+ /**
7176
+ * 云原生网关模型LLM配额限制信息
7177
+ */
7178
+ export interface AIGWLLMQuotaLimit {
7179
+ /**
7180
+ * <p>该模型服务每分钟请求数上限,0 表示该维度不限</p>
7181
+ */
7182
+ RPMLimit?: number;
7183
+ /**
7184
+ * <p>该模型服务每分钟 Token 数上限,0 表示该维度不限</p>
7185
+ */
7186
+ TPMLimit?: number;
7187
+ }
7199
7188
  /**
7200
7189
  * DeleteGovernanceAliases请求参数结构体
7201
7190
  */
@@ -7223,7 +7212,7 @@ export interface CertificateInfo {
7223
7212
  */
7224
7213
  export interface DescribeCloudNativeAPIGatewayConsumerListResponse {
7225
7214
  /**
7226
- * 消费者列表
7215
+ * <p>消费者列表</p>
7227
7216
  */
7228
7217
  Result?: CNAPIGwConsumerList;
7229
7218
  /**
@@ -7305,6 +7294,19 @@ export interface OpenWafProtectionResponse {
7305
7294
  */
7306
7295
  RequestId?: string;
7307
7296
  }
7297
+ /**
7298
+ * 云原生网关模型API 配额降级触发条件信息
7299
+ */
7300
+ export interface AIGWLLMQuotaFallbackTrigger {
7301
+ /**
7302
+ * <p>配额感知阈值百分比(RPM 与 TPM 共用)</p><p>取值范围:[0, 99]</p>
7303
+ */
7304
+ ThresholdPercent?: number;
7305
+ /**
7306
+ * <p>检查维度策略</p><p>枚举值:</p><ul><li>AnyInsufficient: RPM 或 TPM 任一不足即触发</li><li>AllInsufficient: RPM 和 TPM 同时不足才触发</li></ul>
7307
+ */
7308
+ CheckDimension?: string;
7309
+ }
7308
7310
  /**
7309
7311
  * DescribeCloudNativeAPIGatewayRouteRateLimit返回参数结构体
7310
7312
  */
@@ -7651,11 +7653,11 @@ export interface DescribeCloudNativeAPIGatewayNodesResult {
7651
7653
  */
7652
7654
  export interface DescribeCloudNativeAPIGatewayLLMModelAPIRequest {
7653
7655
  /**
7654
- * 网关 id
7656
+ * <p>网关 id。</p>
7655
7657
  */
7656
7658
  GatewayId: string;
7657
7659
  /**
7658
- * 模型 API ID,全局唯一标识。
7660
+ * <p>模型 API ID,全局唯一标识。</p>
7659
7661
  */
7660
7662
  ModelAPIId: string;
7661
7663
  }
@@ -7685,21 +7687,19 @@ export interface ModifyCloudNativeAPIGatewayConsumerGroupRequest {
7685
7687
  */
7686
7688
  GatewayId: string;
7687
7689
  /**
7688
- * 消费者组ID
7690
+ * <p>消费者组 ID(以 cg- 开头)。</p>
7689
7691
  */
7690
7692
  ConsumerGroupId: string;
7691
7693
  /**
7692
- * 新的消费者组名称
7694
+ * <p>消费者组名称,最长 60 字符。</p>
7693
7695
  */
7694
7696
  Name: string;
7695
7697
  /**
7696
- * 状态:
7697
- - Enable 启用
7698
- - Disable 禁用
7698
+ * <p>启用状态。</p><p>枚举值:</p><ul><li>Enable:启用</li><li>Disable:禁用</li></ul>
7699
7699
  */
7700
7700
  Status: string;
7701
7701
  /**
7702
- * 新的消费者组描述
7702
+ * <p>消费者组描述。最长 200 字符。</p>
7703
7703
  */
7704
7704
  Description?: string;
7705
7705
  }
@@ -7708,24 +7708,39 @@ export interface ModifyCloudNativeAPIGatewayConsumerGroupRequest {
7708
7708
  */
7709
7709
  export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
7710
7710
  /**
7711
- * 网关实例id
7711
+ * <p>网关实例id</p>
7712
7712
  */
7713
7713
  GatewayId: string;
7714
7714
  /**
7715
- * 资源类型:
7716
-
7717
- - ModelAPI: 模型API
7715
+ * <p>授权资源类型。</p><p>枚举值:</p><ul><li>ModelAPI:模型 API</li><li>MCPServer:MCP Server</li></ul>
7718
7716
  */
7719
7717
  ResourceType: string;
7720
7718
  /**
7721
- * 资源id
7719
+ * <p>对应资源的 ID。</p><ul><li>ResourceType=ModelAPI 时是模型 API ID</li><li>ResourceType=MCPServer 时是 MCP Server ID</li></ul>
7722
7720
  */
7723
7721
  ResourceId: string;
7724
7722
  /**
7725
- * 资源ID
7723
+ * <p>消费者组 ID 列表(每个 ID 以 cg- 开头),长度 1-10。</p>
7726
7724
  */
7727
7725
  ConsumerGroupIds: Array<string>;
7728
7726
  }
7727
+ /**
7728
+ * 延迟优先路由配置
7729
+ */
7730
+ export interface AIGWLatencyPriorityConfig {
7731
+ /**
7732
+ * <p>路由规则列表</p>
7733
+ */
7734
+ Rules: Array<AIGWLatencyPriorityRouteRule>;
7735
+ /**
7736
+ * <p>延迟指标</p><p>枚举值:</p><ul><li>LLMLatency: LLM 延迟</li><li>NetworkLatency: 网络延迟</li></ul>
7737
+ */
7738
+ LatencyMetric: string;
7739
+ /**
7740
+ * <p>路由策略</p><p>枚举值:</p><ul><li>FastMode: 快速模式</li><li>BalanceMode: 均衡模式</li></ul>
7741
+ */
7742
+ RouteMode?: string;
7743
+ }
7729
7744
  /**
7730
7745
  * 服务的后端配置
7731
7746
  */
@@ -8378,28 +8393,28 @@ export interface DeleteCloudNativeAPIGatewayIPRestrictionRequest {
8378
8393
  */
8379
8394
  export interface CNAPIGwConsumer {
8380
8395
  /**
8381
- * 分组id
8396
+ * <p>消费者 ID。</p>
8382
8397
  */
8383
8398
  ConsumerId: string;
8384
8399
  /**
8385
- * 名字
8400
+ * <p>名字</p>
8386
8401
  */
8387
8402
  Name: string;
8388
8403
  /**
8389
- * 创建时间
8404
+ * <p>创建时间</p>
8390
8405
  */
8391
8406
  CreateTime: string;
8392
8407
  /**
8393
- * 更新时间 yyyy-MM-dd hh:mm:ss
8408
+ * <p>更新时间 yyyy-MM-dd hh:mm:ss</p>
8394
8409
  */
8395
8410
  ModifyTime: string;
8396
8411
  /**
8397
- * 描述
8412
+ * <p>描述</p>
8398
8413
  注意:此字段可能返回 null,表示取不到有效值。
8399
8414
  */
8400
8415
  Description?: string;
8401
8416
  /**
8402
- * 消费者分组
8417
+ * <p>消费者分组</p>
8403
8418
  注意:此字段可能返回 null,表示取不到有效值。
8404
8419
  */
8405
8420
  ConsumerGroups?: Array<CNAPIGwConsumerGroup>;
@@ -8519,11 +8534,11 @@ export interface DeleteCloudNativeAPIGatewayConsumerGroupRequest {
8519
8534
  */
8520
8535
  export interface DescribeCloudNativeAPIGatewayLLMModelServiceRequest {
8521
8536
  /**
8522
- * 网关 id
8537
+ * <p>网关 id。</p>
8523
8538
  */
8524
8539
  GatewayId: string;
8525
8540
  /**
8526
- * 模型服务 ID,全局唯一标识。
8541
+ * <p>模型服务 ID,全局唯一标识。</p>
8527
8542
  */
8528
8543
  ModelServiceId: string;
8529
8544
  }
@@ -8801,9 +8816,17 @@ export interface CreateCloudNativeAPIGatewayLLMModelServiceRequest {
8801
8816
  * <p>sni</p>
8802
8817
  */
8803
8818
  SNI?: string;
8804
- }
8805
- /**
8806
- * DescribeNativeGatewayServiceSources请求参数结构体
8819
+ /**
8820
+ * <p>模型服务级别的配额上限(RPM/TPM)。需要网关版本 ≥ 3.9.4。</p>
8821
+ */
8822
+ QuotaLimit?: AIGWLLMQuotaLimit;
8823
+ /**
8824
+ * <p>标签</p>
8825
+ */
8826
+ Tags?: Array<string>;
8827
+ }
8828
+ /**
8829
+ * DescribeNativeGatewayServiceSources请求参数结构体
8807
8830
  */
8808
8831
  export interface DescribeNativeGatewayServiceSourcesRequest {
8809
8832
  /**
@@ -9025,15 +9048,15 @@ export interface ModifyCloudNativeAPIGatewayConsumerRequest {
9025
9048
  */
9026
9049
  GatewayId: string;
9027
9050
  /**
9028
- * 消费者ID
9051
+ * <p>消费者 ID。</p>
9029
9052
  */
9030
9053
  ConsumerId: string;
9031
9054
  /**
9032
- * 新的消费者名称
9055
+ * <p>消费者名称,最长 60 字符。</p>
9033
9056
  */
9034
9057
  Name: string;
9035
9058
  /**
9036
- * 新的消费者描述
9059
+ * <p>消费者描述。最长 200 字符。</p>
9037
9060
  */
9038
9061
  Description?: string;
9039
9062
  }
@@ -9056,15 +9079,15 @@ export interface DeleteNativeGatewayServerGroupRequest {
9056
9079
  */
9057
9080
  export interface DescribeCloudNativeAPIGatewayConsumerGroupListRequest {
9058
9081
  /**
9059
- * 网关实例id
9082
+ * <p>网关实例id</p>
9060
9083
  */
9061
9084
  GatewayId: string;
9062
9085
  /**
9063
- * 每页条数
9086
+ * <p>每页条数,范围 [1, 100],默认 10。</p>
9064
9087
  */
9065
9088
  Limit: number;
9066
9089
  /**
9067
- * 起始位置
9090
+ * <p>起始位置,从 0 开始。</p>
9068
9091
  */
9069
9092
  Offset: number;
9070
9093
  }
@@ -9354,17 +9377,21 @@ export interface DescribeCloudNativeAPIGatewaysRequest {
9354
9377
  */
9355
9378
  export interface DescribeCloudNativeAPIGatewaySecretKeyListRequest {
9356
9379
  /**
9357
- * 实例 ID
9380
+ * <p>实例 ID</p>
9358
9381
  */
9359
9382
  GatewayId: string;
9360
9383
  /**
9361
- * 每页数量,最大20个
9384
+ * <p>每页条数,范围 [1, 100],默认 10。</p>
9362
9385
  */
9363
9386
  Limit: number;
9364
9387
  /**
9365
- * 起始值
9388
+ * <p>起始位置,从 0 开始。</p>
9366
9389
  */
9367
9390
  Offset: number;
9391
+ /**
9392
+ * <p>密钥归属资源类型。UseToBind=true 时必填。</p><p>枚举值:</p><ul><li>Consumer:消费者</li><li>ModelService:模型服务</li></ul>
9393
+ */
9394
+ ResourceType?: string;
9368
9395
  }
9369
9396
  /**
9370
9397
  * 获取云原生API网关实例网络配置结果。
@@ -9391,6 +9418,89 @@ export interface DescribeCloudNativeAPIGatewayConfigResult {
9391
9418
  */
9392
9419
  GroupId?: string;
9393
9420
  }
9421
+ /**
9422
+ * 泳道规则
9423
+ */
9424
+ export interface GovernanceLaneRule {
9425
+ /**
9426
+ * 泳道规则ID
9427
+ 注意:此字段可能返回 null,表示取不到有效值。
9428
+ */
9429
+ ID?: string;
9430
+ /**
9431
+ * 泳道名称
9432
+ 注意:此字段可能返回 null,表示取不到有效值。
9433
+ */
9434
+ Name?: string;
9435
+ /**
9436
+ * 泳道所属泳道组
9437
+ 注意:此字段可能返回 null,表示取不到有效值。
9438
+ */
9439
+ LaneGroup?: string;
9440
+ /**
9441
+ * 泳道规则启用状态
9442
+ 注意:此字段可能返回 null,表示取不到有效值。
9443
+ */
9444
+ Enable?: boolean;
9445
+ /**
9446
+ * 流量标签
9447
+ 注意:此字段可能返回 null,表示取不到有效值。
9448
+ */
9449
+ TrafficLabels?: Array<Argument>;
9450
+ /**
9451
+ * 多个流量标签匹配方式
9452
+ AND:与
9453
+ OR:或
9454
+ 注意:此字段可能返回 null,表示取不到有效值。
9455
+ */
9456
+ TrafficMatchMode?: string;
9457
+ /**
9458
+ * 泳道匹配方式
9459
+ STRICT:严格匹配
9460
+ PERMISSIVE:宽松匹配
9461
+ 注意:此字段可能返回 null,表示取不到有效值。
9462
+ */
9463
+ LaneMatchMode?: string;
9464
+ /**
9465
+ * 泳道灰度规则
9466
+ */
9467
+ TrafficGray?: TrafficGray;
9468
+ /**
9469
+ * 泳道规则描述
9470
+ 注意:此字段可能返回 null,表示取不到有效值。
9471
+ */
9472
+ Description?: string;
9473
+ /**
9474
+ * 泳道标签内容
9475
+ 注意:此字段可能返回 null,表示取不到有效值。
9476
+ */
9477
+ LaneLabelValue?: string;
9478
+ /**
9479
+ * 创建时间
9480
+ 注意:此字段可能返回 null,表示取不到有效值。
9481
+ */
9482
+ CreateTime?: string;
9483
+ /**
9484
+ * 启用时间
9485
+ 注意:此字段可能返回 null,表示取不到有效值。
9486
+ */
9487
+ EnableTime?: string;
9488
+ /**
9489
+ * 修改时间
9490
+ 注意:此字段可能返回 null,表示取不到有效值。
9491
+ */
9492
+ ModifyTime?: string;
9493
+ /**
9494
+ * 泳道规则优先级
9495
+ 注意:此字段可能返回 null,表示取不到有效值。
9496
+ */
9497
+ Priority?: number;
9498
+ /**
9499
+ * 规则摘要
9500
+ 注意:此字段可能返回 null,表示取不到有效值。
9501
+ */
9502
+ Revision?: string;
9503
+ }
9394
9504
  /**
9395
9505
  * DeleteCloudNativeAPIGatewayService请求参数结构体
9396
9506
  */
@@ -9804,6 +9914,10 @@ export interface AIGWCrossServiceFallbackConfig {
9804
9914
  * <p>fallback 服务链</p>
9805
9915
  */
9806
9916
  FallbackServiceChain: Array<AIGWFallbackServiceItem>;
9917
+ /**
9918
+ * <p>额度降级触发配置</p>
9919
+ */
9920
+ QuotaFallbackTrigger?: AIGWLLMQuotaFallbackTrigger;
9807
9921
  }
9808
9922
  /**
9809
9923
  * DescribeZookeeperServerInterfaces返回参数结构体
@@ -9831,11 +9945,11 @@ export interface AddCloudNativeAPIGatewayConsumerInGroupRequest {
9831
9945
  */
9832
9946
  GatewayId: string;
9833
9947
  /**
9834
- * 消费者组ID
9948
+ * <p>消费者组 ID(以 cg- 开头)。</p>
9835
9949
  */
9836
9950
  ConsumerGroupId: string;
9837
9951
  /**
9838
- * 消费者ID
9952
+ * <p>消费者 ID 列表,长度 1-10。</p>
9839
9953
  */
9840
9954
  ConsumerIds: Array<string>;
9841
9955
  }
@@ -9857,7 +9971,7 @@ export interface DescribeConfigFileReleaseVersionsResponse {
9857
9971
  */
9858
9972
  export interface CreateCloudNativeAPIGatewayConsumerResponse {
9859
9973
  /**
9860
- * 创建结果
9974
+ * <p>创建结果。包含成功标识与新建资源 ID。</p>
9861
9975
  */
9862
9976
  Result?: CNAPIGwCreateCommonResult;
9863
9977
  /**
@@ -9870,15 +9984,15 @@ export interface CreateCloudNativeAPIGatewayConsumerResponse {
9870
9984
  */
9871
9985
  export interface CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy {
9872
9986
  /**
9873
- * 模型服务id
9987
+ * <p>模型服务id</p>
9874
9988
  */
9875
9989
  ModelServiceId: string;
9876
9990
  /**
9877
- * 匹配模型服务
9991
+ * <p>匹配模型服务</p>
9878
9992
  */
9879
9993
  MatchModelName: string;
9880
9994
  /**
9881
- * 重写模型
9995
+ * <p>重写模型</p>
9882
9996
  */
9883
9997
  RewriteModelName?: string;
9884
9998
  }
@@ -9887,7 +10001,7 @@ export interface CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy {
9887
10001
  */
9888
10002
  export interface DeleteCloudNativeAPIGatewayLLMModelAPIResponse {
9889
10003
  /**
9890
- * 是否成功
10004
+ * <p>是否成功。</p>
9891
10005
  */
9892
10006
  Result?: boolean;
9893
10007
  /**
@@ -10059,7 +10173,7 @@ export interface DescribeZookeeperServerInterfacesRequest {
10059
10173
  */
10060
10174
  export interface DescribeCloudNativeAPIGatewayLLMModelServiceResponse {
10061
10175
  /**
10062
- * 模型服务。
10176
+ * <p>模型服务。</p>
10063
10177
  */
10064
10178
  Result?: CloudNativeAPIGatewayLLMModelService;
10065
10179
  /**
@@ -10072,11 +10186,11 @@ export interface DescribeCloudNativeAPIGatewayLLMModelServiceResponse {
10072
10186
  */
10073
10187
  export interface DescribeCloudNativeAPIGatewaySecretKeyRequest {
10074
10188
  /**
10075
- * 实例 ID
10189
+ * <p>实例 ID</p>
10076
10190
  */
10077
10191
  GatewayId: string;
10078
10192
  /**
10079
- * 密钥id
10193
+ * <p>密钥id</p>
10080
10194
  */
10081
10195
  SecretKeyId: string;
10082
10196
  }
@@ -10167,6 +10281,27 @@ export interface CreateAutoScalerResourceStrategyRequest {
10167
10281
  */
10168
10282
  CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
10169
10283
  }
10284
+ /**
10285
+ * AI 网关自定义脱敏规则(A 层 / B 层共用结构体,MaskFormat 含义随所属层不同)
10286
+ */
10287
+ export interface AIGWCustomDesensitizeRule {
10288
+ /**
10289
+ * <p>自定义脱敏规则名称</p>
10290
+ */
10291
+ Name: string;
10292
+ /**
10293
+ * <p>自定义脱敏规则匹配正则</p>
10294
+ */
10295
+ Pattern: string;
10296
+ /**
10297
+ * <p>自定义脱敏规则掩码</p>
10298
+ */
10299
+ MaskFormat: string;
10300
+ /**
10301
+ * <p>自定义脱敏规则开关</p>
10302
+ */
10303
+ Enabled: boolean;
10304
+ }
10170
10305
  /**
10171
10306
  * kong实例的服务列表
10172
10307
  */
@@ -10309,11 +10444,11 @@ export interface ZookeeperServerInterface {
10309
10444
  */
10310
10445
  export interface DescribeCloudNativeAPIGatewayConsumerRequest {
10311
10446
  /**
10312
- * 网关实例id
10447
+ * <p>网关实例id</p>
10313
10448
  */
10314
10449
  GatewayId: string;
10315
10450
  /**
10316
- * 消费者ID
10451
+ * <p>消费者ID</p>
10317
10452
  */
10318
10453
  ConsumerId: string;
10319
10454
  }
@@ -10440,87 +10575,182 @@ export interface NativeGatewayServerGroups {
10440
10575
  GatewayGroupList: Array<NativeGatewayServerGroup>;
10441
10576
  }
10442
10577
  /**
10443
- * 泳道规则
10578
+ * CreateEngine请求参数结构体
10444
10579
  */
10445
- export interface GovernanceLaneRule {
10580
+ export interface CreateEngineRequest {
10446
10581
  /**
10447
- * 泳道规则ID
10448
- 注意:此字段可能返回 null,表示取不到有效值。
10582
+ * 引擎类型。参考值:
10583
+ - zookeeper
10584
+ - nacos
10585
+ - consul
10586
+ - apollo
10587
+ - eureka
10588
+ - polaris
10449
10589
  */
10450
- ID?: string;
10590
+ EngineType: string;
10451
10591
  /**
10452
- * 泳道名称
10453
- 注意:此字段可能返回 null,表示取不到有效值。
10592
+ * 引擎的开源版本。每种引擎支持的开源版本不同,请参考产品文档或者控制台购买页
10454
10593
  */
10455
- Name?: string;
10594
+ EngineVersion: string;
10456
10595
  /**
10457
- * 泳道所属泳道组
10458
- 注意:此字段可能返回 null,表示取不到有效值。
10596
+ * 引擎的产品版本。参考值:
10597
+ - STANDARD: 标准版
10598
+ - PROFESSIONAL: 专业版(Zookeeper)/企业版(PolarisMesh)
10599
+
10600
+ 引擎各版本及可选择的规格、节点数说明:
10601
+ apollo - STANDARD版本
10602
+ 规格列表:1C2G、2C4G、4C8G、8C16G、16C32G
10603
+ 节点数:1,2,3,4,5
10604
+
10605
+ eureka - STANDARD版本
10606
+ 规格列表:1C2G、2C4G、4C8G、8C16G、16C32G
10607
+ 节点数:3,4,5
10608
+
10609
+ polarismesh - STANDARD版本
10610
+ 规格列表:NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000
10611
+
10612
+ 兼容原spec-xxxxxx形式的规格ID
10459
10613
  */
10460
- LaneGroup?: string;
10614
+ EngineProductVersion: string;
10461
10615
  /**
10462
- * 泳道规则启用状态
10463
- 注意:此字段可能返回 null,表示取不到有效值。
10616
+ * 引擎所在地域。参考值说明:
10617
+ 中国区 参考值:
10618
+ - ap-guangzhou:广州
10619
+ - ap-beijing:北京
10620
+ - ap-chengdu:成都
10621
+ - ap-chongqing:重庆
10622
+ - ap-nanjing:南京
10623
+ - ap-shanghai:上海
10624
+ - ap-hongkong:香港
10625
+ - ap-taipei:台北
10626
+ 亚太区 参考值:
10627
+ - ap-jakarta:雅加达
10628
+ - ap-singapore:新加坡
10629
+ 北美区 参考值
10630
+ - na-siliconvalley:硅谷
10631
+ - na-ashburn: 弗吉尼亚
10632
+ 金融专区 参考值
10633
+ - ap-beijing-fsi:北京金融
10634
+ - ap-shanghai-fsi:上海金融
10635
+ - ap-shenzhen-fsi:深圳金融
10464
10636
  */
10465
- Enable?: boolean;
10637
+ EngineRegion: string;
10466
10638
  /**
10467
- * 流量标签
10468
- 注意:此字段可能返回 null,表示取不到有效值。
10639
+ * 引擎名称。参考值:
10640
+ - eurek-test
10469
10641
  */
10470
- TrafficLabels?: Array<Argument>;
10642
+ EngineName: string;
10471
10643
  /**
10472
- * 多个流量标签匹配方式
10473
- AND:与
10474
- OR:或
10475
- 注意:此字段可能返回 null,表示取不到有效值。
10644
+ * 付费类型。参考值:
10645
+ - 0:后付费
10646
+ - 1:预付费(接口暂不支持创建预付费实例)
10476
10647
  */
10477
- TrafficMatchMode?: string;
10648
+ TradeType: number;
10478
10649
  /**
10479
- * 泳道匹配方式
10480
- STRICT:严格匹配
10481
- PERMISSIVE:宽松匹配
10482
- 注意:此字段可能返回 null,表示取不到有效值。
10650
+ * 引擎的节点规格 ID。参见EngineProductVersion字段说明
10651
+ 北极星支持的引擎规格ID与节点数对应关系:
10652
+ 基础版:
10653
+ spec-c160bas1 500
10654
+ spec-c160bas2 1000
10655
+ spec-c160bas3 2000
10656
+ spec-c160bas4 5000
10657
+ spec-c160bas5 10000
10658
+ spec-c160bas6 20000
10659
+ spec-c160bas7 50000
10660
+ 企业版:
10661
+ spec-c160pro50 50
10662
+ spec-c160pro100 100
10663
+ spec-c160pro200 200
10664
+ spec-c160pro500 500
10665
+ spec-c160pro1k 1000
10666
+ spec-c160pro5k 5000
10667
+ spec-c160pro10k 10000
10668
+ spec-c160pro20k 20000
10669
+ spec-c160pro50k 50000
10670
+ 开发版:
10671
+ spec-c160dev1 50
10483
10672
  */
10484
- LaneMatchMode?: string;
10673
+ EngineResourceSpec?: string;
10485
10674
  /**
10486
- * 泳道灰度规则
10675
+ * 引擎的节点数量。参见EngineProductVersion字段说明
10487
10676
  */
10488
- TrafficGray?: TrafficGray;
10677
+ EngineNodeNum?: number;
10489
10678
  /**
10490
- * 泳道规则描述
10491
- 注意:此字段可能返回 null,表示取不到有效值。
10679
+ * VPC ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值:
10680
+ - vpc-conz6aix
10492
10681
  */
10493
- Description?: string;
10682
+ VpcId?: string;
10494
10683
  /**
10495
- * 泳道标签内容
10496
- 注意:此字段可能返回 null,表示取不到有效值。
10684
+ * 子网 ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值:
10685
+ - subnet-ahde9me9
10497
10686
  */
10498
- LaneLabelValue?: string;
10687
+ SubnetId?: string;
10499
10688
  /**
10500
- * 创建时间
10501
- 注意:此字段可能返回 null,表示取不到有效值。
10689
+ * Apollo 环境配置参数列表。参数说明:
10690
+ 如果创建Apollo类型,此参数为必填的环境信息列表,最多可选4个环境。环境信息参数说明:
10691
+ - Name:环境名。参考值:prod, dev, fat, uat
10692
+ - EngineResourceSpec:环境内引擎的节点规格ID。参见EngineProductVersion参数说明
10693
+ - EngineNodeNum:环境内引擎的节点数量。参见EngineProductVersion参数说明,其中prod环境支持的节点数为2,3,4,5
10694
+ - StorageCapacity:配置存储空间大小,以GB为单位,步长为5.参考值:35
10695
+ - VpcId:VPC ID。参考值:vpc-conz6aix
10696
+ - SubnetId:子网 ID。参考值:subnet-ahde9me9
10502
10697
  */
10503
- CreateTime?: string;
10698
+ ApolloEnvParams?: Array<ApolloEnvParam>;
10504
10699
  /**
10505
- * 启用时间
10506
- 注意:此字段可能返回 null,表示取不到有效值。
10700
+ * 引擎的标签列表。用户自定义的key/value形式,无参考值
10507
10701
  */
10508
- EnableTime?: string;
10702
+ EngineTags?: Array<InstanceTagInfo>;
10509
10703
  /**
10510
- * 修改时间
10511
- 注意:此字段可能返回 null,表示取不到有效值。
10704
+ * 引擎的初始账号信息。可设置参数:
10705
+ - Name:控制台初始用户名
10706
+ - Password:控制台初始密码
10707
+ - Token:引擎接口的管理员 Token
10512
10708
  */
10513
- ModifyTime?: string;
10709
+ EngineAdmin?: EngineAdmin;
10514
10710
  /**
10515
- * 泳道规则优先级
10516
- 注意:此字段可能返回 null,表示取不到有效值。
10711
+ * 预付费时长,以月为单位
10517
10712
  */
10518
- Priority?: number;
10713
+ PrepaidPeriod?: number;
10519
10714
  /**
10520
- * 规则摘要
10521
- 注意:此字段可能返回 null,表示取不到有效值。
10715
+ * 自动续费标记,仅预付费使用。参考值:
10716
+ - 0:不自动续费
10717
+ - 1:自动续费
10522
10718
  */
10523
- Revision?: string;
10719
+ PrepaidRenewFlag?: number;
10720
+ /**
10721
+ * 跨地域部署的引擎地域配置详情
10722
+ zk标准版没有跨地域部署,请不要填写
10723
+ zk专业版跨地域部署开启了固定Leader所在地域,需要满足以下条件
10724
+ - 固定Leader所在地域当前仅支持跨两个地域
10725
+ - leader地域的副本数必须是3/2 + 1,5/2+1,7/2+1,也就是 2,3,4
10726
+ */
10727
+ EngineRegionInfos?: Array<EngineRegionInfo>;
10728
+ /**
10729
+ * zk标准版请填CLOUD_PREMIUM,zk标准版无法选择磁盘类型和磁盘容量,默认为CLOUD_PREMIUM
10730
+ zk专业版可以为:CLOUD_SSD,CLOUD_SSD_PLUS,CLOUD_PREMIUM
10731
+ */
10732
+ StorageType?: string;
10733
+ /**
10734
+ * zk标准版请填50,zk标准版无法选择磁盘类型和磁盘容量,磁盘容量默认为50
10735
+ */
10736
+ StorageCapacity?: number;
10737
+ /**
10738
+ * zk专业版至多有两个盘,且磁盘的容量在50-3200之间
10739
+ 如果只有一个磁盘,storageCapacity与storageOption里面的capacity应该一致
10740
+ */
10741
+ StorageOption?: Array<StorageOption>;
10742
+ /**
10743
+ * ZK引擎实例,可用区分布约束,STRICT:强约束,PERMISSIVE: 弱约束
10744
+ */
10745
+ AffinityConstraint?: string;
10746
+ /**
10747
+ * 指定zone id列表
10748
+ */
10749
+ ZoneIds?: Array<number | bigint>;
10750
+ /**
10751
+ * 地域特殊标签,用于区分相同地域,不通的业务属性
10752
+ */
10753
+ EngineRegionTag?: string;
10524
10754
  }
10525
10755
  /**
10526
10756
  * DescribeGovernanceLaneGroups请求参数结构体
@@ -10737,37 +10967,45 @@ export interface ModifyCloudNativeAPIGatewayLLMModelAPIRequest {
10737
10967
  */
10738
10968
  ModelAPIId: string;
10739
10969
  /**
10740
- * <p>修改模型 API 名称</p>
10970
+ * <p>模型 API 名称,最长 60 字符。</p>
10741
10971
  */
10742
10972
  Name?: string;
10743
10973
  /**
10744
- * <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
10974
+ * <p>统一前缀路径(可选)。例如 /v1/openai。</p>
10745
10975
  */
10746
10976
  BasePath?: string;
10747
10977
  /**
10748
- * <p>模型 API 的相关描述。</p>
10978
+ * <p>模型 API 描述。最长 200 字符。</p>
10749
10979
  */
10750
10980
  Description?: string;
10751
10981
  /**
10752
- * <p>关联的模型服务列表(支持填多个模型服务)</p>
10982
+ * <p>关联的模型服务 ID 列表,长度 1-10。</p>
10753
10983
  */
10754
10984
  ListModelServiceId?: Array<string>;
10755
10985
  /**
10756
- * <p>模型服务路由策略(是指如何路由到模型服务)</p>
10986
+ * <p>多模型服务路由策略。ListModelServiceId 多于 1 项时必填。</p>
10757
10987
  */
10758
10988
  ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
10759
10989
  /**
10760
- * <p>headers 路由匹配</p>
10990
+ * <p>Header 路由匹配规则。当前仅支持 Operator=exact。</p>
10761
10991
  */
10762
10992
  MatchHeaders?: Array<AIGWKVMatch>;
10763
10993
  /**
10764
- * <p>跨服务 fallback</p>
10994
+ * <p>是否启用跨服务 Fallback。</p>
10765
10995
  */
10766
10996
  EnableCrossServiceFallback?: boolean;
10767
10997
  /**
10768
- * <p>跨服务 fallback 配置</p>
10998
+ * <p>跨服务 Fallback 配置。EnableCrossServiceFallback=true 时必填。</p>
10769
10999
  */
10770
11000
  CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
11001
+ /**
11002
+ * <p>标签过滤策略。需要网关版本 ≥ 3.9.4。</p>
11003
+ */
11004
+ TagFilter?: AIGWTagFilter;
11005
+ /**
11006
+ * <p>日志输出配置。需要网关版本 ≥ 3.9.4。</p>
11007
+ */
11008
+ LogConfig?: AIGWLogConfig;
10771
11009
  }
10772
11010
  /**
10773
11011
  * DescribeConfigFileRelease返回参数结构体
@@ -10808,7 +11046,7 @@ export interface DescribeWafProtectionResult {
10808
11046
  */
10809
11047
  export interface CreateCloudNativeAPIGatewaySecretKeyResponse {
10810
11048
  /**
10811
- * 允许的操作
11049
+ * <p>创建结果。包含成功标识与新建资源 ID。</p>
10812
11050
  */
10813
11051
  Result?: CNAPIGwCreateCommonResult;
10814
11052
  /**