tencentcloud-sdk-nodejs-tse 4.1.230 → 4.1.236
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.
|
@@ -15,6 +15,19 @@ export interface DescribeNacosReplicasRequest {
|
|
|
15
15
|
*/
|
|
16
16
|
Offset?: number;
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* CreateConfigFileGroup请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateConfigFileGroupRequest {
|
|
22
|
+
/**
|
|
23
|
+
* tse 实例 id
|
|
24
|
+
*/
|
|
25
|
+
InstanceId: string;
|
|
26
|
+
/**
|
|
27
|
+
* 配置文件组实体
|
|
28
|
+
*/
|
|
29
|
+
ConfigFileGroup: ConfigFileGroup;
|
|
30
|
+
}
|
|
18
31
|
/**
|
|
19
32
|
* DeleteWafDomains请求参数结构体
|
|
20
33
|
*/
|
|
@@ -120,6 +133,15 @@ export interface Metadata {
|
|
|
120
133
|
*/
|
|
121
134
|
Value?: string;
|
|
122
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* RemoveCloudNativeAPIGatewayConsumerGroupAuth返回参数结构体
|
|
138
|
+
*/
|
|
139
|
+
export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse {
|
|
140
|
+
/**
|
|
141
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
142
|
+
*/
|
|
143
|
+
RequestId?: string;
|
|
144
|
+
}
|
|
123
145
|
/**
|
|
124
146
|
* DescribeUpstreamHealthCheckConfig请求参数结构体
|
|
125
147
|
*/
|
|
@@ -330,17 +352,90 @@ export interface CreateCloudNativeAPIGatewayResponse {
|
|
|
330
352
|
RequestId?: string;
|
|
331
353
|
}
|
|
332
354
|
/**
|
|
333
|
-
*
|
|
355
|
+
* ModifyCloudNativeAPIGatewayLLMModelService请求参数结构体
|
|
334
356
|
*/
|
|
335
|
-
export interface
|
|
357
|
+
export interface ModifyCloudNativeAPIGatewayLLMModelServiceRequest {
|
|
336
358
|
/**
|
|
337
|
-
*
|
|
359
|
+
* <p>网关 id。</p>
|
|
338
360
|
*/
|
|
339
|
-
|
|
361
|
+
GatewayId: string;
|
|
340
362
|
/**
|
|
341
|
-
*
|
|
363
|
+
* <p>模型服务 ID,全局唯一标识。</p>
|
|
342
364
|
*/
|
|
343
|
-
|
|
365
|
+
ModelServiceId: string;
|
|
366
|
+
/**
|
|
367
|
+
* <p>修改服务名称,长度2-50字符,支持中英文、数字、下划线。</p>
|
|
368
|
+
*/
|
|
369
|
+
Name?: string;
|
|
370
|
+
/**
|
|
371
|
+
* <p>修改默认模型,模型选择方式为 Specify 时必填。</p>
|
|
372
|
+
*/
|
|
373
|
+
DefaultModel?: string;
|
|
374
|
+
/**
|
|
375
|
+
* <p>修改模型选择方式,选项:Specify(指定模型)、PassThrough(透传请求模型)。</p>
|
|
376
|
+
*/
|
|
377
|
+
ModelSelector?: string;
|
|
378
|
+
/**
|
|
379
|
+
* <p>修改开启模型降级,模型选择方式为 Specify 时必填。</p>
|
|
380
|
+
*/
|
|
381
|
+
EnableModelFallback?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* <p>修改可以配置备用模型规则,EnableSpecifyModelFallback 为 true 时必填。</p>
|
|
384
|
+
*/
|
|
385
|
+
ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule;
|
|
386
|
+
/**
|
|
387
|
+
* <p>修改开启模型参数校验,是否校验客户端传递的 model 参数, 模型选择方式为 PassThrough 时必填</p>
|
|
388
|
+
*/
|
|
389
|
+
EnableModelParamCheck?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* <p>修改模型检验信息,EnableModelParamCheck 为 true 时必填。</p>
|
|
392
|
+
*/
|
|
393
|
+
ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo;
|
|
394
|
+
/**
|
|
395
|
+
* <p>修改描述。</p>
|
|
396
|
+
*/
|
|
397
|
+
Description?: string;
|
|
398
|
+
/**
|
|
399
|
+
* <p>修改模型服务地址</p>
|
|
400
|
+
*/
|
|
401
|
+
UpstreamURL?: string;
|
|
402
|
+
/**
|
|
403
|
+
* <p>连接超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:10000</p>
|
|
404
|
+
*/
|
|
405
|
+
ConnectTimeout?: number;
|
|
406
|
+
/**
|
|
407
|
+
* <p>写入超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:60000</p>
|
|
408
|
+
*/
|
|
409
|
+
WriteTimeout?: number;
|
|
410
|
+
/**
|
|
411
|
+
* <p>读取超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:60000</p>
|
|
412
|
+
*/
|
|
413
|
+
ReadTimeout?: number;
|
|
414
|
+
/**
|
|
415
|
+
* <p>重试次数</p><p>取值范围:[0, 5]</p><p>单位:次</p><p>默认值:0</p>
|
|
416
|
+
*/
|
|
417
|
+
Retries?: number;
|
|
418
|
+
/**
|
|
419
|
+
* <p>路径拼接模式</p><p>枚举值:</p><ul><li>FixedPath: 固定路径</li><li>AutoConcat: 自动拼接</li></ul>
|
|
420
|
+
*/
|
|
421
|
+
UpstreamUrlMode?: string;
|
|
422
|
+
/**
|
|
423
|
+
* <p>SNI</p>
|
|
424
|
+
*/
|
|
425
|
+
SNI?: string;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* 分组列表
|
|
429
|
+
*/
|
|
430
|
+
export interface CNAPIGwConsumerGroupList {
|
|
431
|
+
/**
|
|
432
|
+
* 总数
|
|
433
|
+
*/
|
|
434
|
+
TotalCount?: number;
|
|
435
|
+
/**
|
|
436
|
+
* 消费者分组信息
|
|
437
|
+
*/
|
|
438
|
+
ConsumerGroups?: Array<CNAPIGwConsumerGroup>;
|
|
344
439
|
}
|
|
345
440
|
/**
|
|
346
441
|
* 网络访问策略
|
|
@@ -729,6 +824,59 @@ export interface DescribeCloudNativeAPIGatewayServicesRequest {
|
|
|
729
824
|
*/
|
|
730
825
|
Filters?: Array<ListFilter>;
|
|
731
826
|
}
|
|
827
|
+
/**
|
|
828
|
+
* CreateCloudNativeAPIGatewayLLMModelAPI请求参数结构体
|
|
829
|
+
*/
|
|
830
|
+
export interface CreateCloudNativeAPIGatewayLLMModelAPIRequest {
|
|
831
|
+
/**
|
|
832
|
+
* <p>网关 id。</p>
|
|
833
|
+
*/
|
|
834
|
+
GatewayId: string;
|
|
835
|
+
/**
|
|
836
|
+
* <p>AI 网关 LLM 模型 API 的唯一标识名称,格式规则:最长60个字符,支持中英文大小写、数字及分隔符(“-”、“_”),不能以数字和分隔符开头,不能以分隔符结尾。</p>
|
|
837
|
+
*/
|
|
838
|
+
Name: string;
|
|
839
|
+
/**
|
|
840
|
+
* <p>选择业务场景, 选项:Chat(聊天)。</p>
|
|
841
|
+
*/
|
|
842
|
+
SceneType: string;
|
|
843
|
+
/**
|
|
844
|
+
* <p>业务场景对应的请求协议,选项:OpenAI(目前只支持 OpenAI)。</p>
|
|
845
|
+
*/
|
|
846
|
+
RequestProtocol: string;
|
|
847
|
+
/**
|
|
848
|
+
* <p>初始化关联的模型服务列表。</p>
|
|
849
|
+
*/
|
|
850
|
+
ListModelServiceId: Array<string>;
|
|
851
|
+
/**
|
|
852
|
+
* <p>路由列表</p>
|
|
853
|
+
*/
|
|
854
|
+
RouteList: Array<DefaultKongRoute>;
|
|
855
|
+
/**
|
|
856
|
+
* <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
|
|
857
|
+
*/
|
|
858
|
+
BasePath?: string;
|
|
859
|
+
/**
|
|
860
|
+
* <p>模型 API 的相关描述。</p>
|
|
861
|
+
*/
|
|
862
|
+
Description?: string;
|
|
863
|
+
/**
|
|
864
|
+
* <p>模型服务路由策略(是指如何路由到模型服务)</p>
|
|
865
|
+
*/
|
|
866
|
+
ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
|
|
867
|
+
/**
|
|
868
|
+
* <p>路由 Header 匹配规则</p>
|
|
869
|
+
*/
|
|
870
|
+
MatchHeaders?: Array<AIGWKVMatch>;
|
|
871
|
+
/**
|
|
872
|
+
* <p>跨服务 fallback 开关</p>
|
|
873
|
+
*/
|
|
874
|
+
EnableCrossServiceFallback?: boolean;
|
|
875
|
+
/**
|
|
876
|
+
* <p>跨服务 fallback 配置</p>
|
|
877
|
+
*/
|
|
878
|
+
CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
|
|
879
|
+
}
|
|
732
880
|
/**
|
|
733
881
|
* 服务实例组
|
|
734
882
|
*/
|
|
@@ -749,6 +897,40 @@ export interface GovernanceServiceDestination {
|
|
|
749
897
|
*/
|
|
750
898
|
Labels?: Array<RoutingDestinationRuleLabel>;
|
|
751
899
|
}
|
|
900
|
+
/**
|
|
901
|
+
* DescribeCloudNativeAPIGatewayConsumerList请求参数结构体
|
|
902
|
+
*/
|
|
903
|
+
export interface DescribeCloudNativeAPIGatewayConsumerListRequest {
|
|
904
|
+
/**
|
|
905
|
+
* 网关实例id
|
|
906
|
+
*/
|
|
907
|
+
GatewayId: string;
|
|
908
|
+
/**
|
|
909
|
+
* 页显示条数,最大20
|
|
910
|
+
*/
|
|
911
|
+
Limit: number;
|
|
912
|
+
/**
|
|
913
|
+
* 起始位置
|
|
914
|
+
*/
|
|
915
|
+
Offset: number;
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* CreateCloudNativeAPIGatewayConsumer请求参数结构体
|
|
919
|
+
*/
|
|
920
|
+
export interface CreateCloudNativeAPIGatewayConsumerRequest {
|
|
921
|
+
/**
|
|
922
|
+
* 网关实例id
|
|
923
|
+
*/
|
|
924
|
+
GatewayId: string;
|
|
925
|
+
/**
|
|
926
|
+
* 消费者名称
|
|
927
|
+
*/
|
|
928
|
+
Name: string;
|
|
929
|
+
/**
|
|
930
|
+
* 消费者描述
|
|
931
|
+
*/
|
|
932
|
+
Description?: string;
|
|
933
|
+
}
|
|
752
934
|
/**
|
|
753
935
|
* CreateCloudNativeAPIGatewayCanaryRule返回参数结构体
|
|
754
936
|
*/
|
|
@@ -758,6 +940,79 @@ export interface CreateCloudNativeAPIGatewayCanaryRuleResponse {
|
|
|
758
940
|
*/
|
|
759
941
|
RequestId?: string;
|
|
760
942
|
}
|
|
943
|
+
/**
|
|
944
|
+
* LLM 模型 API
|
|
945
|
+
*/
|
|
946
|
+
export interface CloudNativeAPIGatewayLLMModelAPI {
|
|
947
|
+
/**
|
|
948
|
+
* <p>模型 API ID。</p>
|
|
949
|
+
*/
|
|
950
|
+
Id?: string;
|
|
951
|
+
/**
|
|
952
|
+
* <p>创建时间</p>
|
|
953
|
+
*/
|
|
954
|
+
CreateTime?: string;
|
|
955
|
+
/**
|
|
956
|
+
* <p>修改时间</p>
|
|
957
|
+
*/
|
|
958
|
+
ModifyTime?: string;
|
|
959
|
+
/**
|
|
960
|
+
* <p>AI 网关 LLM 模型 API 的唯一标识名称,格式规则:2-50 字符,支持英文、数字、下划线。</p>
|
|
961
|
+
*/
|
|
962
|
+
Name?: string;
|
|
963
|
+
/**
|
|
964
|
+
* <p>选择业务场景,xa0 选项:Chat(聊天)。</p>
|
|
965
|
+
*/
|
|
966
|
+
SceneType?: string;
|
|
967
|
+
/**
|
|
968
|
+
* <p>业务场景对应的请求协议,选项:OpenAI(目前只支持 OpenAI)。</p>
|
|
969
|
+
*/
|
|
970
|
+
RequestProtocol?: string;
|
|
971
|
+
/**
|
|
972
|
+
* <p>路由列表</p>
|
|
973
|
+
*/
|
|
974
|
+
RouteList?: Array<DefaultKongRoute>;
|
|
975
|
+
/**
|
|
976
|
+
* <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
|
|
977
|
+
*/
|
|
978
|
+
BasePath?: string;
|
|
979
|
+
/**
|
|
980
|
+
* <p>路径简化,<br>启用时:客户端请求路径 → 移除Base Path → 后端接收简洁路径<br>禁用时:客户端请求路径 → 完整传递给后端。</p>
|
|
981
|
+
*/
|
|
982
|
+
StripPath?: boolean;
|
|
983
|
+
/**
|
|
984
|
+
* <p>模型 API 的相关描述。</p>
|
|
985
|
+
*/
|
|
986
|
+
Description?: string;
|
|
987
|
+
/**
|
|
988
|
+
* <p>模型服务Id</p>
|
|
989
|
+
*/
|
|
990
|
+
ModelServiceId?: string;
|
|
991
|
+
/**
|
|
992
|
+
* <p>模型服务名称</p>
|
|
993
|
+
*/
|
|
994
|
+
ModelServiceName?: string;
|
|
995
|
+
/**
|
|
996
|
+
* <p>模型服务路由策略(是指如何路由到模型服务)</p>
|
|
997
|
+
*/
|
|
998
|
+
ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
|
|
999
|
+
/**
|
|
1000
|
+
* <p>无</p>
|
|
1001
|
+
*/
|
|
1002
|
+
MatchHeaders?: Array<AIGWKVMatch>;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>是否开启跨服务fallback</p>
|
|
1005
|
+
*/
|
|
1006
|
+
EnableCrossServiceFallback?: boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* <p>跨服务fallback配置详情</p>
|
|
1009
|
+
*/
|
|
1010
|
+
CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>是否展示模型API</p>
|
|
1013
|
+
*/
|
|
1014
|
+
DescribeCloudNativeAPIGatewayLLMModelAPI?: boolean;
|
|
1015
|
+
}
|
|
761
1016
|
/**
|
|
762
1017
|
* DeleteGovernanceNamespaces返回参数结构体
|
|
763
1018
|
*/
|
|
@@ -999,6 +1254,19 @@ export interface DeleteCloudNativeAPIGatewayRouteResponse {
|
|
|
999
1254
|
*/
|
|
1000
1255
|
RequestId?: string;
|
|
1001
1256
|
}
|
|
1257
|
+
/**
|
|
1258
|
+
* DeleteCloudNativeAPIGatewayLLMModelService返回参数结构体
|
|
1259
|
+
*/
|
|
1260
|
+
export interface DeleteCloudNativeAPIGatewayLLMModelServiceResponse {
|
|
1261
|
+
/**
|
|
1262
|
+
* 是否成功
|
|
1263
|
+
*/
|
|
1264
|
+
Result?: boolean;
|
|
1265
|
+
/**
|
|
1266
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1267
|
+
*/
|
|
1268
|
+
RequestId?: string;
|
|
1269
|
+
}
|
|
1002
1270
|
/**
|
|
1003
1271
|
* DeleteCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
|
1004
1272
|
*/
|
|
@@ -1364,6 +1632,15 @@ export interface EnvInfo {
|
|
|
1364
1632
|
*/
|
|
1365
1633
|
EnableConfigIntranet?: boolean;
|
|
1366
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* ModifyCloudNativeAPIGatewayConsumer返回参数结构体
|
|
1637
|
+
*/
|
|
1638
|
+
export interface ModifyCloudNativeAPIGatewayConsumerResponse {
|
|
1639
|
+
/**
|
|
1640
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1641
|
+
*/
|
|
1642
|
+
RequestId?: string;
|
|
1643
|
+
}
|
|
1367
1644
|
/**
|
|
1368
1645
|
* DeleteGovernanceInstances请求参数结构体
|
|
1369
1646
|
*/
|
|
@@ -1461,6 +1738,15 @@ export interface CloudNativeAPIGatewayStrategy {
|
|
|
1461
1738
|
*/
|
|
1462
1739
|
MaxReplicas?: number;
|
|
1463
1740
|
}
|
|
1741
|
+
/**
|
|
1742
|
+
* LLM-单模型内降级规则
|
|
1743
|
+
*/
|
|
1744
|
+
export interface CloudNativeAPIGatewayLLMModelFallbackRule {
|
|
1745
|
+
/**
|
|
1746
|
+
* 备选模型,主模型不可用时将依次按顺序尝试。
|
|
1747
|
+
*/
|
|
1748
|
+
FallbackModels?: Array<string>;
|
|
1749
|
+
}
|
|
1464
1750
|
/**
|
|
1465
1751
|
* UpdateEngineInternetAccess返回参数结构体
|
|
1466
1752
|
*/
|
|
@@ -1774,6 +2060,15 @@ export interface ReleaseVersion {
|
|
|
1774
2060
|
*/
|
|
1775
2061
|
FileName?: string;
|
|
1776
2062
|
}
|
|
2063
|
+
/**
|
|
2064
|
+
* DeleteEngine返回参数结构体
|
|
2065
|
+
*/
|
|
2066
|
+
export interface DeleteEngineResponse {
|
|
2067
|
+
/**
|
|
2068
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2069
|
+
*/
|
|
2070
|
+
RequestId?: string;
|
|
2071
|
+
}
|
|
1777
2072
|
/**
|
|
1778
2073
|
* CreateConfigFileGroup返回参数结构体
|
|
1779
2074
|
*/
|
|
@@ -1922,6 +2217,27 @@ export interface DescribeAutoScalerResourceStrategiesRequest {
|
|
|
1922
2217
|
*/
|
|
1923
2218
|
StrategyId?: string;
|
|
1924
2219
|
}
|
|
2220
|
+
/**
|
|
2221
|
+
* 参数限流的规则
|
|
2222
|
+
*/
|
|
2223
|
+
export interface LimitRule {
|
|
2224
|
+
/**
|
|
2225
|
+
* 请求匹配条件
|
|
2226
|
+
*/
|
|
2227
|
+
Filters?: Array<RuleFilter>;
|
|
2228
|
+
/**
|
|
2229
|
+
* 参数限流依据组合
|
|
2230
|
+
*/
|
|
2231
|
+
LimitBy?: Array<KeyValue>;
|
|
2232
|
+
/**
|
|
2233
|
+
* 限流阈值
|
|
2234
|
+
*/
|
|
2235
|
+
QpsThresholds?: Array<QpsThreshold>;
|
|
2236
|
+
/**
|
|
2237
|
+
* 精确限流阈值
|
|
2238
|
+
*/
|
|
2239
|
+
AccurateQpsThresholds?: Array<AccurateQpsThreshold>;
|
|
2240
|
+
}
|
|
1925
2241
|
/**
|
|
1926
2242
|
* 限流规则的Filter
|
|
1927
2243
|
*/
|
|
@@ -1960,6 +2276,19 @@ export interface DeleteCloudNativeAPIGatewayCORSRequest {
|
|
|
1960
2276
|
*/
|
|
1961
2277
|
SourceId: string;
|
|
1962
2278
|
}
|
|
2279
|
+
/**
|
|
2280
|
+
* DeleteCloudNativeAPIGatewayConsumer请求参数结构体
|
|
2281
|
+
*/
|
|
2282
|
+
export interface DeleteCloudNativeAPIGatewayConsumerRequest {
|
|
2283
|
+
/**
|
|
2284
|
+
* 网关实例id
|
|
2285
|
+
*/
|
|
2286
|
+
GatewayId: string;
|
|
2287
|
+
/**
|
|
2288
|
+
* 消费者ID
|
|
2289
|
+
*/
|
|
2290
|
+
ConsumerId: string;
|
|
2291
|
+
}
|
|
1963
2292
|
/**
|
|
1964
2293
|
* DescribeGovernanceInstances请求参数结构体
|
|
1965
2294
|
*/
|
|
@@ -2390,6 +2719,19 @@ export interface DescribeSREInstancesResponse {
|
|
|
2390
2719
|
*/
|
|
2391
2720
|
RequestId?: string;
|
|
2392
2721
|
}
|
|
2722
|
+
/**
|
|
2723
|
+
* DescribeCloudNativeAPIGatewayConsumerGroup返回参数结构体
|
|
2724
|
+
*/
|
|
2725
|
+
export interface DescribeCloudNativeAPIGatewayConsumerGroupResponse {
|
|
2726
|
+
/**
|
|
2727
|
+
* 删除结果
|
|
2728
|
+
*/
|
|
2729
|
+
Result?: CNAPIGwConsumerGroup;
|
|
2730
|
+
/**
|
|
2731
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2732
|
+
*/
|
|
2733
|
+
RequestId?: string;
|
|
2734
|
+
}
|
|
2393
2735
|
/**
|
|
2394
2736
|
* 指标伸缩的规则
|
|
2395
2737
|
*/
|
|
@@ -2546,6 +2888,19 @@ export interface ModifyGovernanceLaneGroupsRequest {
|
|
|
2546
2888
|
*/
|
|
2547
2889
|
LaneGroups: Array<GovernanceLaneGroup>;
|
|
2548
2890
|
}
|
|
2891
|
+
/**
|
|
2892
|
+
* DescribeUpstreamHealthCheckConfig返回参数结构体
|
|
2893
|
+
*/
|
|
2894
|
+
export interface DescribeUpstreamHealthCheckConfigResponse {
|
|
2895
|
+
/**
|
|
2896
|
+
* 健康检查配置
|
|
2897
|
+
*/
|
|
2898
|
+
Result?: UpstreamHealthCheckConfig;
|
|
2899
|
+
/**
|
|
2900
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2901
|
+
*/
|
|
2902
|
+
RequestId?: string;
|
|
2903
|
+
}
|
|
2549
2904
|
/**
|
|
2550
2905
|
* ModifyGovernanceInstances返回参数结构体
|
|
2551
2906
|
*/
|
|
@@ -2560,9 +2915,22 @@ export interface ModifyGovernanceInstancesResponse {
|
|
|
2560
2915
|
RequestId?: string;
|
|
2561
2916
|
}
|
|
2562
2917
|
/**
|
|
2563
|
-
*
|
|
2918
|
+
* DescribeCloudNativeAPIGatewayLLMModelServices返回参数结构体
|
|
2564
2919
|
*/
|
|
2565
|
-
export interface
|
|
2920
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelServicesResponse {
|
|
2921
|
+
/**
|
|
2922
|
+
* <p>模型服务列表。</p>
|
|
2923
|
+
*/
|
|
2924
|
+
Result?: ListCloudNativeAPIGatewayLLMModelService;
|
|
2925
|
+
/**
|
|
2926
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2927
|
+
*/
|
|
2928
|
+
RequestId?: string;
|
|
2929
|
+
}
|
|
2930
|
+
/**
|
|
2931
|
+
* DeleteCloudNativeAPIGatewayPublicNetwork返回参数结构体
|
|
2932
|
+
*/
|
|
2933
|
+
export interface DeleteCloudNativeAPIGatewayPublicNetworkResponse {
|
|
2566
2934
|
/**
|
|
2567
2935
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2568
2936
|
*/
|
|
@@ -2736,6 +3104,19 @@ export interface UpdateEngineInternetAccessRequest {
|
|
|
2736
3104
|
*/
|
|
2737
3105
|
EnableClientInternetAccess?: boolean;
|
|
2738
3106
|
}
|
|
3107
|
+
/**
|
|
3108
|
+
* DescribeCloudNativeAPIGatewayConsumerGroupList返回参数结构体
|
|
3109
|
+
*/
|
|
3110
|
+
export interface DescribeCloudNativeAPIGatewayConsumerGroupListResponse {
|
|
3111
|
+
/**
|
|
3112
|
+
* 修改结果
|
|
3113
|
+
*/
|
|
3114
|
+
Result?: CNAPIGwConsumerGroupList;
|
|
3115
|
+
/**
|
|
3116
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3117
|
+
*/
|
|
3118
|
+
RequestId?: string;
|
|
3119
|
+
}
|
|
2739
3120
|
/**
|
|
2740
3121
|
* DeleteNativeGatewayServerGroup返回参数结构体
|
|
2741
3122
|
*/
|
|
@@ -2758,6 +3139,19 @@ export interface ModifyCloudNativeAPIGatewayCertificateResponse {
|
|
|
2758
3139
|
*/
|
|
2759
3140
|
RequestId?: string;
|
|
2760
3141
|
}
|
|
3142
|
+
/**
|
|
3143
|
+
* 降级服务元素
|
|
3144
|
+
*/
|
|
3145
|
+
export interface AIGWFallbackServiceItem {
|
|
3146
|
+
/**
|
|
3147
|
+
* <p>模型服务 Id</p>
|
|
3148
|
+
*/
|
|
3149
|
+
ModelServiceId: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* <p>模型服务名</p>
|
|
3152
|
+
*/
|
|
3153
|
+
ModelServiceName?: string;
|
|
3154
|
+
}
|
|
2761
3155
|
/**
|
|
2762
3156
|
* DescribeCloudNativeAPIGatewayIPRestriction请求参数结构体
|
|
2763
3157
|
*/
|
|
@@ -2917,6 +3311,23 @@ export interface CreateNativeGatewayServiceSourceRequest {
|
|
|
2917
3311
|
*/
|
|
2918
3312
|
SourceInfo?: SourceInfo;
|
|
2919
3313
|
}
|
|
3314
|
+
/**
|
|
3315
|
+
* 路由匹配规则
|
|
3316
|
+
*/
|
|
3317
|
+
export interface AIGWKVMatch {
|
|
3318
|
+
/**
|
|
3319
|
+
* <p>键</p>
|
|
3320
|
+
*/
|
|
3321
|
+
Key: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* <p>值</p>
|
|
3324
|
+
*/
|
|
3325
|
+
Value: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* <p>操作类型</p>
|
|
3328
|
+
*/
|
|
3329
|
+
Operator: string;
|
|
3330
|
+
}
|
|
2920
3331
|
/**
|
|
2921
3332
|
* CreateGovernanceLaneGroups请求参数结构体
|
|
2922
3333
|
*/
|
|
@@ -2943,6 +3354,32 @@ export interface ListCloudNativeAPIGatewayStrategyResult {
|
|
|
2943
3354
|
*/
|
|
2944
3355
|
StrategyList: Array<CloudNativeAPIGatewayStrategy>;
|
|
2945
3356
|
}
|
|
3357
|
+
/**
|
|
3358
|
+
* 权重路由配置
|
|
3359
|
+
*/
|
|
3360
|
+
export interface CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy {
|
|
3361
|
+
/**
|
|
3362
|
+
* 模型服务id
|
|
3363
|
+
*/
|
|
3364
|
+
ModelServiceId: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* 权重值
|
|
3367
|
+
*/
|
|
3368
|
+
Weight: number;
|
|
3369
|
+
}
|
|
3370
|
+
/**
|
|
3371
|
+
* AddCloudNativeAPIGatewayConsumerInGroup返回参数结构体
|
|
3372
|
+
*/
|
|
3373
|
+
export interface AddCloudNativeAPIGatewayConsumerInGroupResponse {
|
|
3374
|
+
/**
|
|
3375
|
+
* 添加结果
|
|
3376
|
+
*/
|
|
3377
|
+
Result?: boolean;
|
|
3378
|
+
/**
|
|
3379
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3380
|
+
*/
|
|
3381
|
+
RequestId?: string;
|
|
3382
|
+
}
|
|
2946
3383
|
/**
|
|
2947
3384
|
* 治理中心服务入参
|
|
2948
3385
|
*/
|
|
@@ -3001,25 +3438,17 @@ export interface GovernanceServiceInput {
|
|
|
3001
3438
|
Type?: number;
|
|
3002
3439
|
}
|
|
3003
3440
|
/**
|
|
3004
|
-
*
|
|
3441
|
+
* LLM-模型参数检查信息
|
|
3005
3442
|
*/
|
|
3006
|
-
export interface
|
|
3007
|
-
/**
|
|
3008
|
-
* Vpc Id
|
|
3009
|
-
*/
|
|
3010
|
-
VpcId: string;
|
|
3011
|
-
/**
|
|
3012
|
-
* 子网ID
|
|
3013
|
-
*/
|
|
3014
|
-
SubnetId: string;
|
|
3443
|
+
export interface CloudNativeAPIGatewayLLMModelParamCheckInfo {
|
|
3015
3444
|
/**
|
|
3016
|
-
*
|
|
3445
|
+
* 允许的模型列表。
|
|
3017
3446
|
*/
|
|
3018
|
-
|
|
3447
|
+
AllowModelList?: Array<string>;
|
|
3019
3448
|
/**
|
|
3020
|
-
*
|
|
3449
|
+
* 模型参数校验失败时的处理策略,选项:Return404(返回404)、FallBackToDefaultModel(使用默认模型降级)。
|
|
3021
3450
|
*/
|
|
3022
|
-
|
|
3451
|
+
ModelValidationFailureStrategy?: string;
|
|
3023
3452
|
}
|
|
3024
3453
|
/**
|
|
3025
3454
|
* 配置文件
|
|
@@ -3124,25 +3553,86 @@ export interface ModifyNativeGatewayServiceSourceRequest {
|
|
|
3124
3553
|
SourceInfo?: SourceInfo;
|
|
3125
3554
|
}
|
|
3126
3555
|
/**
|
|
3127
|
-
*
|
|
3556
|
+
* 密钥信息
|
|
3128
3557
|
*/
|
|
3129
|
-
export interface
|
|
3558
|
+
export interface CNAPIGwSecretKey {
|
|
3130
3559
|
/**
|
|
3131
|
-
*
|
|
3560
|
+
* 密钥id
|
|
3132
3561
|
*/
|
|
3133
|
-
|
|
3562
|
+
SecretKeyId?: string;
|
|
3134
3563
|
/**
|
|
3135
|
-
*
|
|
3564
|
+
* 密钥名字
|
|
3136
3565
|
*/
|
|
3137
|
-
|
|
3566
|
+
Name?: string;
|
|
3138
3567
|
/**
|
|
3139
|
-
*
|
|
3568
|
+
* 密钥类型:ApiKey/JWT
|
|
3140
3569
|
*/
|
|
3141
|
-
|
|
3570
|
+
SecretType?: string;
|
|
3142
3571
|
/**
|
|
3143
|
-
*
|
|
3572
|
+
* 状态:
|
|
3573
|
+
- Enable: 启用
|
|
3574
|
+
- Disable: 禁用
|
|
3144
3575
|
*/
|
|
3145
|
-
|
|
3576
|
+
Status?: string;
|
|
3577
|
+
/**
|
|
3578
|
+
* 生成方式:KMS/System/Custom
|
|
3579
|
+
*/
|
|
3580
|
+
GenerateType?: string;
|
|
3581
|
+
/**
|
|
3582
|
+
* 密钥值
|
|
3583
|
+
*/
|
|
3584
|
+
SecretValue?: string;
|
|
3585
|
+
/**
|
|
3586
|
+
* KMS凭证名字
|
|
3587
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3588
|
+
*/
|
|
3589
|
+
KmsKeyName?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* KMS凭证版本
|
|
3592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3593
|
+
*/
|
|
3594
|
+
KmsKeyVersion?: string;
|
|
3595
|
+
/**
|
|
3596
|
+
* 描述
|
|
3597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3598
|
+
*/
|
|
3599
|
+
Description?: string;
|
|
3600
|
+
/**
|
|
3601
|
+
* 是否可以绑定
|
|
3602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3603
|
+
*/
|
|
3604
|
+
CanBind?: boolean;
|
|
3605
|
+
/**
|
|
3606
|
+
* 创建时间
|
|
3607
|
+
*/
|
|
3608
|
+
CreateTime?: string;
|
|
3609
|
+
/**
|
|
3610
|
+
* 修改时间
|
|
3611
|
+
*/
|
|
3612
|
+
ModifyTime?: string;
|
|
3613
|
+
/**
|
|
3614
|
+
* 绑定数
|
|
3615
|
+
*/
|
|
3616
|
+
BindCount?: number;
|
|
3617
|
+
/**
|
|
3618
|
+
* 资源类型:
|
|
3619
|
+
- Consumer 消费者
|
|
3620
|
+
- LLM 模型服务
|
|
3621
|
+
*/
|
|
3622
|
+
ResourceType?: string;
|
|
3623
|
+
}
|
|
3624
|
+
/**
|
|
3625
|
+
* ModifyCloudNativeAPIGatewayLLMModelAPI返回参数结构体
|
|
3626
|
+
*/
|
|
3627
|
+
export interface ModifyCloudNativeAPIGatewayLLMModelAPIResponse {
|
|
3628
|
+
/**
|
|
3629
|
+
* <p>是否成功</p>
|
|
3630
|
+
*/
|
|
3631
|
+
Result?: boolean;
|
|
3632
|
+
/**
|
|
3633
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3634
|
+
*/
|
|
3635
|
+
RequestId?: string;
|
|
3146
3636
|
}
|
|
3147
3637
|
/**
|
|
3148
3638
|
* ModifyCloudNativeAPIGatewayCanaryRule返回参数结构体
|
|
@@ -3204,6 +3694,40 @@ export interface DescribeAutoScalerResourceStrategyBindingGroupsResponse {
|
|
|
3204
3694
|
*/
|
|
3205
3695
|
RequestId?: string;
|
|
3206
3696
|
}
|
|
3697
|
+
/**
|
|
3698
|
+
* CreateCloudNativeAPIGatewayLLMModelService返回参数结构体
|
|
3699
|
+
*/
|
|
3700
|
+
export interface CreateCloudNativeAPIGatewayLLMModelServiceResponse {
|
|
3701
|
+
/**
|
|
3702
|
+
* <p>是否成功</p>
|
|
3703
|
+
*/
|
|
3704
|
+
Result?: boolean;
|
|
3705
|
+
/**
|
|
3706
|
+
* <p>模型服务 ID,全局唯一标识。</p>
|
|
3707
|
+
*/
|
|
3708
|
+
ModelServiceId?: string;
|
|
3709
|
+
/**
|
|
3710
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3711
|
+
*/
|
|
3712
|
+
RequestId?: string;
|
|
3713
|
+
}
|
|
3714
|
+
/**
|
|
3715
|
+
* RemoveCloudNativeAPIGatewayConsumerInGroup请求参数结构体
|
|
3716
|
+
*/
|
|
3717
|
+
export interface RemoveCloudNativeAPIGatewayConsumerInGroupRequest {
|
|
3718
|
+
/**
|
|
3719
|
+
* 网关实例id
|
|
3720
|
+
*/
|
|
3721
|
+
GatewayId: string;
|
|
3722
|
+
/**
|
|
3723
|
+
* 消费者组ID
|
|
3724
|
+
*/
|
|
3725
|
+
ConsumerGroupId: string;
|
|
3726
|
+
/**
|
|
3727
|
+
* 消费者ID列表
|
|
3728
|
+
*/
|
|
3729
|
+
ConsumerIds: Array<string>;
|
|
3730
|
+
}
|
|
3207
3731
|
/**
|
|
3208
3732
|
* 引擎实例的标签信息
|
|
3209
3733
|
*/
|
|
@@ -3303,6 +3827,15 @@ export interface KongUpstreamPreview {
|
|
|
3303
3827
|
*/
|
|
3304
3828
|
Target?: Array<KongTarget>;
|
|
3305
3829
|
}
|
|
3830
|
+
/**
|
|
3831
|
+
* ModifyCloudNativeAPIGatewaySecretKeyStatus返回参数结构体
|
|
3832
|
+
*/
|
|
3833
|
+
export interface ModifyCloudNativeAPIGatewaySecretKeyStatusResponse {
|
|
3834
|
+
/**
|
|
3835
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3836
|
+
*/
|
|
3837
|
+
RequestId?: string;
|
|
3838
|
+
}
|
|
3306
3839
|
/**
|
|
3307
3840
|
* 云原生网关证书
|
|
3308
3841
|
*/
|
|
@@ -3329,6 +3862,23 @@ export interface SourceInfo {
|
|
|
3329
3862
|
*/
|
|
3330
3863
|
Auth?: SourceInstanceAuth;
|
|
3331
3864
|
}
|
|
3865
|
+
/**
|
|
3866
|
+
* ModifyCloudNativeAPIGatewaySecretKeyStatus请求参数结构体
|
|
3867
|
+
*/
|
|
3868
|
+
export interface ModifyCloudNativeAPIGatewaySecretKeyStatusRequest {
|
|
3869
|
+
/**
|
|
3870
|
+
* 实例 ID
|
|
3871
|
+
*/
|
|
3872
|
+
GatewayId: string;
|
|
3873
|
+
/**
|
|
3874
|
+
* 密钥名字
|
|
3875
|
+
*/
|
|
3876
|
+
Status: string;
|
|
3877
|
+
/**
|
|
3878
|
+
* 密钥id
|
|
3879
|
+
*/
|
|
3880
|
+
SecretKeyId: string;
|
|
3881
|
+
}
|
|
3332
3882
|
/**
|
|
3333
3883
|
* DeleteGovernanceInstances返回参数结构体
|
|
3334
3884
|
*/
|
|
@@ -3494,6 +4044,19 @@ export interface ModifyCloudNativeAPIGatewayRouteResponse {
|
|
|
3494
4044
|
*/
|
|
3495
4045
|
RequestId?: string;
|
|
3496
4046
|
}
|
|
4047
|
+
/**
|
|
4048
|
+
* DescribeCloudNativeAPIGatewayConsumer返回参数结构体
|
|
4049
|
+
*/
|
|
4050
|
+
export interface DescribeCloudNativeAPIGatewayConsumerResponse {
|
|
4051
|
+
/**
|
|
4052
|
+
* 删除结果
|
|
4053
|
+
*/
|
|
4054
|
+
Result?: CNAPIGwConsumer;
|
|
4055
|
+
/**
|
|
4056
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4057
|
+
*/
|
|
4058
|
+
RequestId?: string;
|
|
4059
|
+
}
|
|
3497
4060
|
/**
|
|
3498
4061
|
* 云原生网关证书预览信息
|
|
3499
4062
|
*/
|
|
@@ -3545,6 +4108,27 @@ export interface KongCertificatesPreview {
|
|
|
3545
4108
|
*/
|
|
3546
4109
|
CertId?: string;
|
|
3547
4110
|
}
|
|
4111
|
+
/**
|
|
4112
|
+
* 默认kong路由,目前只在 LLM 模型 API相 关接口使用
|
|
4113
|
+
*/
|
|
4114
|
+
export interface DefaultKongRoute {
|
|
4115
|
+
/**
|
|
4116
|
+
* <p>服务名字</p>
|
|
4117
|
+
*/
|
|
4118
|
+
Name: string;
|
|
4119
|
+
/**
|
|
4120
|
+
* <p>服务ID</p>
|
|
4121
|
+
*/
|
|
4122
|
+
ID?: string;
|
|
4123
|
+
/**
|
|
4124
|
+
* <p>HTTP Method</p>
|
|
4125
|
+
*/
|
|
4126
|
+
Methods?: Array<string>;
|
|
4127
|
+
/**
|
|
4128
|
+
* <p>Http Path</p>
|
|
4129
|
+
*/
|
|
4130
|
+
Paths?: Array<string>;
|
|
4131
|
+
}
|
|
3548
4132
|
/**
|
|
3549
4133
|
* 配置文件发布
|
|
3550
4134
|
*/
|
|
@@ -3854,25 +4438,13 @@ export interface DescribeConfigFilesByGroupResponse {
|
|
|
3854
4438
|
RequestId?: string;
|
|
3855
4439
|
}
|
|
3856
4440
|
/**
|
|
3857
|
-
*
|
|
4441
|
+
* CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
|
3858
4442
|
*/
|
|
3859
|
-
export interface
|
|
3860
|
-
/**
|
|
3861
|
-
* 请求匹配条件
|
|
3862
|
-
*/
|
|
3863
|
-
Filters?: Array<RuleFilter>;
|
|
3864
|
-
/**
|
|
3865
|
-
* 参数限流依据组合
|
|
3866
|
-
*/
|
|
3867
|
-
LimitBy?: Array<KeyValue>;
|
|
3868
|
-
/**
|
|
3869
|
-
* 限流阈值
|
|
3870
|
-
*/
|
|
3871
|
-
QpsThresholds?: Array<QpsThreshold>;
|
|
4443
|
+
export interface CreateCloudNativeAPIGatewayServiceRateLimitResponse {
|
|
3872
4444
|
/**
|
|
3873
|
-
*
|
|
4445
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3874
4446
|
*/
|
|
3875
|
-
|
|
4447
|
+
RequestId?: string;
|
|
3876
4448
|
}
|
|
3877
4449
|
/**
|
|
3878
4450
|
* ModifyAutoScalerResourceStrategy返回参数结构体
|
|
@@ -3961,6 +4533,39 @@ export interface DescribeConfigFileResponse {
|
|
|
3961
4533
|
*/
|
|
3962
4534
|
RequestId?: string;
|
|
3963
4535
|
}
|
|
4536
|
+
/**
|
|
4537
|
+
* Nacos副本信息
|
|
4538
|
+
*/
|
|
4539
|
+
export interface NacosReplica {
|
|
4540
|
+
/**
|
|
4541
|
+
* 名称
|
|
4542
|
+
*/
|
|
4543
|
+
Name?: string;
|
|
4544
|
+
/**
|
|
4545
|
+
* 角色
|
|
4546
|
+
*/
|
|
4547
|
+
Role?: string;
|
|
4548
|
+
/**
|
|
4549
|
+
* 状态
|
|
4550
|
+
*/
|
|
4551
|
+
Status?: string;
|
|
4552
|
+
/**
|
|
4553
|
+
* 子网ID
|
|
4554
|
+
*/
|
|
4555
|
+
SubnetId?: string;
|
|
4556
|
+
/**
|
|
4557
|
+
* 可用区ID
|
|
4558
|
+
*/
|
|
4559
|
+
Zone?: string;
|
|
4560
|
+
/**
|
|
4561
|
+
* 可用区ID
|
|
4562
|
+
*/
|
|
4563
|
+
ZoneId?: string;
|
|
4564
|
+
/**
|
|
4565
|
+
* VPC ID
|
|
4566
|
+
*/
|
|
4567
|
+
VpcId?: string;
|
|
4568
|
+
}
|
|
3964
4569
|
/**
|
|
3965
4570
|
* 云原生网关限流插件参数限流的精确Qps阈值
|
|
3966
4571
|
*/
|
|
@@ -3975,29 +4580,83 @@ export interface AccurateQpsThreshold {
|
|
|
3975
4580
|
GlobalConfigId: string;
|
|
3976
4581
|
}
|
|
3977
4582
|
/**
|
|
3978
|
-
*
|
|
4583
|
+
* CreateCloudNativeAPIGatewaySecretKey请求参数结构体
|
|
3979
4584
|
*/
|
|
3980
|
-
export interface
|
|
4585
|
+
export interface CreateCloudNativeAPIGatewaySecretKeyRequest {
|
|
3981
4586
|
/**
|
|
3982
|
-
*
|
|
4587
|
+
* 实例 ID
|
|
3983
4588
|
*/
|
|
3984
|
-
|
|
4589
|
+
GatewayId: string;
|
|
3985
4590
|
/**
|
|
3986
|
-
*
|
|
4591
|
+
* 密钥类型: ApiKey
|
|
3987
4592
|
*/
|
|
3988
|
-
|
|
4593
|
+
SecretType: string;
|
|
3989
4594
|
/**
|
|
3990
|
-
*
|
|
4595
|
+
* 密钥名字
|
|
3991
4596
|
*/
|
|
3992
|
-
|
|
3993
|
-
}
|
|
3994
|
-
/**
|
|
3995
|
-
* DeleteCloudNativeAPIGatewayCORS返回参数结构体
|
|
3996
|
-
*/
|
|
3997
|
-
export interface DeleteCloudNativeAPIGatewayCORSResponse {
|
|
4597
|
+
Name: string;
|
|
3998
4598
|
/**
|
|
3999
|
-
*
|
|
4000
|
-
|
|
4599
|
+
* 生成方式:
|
|
4600
|
+
|
|
4601
|
+
密钥类型 Consumer 时选项:
|
|
4602
|
+
|
|
4603
|
+
- KMS
|
|
4604
|
+
- System 系统
|
|
4605
|
+
- Custom 自定义
|
|
4606
|
+
|
|
4607
|
+
密钥类型是 LLM 时选项
|
|
4608
|
+
|
|
4609
|
+
- KMS
|
|
4610
|
+
- Custom 自定义
|
|
4611
|
+
*/
|
|
4612
|
+
GenerateType: string;
|
|
4613
|
+
/**
|
|
4614
|
+
* 资源类型:
|
|
4615
|
+
- Consumer 消费者
|
|
4616
|
+
- LLM 模型服务
|
|
4617
|
+
*/
|
|
4618
|
+
ResourceType: string;
|
|
4619
|
+
/**
|
|
4620
|
+
* KMS 的凭证名字, GenerateType 时 kms 必填
|
|
4621
|
+
*/
|
|
4622
|
+
KmsKeyName?: string;
|
|
4623
|
+
/**
|
|
4624
|
+
* KMS 的凭证版本, GenerateType 时 kms 必填
|
|
4625
|
+
*/
|
|
4626
|
+
KmsKeyVersion?: string;
|
|
4627
|
+
/**
|
|
4628
|
+
* GenerateType 等于 Custom 是必填
|
|
4629
|
+
*/
|
|
4630
|
+
SecretValue?: string;
|
|
4631
|
+
/**
|
|
4632
|
+
* 描述
|
|
4633
|
+
*/
|
|
4634
|
+
Description?: string;
|
|
4635
|
+
}
|
|
4636
|
+
/**
|
|
4637
|
+
* Zookeeper的地域信息的 myid 信息记录
|
|
4638
|
+
*/
|
|
4639
|
+
export interface ZookeeperRegionMyIdInfo {
|
|
4640
|
+
/**
|
|
4641
|
+
* 地域信息
|
|
4642
|
+
*/
|
|
4643
|
+
Region?: string;
|
|
4644
|
+
/**
|
|
4645
|
+
* myid 的起始号段
|
|
4646
|
+
*/
|
|
4647
|
+
MyIdStart?: number;
|
|
4648
|
+
/**
|
|
4649
|
+
* myid 的结束号段
|
|
4650
|
+
*/
|
|
4651
|
+
MyIdEnd?: number;
|
|
4652
|
+
}
|
|
4653
|
+
/**
|
|
4654
|
+
* DeleteCloudNativeAPIGatewayCORS返回参数结构体
|
|
4655
|
+
*/
|
|
4656
|
+
export interface DeleteCloudNativeAPIGatewayCORSResponse {
|
|
4657
|
+
/**
|
|
4658
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4659
|
+
*/
|
|
4001
4660
|
RequestId?: string;
|
|
4002
4661
|
}
|
|
4003
4662
|
/**
|
|
@@ -4026,6 +4685,82 @@ export interface UpdateCloudNativeAPIGatewaySpecResponse {
|
|
|
4026
4685
|
*/
|
|
4027
4686
|
RequestId?: string;
|
|
4028
4687
|
}
|
|
4688
|
+
/**
|
|
4689
|
+
* 获取云原生API网关实例协议端口列表响应结果
|
|
4690
|
+
*/
|
|
4691
|
+
export interface DescribeGatewayInstancePortResult {
|
|
4692
|
+
/**
|
|
4693
|
+
* 云原生API网关ID
|
|
4694
|
+
*/
|
|
4695
|
+
GatewayId?: string;
|
|
4696
|
+
/**
|
|
4697
|
+
* 网关实例协议端口列表
|
|
4698
|
+
*/
|
|
4699
|
+
GatewayInstancePortList?: Array<GatewayInstanceSchemeAndPorts>;
|
|
4700
|
+
}
|
|
4701
|
+
/**
|
|
4702
|
+
* 云原生网关服务简洁预览信息
|
|
4703
|
+
*/
|
|
4704
|
+
export interface KongServiceLightPreview {
|
|
4705
|
+
/**
|
|
4706
|
+
* 服务ID
|
|
4707
|
+
*/
|
|
4708
|
+
ID?: string;
|
|
4709
|
+
/**
|
|
4710
|
+
* 服务名字
|
|
4711
|
+
*/
|
|
4712
|
+
Name?: string;
|
|
4713
|
+
/**
|
|
4714
|
+
* 后端配置
|
|
4715
|
+
*/
|
|
4716
|
+
UpstreamInfo?: KongUpstreamInfo;
|
|
4717
|
+
/**
|
|
4718
|
+
* 后端类型
|
|
4719
|
+
*/
|
|
4720
|
+
UpstreamType?: string;
|
|
4721
|
+
/**
|
|
4722
|
+
* 创建时间
|
|
4723
|
+
*/
|
|
4724
|
+
CreatedTime?: string;
|
|
4725
|
+
/**
|
|
4726
|
+
* 请求路径
|
|
4727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4728
|
+
*/
|
|
4729
|
+
Path?: string;
|
|
4730
|
+
/**
|
|
4731
|
+
* 后端协议
|
|
4732
|
+
*/
|
|
4733
|
+
Protocol?: string;
|
|
4734
|
+
/**
|
|
4735
|
+
* 重试次数
|
|
4736
|
+
*/
|
|
4737
|
+
Retries?: number;
|
|
4738
|
+
/**
|
|
4739
|
+
* 后端延时,单位ms
|
|
4740
|
+
*/
|
|
4741
|
+
Timeout?: number;
|
|
4742
|
+
}
|
|
4743
|
+
/**
|
|
4744
|
+
* DescribeNativeGatewayServerGroups请求参数结构体
|
|
4745
|
+
*/
|
|
4746
|
+
export interface DescribeNativeGatewayServerGroupsRequest {
|
|
4747
|
+
/**
|
|
4748
|
+
* 云原生API网关实例ID。
|
|
4749
|
+
*/
|
|
4750
|
+
GatewayId: string;
|
|
4751
|
+
/**
|
|
4752
|
+
* 偏移量,默认为 0。
|
|
4753
|
+
*/
|
|
4754
|
+
Offset?: number;
|
|
4755
|
+
/**
|
|
4756
|
+
* 返回数量,默认为 20。
|
|
4757
|
+
*/
|
|
4758
|
+
Limit?: number;
|
|
4759
|
+
/**
|
|
4760
|
+
* 过滤参数,支持按照分组名称、分组ID(Name、GroupId)筛选
|
|
4761
|
+
*/
|
|
4762
|
+
Filters?: Array<Filter>;
|
|
4763
|
+
}
|
|
4029
4764
|
/**
|
|
4030
4765
|
* 云原生API网关配置信息。
|
|
4031
4766
|
*/
|
|
@@ -4124,82 +4859,6 @@ export interface CloudNativeAPIGatewayConfig {
|
|
|
4124
4859
|
*/
|
|
4125
4860
|
CustomizedConfigContent?: string;
|
|
4126
4861
|
}
|
|
4127
|
-
/**
|
|
4128
|
-
* 云原生网关服务简洁预览信息
|
|
4129
|
-
*/
|
|
4130
|
-
export interface KongServiceLightPreview {
|
|
4131
|
-
/**
|
|
4132
|
-
* 服务ID
|
|
4133
|
-
*/
|
|
4134
|
-
ID?: string;
|
|
4135
|
-
/**
|
|
4136
|
-
* 服务名字
|
|
4137
|
-
*/
|
|
4138
|
-
Name?: string;
|
|
4139
|
-
/**
|
|
4140
|
-
* 后端配置
|
|
4141
|
-
*/
|
|
4142
|
-
UpstreamInfo?: KongUpstreamInfo;
|
|
4143
|
-
/**
|
|
4144
|
-
* 后端类型
|
|
4145
|
-
*/
|
|
4146
|
-
UpstreamType?: string;
|
|
4147
|
-
/**
|
|
4148
|
-
* 创建时间
|
|
4149
|
-
*/
|
|
4150
|
-
CreatedTime?: string;
|
|
4151
|
-
/**
|
|
4152
|
-
* 请求路径
|
|
4153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4154
|
-
*/
|
|
4155
|
-
Path?: string;
|
|
4156
|
-
/**
|
|
4157
|
-
* 后端协议
|
|
4158
|
-
*/
|
|
4159
|
-
Protocol?: string;
|
|
4160
|
-
/**
|
|
4161
|
-
* 重试次数
|
|
4162
|
-
*/
|
|
4163
|
-
Retries?: number;
|
|
4164
|
-
/**
|
|
4165
|
-
* 后端延时,单位ms
|
|
4166
|
-
*/
|
|
4167
|
-
Timeout?: number;
|
|
4168
|
-
}
|
|
4169
|
-
/**
|
|
4170
|
-
* DescribeNativeGatewayServerGroups请求参数结构体
|
|
4171
|
-
*/
|
|
4172
|
-
export interface DescribeNativeGatewayServerGroupsRequest {
|
|
4173
|
-
/**
|
|
4174
|
-
* 云原生API网关实例ID。
|
|
4175
|
-
*/
|
|
4176
|
-
GatewayId: string;
|
|
4177
|
-
/**
|
|
4178
|
-
* 偏移量,默认为 0。
|
|
4179
|
-
*/
|
|
4180
|
-
Offset?: number;
|
|
4181
|
-
/**
|
|
4182
|
-
* 返回数量,默认为 20。
|
|
4183
|
-
*/
|
|
4184
|
-
Limit?: number;
|
|
4185
|
-
/**
|
|
4186
|
-
* 过滤参数,支持按照分组名称、分组ID(Name、GroupId)筛选
|
|
4187
|
-
*/
|
|
4188
|
-
Filters?: Array<Filter>;
|
|
4189
|
-
}
|
|
4190
|
-
/**
|
|
4191
|
-
* 获取云原生API网关实例协议端口列表响应结果
|
|
4192
|
-
*/
|
|
4193
|
-
export interface DescribeGatewayInstancePortResult {
|
|
4194
|
-
/**
|
|
4195
|
-
* 云原生API网关ID
|
|
4196
|
-
*/
|
|
4197
|
-
GatewayId?: string;
|
|
4198
|
-
/**
|
|
4199
|
-
* 网关实例协议端口列表
|
|
4200
|
-
*/
|
|
4201
|
-
GatewayInstancePortList?: Array<GatewayInstanceSchemeAndPorts>;
|
|
4202
|
-
}
|
|
4203
4862
|
/**
|
|
4204
4863
|
* DescribePublicNetwork请求参数结构体
|
|
4205
4864
|
*/
|
|
@@ -4272,6 +4931,15 @@ export interface DeleteGovernanceInstancesByHostResponse {
|
|
|
4272
4931
|
*/
|
|
4273
4932
|
RequestId?: string;
|
|
4274
4933
|
}
|
|
4934
|
+
/**
|
|
4935
|
+
* 查询Limiter的接入地址
|
|
4936
|
+
*/
|
|
4937
|
+
export interface PolarisLimiterAddress {
|
|
4938
|
+
/**
|
|
4939
|
+
* VPC接入IP列表
|
|
4940
|
+
*/
|
|
4941
|
+
IntranetAddress?: string;
|
|
4942
|
+
}
|
|
4275
4943
|
/**
|
|
4276
4944
|
* 引擎的初始管理账号,当前仅支持Apollo引擎
|
|
4277
4945
|
*/
|
|
@@ -4657,6 +5325,95 @@ export interface CloudNativeAPIGatewayCanaryRule {
|
|
|
4657
5325
|
*/
|
|
4658
5326
|
LaneTag?: string;
|
|
4659
5327
|
}
|
|
5328
|
+
/**
|
|
5329
|
+
* LLM 模型服务
|
|
5330
|
+
*/
|
|
5331
|
+
export interface CloudNativeAPIGatewayLLMModelService {
|
|
5332
|
+
/**
|
|
5333
|
+
* <p>模型服务 ID。</p>
|
|
5334
|
+
*/
|
|
5335
|
+
Id?: string;
|
|
5336
|
+
/**
|
|
5337
|
+
* <p>模型服务名称。</p>
|
|
5338
|
+
*/
|
|
5339
|
+
Name?: string;
|
|
5340
|
+
/**
|
|
5341
|
+
* <p>创建时间。</p>
|
|
5342
|
+
*/
|
|
5343
|
+
CreateTime?: string;
|
|
5344
|
+
/**
|
|
5345
|
+
* <p>修改时间。</p>
|
|
5346
|
+
*/
|
|
5347
|
+
ModifyTime?: string;
|
|
5348
|
+
/**
|
|
5349
|
+
* <p>服务类型,目前只支持xa0LLMService。</p>
|
|
5350
|
+
*/
|
|
5351
|
+
ServiceType?: string;
|
|
5352
|
+
/**
|
|
5353
|
+
* <p>选择模型提供商, 选项:OpenAI、Anthropic、Azure OpenAI、自定义HTTP。</p>
|
|
5354
|
+
*/
|
|
5355
|
+
ModelProvider?: string;
|
|
5356
|
+
/**
|
|
5357
|
+
* <p>API协议标准,根据供应商动态变化:OpenAI→OpenAI/v1,Anthropic→Anthropic/v1等</p>
|
|
5358
|
+
*/
|
|
5359
|
+
ModelProtocol?: string;
|
|
5360
|
+
/**
|
|
5361
|
+
* <p>自定义的模型请求 URL。</p>
|
|
5362
|
+
*/
|
|
5363
|
+
UpstreamURL?: string;
|
|
5364
|
+
/**
|
|
5365
|
+
* <p>模型选择方式,选项:Specify(指定模型)、PassThrough(透传请求模型)。</p>
|
|
5366
|
+
*/
|
|
5367
|
+
ModelSelector?: string;
|
|
5368
|
+
/**
|
|
5369
|
+
* <p>默认模型,模型选择方式为 Specify 时必填。</p>
|
|
5370
|
+
*/
|
|
5371
|
+
DefaultModel?: string;
|
|
5372
|
+
/**
|
|
5373
|
+
* <p>开启模型降级,模型选择方式为 Specify 时必填。</p>
|
|
5374
|
+
*/
|
|
5375
|
+
EnableModelFallback?: boolean;
|
|
5376
|
+
/**
|
|
5377
|
+
* <p>可以配置备用模型规则,EnableSpecifyModelFallbackxa0为 true 时必填。</p>
|
|
5378
|
+
*/
|
|
5379
|
+
ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule;
|
|
5380
|
+
/**
|
|
5381
|
+
* <p>开启模型参数校验,是否校验客户端传递的 model 参数,xa0模型选择方式为 PassThrough 时必填。</p>
|
|
5382
|
+
*/
|
|
5383
|
+
EnableModelParamCheck?: boolean;
|
|
5384
|
+
/**
|
|
5385
|
+
* <p>模型检验信息,EnableModelParamCheckxa0为 true 时必填。</p>
|
|
5386
|
+
*/
|
|
5387
|
+
ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo;
|
|
5388
|
+
/**
|
|
5389
|
+
* <p>描述。</p>
|
|
5390
|
+
*/
|
|
5391
|
+
Description?: string;
|
|
5392
|
+
/**
|
|
5393
|
+
* <p>连接超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:10000</p>
|
|
5394
|
+
*/
|
|
5395
|
+
ConnectTimeout?: number;
|
|
5396
|
+
/**
|
|
5397
|
+
* <p>写入超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:60000</p>
|
|
5398
|
+
*/
|
|
5399
|
+
WriteTimeout?: number;
|
|
5400
|
+
/**
|
|
5401
|
+
* <p>读取超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p>
|
|
5402
|
+
*/
|
|
5403
|
+
ReadTimeout?: number;
|
|
5404
|
+
/**
|
|
5405
|
+
* <p>重试次数</p><p>取值范围:[0, 5]</p><p>单位:次</p><p>默认值:0</p>
|
|
5406
|
+
*/
|
|
5407
|
+
Retries?: number;
|
|
5408
|
+
/**
|
|
5409
|
+
* <p>路径拼接模式</p><p>枚举值:</p><ul><li>FixedPath: 固定路径</li><li>AutoConcat: 自动拼接</li></ul>
|
|
5410
|
+
*/
|
|
5411
|
+
UpstreamUrlMode?: string;
|
|
5412
|
+
/**
|
|
5413
|
+
* <p>sni</p>
|
|
5414
|
+
*/
|
|
5415
|
+
SNI?: string;
|
|
5416
|
+
}
|
|
4660
5417
|
/**
|
|
4661
5418
|
* DescribeCloudNativeAPIGatewayServicesLight请求参数结构体
|
|
4662
5419
|
*/
|
|
@@ -4750,6 +5507,19 @@ export interface DescribeCloudNativeAPIGatewayCertificateDetailsRequest {
|
|
|
4750
5507
|
*/
|
|
4751
5508
|
Id: string;
|
|
4752
5509
|
}
|
|
5510
|
+
/**
|
|
5511
|
+
* 配置文件标签
|
|
5512
|
+
*/
|
|
5513
|
+
export interface ConfigFileTag {
|
|
5514
|
+
/**
|
|
5515
|
+
* key-value 键
|
|
5516
|
+
*/
|
|
5517
|
+
Key?: string;
|
|
5518
|
+
/**
|
|
5519
|
+
* key-value 值
|
|
5520
|
+
*/
|
|
5521
|
+
Value?: string;
|
|
5522
|
+
}
|
|
4753
5523
|
/**
|
|
4754
5524
|
* 实例信息
|
|
4755
5525
|
*/
|
|
@@ -4812,6 +5582,29 @@ export interface CreateNativeGatewayServerGroupResponse {
|
|
|
4812
5582
|
*/
|
|
4813
5583
|
RequestId?: string;
|
|
4814
5584
|
}
|
|
5585
|
+
/**
|
|
5586
|
+
* AddCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
|
|
5587
|
+
*/
|
|
5588
|
+
export interface AddCloudNativeAPIGatewayConsumerGroupAuthRequest {
|
|
5589
|
+
/**
|
|
5590
|
+
* 网关实例id
|
|
5591
|
+
*/
|
|
5592
|
+
GatewayId: string;
|
|
5593
|
+
/**
|
|
5594
|
+
* 资源类型:
|
|
5595
|
+
|
|
5596
|
+
- ModelAPI: 模型API
|
|
5597
|
+
*/
|
|
5598
|
+
ResourceType: string;
|
|
5599
|
+
/**
|
|
5600
|
+
* 对应资源的id
|
|
5601
|
+
*/
|
|
5602
|
+
ResourceId: string;
|
|
5603
|
+
/**
|
|
5604
|
+
* 资源ID
|
|
5605
|
+
*/
|
|
5606
|
+
ConsumerGroupIds: Array<string>;
|
|
5607
|
+
}
|
|
4815
5608
|
/**
|
|
4816
5609
|
* DeleteConfigFileReleases返回参数结构体
|
|
4817
5610
|
*/
|
|
@@ -4907,6 +5700,19 @@ export interface GovernanceNamespace {
|
|
|
4907
5700
|
*/
|
|
4908
5701
|
Metadatas?: Array<Metadata>;
|
|
4909
5702
|
}
|
|
5703
|
+
/**
|
|
5704
|
+
* ModifyCloudNativeAPIGatewayLLMModelService返回参数结构体
|
|
5705
|
+
*/
|
|
5706
|
+
export interface ModifyCloudNativeAPIGatewayLLMModelServiceResponse {
|
|
5707
|
+
/**
|
|
5708
|
+
* <p>是否成功</p>
|
|
5709
|
+
*/
|
|
5710
|
+
Result?: boolean;
|
|
5711
|
+
/**
|
|
5712
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5713
|
+
*/
|
|
5714
|
+
RequestId?: string;
|
|
5715
|
+
}
|
|
4910
5716
|
/**
|
|
4911
5717
|
* DeleteCloudNativeAPIGatewayCanaryRule返回参数结构体
|
|
4912
5718
|
*/
|
|
@@ -5005,6 +5811,15 @@ export interface DescribeCloudNativeAPIGatewayResponse {
|
|
|
5005
5811
|
*/
|
|
5006
5812
|
RequestId?: string;
|
|
5007
5813
|
}
|
|
5814
|
+
/**
|
|
5815
|
+
* ModifyCloudNativeAPIGatewayConsumerGroup返回参数结构体
|
|
5816
|
+
*/
|
|
5817
|
+
export interface ModifyCloudNativeAPIGatewayConsumerGroupResponse {
|
|
5818
|
+
/**
|
|
5819
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5820
|
+
*/
|
|
5821
|
+
RequestId?: string;
|
|
5822
|
+
}
|
|
5008
5823
|
/**
|
|
5009
5824
|
* CreateCloudNativeAPIGateway请求参数结构体
|
|
5010
5825
|
*/
|
|
@@ -5140,6 +5955,19 @@ export interface RoutingDestinationRuleLabel {
|
|
|
5140
5955
|
*/
|
|
5141
5956
|
LabelValueType?: string;
|
|
5142
5957
|
}
|
|
5958
|
+
/**
|
|
5959
|
+
* DescribeCloudNativeAPIGatewaySecretKeyValue请求参数结构体
|
|
5960
|
+
*/
|
|
5961
|
+
export interface DescribeCloudNativeAPIGatewaySecretKeyValueRequest {
|
|
5962
|
+
/**
|
|
5963
|
+
* 实例 ID
|
|
5964
|
+
*/
|
|
5965
|
+
GatewayId: string;
|
|
5966
|
+
/**
|
|
5967
|
+
* 密钥id
|
|
5968
|
+
*/
|
|
5969
|
+
SecretKeyId: string;
|
|
5970
|
+
}
|
|
5143
5971
|
/**
|
|
5144
5972
|
* ModifyConfigFiles返回参数结构体
|
|
5145
5973
|
*/
|
|
@@ -5153,6 +5981,19 @@ export interface ModifyConfigFilesResponse {
|
|
|
5153
5981
|
*/
|
|
5154
5982
|
RequestId?: string;
|
|
5155
5983
|
}
|
|
5984
|
+
/**
|
|
5985
|
+
* DescribeCloudNativeAPIGatewaySecretKey返回参数结构体
|
|
5986
|
+
*/
|
|
5987
|
+
export interface DescribeCloudNativeAPIGatewaySecretKeyResponse {
|
|
5988
|
+
/**
|
|
5989
|
+
* 允许的操作
|
|
5990
|
+
*/
|
|
5991
|
+
Result?: CNAPIGwSecretKey;
|
|
5992
|
+
/**
|
|
5993
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5994
|
+
*/
|
|
5995
|
+
RequestId?: string;
|
|
5996
|
+
}
|
|
5156
5997
|
/**
|
|
5157
5998
|
* DescribeAllConfigFileTemplates返回参数结构体
|
|
5158
5999
|
*/
|
|
@@ -5208,6 +6049,19 @@ export interface DescribeConfigFileReleaseVersionsRequest {
|
|
|
5208
6049
|
*/
|
|
5209
6050
|
ConfigFileId?: string;
|
|
5210
6051
|
}
|
|
6052
|
+
/**
|
|
6053
|
+
* DescribeCloudNativeAPIGatewaySecretKeyList返回参数结构体
|
|
6054
|
+
*/
|
|
6055
|
+
export interface DescribeCloudNativeAPIGatewaySecretKeyListResponse {
|
|
6056
|
+
/**
|
|
6057
|
+
* 允许的操作
|
|
6058
|
+
*/
|
|
6059
|
+
Result?: CNAPIGwSecretKeyList;
|
|
6060
|
+
/**
|
|
6061
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6062
|
+
*/
|
|
6063
|
+
RequestId?: string;
|
|
6064
|
+
}
|
|
5211
6065
|
/**
|
|
5212
6066
|
* 服务契约版本信息
|
|
5213
6067
|
*/
|
|
@@ -5225,6 +6079,29 @@ export interface GovernanceServiceContractVersion {
|
|
|
5225
6079
|
*/
|
|
5226
6080
|
Key?: string;
|
|
5227
6081
|
}
|
|
6082
|
+
/**
|
|
6083
|
+
* CreateCloudNativeAPIGatewayConsumerGroup请求参数结构体
|
|
6084
|
+
*/
|
|
6085
|
+
export interface CreateCloudNativeAPIGatewayConsumerGroupRequest {
|
|
6086
|
+
/**
|
|
6087
|
+
* 网关实例id
|
|
6088
|
+
*/
|
|
6089
|
+
GatewayId: string;
|
|
6090
|
+
/**
|
|
6091
|
+
* 消费者组名称
|
|
6092
|
+
*/
|
|
6093
|
+
Name: string;
|
|
6094
|
+
/**
|
|
6095
|
+
* 状态:
|
|
6096
|
+
- Enable 启用
|
|
6097
|
+
- Disable 禁用
|
|
6098
|
+
*/
|
|
6099
|
+
Status: string;
|
|
6100
|
+
/**
|
|
6101
|
+
* 消费者组描述
|
|
6102
|
+
*/
|
|
6103
|
+
Description?: string;
|
|
6104
|
+
}
|
|
5228
6105
|
/**
|
|
5229
6106
|
* ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
|
5230
6107
|
*/
|
|
@@ -5243,6 +6120,27 @@ export interface ModifyCloudNativeAPIGatewayRouteRateLimitRequest {
|
|
|
5243
6120
|
*/
|
|
5244
6121
|
LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
|
|
5245
6122
|
}
|
|
6123
|
+
/**
|
|
6124
|
+
* Kong网关主动健康检查配置
|
|
6125
|
+
*/
|
|
6126
|
+
export interface KongActiveHealthCheck {
|
|
6127
|
+
/**
|
|
6128
|
+
* 主动健康检查健康探测间隔,单位:秒,0表示不开启
|
|
6129
|
+
*/
|
|
6130
|
+
HealthyInterval?: number;
|
|
6131
|
+
/**
|
|
6132
|
+
* 主动健康检查异常探测间隔,单位:秒,0表示不开启
|
|
6133
|
+
*/
|
|
6134
|
+
UnHealthyInterval?: number;
|
|
6135
|
+
/**
|
|
6136
|
+
* 在 GET HTTP 请求中使用的路径,以作为主动运行状况检查的探测器运行。默认: ”/”。
|
|
6137
|
+
*/
|
|
6138
|
+
HttpPath?: string;
|
|
6139
|
+
/**
|
|
6140
|
+
* GET HTTP 请求的超时时间,单位:秒。默认 60。
|
|
6141
|
+
*/
|
|
6142
|
+
Timeout?: number;
|
|
6143
|
+
}
|
|
5246
6144
|
/**
|
|
5247
6145
|
* 云原生网关限流插件外部redis配置
|
|
5248
6146
|
*/
|
|
@@ -5426,50 +6324,76 @@ export interface DeleteAutoScalerResourceStrategyRequest {
|
|
|
5426
6324
|
StrategyId: string;
|
|
5427
6325
|
}
|
|
5428
6326
|
/**
|
|
5429
|
-
*
|
|
6327
|
+
* DescribeCloudNativeAPIGatewayConsumerGroup请求参数结构体
|
|
5430
6328
|
*/
|
|
5431
|
-
export interface
|
|
6329
|
+
export interface DescribeCloudNativeAPIGatewayConsumerGroupRequest {
|
|
5432
6330
|
/**
|
|
5433
|
-
*
|
|
5434
|
-
*/
|
|
5435
|
-
Name?: string;
|
|
5436
|
-
/**
|
|
5437
|
-
* 角色
|
|
6331
|
+
* 网关实例id
|
|
5438
6332
|
*/
|
|
5439
|
-
|
|
6333
|
+
GatewayId: string;
|
|
5440
6334
|
/**
|
|
5441
|
-
*
|
|
6335
|
+
* 消费者组ID
|
|
5442
6336
|
*/
|
|
5443
|
-
|
|
6337
|
+
ConsumerGroupId: string;
|
|
6338
|
+
}
|
|
6339
|
+
/**
|
|
6340
|
+
* CreateGovernanceInstances返回参数结构体
|
|
6341
|
+
*/
|
|
6342
|
+
export interface CreateGovernanceInstancesResponse {
|
|
5444
6343
|
/**
|
|
5445
|
-
*
|
|
6344
|
+
* 创建是否成功。
|
|
5446
6345
|
*/
|
|
5447
|
-
|
|
6346
|
+
Result?: boolean;
|
|
5448
6347
|
/**
|
|
5449
|
-
*
|
|
6348
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5450
6349
|
*/
|
|
5451
|
-
|
|
6350
|
+
RequestId?: string;
|
|
6351
|
+
}
|
|
6352
|
+
/**
|
|
6353
|
+
* DeleteCloudNativeAPIGatewayLLMModelAPI请求参数结构体
|
|
6354
|
+
*/
|
|
6355
|
+
export interface DeleteCloudNativeAPIGatewayLLMModelAPIRequest {
|
|
5452
6356
|
/**
|
|
5453
|
-
*
|
|
6357
|
+
* 网关 id。
|
|
5454
6358
|
*/
|
|
5455
|
-
|
|
6359
|
+
GatewayId: string;
|
|
5456
6360
|
/**
|
|
5457
|
-
*
|
|
6361
|
+
* 模型 API ID,全局唯一标识。
|
|
5458
6362
|
*/
|
|
5459
|
-
|
|
6363
|
+
ModelAPIId: string;
|
|
5460
6364
|
}
|
|
5461
6365
|
/**
|
|
5462
|
-
*
|
|
6366
|
+
* DescribeCloudNativeAPIGatewayLLMModelAPIs请求参数结构体
|
|
5463
6367
|
*/
|
|
5464
|
-
export interface
|
|
6368
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelAPIsRequest {
|
|
5465
6369
|
/**
|
|
5466
|
-
*
|
|
6370
|
+
* 网关 id。
|
|
5467
6371
|
*/
|
|
5468
|
-
|
|
6372
|
+
GatewayId: string;
|
|
5469
6373
|
/**
|
|
5470
|
-
*
|
|
6374
|
+
* 返回数量,默认为 10,最大值为 1000。
|
|
5471
6375
|
*/
|
|
5472
|
-
|
|
6376
|
+
Limit?: number;
|
|
6377
|
+
/**
|
|
6378
|
+
* 偏移量,默认为 0。
|
|
6379
|
+
*/
|
|
6380
|
+
Offset?: number;
|
|
6381
|
+
/**
|
|
6382
|
+
* 过滤条件,多个过滤条件之间是“与”的关系
|
|
6383
|
+
*/
|
|
6384
|
+
Filters?: Array<Filter>;
|
|
6385
|
+
/**
|
|
6386
|
+
* 搜索关键词,模糊匹配 name 和 description
|
|
6387
|
+
*/
|
|
6388
|
+
Keyword?: string;
|
|
6389
|
+
/**
|
|
6390
|
+
* 通过消费者组Id筛选,UseToBind 为 true 时ConsumerGroupId不为空
|
|
6391
|
+
*/
|
|
6392
|
+
ConsumerGroupId?: string;
|
|
6393
|
+
/**
|
|
6394
|
+
* 筛选可被绑定的数据, 比如模型API里面绑定模型服务筛选时,如果设置true, 返回结果只会有可以被绑定的数据。
|
|
6395
|
+
*/
|
|
6396
|
+
UseToBind?: boolean;
|
|
5473
6397
|
}
|
|
5474
6398
|
/**
|
|
5475
6399
|
* 创建云原生网关服务结果
|
|
@@ -5491,29 +6415,84 @@ export interface DescribeInstanceInfoByIpResult {
|
|
|
5491
6415
|
/**
|
|
5492
6416
|
* 分组id
|
|
5493
6417
|
*/
|
|
5494
|
-
GroupId?: string;
|
|
5495
|
-
}
|
|
5496
|
-
/**
|
|
5497
|
-
* CreateGovernanceLaneGroups返回参数结构体
|
|
5498
|
-
*/
|
|
5499
|
-
export interface CreateGovernanceLaneGroupsResponse {
|
|
6418
|
+
GroupId?: string;
|
|
6419
|
+
}
|
|
6420
|
+
/**
|
|
6421
|
+
* CreateGovernanceLaneGroups返回参数结构体
|
|
6422
|
+
*/
|
|
6423
|
+
export interface CreateGovernanceLaneGroupsResponse {
|
|
6424
|
+
/**
|
|
6425
|
+
* 是否创建成功
|
|
6426
|
+
*/
|
|
6427
|
+
Result?: boolean;
|
|
6428
|
+
/**
|
|
6429
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6430
|
+
*/
|
|
6431
|
+
RequestId?: string;
|
|
6432
|
+
}
|
|
6433
|
+
/**
|
|
6434
|
+
* 创建资源通用结果
|
|
6435
|
+
*/
|
|
6436
|
+
export interface CNAPIGwCreateCommonResult {
|
|
6437
|
+
/**
|
|
6438
|
+
* 是否成功
|
|
6439
|
+
*/
|
|
6440
|
+
Success?: boolean;
|
|
6441
|
+
/**
|
|
6442
|
+
* 对应的id 值
|
|
6443
|
+
*/
|
|
6444
|
+
ID?: string;
|
|
6445
|
+
}
|
|
6446
|
+
/**
|
|
6447
|
+
* 模型服务路由配置
|
|
6448
|
+
*/
|
|
6449
|
+
export interface CloudNativeAPIGatewayLLMModelServiceRoute {
|
|
6450
|
+
/**
|
|
6451
|
+
* 生效的路由算法类型:权重路由,模型名称路由、参数路由等Weighted/ModelName/Query (预留多个,暂时只能填写一个)
|
|
6452
|
+
*/
|
|
6453
|
+
SelectedTypes: Array<string>;
|
|
6454
|
+
/**
|
|
6455
|
+
* 权重路由配置,最多10个
|
|
6456
|
+
*/
|
|
6457
|
+
WeightedConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteWeightedStrategy>;
|
|
6458
|
+
/**
|
|
6459
|
+
* 模型名称路由配置,最多10个
|
|
6460
|
+
*/
|
|
6461
|
+
ModelNameConfig?: Array<CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy>;
|
|
6462
|
+
}
|
|
6463
|
+
/**
|
|
6464
|
+
* 消费者组结构
|
|
6465
|
+
*/
|
|
6466
|
+
export interface CNAPIGwConsumerGroup {
|
|
6467
|
+
/**
|
|
6468
|
+
* 分组id
|
|
6469
|
+
*/
|
|
6470
|
+
ConsumerGroupId: string;
|
|
6471
|
+
/**
|
|
6472
|
+
* 名字
|
|
6473
|
+
*/
|
|
6474
|
+
Name: string;
|
|
6475
|
+
/**
|
|
6476
|
+
* 状态Disable/Enable
|
|
6477
|
+
*/
|
|
6478
|
+
Status: string;
|
|
6479
|
+
/**
|
|
6480
|
+
* 描述
|
|
6481
|
+
*/
|
|
6482
|
+
Description: string;
|
|
5500
6483
|
/**
|
|
5501
|
-
*
|
|
6484
|
+
* 创建时间
|
|
5502
6485
|
*/
|
|
5503
|
-
|
|
6486
|
+
CreateTime?: string;
|
|
5504
6487
|
/**
|
|
5505
|
-
*
|
|
6488
|
+
* 更新时间 yyyy-MM-dd hh:mm:ss
|
|
5506
6489
|
*/
|
|
5507
|
-
|
|
5508
|
-
}
|
|
5509
|
-
/**
|
|
5510
|
-
* DeleteEngine返回参数结构体
|
|
5511
|
-
*/
|
|
5512
|
-
export interface DeleteEngineResponse {
|
|
6490
|
+
ModifyTime?: string;
|
|
5513
6491
|
/**
|
|
5514
|
-
*
|
|
6492
|
+
* 绑定的消费者数量
|
|
6493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5515
6494
|
*/
|
|
5516
|
-
|
|
6495
|
+
BindCount?: number;
|
|
5517
6496
|
}
|
|
5518
6497
|
/**
|
|
5519
6498
|
* 新增Location字段,展示zone/region/campus
|
|
@@ -5834,6 +6813,32 @@ export interface DescribeCloudNativeAPIGatewayConfigResponse {
|
|
|
5834
6813
|
*/
|
|
5835
6814
|
RequestId?: string;
|
|
5836
6815
|
}
|
|
6816
|
+
/**
|
|
6817
|
+
* CreateCloudNativeAPIGatewayConsumerGroup返回参数结构体
|
|
6818
|
+
*/
|
|
6819
|
+
export interface CreateCloudNativeAPIGatewayConsumerGroupResponse {
|
|
6820
|
+
/**
|
|
6821
|
+
* 创建结果
|
|
6822
|
+
*/
|
|
6823
|
+
Result?: CNAPIGwCreateCommonResult;
|
|
6824
|
+
/**
|
|
6825
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6826
|
+
*/
|
|
6827
|
+
RequestId?: string;
|
|
6828
|
+
}
|
|
6829
|
+
/**
|
|
6830
|
+
* DescribeCloudNativeAPIGatewayLLMModelAPI返回参数结构体
|
|
6831
|
+
*/
|
|
6832
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelAPIResponse {
|
|
6833
|
+
/**
|
|
6834
|
+
* 模型 API 信息。
|
|
6835
|
+
*/
|
|
6836
|
+
Result?: CloudNativeAPIGatewayLLMModelAPI;
|
|
6837
|
+
/**
|
|
6838
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6839
|
+
*/
|
|
6840
|
+
RequestId?: string;
|
|
6841
|
+
}
|
|
5837
6842
|
/**
|
|
5838
6843
|
* CreateCloudNativeAPIGatewayRoute返回参数结构体
|
|
5839
6844
|
*/
|
|
@@ -5907,15 +6912,6 @@ export interface ConfigFileReleaseDeletion {
|
|
|
5907
6912
|
*/
|
|
5908
6913
|
Id?: number;
|
|
5909
6914
|
}
|
|
5910
|
-
/**
|
|
5911
|
-
* CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
|
5912
|
-
*/
|
|
5913
|
-
export interface CreateCloudNativeAPIGatewayServiceRateLimitResponse {
|
|
5914
|
-
/**
|
|
5915
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5916
|
-
*/
|
|
5917
|
-
RequestId?: string;
|
|
5918
|
-
}
|
|
5919
6915
|
/**
|
|
5920
6916
|
* DescribeCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
|
5921
6917
|
*/
|
|
@@ -6031,6 +7027,15 @@ export interface CreateGovernanceNamespacesResponse {
|
|
|
6031
7027
|
*/
|
|
6032
7028
|
RequestId?: string;
|
|
6033
7029
|
}
|
|
7030
|
+
/**
|
|
7031
|
+
* DeleteCloudNativeAPIGatewayConsumer返回参数结构体
|
|
7032
|
+
*/
|
|
7033
|
+
export interface DeleteCloudNativeAPIGatewayConsumerResponse {
|
|
7034
|
+
/**
|
|
7035
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7036
|
+
*/
|
|
7037
|
+
RequestId?: string;
|
|
7038
|
+
}
|
|
6034
7039
|
/**
|
|
6035
7040
|
* 云原生网关健康检查配置
|
|
6036
7041
|
*/
|
|
@@ -6083,17 +7088,37 @@ export interface UpstreamHealthCheckConfig {
|
|
|
6083
7088
|
ZeroWeightHeathCheck?: boolean;
|
|
6084
7089
|
}
|
|
6085
7090
|
/**
|
|
6086
|
-
*
|
|
7091
|
+
* DescribeCloudNativeAPIGatewayLLMModelServices请求参数结构体
|
|
6087
7092
|
*/
|
|
6088
|
-
export interface
|
|
7093
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelServicesRequest {
|
|
6089
7094
|
/**
|
|
6090
|
-
*
|
|
7095
|
+
* <p>网关 id。</p>
|
|
6091
7096
|
*/
|
|
6092
|
-
|
|
7097
|
+
GatewayId: string;
|
|
6093
7098
|
/**
|
|
6094
|
-
*
|
|
7099
|
+
* <p>返回数量,默认为 10,最大值为 1000。</p>
|
|
6095
7100
|
*/
|
|
6096
|
-
|
|
7101
|
+
Limit?: number;
|
|
7102
|
+
/**
|
|
7103
|
+
* <p>偏移量,默认为 0。</p>
|
|
7104
|
+
*/
|
|
7105
|
+
Offset?: number;
|
|
7106
|
+
/**
|
|
7107
|
+
* <p>过滤条件,多个过滤条件之间是“与”的关系,支持 Name</p>
|
|
7108
|
+
*/
|
|
7109
|
+
Filters?: Array<Filter>;
|
|
7110
|
+
/**
|
|
7111
|
+
* <p>通过模型 API 筛选模型服务</p>
|
|
7112
|
+
*/
|
|
7113
|
+
ModelAPIId?: string;
|
|
7114
|
+
/**
|
|
7115
|
+
* <p>通过密匙查询绑定的模型服务</p>
|
|
7116
|
+
*/
|
|
7117
|
+
SecretKeyId?: string;
|
|
7118
|
+
/**
|
|
7119
|
+
* <p>搜索关键词,模糊匹配 name 和 description</p>
|
|
7120
|
+
*/
|
|
7121
|
+
Keyword?: string;
|
|
6097
7122
|
}
|
|
6098
7123
|
/**
|
|
6099
7124
|
* Zookeeper副本信息
|
|
@@ -6158,6 +7183,19 @@ export interface DescribeOneCloudNativeAPIGatewayServiceRequest {
|
|
|
6158
7183
|
*/
|
|
6159
7184
|
Name: string;
|
|
6160
7185
|
}
|
|
7186
|
+
/**
|
|
7187
|
+
* DescribeCloudNativeAPIGatewayLLMModelAPIs返回参数结构体
|
|
7188
|
+
*/
|
|
7189
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelAPIsResponse {
|
|
7190
|
+
/**
|
|
7191
|
+
* 模型 API 列表。
|
|
7192
|
+
*/
|
|
7193
|
+
Result?: ListCloudNativeAPIGatewayLLMModelAPI;
|
|
7194
|
+
/**
|
|
7195
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7196
|
+
*/
|
|
7197
|
+
RequestId?: string;
|
|
7198
|
+
}
|
|
6161
7199
|
/**
|
|
6162
7200
|
* DeleteGovernanceAliases请求参数结构体
|
|
6163
7201
|
*/
|
|
@@ -6180,6 +7218,19 @@ export interface CertificateInfo {
|
|
|
6180
7218
|
*/
|
|
6181
7219
|
Id?: string;
|
|
6182
7220
|
}
|
|
7221
|
+
/**
|
|
7222
|
+
* DescribeCloudNativeAPIGatewayConsumerList返回参数结构体
|
|
7223
|
+
*/
|
|
7224
|
+
export interface DescribeCloudNativeAPIGatewayConsumerListResponse {
|
|
7225
|
+
/**
|
|
7226
|
+
* 消费者列表
|
|
7227
|
+
*/
|
|
7228
|
+
Result?: CNAPIGwConsumerList;
|
|
7229
|
+
/**
|
|
7230
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7231
|
+
*/
|
|
7232
|
+
RequestId?: string;
|
|
7233
|
+
}
|
|
6183
7234
|
/**
|
|
6184
7235
|
* CreateOrModifyCloudNativeAPIGatewayIPRestriction请求参数结构体
|
|
6185
7236
|
*/
|
|
@@ -6209,6 +7260,19 @@ export interface CreateOrModifyCloudNativeAPIGatewayIPRestrictionRequest {
|
|
|
6209
7260
|
*/
|
|
6210
7261
|
AddressList: Array<string>;
|
|
6211
7262
|
}
|
|
7263
|
+
/**
|
|
7264
|
+
* LLM 模型服务列表
|
|
7265
|
+
*/
|
|
7266
|
+
export interface ListCloudNativeAPIGatewayLLMModelService {
|
|
7267
|
+
/**
|
|
7268
|
+
* 模型服务数量。
|
|
7269
|
+
*/
|
|
7270
|
+
TotalCount?: number;
|
|
7271
|
+
/**
|
|
7272
|
+
* 模型服务列表。
|
|
7273
|
+
*/
|
|
7274
|
+
DataList?: Array<CloudNativeAPIGatewayLLMModelService>;
|
|
7275
|
+
}
|
|
6212
7276
|
/**
|
|
6213
7277
|
* DescribeWafDomains请求参数结构体
|
|
6214
7278
|
*/
|
|
@@ -6254,6 +7318,15 @@ export interface DescribeCloudNativeAPIGatewayRouteRateLimitResponse {
|
|
|
6254
7318
|
*/
|
|
6255
7319
|
RequestId?: string;
|
|
6256
7320
|
}
|
|
7321
|
+
/**
|
|
7322
|
+
* AddCloudNativeAPIGatewayConsumerGroupAuth返回参数结构体
|
|
7323
|
+
*/
|
|
7324
|
+
export interface AddCloudNativeAPIGatewayConsumerGroupAuthResponse {
|
|
7325
|
+
/**
|
|
7326
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7327
|
+
*/
|
|
7328
|
+
RequestId?: string;
|
|
7329
|
+
}
|
|
6257
7330
|
/**
|
|
6258
7331
|
* DescribeCloudNativeAPIGateway请求参数结构体
|
|
6259
7332
|
*/
|
|
@@ -6432,6 +7505,15 @@ export interface GovernanceInstance {
|
|
|
6432
7505
|
*/
|
|
6433
7506
|
Comment?: string;
|
|
6434
7507
|
}
|
|
7508
|
+
/**
|
|
7509
|
+
* DeleteCloudNativeAPIGatewaySecretKey返回参数结构体
|
|
7510
|
+
*/
|
|
7511
|
+
export interface DeleteCloudNativeAPIGatewaySecretKeyResponse {
|
|
7512
|
+
/**
|
|
7513
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7514
|
+
*/
|
|
7515
|
+
RequestId?: string;
|
|
7516
|
+
}
|
|
6435
7517
|
/**
|
|
6436
7518
|
* DescribeCloudNativeAPIGatewayRoutes请求参数结构体
|
|
6437
7519
|
*/
|
|
@@ -6564,6 +7646,19 @@ export interface DescribeCloudNativeAPIGatewayNodesResult {
|
|
|
6564
7646
|
*/
|
|
6565
7647
|
NodeList: Array<CloudNativeAPIGatewayNode>;
|
|
6566
7648
|
}
|
|
7649
|
+
/**
|
|
7650
|
+
* DescribeCloudNativeAPIGatewayLLMModelAPI请求参数结构体
|
|
7651
|
+
*/
|
|
7652
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelAPIRequest {
|
|
7653
|
+
/**
|
|
7654
|
+
* 网关 id。
|
|
7655
|
+
*/
|
|
7656
|
+
GatewayId: string;
|
|
7657
|
+
/**
|
|
7658
|
+
* 模型 API ID,全局唯一标识。
|
|
7659
|
+
*/
|
|
7660
|
+
ModelAPIId: string;
|
|
7661
|
+
}
|
|
6567
7662
|
/**
|
|
6568
7663
|
* DescribeNacosServerInterfaces请求参数结构体
|
|
6569
7664
|
*/
|
|
@@ -6581,6 +7676,56 @@ export interface DescribeNacosServerInterfacesRequest {
|
|
|
6581
7676
|
*/
|
|
6582
7677
|
Offset?: number;
|
|
6583
7678
|
}
|
|
7679
|
+
/**
|
|
7680
|
+
* ModifyCloudNativeAPIGatewayConsumerGroup请求参数结构体
|
|
7681
|
+
*/
|
|
7682
|
+
export interface ModifyCloudNativeAPIGatewayConsumerGroupRequest {
|
|
7683
|
+
/**
|
|
7684
|
+
* 网关实例id
|
|
7685
|
+
*/
|
|
7686
|
+
GatewayId: string;
|
|
7687
|
+
/**
|
|
7688
|
+
* 消费者组ID
|
|
7689
|
+
*/
|
|
7690
|
+
ConsumerGroupId: string;
|
|
7691
|
+
/**
|
|
7692
|
+
* 新的消费者组名称
|
|
7693
|
+
*/
|
|
7694
|
+
Name: string;
|
|
7695
|
+
/**
|
|
7696
|
+
* 状态:
|
|
7697
|
+
- Enable 启用
|
|
7698
|
+
- Disable 禁用
|
|
7699
|
+
*/
|
|
7700
|
+
Status: string;
|
|
7701
|
+
/**
|
|
7702
|
+
* 新的消费者组描述
|
|
7703
|
+
*/
|
|
7704
|
+
Description?: string;
|
|
7705
|
+
}
|
|
7706
|
+
/**
|
|
7707
|
+
* RemoveCloudNativeAPIGatewayConsumerGroupAuth请求参数结构体
|
|
7708
|
+
*/
|
|
7709
|
+
export interface RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest {
|
|
7710
|
+
/**
|
|
7711
|
+
* 网关实例id
|
|
7712
|
+
*/
|
|
7713
|
+
GatewayId: string;
|
|
7714
|
+
/**
|
|
7715
|
+
* 资源类型:
|
|
7716
|
+
|
|
7717
|
+
- ModelAPI: 模型API
|
|
7718
|
+
*/
|
|
7719
|
+
ResourceType: string;
|
|
7720
|
+
/**
|
|
7721
|
+
* 资源id
|
|
7722
|
+
*/
|
|
7723
|
+
ResourceId: string;
|
|
7724
|
+
/**
|
|
7725
|
+
* 资源ID
|
|
7726
|
+
*/
|
|
7727
|
+
ConsumerGroupIds: Array<string>;
|
|
7728
|
+
}
|
|
6584
7729
|
/**
|
|
6585
7730
|
* 服务的后端配置
|
|
6586
7731
|
*/
|
|
@@ -6783,6 +7928,27 @@ export interface DescribePublicAddressConfigResponse {
|
|
|
6783
7928
|
*/
|
|
6784
7929
|
RequestId?: string;
|
|
6785
7930
|
}
|
|
7931
|
+
/**
|
|
7932
|
+
* 私有网络信息
|
|
7933
|
+
*/
|
|
7934
|
+
export interface VpcInfo {
|
|
7935
|
+
/**
|
|
7936
|
+
* Vpc Id
|
|
7937
|
+
*/
|
|
7938
|
+
VpcId: string;
|
|
7939
|
+
/**
|
|
7940
|
+
* 子网ID
|
|
7941
|
+
*/
|
|
7942
|
+
SubnetId: string;
|
|
7943
|
+
/**
|
|
7944
|
+
* 内网访问地址
|
|
7945
|
+
*/
|
|
7946
|
+
IntranetAddress?: string;
|
|
7947
|
+
/**
|
|
7948
|
+
* 负载均衡均衡接入点子网ID
|
|
7949
|
+
*/
|
|
7950
|
+
LbSubnetId?: string;
|
|
7951
|
+
}
|
|
6786
7952
|
/**
|
|
6787
7953
|
* PublishConfigFiles请求参数结构体
|
|
6788
7954
|
*/
|
|
@@ -6944,17 +8110,26 @@ export interface ModifyNativeGatewayServerGroupResponse {
|
|
|
6944
8110
|
RequestId?: string;
|
|
6945
8111
|
}
|
|
6946
8112
|
/**
|
|
6947
|
-
*
|
|
8113
|
+
* DeleteCloudNativeAPIGatewayLLMModelService请求参数结构体
|
|
6948
8114
|
*/
|
|
6949
|
-
export interface
|
|
8115
|
+
export interface DeleteCloudNativeAPIGatewayLLMModelServiceRequest {
|
|
6950
8116
|
/**
|
|
6951
|
-
*
|
|
8117
|
+
* 网关 id。
|
|
6952
8118
|
*/
|
|
6953
|
-
|
|
8119
|
+
GatewayId: string;
|
|
6954
8120
|
/**
|
|
6955
|
-
*
|
|
8121
|
+
* 模型服务 ID,全局唯一标识。
|
|
6956
8122
|
*/
|
|
6957
|
-
|
|
8123
|
+
ModelServiceId: string;
|
|
8124
|
+
}
|
|
8125
|
+
/**
|
|
8126
|
+
* DeleteCloudNativeAPIGatewayConsumerGroup返回参数结构体
|
|
8127
|
+
*/
|
|
8128
|
+
export interface DeleteCloudNativeAPIGatewayConsumerGroupResponse {
|
|
8129
|
+
/**
|
|
8130
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8131
|
+
*/
|
|
8132
|
+
RequestId?: string;
|
|
6958
8133
|
}
|
|
6959
8134
|
/**
|
|
6960
8135
|
* DescribeNativeGatewayServiceSources返回参数结构体
|
|
@@ -7012,6 +8187,19 @@ export interface ModifyGovernanceLaneGroupsResponse {
|
|
|
7012
8187
|
*/
|
|
7013
8188
|
RequestId?: string;
|
|
7014
8189
|
}
|
|
8190
|
+
/**
|
|
8191
|
+
* 密钥列表
|
|
8192
|
+
*/
|
|
8193
|
+
export interface CNAPIGwSecretKeyList {
|
|
8194
|
+
/**
|
|
8195
|
+
* 总数
|
|
8196
|
+
*/
|
|
8197
|
+
TotalCount?: number;
|
|
8198
|
+
/**
|
|
8199
|
+
* 密钥列表
|
|
8200
|
+
*/
|
|
8201
|
+
SecretKeys?: Array<CNAPIGwSecretKey>;
|
|
8202
|
+
}
|
|
7015
8203
|
/**
|
|
7016
8204
|
* DeleteCloudNativeAPIGatewayRouteRateLimit返回参数结构体
|
|
7017
8205
|
*/
|
|
@@ -7185,6 +8373,37 @@ export interface DeleteCloudNativeAPIGatewayIPRestrictionRequest {
|
|
|
7185
8373
|
*/
|
|
7186
8374
|
SourceId: string;
|
|
7187
8375
|
}
|
|
8376
|
+
/**
|
|
8377
|
+
* 消费者结构
|
|
8378
|
+
*/
|
|
8379
|
+
export interface CNAPIGwConsumer {
|
|
8380
|
+
/**
|
|
8381
|
+
* 分组id
|
|
8382
|
+
*/
|
|
8383
|
+
ConsumerId: string;
|
|
8384
|
+
/**
|
|
8385
|
+
* 名字
|
|
8386
|
+
*/
|
|
8387
|
+
Name: string;
|
|
8388
|
+
/**
|
|
8389
|
+
* 创建时间
|
|
8390
|
+
*/
|
|
8391
|
+
CreateTime: string;
|
|
8392
|
+
/**
|
|
8393
|
+
* 更新时间 yyyy-MM-dd hh:mm:ss
|
|
8394
|
+
*/
|
|
8395
|
+
ModifyTime: string;
|
|
8396
|
+
/**
|
|
8397
|
+
* 描述
|
|
8398
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8399
|
+
*/
|
|
8400
|
+
Description?: string;
|
|
8401
|
+
/**
|
|
8402
|
+
* 消费者分组
|
|
8403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8404
|
+
*/
|
|
8405
|
+
ConsumerGroups?: Array<CNAPIGwConsumerGroup>;
|
|
8406
|
+
}
|
|
7188
8407
|
/**
|
|
7189
8408
|
* CreateGovernanceAlias返回参数结构体
|
|
7190
8409
|
*/
|
|
@@ -7224,6 +8443,19 @@ export interface DeleteConfigFileGroupResponse {
|
|
|
7224
8443
|
*/
|
|
7225
8444
|
RequestId?: string;
|
|
7226
8445
|
}
|
|
8446
|
+
/**
|
|
8447
|
+
* kong服务路由列表
|
|
8448
|
+
*/
|
|
8449
|
+
export interface KongServiceRouteList {
|
|
8450
|
+
/**
|
|
8451
|
+
* 无
|
|
8452
|
+
*/
|
|
8453
|
+
RouteList?: Array<KongRoutePreview>;
|
|
8454
|
+
/**
|
|
8455
|
+
* 总数
|
|
8456
|
+
*/
|
|
8457
|
+
TotalCount?: number;
|
|
8458
|
+
}
|
|
7227
8459
|
/**
|
|
7228
8460
|
* 发布详情
|
|
7229
8461
|
*/
|
|
@@ -7261,13 +8493,39 @@ export interface ConfigFilePublishInfo {
|
|
|
7261
8493
|
*/
|
|
7262
8494
|
CreateBy?: string;
|
|
7263
8495
|
/**
|
|
7264
|
-
* 修改者
|
|
8496
|
+
* 修改者
|
|
8497
|
+
*/
|
|
8498
|
+
ModifyBy?: string;
|
|
8499
|
+
/**
|
|
8500
|
+
* 标签
|
|
8501
|
+
*/
|
|
8502
|
+
Tags?: Array<ConfigFileTag>;
|
|
8503
|
+
}
|
|
8504
|
+
/**
|
|
8505
|
+
* DeleteCloudNativeAPIGatewayConsumerGroup请求参数结构体
|
|
8506
|
+
*/
|
|
8507
|
+
export interface DeleteCloudNativeAPIGatewayConsumerGroupRequest {
|
|
8508
|
+
/**
|
|
8509
|
+
* 网关实例id
|
|
8510
|
+
*/
|
|
8511
|
+
GatewayId: string;
|
|
8512
|
+
/**
|
|
8513
|
+
* 消费者组ID
|
|
8514
|
+
*/
|
|
8515
|
+
ConsumerGroupId: string;
|
|
8516
|
+
}
|
|
8517
|
+
/**
|
|
8518
|
+
* DescribeCloudNativeAPIGatewayLLMModelService请求参数结构体
|
|
8519
|
+
*/
|
|
8520
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelServiceRequest {
|
|
8521
|
+
/**
|
|
8522
|
+
* 网关 id。
|
|
7265
8523
|
*/
|
|
7266
|
-
|
|
8524
|
+
GatewayId: string;
|
|
7267
8525
|
/**
|
|
7268
|
-
*
|
|
8526
|
+
* 模型服务 ID,全局唯一标识。
|
|
7269
8527
|
*/
|
|
7270
|
-
|
|
8528
|
+
ModelServiceId: string;
|
|
7271
8529
|
}
|
|
7272
8530
|
/**
|
|
7273
8531
|
* DescribeGovernanceAliases请求参数结构体
|
|
@@ -7386,6 +8644,19 @@ export interface DeleteGovernanceServicesResponse {
|
|
|
7386
8644
|
*/
|
|
7387
8645
|
RequestId?: string;
|
|
7388
8646
|
}
|
|
8647
|
+
/**
|
|
8648
|
+
* DeleteCloudNativeAPIGatewaySecretKey请求参数结构体
|
|
8649
|
+
*/
|
|
8650
|
+
export interface DeleteCloudNativeAPIGatewaySecretKeyRequest {
|
|
8651
|
+
/**
|
|
8652
|
+
* 网关ID
|
|
8653
|
+
*/
|
|
8654
|
+
GatewayId: string;
|
|
8655
|
+
/**
|
|
8656
|
+
* 密钥id
|
|
8657
|
+
*/
|
|
8658
|
+
SecretKeyId: string;
|
|
8659
|
+
}
|
|
7389
8660
|
/**
|
|
7390
8661
|
* DeleteCloudNativeAPIGatewayCertificate返回参数结构体
|
|
7391
8662
|
*/
|
|
@@ -7446,6 +8717,91 @@ export interface CreatePublicNetworkResult {
|
|
|
7446
8717
|
*/
|
|
7447
8718
|
NetworkId?: string;
|
|
7448
8719
|
}
|
|
8720
|
+
/**
|
|
8721
|
+
* CreateCloudNativeAPIGatewayLLMModelService请求参数结构体
|
|
8722
|
+
*/
|
|
8723
|
+
export interface CreateCloudNativeAPIGatewayLLMModelServiceRequest {
|
|
8724
|
+
/**
|
|
8725
|
+
* <p>网关 id。</p>
|
|
8726
|
+
*/
|
|
8727
|
+
GatewayId: string;
|
|
8728
|
+
/**
|
|
8729
|
+
* <p>服务名称,最长60个字符,支持中英文大小写、数字及分隔符(“-”、“_”),不能以数字和分隔符开头,不能以分隔符结尾。</p>
|
|
8730
|
+
*/
|
|
8731
|
+
Name: string;
|
|
8732
|
+
/**
|
|
8733
|
+
* <p>服务类型。目前仅支持 LLMService。</p><p>枚举值:</p><ul><li>LLMService: 大语言模型服务</li></ul>
|
|
8734
|
+
*/
|
|
8735
|
+
ServiceType: string;
|
|
8736
|
+
/**
|
|
8737
|
+
* <p>选择模型提供商, 选项:OpenAI、Anthropic、Azure OpenAI等。</p>
|
|
8738
|
+
*/
|
|
8739
|
+
ModelProvider: string;
|
|
8740
|
+
/**
|
|
8741
|
+
* <p>API协议标准,根据供应商动态变化:OpenAI→OpenAI/v1,Anthropic→Anthropic/v1等</p>
|
|
8742
|
+
*/
|
|
8743
|
+
ModelProtocol: string;
|
|
8744
|
+
/**
|
|
8745
|
+
* <p>模型选择方式,选项:Specify(指定模型)、PassThrough(透传请求模型)。</p>
|
|
8746
|
+
*/
|
|
8747
|
+
ModelSelector: string;
|
|
8748
|
+
/**
|
|
8749
|
+
* <p>LLM 厂商颁发的认证信息 token 。</p>
|
|
8750
|
+
*/
|
|
8751
|
+
SecretKeyIds?: Array<string>;
|
|
8752
|
+
/**
|
|
8753
|
+
* <p>默认模型,模型选择方式为 Specify 时必填。</p>
|
|
8754
|
+
*/
|
|
8755
|
+
DefaultModel?: string;
|
|
8756
|
+
/**
|
|
8757
|
+
* <p>开启模型降级,模型选择方式为 Specify 时必填。</p>
|
|
8758
|
+
*/
|
|
8759
|
+
EnableModelFallback?: boolean;
|
|
8760
|
+
/**
|
|
8761
|
+
* <p>可以配置备用模型规则,EnableSpecifyModelFallbackxa0为 true 时必填。</p>
|
|
8762
|
+
*/
|
|
8763
|
+
ModelFallbackRule?: CloudNativeAPIGatewayLLMModelFallbackRule;
|
|
8764
|
+
/**
|
|
8765
|
+
* <p>开启模型参数校验,是否校验客户端传递的 model 参数,xa0模型选择方式为 PassThrough 时必填</p>
|
|
8766
|
+
*/
|
|
8767
|
+
EnableModelParamCheck?: boolean;
|
|
8768
|
+
/**
|
|
8769
|
+
* <p>模型检验信息,EnableModelParamCheckxa0为 true 时必填。</p>
|
|
8770
|
+
*/
|
|
8771
|
+
ModelParamCheckRule?: CloudNativeAPIGatewayLLMModelParamCheckInfo;
|
|
8772
|
+
/**
|
|
8773
|
+
* <p>描述。</p>
|
|
8774
|
+
*/
|
|
8775
|
+
Description?: string;
|
|
8776
|
+
/**
|
|
8777
|
+
* <p>服务提供商自定义 url</p>
|
|
8778
|
+
*/
|
|
8779
|
+
UpstreamURL?: string;
|
|
8780
|
+
/**
|
|
8781
|
+
* <p>连接超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:10000</p>
|
|
8782
|
+
*/
|
|
8783
|
+
ConnectTimeout?: number;
|
|
8784
|
+
/**
|
|
8785
|
+
* <p>写入超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:60000</p>
|
|
8786
|
+
*/
|
|
8787
|
+
WriteTimeout?: number;
|
|
8788
|
+
/**
|
|
8789
|
+
* <p>读取超时时间</p><p>取值范围:[1, 3600000]</p><p>单位:毫秒</p><p>默认值:60000</p>
|
|
8790
|
+
*/
|
|
8791
|
+
ReadTimeout?: number;
|
|
8792
|
+
/**
|
|
8793
|
+
* <p>重试次数</p><p>取值范围:[0, 5]</p><p>单位:次</p><p>默认值:0</p>
|
|
8794
|
+
*/
|
|
8795
|
+
Retries?: number;
|
|
8796
|
+
/**
|
|
8797
|
+
* <p>路径拼接模式</p><p>枚举值:</p><ul><li>FixedPath: 固定地址</li><li>AutoConcat: 自动拼接</li></ul>
|
|
8798
|
+
*/
|
|
8799
|
+
UpstreamUrlMode?: string;
|
|
8800
|
+
/**
|
|
8801
|
+
* <p>sni</p>
|
|
8802
|
+
*/
|
|
8803
|
+
SNI?: string;
|
|
8804
|
+
}
|
|
7449
8805
|
/**
|
|
7450
8806
|
* DescribeNativeGatewayServiceSources请求参数结构体
|
|
7451
8807
|
*/
|
|
@@ -7574,6 +8930,20 @@ export interface KVPair {
|
|
|
7574
8930
|
*/
|
|
7575
8931
|
Value?: string;
|
|
7576
8932
|
}
|
|
8933
|
+
/**
|
|
8934
|
+
* 消费者列表
|
|
8935
|
+
*/
|
|
8936
|
+
export interface CNAPIGwConsumerList {
|
|
8937
|
+
/**
|
|
8938
|
+
* 总数
|
|
8939
|
+
*/
|
|
8940
|
+
TotalCount?: number;
|
|
8941
|
+
/**
|
|
8942
|
+
* 消费者列表
|
|
8943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8944
|
+
*/
|
|
8945
|
+
Consumers?: Array<CNAPIGwConsumer>;
|
|
8946
|
+
}
|
|
7577
8947
|
/**
|
|
7578
8948
|
* UpdateUpstreamTargets请求参数结构体
|
|
7579
8949
|
*/
|
|
@@ -7646,6 +9016,27 @@ export interface InstancePort {
|
|
|
7646
9016
|
*/
|
|
7647
9017
|
UdpPort?: string;
|
|
7648
9018
|
}
|
|
9019
|
+
/**
|
|
9020
|
+
* ModifyCloudNativeAPIGatewayConsumer请求参数结构体
|
|
9021
|
+
*/
|
|
9022
|
+
export interface ModifyCloudNativeAPIGatewayConsumerRequest {
|
|
9023
|
+
/**
|
|
9024
|
+
* 网关实例id
|
|
9025
|
+
*/
|
|
9026
|
+
GatewayId: string;
|
|
9027
|
+
/**
|
|
9028
|
+
* 消费者ID
|
|
9029
|
+
*/
|
|
9030
|
+
ConsumerId: string;
|
|
9031
|
+
/**
|
|
9032
|
+
* 新的消费者名称
|
|
9033
|
+
*/
|
|
9034
|
+
Name: string;
|
|
9035
|
+
/**
|
|
9036
|
+
* 新的消费者描述
|
|
9037
|
+
*/
|
|
9038
|
+
Description?: string;
|
|
9039
|
+
}
|
|
7649
9040
|
/**
|
|
7650
9041
|
* DeleteNativeGatewayServerGroup请求参数结构体
|
|
7651
9042
|
*/
|
|
@@ -7660,6 +9051,23 @@ export interface DeleteNativeGatewayServerGroupRequest {
|
|
|
7660
9051
|
*/
|
|
7661
9052
|
GroupId: string;
|
|
7662
9053
|
}
|
|
9054
|
+
/**
|
|
9055
|
+
* DescribeCloudNativeAPIGatewayConsumerGroupList请求参数结构体
|
|
9056
|
+
*/
|
|
9057
|
+
export interface DescribeCloudNativeAPIGatewayConsumerGroupListRequest {
|
|
9058
|
+
/**
|
|
9059
|
+
* 网关实例id
|
|
9060
|
+
*/
|
|
9061
|
+
GatewayId: string;
|
|
9062
|
+
/**
|
|
9063
|
+
* 每页条数
|
|
9064
|
+
*/
|
|
9065
|
+
Limit: number;
|
|
9066
|
+
/**
|
|
9067
|
+
* 起始位置
|
|
9068
|
+
*/
|
|
9069
|
+
Offset: number;
|
|
9070
|
+
}
|
|
7663
9071
|
/**
|
|
7664
9072
|
* RollbackConfigFileReleases返回参数结构体
|
|
7665
9073
|
*/
|
|
@@ -7898,6 +9306,19 @@ export interface DescribeGovernanceInstancesResponse {
|
|
|
7898
9306
|
*/
|
|
7899
9307
|
RequestId?: string;
|
|
7900
9308
|
}
|
|
9309
|
+
/**
|
|
9310
|
+
* LLM 模型 API 列表
|
|
9311
|
+
*/
|
|
9312
|
+
export interface ListCloudNativeAPIGatewayLLMModelAPI {
|
|
9313
|
+
/**
|
|
9314
|
+
* 总数
|
|
9315
|
+
*/
|
|
9316
|
+
TotalCount?: number;
|
|
9317
|
+
/**
|
|
9318
|
+
* AI 网关模型 API 列表。
|
|
9319
|
+
*/
|
|
9320
|
+
DataList?: Array<CloudNativeAPIGatewayLLMModelAPI>;
|
|
9321
|
+
}
|
|
7901
9322
|
/**
|
|
7902
9323
|
* ModifyGovernanceNamespaces返回参数结构体
|
|
7903
9324
|
*/
|
|
@@ -7928,6 +9349,23 @@ export interface DescribeCloudNativeAPIGatewaysRequest {
|
|
|
7928
9349
|
*/
|
|
7929
9350
|
Filters?: Array<Filter>;
|
|
7930
9351
|
}
|
|
9352
|
+
/**
|
|
9353
|
+
* DescribeCloudNativeAPIGatewaySecretKeyList请求参数结构体
|
|
9354
|
+
*/
|
|
9355
|
+
export interface DescribeCloudNativeAPIGatewaySecretKeyListRequest {
|
|
9356
|
+
/**
|
|
9357
|
+
* 实例 ID
|
|
9358
|
+
*/
|
|
9359
|
+
GatewayId: string;
|
|
9360
|
+
/**
|
|
9361
|
+
* 每页数量,最大20个
|
|
9362
|
+
*/
|
|
9363
|
+
Limit: number;
|
|
9364
|
+
/**
|
|
9365
|
+
* 起始值
|
|
9366
|
+
*/
|
|
9367
|
+
Offset: number;
|
|
9368
|
+
}
|
|
7931
9369
|
/**
|
|
7932
9370
|
* 获取云原生API网关实例网络配置结果。
|
|
7933
9371
|
*/
|
|
@@ -8053,6 +9491,15 @@ export interface DescribePublicNetworkResponse {
|
|
|
8053
9491
|
*/
|
|
8054
9492
|
RequestId?: string;
|
|
8055
9493
|
}
|
|
9494
|
+
/**
|
|
9495
|
+
* RemoveCloudNativeAPIGatewayConsumerInGroup返回参数结构体
|
|
9496
|
+
*/
|
|
9497
|
+
export interface RemoveCloudNativeAPIGatewayConsumerInGroupResponse {
|
|
9498
|
+
/**
|
|
9499
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9500
|
+
*/
|
|
9501
|
+
RequestId?: string;
|
|
9502
|
+
}
|
|
8056
9503
|
/**
|
|
8057
9504
|
* Zookeeper的地域额外信息记录
|
|
8058
9505
|
*/
|
|
@@ -8345,6 +9792,19 @@ export interface NativeGatewayServerGroup {
|
|
|
8345
9792
|
*/
|
|
8346
9793
|
SupportIPV6?: boolean;
|
|
8347
9794
|
}
|
|
9795
|
+
/**
|
|
9796
|
+
* 跨服务降级配置
|
|
9797
|
+
*/
|
|
9798
|
+
export interface AIGWCrossServiceFallbackConfig {
|
|
9799
|
+
/**
|
|
9800
|
+
* <p>触发条件</p><p>枚举值:</p><ul><li>ServiceUnavailable: 服务不可用</li><li>ConnectionTimeout: 连接超时</li><li>RateLimited: 限流</li></ul>
|
|
9801
|
+
*/
|
|
9802
|
+
TriggerConditions: Array<string>;
|
|
9803
|
+
/**
|
|
9804
|
+
* <p>fallback 服务链</p>
|
|
9805
|
+
*/
|
|
9806
|
+
FallbackServiceChain: Array<AIGWFallbackServiceItem>;
|
|
9807
|
+
}
|
|
8348
9808
|
/**
|
|
8349
9809
|
* DescribeZookeeperServerInterfaces返回参数结构体
|
|
8350
9810
|
*/
|
|
@@ -8362,6 +9822,23 @@ export interface DescribeZookeeperServerInterfacesResponse {
|
|
|
8362
9822
|
*/
|
|
8363
9823
|
RequestId?: string;
|
|
8364
9824
|
}
|
|
9825
|
+
/**
|
|
9826
|
+
* AddCloudNativeAPIGatewayConsumerInGroup请求参数结构体
|
|
9827
|
+
*/
|
|
9828
|
+
export interface AddCloudNativeAPIGatewayConsumerInGroupRequest {
|
|
9829
|
+
/**
|
|
9830
|
+
* 网关实例id
|
|
9831
|
+
*/
|
|
9832
|
+
GatewayId: string;
|
|
9833
|
+
/**
|
|
9834
|
+
* 消费者组ID
|
|
9835
|
+
*/
|
|
9836
|
+
ConsumerGroupId: string;
|
|
9837
|
+
/**
|
|
9838
|
+
* 消费者ID
|
|
9839
|
+
*/
|
|
9840
|
+
ConsumerIds: Array<string>;
|
|
9841
|
+
}
|
|
8365
9842
|
/**
|
|
8366
9843
|
* DescribeConfigFileReleaseVersions返回参数结构体
|
|
8367
9844
|
*/
|
|
@@ -8375,6 +9852,49 @@ export interface DescribeConfigFileReleaseVersionsResponse {
|
|
|
8375
9852
|
*/
|
|
8376
9853
|
RequestId?: string;
|
|
8377
9854
|
}
|
|
9855
|
+
/**
|
|
9856
|
+
* CreateCloudNativeAPIGatewayConsumer返回参数结构体
|
|
9857
|
+
*/
|
|
9858
|
+
export interface CreateCloudNativeAPIGatewayConsumerResponse {
|
|
9859
|
+
/**
|
|
9860
|
+
* 创建结果
|
|
9861
|
+
*/
|
|
9862
|
+
Result?: CNAPIGwCreateCommonResult;
|
|
9863
|
+
/**
|
|
9864
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9865
|
+
*/
|
|
9866
|
+
RequestId?: string;
|
|
9867
|
+
}
|
|
9868
|
+
/**
|
|
9869
|
+
* 模型服务模型名称路由策略
|
|
9870
|
+
*/
|
|
9871
|
+
export interface CloudNativeAPIGatewayLLMModelServiceRouteModelNameStrategy {
|
|
9872
|
+
/**
|
|
9873
|
+
* 模型服务id
|
|
9874
|
+
*/
|
|
9875
|
+
ModelServiceId: string;
|
|
9876
|
+
/**
|
|
9877
|
+
* 匹配模型服务
|
|
9878
|
+
*/
|
|
9879
|
+
MatchModelName: string;
|
|
9880
|
+
/**
|
|
9881
|
+
* 重写模型
|
|
9882
|
+
*/
|
|
9883
|
+
RewriteModelName?: string;
|
|
9884
|
+
}
|
|
9885
|
+
/**
|
|
9886
|
+
* DeleteCloudNativeAPIGatewayLLMModelAPI返回参数结构体
|
|
9887
|
+
*/
|
|
9888
|
+
export interface DeleteCloudNativeAPIGatewayLLMModelAPIResponse {
|
|
9889
|
+
/**
|
|
9890
|
+
* 是否成功
|
|
9891
|
+
*/
|
|
9892
|
+
Result?: boolean;
|
|
9893
|
+
/**
|
|
9894
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9895
|
+
*/
|
|
9896
|
+
RequestId?: string;
|
|
9897
|
+
}
|
|
8378
9898
|
/**
|
|
8379
9899
|
* DeleteCloudNativeAPIGateway请求参数结构体
|
|
8380
9900
|
*/
|
|
@@ -8534,6 +10054,32 @@ export interface DescribeZookeeperServerInterfacesRequest {
|
|
|
8534
10054
|
*/
|
|
8535
10055
|
Offset?: number;
|
|
8536
10056
|
}
|
|
10057
|
+
/**
|
|
10058
|
+
* DescribeCloudNativeAPIGatewayLLMModelService返回参数结构体
|
|
10059
|
+
*/
|
|
10060
|
+
export interface DescribeCloudNativeAPIGatewayLLMModelServiceResponse {
|
|
10061
|
+
/**
|
|
10062
|
+
* 模型服务。
|
|
10063
|
+
*/
|
|
10064
|
+
Result?: CloudNativeAPIGatewayLLMModelService;
|
|
10065
|
+
/**
|
|
10066
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10067
|
+
*/
|
|
10068
|
+
RequestId?: string;
|
|
10069
|
+
}
|
|
10070
|
+
/**
|
|
10071
|
+
* DescribeCloudNativeAPIGatewaySecretKey请求参数结构体
|
|
10072
|
+
*/
|
|
10073
|
+
export interface DescribeCloudNativeAPIGatewaySecretKeyRequest {
|
|
10074
|
+
/**
|
|
10075
|
+
* 实例 ID
|
|
10076
|
+
*/
|
|
10077
|
+
GatewayId: string;
|
|
10078
|
+
/**
|
|
10079
|
+
* 密钥id
|
|
10080
|
+
*/
|
|
10081
|
+
SecretKeyId: string;
|
|
10082
|
+
}
|
|
8537
10083
|
/**
|
|
8538
10084
|
* DeleteGovernanceLaneGroups请求参数结构体
|
|
8539
10085
|
*/
|
|
@@ -8758,6 +10304,19 @@ export interface ZookeeperServerInterface {
|
|
|
8758
10304
|
*/
|
|
8759
10305
|
Interface?: string;
|
|
8760
10306
|
}
|
|
10307
|
+
/**
|
|
10308
|
+
* DescribeCloudNativeAPIGatewayConsumer请求参数结构体
|
|
10309
|
+
*/
|
|
10310
|
+
export interface DescribeCloudNativeAPIGatewayConsumerRequest {
|
|
10311
|
+
/**
|
|
10312
|
+
* 网关实例id
|
|
10313
|
+
*/
|
|
10314
|
+
GatewayId: string;
|
|
10315
|
+
/**
|
|
10316
|
+
* 消费者ID
|
|
10317
|
+
*/
|
|
10318
|
+
ConsumerId: string;
|
|
10319
|
+
}
|
|
8761
10320
|
/**
|
|
8762
10321
|
* 获取云原生api网关公网地址信息响应结果
|
|
8763
10322
|
*/
|
|
@@ -8993,17 +10552,17 @@ export interface DescribeGovernanceLaneGroupsRequest {
|
|
|
8993
10552
|
Brief?: boolean;
|
|
8994
10553
|
}
|
|
8995
10554
|
/**
|
|
8996
|
-
*
|
|
10555
|
+
* DescribeCloudNativeAPIGatewaySecretKeyValue返回参数结构体
|
|
8997
10556
|
*/
|
|
8998
|
-
export interface
|
|
10557
|
+
export interface DescribeCloudNativeAPIGatewaySecretKeyValueResponse {
|
|
8999
10558
|
/**
|
|
9000
|
-
*
|
|
10559
|
+
* 密钥值
|
|
9001
10560
|
*/
|
|
9002
|
-
|
|
10561
|
+
Result?: string;
|
|
9003
10562
|
/**
|
|
9004
|
-
*
|
|
10563
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9005
10564
|
*/
|
|
9006
|
-
|
|
10565
|
+
RequestId?: string;
|
|
9007
10566
|
}
|
|
9008
10567
|
/**
|
|
9009
10568
|
* DeleteWafDomains返回参数结构体
|
|
@@ -9083,13 +10642,21 @@ export interface DescribeCloudNativeAPIGatewayCanaryRulesRequest {
|
|
|
9083
10642
|
Offset?: number;
|
|
9084
10643
|
}
|
|
9085
10644
|
/**
|
|
9086
|
-
*
|
|
10645
|
+
* CreateCloudNativeAPIGatewayLLMModelAPI返回参数结构体
|
|
9087
10646
|
*/
|
|
9088
|
-
export interface
|
|
10647
|
+
export interface CreateCloudNativeAPIGatewayLLMModelAPIResponse {
|
|
9089
10648
|
/**
|
|
9090
|
-
*
|
|
10649
|
+
* <p>是否成功。</p>
|
|
9091
10650
|
*/
|
|
9092
|
-
|
|
10651
|
+
Result?: boolean;
|
|
10652
|
+
/**
|
|
10653
|
+
* <p>模型 API ID,全局唯一标识。</p>
|
|
10654
|
+
*/
|
|
10655
|
+
ModelAPIId?: string;
|
|
10656
|
+
/**
|
|
10657
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10658
|
+
*/
|
|
10659
|
+
RequestId?: string;
|
|
9093
10660
|
}
|
|
9094
10661
|
/**
|
|
9095
10662
|
* DescribeCloudNativeAPIGatewayPorts请求参数结构体
|
|
@@ -9157,6 +10724,51 @@ export interface DescribeGovernanceServicesRequest {
|
|
|
9157
10724
|
*/
|
|
9158
10725
|
Type?: number;
|
|
9159
10726
|
}
|
|
10727
|
+
/**
|
|
10728
|
+
* ModifyCloudNativeAPIGatewayLLMModelAPI请求参数结构体
|
|
10729
|
+
*/
|
|
10730
|
+
export interface ModifyCloudNativeAPIGatewayLLMModelAPIRequest {
|
|
10731
|
+
/**
|
|
10732
|
+
* <p>网关 id。</p>
|
|
10733
|
+
*/
|
|
10734
|
+
GatewayId: string;
|
|
10735
|
+
/**
|
|
10736
|
+
* <p>模型 API ID,全局唯一标识。</p>
|
|
10737
|
+
*/
|
|
10738
|
+
ModelAPIId: string;
|
|
10739
|
+
/**
|
|
10740
|
+
* <p>修改模型 API 名称</p>
|
|
10741
|
+
*/
|
|
10742
|
+
Name?: string;
|
|
10743
|
+
/**
|
|
10744
|
+
* <p>为API设置统一的前缀,格式:以/开头,支持字母、数字、短横线。</p>
|
|
10745
|
+
*/
|
|
10746
|
+
BasePath?: string;
|
|
10747
|
+
/**
|
|
10748
|
+
* <p>模型 API 的相关描述。</p>
|
|
10749
|
+
*/
|
|
10750
|
+
Description?: string;
|
|
10751
|
+
/**
|
|
10752
|
+
* <p>关联的模型服务列表(支持填多个模型服务)</p>
|
|
10753
|
+
*/
|
|
10754
|
+
ListModelServiceId?: Array<string>;
|
|
10755
|
+
/**
|
|
10756
|
+
* <p>模型服务路由策略(是指如何路由到模型服务)</p>
|
|
10757
|
+
*/
|
|
10758
|
+
ModelServiceRoute?: CloudNativeAPIGatewayLLMModelServiceRoute;
|
|
10759
|
+
/**
|
|
10760
|
+
* <p>headers 路由匹配</p>
|
|
10761
|
+
*/
|
|
10762
|
+
MatchHeaders?: Array<AIGWKVMatch>;
|
|
10763
|
+
/**
|
|
10764
|
+
* <p>跨服务 fallback</p>
|
|
10765
|
+
*/
|
|
10766
|
+
EnableCrossServiceFallback?: boolean;
|
|
10767
|
+
/**
|
|
10768
|
+
* <p>跨服务 fallback 配置</p>
|
|
10769
|
+
*/
|
|
10770
|
+
CrossServiceFallbackConfig?: AIGWCrossServiceFallbackConfig;
|
|
10771
|
+
}
|
|
9160
10772
|
/**
|
|
9161
10773
|
* DescribeConfigFileRelease返回参数结构体
|
|
9162
10774
|
*/
|
|
@@ -9191,6 +10803,19 @@ export interface DescribeWafProtectionResult {
|
|
|
9191
10803
|
*/
|
|
9192
10804
|
ObjectStatus?: string;
|
|
9193
10805
|
}
|
|
10806
|
+
/**
|
|
10807
|
+
* CreateCloudNativeAPIGatewaySecretKey返回参数结构体
|
|
10808
|
+
*/
|
|
10809
|
+
export interface CreateCloudNativeAPIGatewaySecretKeyResponse {
|
|
10810
|
+
/**
|
|
10811
|
+
* 允许的操作
|
|
10812
|
+
*/
|
|
10813
|
+
Result?: CNAPIGwCreateCommonResult;
|
|
10814
|
+
/**
|
|
10815
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10816
|
+
*/
|
|
10817
|
+
RequestId?: string;
|
|
10818
|
+
}
|
|
9194
10819
|
/**
|
|
9195
10820
|
* DescribeAllConfigFileTemplates请求参数结构体
|
|
9196
10821
|
*/
|