tencentcloud-sdk-nodejs-cngw 4.1.285 → 4.1.287

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.
@@ -69,6 +69,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
69
69
  async ModifyCloudNativeAPIGatewayConsumer(req, cb) {
70
70
  return this.request("ModifyCloudNativeAPIGatewayConsumer", req, cb);
71
71
  }
72
+ async DescribeCNGWServicesWithRoutes(req, cb) {
73
+ return this.request("DescribeCNGWServicesWithRoutes", req, cb);
74
+ }
72
75
  async ModifyCloudNativeAPIGatewayMCPServer(req, cb) {
73
76
  return this.request("ModifyCloudNativeAPIGatewayMCPServer", req, cb);
74
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cngw",
3
- "version": "4.1.285",
3
+ "version": "4.1.287",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CreateCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayMCPServerACLRequest, DeleteCloudNativeAPIGatewayMCPToolResponse, CreateCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest, DeleteCloudNativeAPIGatewayConsumerResponse, RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse, ModifyCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayMCPServerAuthResponse, DescribeCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayLLMModelServiceRequest, ModifyCloudNativeAPIGatewaySecretKeyResponse, AddCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayMCPToolACLListResponse, ModifyCloudNativeAPIGatewayMCPServerAuthResponse, CreateCloudNativeAPIGatewayConsumerGroupRequest, ModifyCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayLLMModelServiceResponse, CreateCloudNativeAPIGatewayLLMModelServiceResponse, RemoveCloudNativeAPIGatewayConsumerInGroupRequest, DescribeCloudNativeAPIGatewayLLMModelServicesRequest, CreateCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, ModifyCloudNativeAPIGatewayMCPServerACLRequest, ModifyCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayConsumerResponse, DescribeCloudNativeAPIGatewayMCPToolListRequest, DeleteCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayMCPToolACLListRequest, DeleteCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayMCPToolACLResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileRequest, CreateCloudNativeAPIGatewayConsumerGroupResponse, UpdateCloudNativeAPIGatewayMCPToolsResponse, DescribeCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayMCPServerStatusResponse, DescribeCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewayConsumerRequest, BindCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayConsumerResponse, ModifyCloudNativeAPIGatewayMCPServerACLResponse, DeleteCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, CreateCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolACLRequest, CreateCloudNativeAPIGatewayMCPServerResponse, UpdateCloudNativeAPIGatewayMCPToolsRequest, DeleteCloudNativeAPIGatewayLLMModelAPIRequest, ModifyCloudNativeAPIGatewayMCPServerStatusRequest, ModifyCloudNativeAPIGatewayMCPToolResponse, RemoveCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsResponse, AddCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIResponse, UnbindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse, ModifyCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse, DescribeCloudNativeAPIGatewayMCPServerACLResponse, ModifyCloudNativeAPIGatewayMCPServerResponse, DescribeCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewaySecretKeyRequest, AddCloudNativeAPIGatewayConsumerGroupAuthResponse, DeleteCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPToolStatusResponse, ModifyCloudNativeAPIGatewayConsumerGroupRequest, UnbindCloudNativeAPIGatewaySecretKeyRequest, BindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolListResponse, DeleteCloudNativeAPIGatewayConsumerGroupRequest, RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewayMCPServerListRequest, DescribeCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayMCPServerAuthRequest, DescribeCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, ModifyCloudNativeAPIGatewayMCPToolStatusRequest, CreateCloudNativeAPIGatewayLLMModelServiceRequest, AddCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewaySecretKeyValueResponse, CreateCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPServerListResponse, CreateCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayMCPServerAuthRequest, DeleteCloudNativeAPIGatewayLLMModelServiceRequest, DeleteCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse } from "./cngw_models";
2
+ import { CreateCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayMCPServerACLRequest, DeleteCloudNativeAPIGatewayMCPToolResponse, CreateCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest, DeleteCloudNativeAPIGatewayConsumerResponse, RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse, ModifyCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayMCPServerAuthResponse, DescribeCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayLLMModelServiceRequest, ModifyCloudNativeAPIGatewaySecretKeyResponse, AddCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayMCPToolACLListResponse, ModifyCloudNativeAPIGatewayMCPServerAuthResponse, CreateCloudNativeAPIGatewayConsumerGroupRequest, ModifyCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayLLMModelServiceResponse, CreateCloudNativeAPIGatewayLLMModelServiceResponse, RemoveCloudNativeAPIGatewayConsumerInGroupRequest, DescribeCloudNativeAPIGatewayLLMModelServicesRequest, CreateCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayConsumerGroupRequest, DescribeCNGWServicesWithRoutesResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, ModifyCloudNativeAPIGatewayMCPServerACLRequest, ModifyCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayConsumerResponse, DescribeCloudNativeAPIGatewayMCPToolListRequest, DeleteCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayMCPToolACLListRequest, DeleteCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayMCPToolACLResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileRequest, CreateCloudNativeAPIGatewayConsumerGroupResponse, UpdateCloudNativeAPIGatewayMCPToolsResponse, DescribeCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewayConsumerRequest, BindCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayConsumerResponse, ModifyCloudNativeAPIGatewayMCPServerACLResponse, DeleteCloudNativeAPIGatewayMCPServerRequest, ModifyCloudNativeAPIGatewayMCPServerStatusResponse, DeleteCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, CreateCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolACLRequest, CreateCloudNativeAPIGatewayMCPServerResponse, UpdateCloudNativeAPIGatewayMCPToolsRequest, DeleteCloudNativeAPIGatewayLLMModelAPIRequest, ModifyCloudNativeAPIGatewayMCPServerStatusRequest, ModifyCloudNativeAPIGatewayMCPToolResponse, RemoveCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsResponse, AddCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIResponse, UnbindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse, ModifyCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse, DescribeCNGWServicesWithRoutesRequest, DescribeCloudNativeAPIGatewayMCPServerACLResponse, ModifyCloudNativeAPIGatewayMCPServerResponse, DescribeCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewaySecretKeyRequest, AddCloudNativeAPIGatewayConsumerGroupAuthResponse, DeleteCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPToolStatusResponse, ModifyCloudNativeAPIGatewayConsumerGroupRequest, UnbindCloudNativeAPIGatewaySecretKeyRequest, BindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolListResponse, DeleteCloudNativeAPIGatewayConsumerGroupRequest, RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewayMCPServerListRequest, DescribeCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayMCPServerAuthRequest, DescribeCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, ModifyCloudNativeAPIGatewayMCPToolStatusRequest, CreateCloudNativeAPIGatewayLLMModelServiceRequest, AddCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewaySecretKeyValueResponse, CreateCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPServerListResponse, CreateCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayMCPServerAuthRequest, DeleteCloudNativeAPIGatewayLLMModelServiceRequest, DeleteCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse } from "./cngw_models";
3
3
  /**
4
4
  * cngw client
5
5
  * @class
@@ -94,6 +94,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
94
94
  * 修改AI网关消费者
95
95
  */
96
96
  ModifyCloudNativeAPIGatewayConsumer(req: ModifyCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerResponse) => void): Promise<ModifyCloudNativeAPIGatewayConsumerResponse>;
97
+ /**
98
+ * 查询云原生网关服务和路由列表
99
+ */
100
+ DescribeCNGWServicesWithRoutes(req: DescribeCNGWServicesWithRoutesRequest, cb?: (error: string, rep: DescribeCNGWServicesWithRoutesResponse) => void): Promise<DescribeCNGWServicesWithRoutesResponse>;
97
101
  /**
98
102
  * 修改MCP服务配置
99
103
  */
@@ -160,6 +160,12 @@ class Client extends TencentCloudCommon.AbstractClient {
160
160
  async ModifyCloudNativeAPIGatewayConsumer(req, cb) {
161
161
  return this.request("ModifyCloudNativeAPIGatewayConsumer", req, cb);
162
162
  }
163
+ /**
164
+ * 查询云原生网关服务和路由列表
165
+ */
166
+ async DescribeCNGWServicesWithRoutes(req, cb) {
167
+ return this.request("DescribeCNGWServicesWithRoutes", req, cb);
168
+ }
163
169
  /**
164
170
  * 修改MCP服务配置
165
171
  */
@@ -792,6 +792,44 @@ export interface AIGWLogConfig {
792
792
  */
793
793
  ResponseLogPayloadMode?: string;
794
794
  }
795
+ /**
796
+ * 云原生网关服务预览信息
797
+ */
798
+ export interface KongServicePreview {
799
+ /**
800
+ * 服务ID
801
+ */
802
+ ID: string;
803
+ /**
804
+ * 创建时间
805
+ */
806
+ CreatedTime?: string;
807
+ /**
808
+ * 是否可编辑
809
+ */
810
+ Editable?: boolean;
811
+ /**
812
+ * 服务名字
813
+ */
814
+ Name?: string;
815
+ /**
816
+ * 请求路径
817
+ 注意:此字段可能返回 null,表示取不到有效值。
818
+ */
819
+ Path?: string;
820
+ /**
821
+ * 标签
822
+ */
823
+ Tags?: Array<string>;
824
+ /**
825
+ * 后端配置
826
+ */
827
+ UpstreamInfo?: KongUpstreamInfo;
828
+ /**
829
+ * 后端类型
830
+ */
831
+ UpstreamType?: string;
832
+ }
795
833
  /**
796
834
  * MCP Server 列表
797
835
  */
@@ -1073,6 +1111,117 @@ export interface DescribeCloudNativeAPIGatewayConsumerGroupRequest {
1073
1111
  */
1074
1112
  ConsumerGroupId: string;
1075
1113
  }
1114
+ /**
1115
+ * 服务的后端配置
1116
+ */
1117
+ export interface KongUpstreamInfo {
1118
+ /**
1119
+ * 负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing
1120
+ */
1121
+ Algorithm?: string;
1122
+ /**
1123
+ * CVM弹性伸缩组端口
1124
+ */
1125
+ AutoScalingCvmPort?: number;
1126
+ /**
1127
+ * CVM弹性伸缩组ID
1128
+ */
1129
+ AutoScalingGroupID?: string;
1130
+ /**
1131
+ * CVM弹性伸缩组生命周期挂钩状态
1132
+ */
1133
+ AutoScalingHookStatus?: string;
1134
+ /**
1135
+ * CVM弹性伸缩组使用的CVM TAT命令状态
1136
+ */
1137
+ AutoScalingTatCmdStatus?: string;
1138
+ /**
1139
+ * upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)
1140
+ */
1141
+ HealthStatus?: string;
1142
+ /**
1143
+ * IP或域名
1144
+ */
1145
+ Host?: string;
1146
+ /**
1147
+ * 命名空间
1148
+ */
1149
+ Namespace?: string;
1150
+ /**
1151
+ * 端口
1152
+ */
1153
+ Port?: number;
1154
+ /**
1155
+ * 精确的服务来源类型,新建服务来源时候传入的类型
1156
+ */
1157
+ RealSourceType?: string;
1158
+ /**
1159
+ * 云函数是否开启CAM鉴权,不填时默认为开启(true)
1160
+ */
1161
+ ScfCamAuthEnable?: boolean;
1162
+ /**
1163
+ * 云函数是否开启Base64编码,默认为false
1164
+ */
1165
+ ScfIsBase64Encoded?: boolean;
1166
+ /**
1167
+ * 云函数是否开启响应集成,默认为false
1168
+ */
1169
+ ScfIsIntegratedResponse?: boolean;
1170
+ /**
1171
+ * SCF函数名
1172
+ */
1173
+ ScfLambdaName?: string;
1174
+ /**
1175
+ * SCF函数版本
1176
+ */
1177
+ ScfLambdaQualifier?: string;
1178
+ /**
1179
+ * SCF函数命名空间
1180
+ */
1181
+ ScfNamespace?: string;
1182
+ /**
1183
+ * SCF函数类型
1184
+ */
1185
+ ScfType?: string;
1186
+ /**
1187
+ * 服务(注册中心或Kubernetes中的服务)名字
1188
+ */
1189
+ ServiceName?: string;
1190
+ /**
1191
+ * 冷启动时间,单位秒
1192
+ */
1193
+ SlowStart?: number;
1194
+ /**
1195
+ * 服务来源ID
1196
+ */
1197
+ SourceID?: string;
1198
+ /**
1199
+ * 服务来源的名字
1200
+ */
1201
+ SourceName?: string;
1202
+ /**
1203
+ * 服务来源类型
1204
+ */
1205
+ SourceType?: string;
1206
+ /**
1207
+ * 服务后端类型是IPList时提供
1208
+ 注意:此字段可能返回 null,表示取不到有效值。
1209
+ */
1210
+ Targets?: Array<KongTarget>;
1211
+ }
1212
+ /**
1213
+ * 返回kong的服务和路由列表
1214
+ */
1215
+ export interface KongServiceWithRoutes {
1216
+ /**
1217
+ * 服务及路由列表
1218
+ */
1219
+ ServiceList?: Array<KongServiceRoute>;
1220
+ /**
1221
+ * 总数
1222
+ */
1223
+ TotalCount?: number;
1224
+ }
1076
1225
  /**
1077
1226
  * JWT 认证插件配置
1078
1227
  */
@@ -1110,6 +1259,19 @@ export interface AIGWJWTAuthPluginConfig {
1110
1259
  */
1111
1260
  RunOnPreFlight?: boolean;
1112
1261
  }
1262
+ /**
1263
+ * DescribeCNGWServicesWithRoutes返回参数结构体
1264
+ */
1265
+ export interface DescribeCNGWServicesWithRoutesResponse {
1266
+ /**
1267
+ * <p>服务及路由查询结果</p>
1268
+ */
1269
+ Result?: KongServiceWithRoutes;
1270
+ /**
1271
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1272
+ */
1273
+ RequestId?: string;
1274
+ }
1113
1275
  /**
1114
1276
  * LLM 模型 API
1115
1277
  */
@@ -1573,6 +1735,96 @@ export interface CNAPIGwParseMCPToolsResult {
1573
1735
  */
1574
1736
  TotalCount?: number;
1575
1737
  }
1738
+ /**
1739
+ * 云原生网关路由信息
1740
+ */
1741
+ export interface KongRoutePreview {
1742
+ /**
1743
+ * <p>服务ID</p>
1744
+ */
1745
+ ID: string;
1746
+ /**
1747
+ * <p>服务名字</p>
1748
+ */
1749
+ Name?: string;
1750
+ /**
1751
+ * <p>请求方法列表</p>
1752
+ 注意:此字段可能返回 null,表示取不到有效值。
1753
+ */
1754
+ Methods?: Array<string>;
1755
+ /**
1756
+ * <p>路由Paths列表</p>
1757
+ 注意:此字段可能返回 null,表示取不到有效值。
1758
+ */
1759
+ Paths?: Array<string>;
1760
+ /**
1761
+ * <p>路由Hosts列表</p>
1762
+ 注意:此字段可能返回 null,表示取不到有效值。
1763
+ */
1764
+ Hosts?: Array<string>;
1765
+ /**
1766
+ * <p>协议列表</p>
1767
+ */
1768
+ Protocols?: Array<string>;
1769
+ /**
1770
+ * <p>是否保留Host头</p>
1771
+ */
1772
+ PreserveHost?: boolean;
1773
+ /**
1774
+ * <p>HTTPS重定向状态码</p>
1775
+ */
1776
+ HttpsRedirectStatusCode?: number;
1777
+ /**
1778
+ * <p>是否去除路径前缀</p>
1779
+ */
1780
+ StripPath?: boolean;
1781
+ /**
1782
+ * <p>创建时间</p>
1783
+ */
1784
+ CreatedTime?: string;
1785
+ /**
1786
+ * <p>强制转换 https</p>
1787
+ 注意:此字段可能返回 null,表示取不到有效值。
1788
+ * @deprecated
1789
+ */
1790
+ ForceHttps?: boolean;
1791
+ /**
1792
+ * <p>服务名</p>
1793
+ */
1794
+ ServiceName?: string;
1795
+ /**
1796
+ * <p>服务ID</p>
1797
+ */
1798
+ ServiceID?: string;
1799
+ /**
1800
+ * <p>目的端口</p>
1801
+ */
1802
+ DestinationPorts?: Array<number | bigint>;
1803
+ /**
1804
+ * <p>headers</p>
1805
+ */
1806
+ Headers?: Array<KVMapping>;
1807
+ /**
1808
+ * <p>是否缓存请求body,默认true</p>
1809
+ */
1810
+ RequestBuffering?: boolean;
1811
+ /**
1812
+ * <p>是否缓存响应body,默认true</p>
1813
+ */
1814
+ ResponseBuffering?: boolean;
1815
+ /**
1816
+ * <p>正则优先级</p>
1817
+ */
1818
+ RegexPriority?: number;
1819
+ /**
1820
+ * <p>querystring参数</p>
1821
+ */
1822
+ QueryStringParameters?: Array<KVMapping>;
1823
+ /**
1824
+ * <p>路由来源</p>
1825
+ */
1826
+ RouteSource?: string;
1827
+ }
1576
1828
  /**
1577
1829
  * ModifyCloudNativeAPIGatewayMCPTool请求参数结构体
1578
1830
  */
@@ -1826,17 +2078,45 @@ export interface AIGWMCPUpstreamInfoDetail {
1826
2078
  MessageEndpoint?: string;
1827
2079
  }
1828
2080
  /**
1829
- * ModifyCloudNativeAPIGatewayMCPServerStatus返回参数结构体
2081
+ * Kong Upstream中的Target
1830
2082
  */
1831
- export interface ModifyCloudNativeAPIGatewayMCPServerStatusResponse {
2083
+ export interface KongTarget {
1832
2084
  /**
1833
- * <p>创建结果</p>
2085
+ * 目标主机地址
1834
2086
  */
1835
- Result?: boolean;
2087
+ Host: string;
1836
2088
  /**
1837
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2089
+ * 端口
1838
2090
  */
1839
- RequestId?: string;
2091
+ Port: number;
2092
+ /**
2093
+ * 权重
2094
+ */
2095
+ Weight: number;
2096
+ /**
2097
+ * 创建时间
2098
+ */
2099
+ CreatedTime?: string;
2100
+ /**
2101
+ * CVM实例ID
2102
+ */
2103
+ CvmInstanceId?: string;
2104
+ /**
2105
+ * CVM实例名称
2106
+ */
2107
+ CvmInstanceName?: string;
2108
+ /**
2109
+ * 健康状态
2110
+ */
2111
+ Health?: string;
2112
+ /**
2113
+ * Target的来源
2114
+ */
2115
+ Source?: string;
2116
+ /**
2117
+ * target标签
2118
+ */
2119
+ Tags?: Array<string>;
1840
2120
  }
1841
2121
  /**
1842
2122
  * DescribeCloudNativeAPIGatewayLLMModelAPI请求参数结构体
@@ -1851,6 +2131,19 @@ export interface DescribeCloudNativeAPIGatewayLLMModelAPIRequest {
1851
2131
  */
1852
2132
  ModelAPIId: string;
1853
2133
  }
2134
+ /**
2135
+ * 键值对
2136
+ */
2137
+ export interface KVMapping {
2138
+ /**
2139
+ * 键值映射的键
2140
+ */
2141
+ Key?: string;
2142
+ /**
2143
+ * 键值映射的值
2144
+ */
2145
+ Value?: string;
2146
+ }
1854
2147
  /**
1855
2148
  * CreateCloudNativeAPIGatewayConsumer请求参数结构体
1856
2149
  */
@@ -1950,6 +2243,19 @@ export interface DeleteCloudNativeAPIGatewayMCPServerRequest {
1950
2243
  */
1951
2244
  ServerId: string;
1952
2245
  }
2246
+ /**
2247
+ * ModifyCloudNativeAPIGatewayMCPServerStatus返回参数结构体
2248
+ */
2249
+ export interface ModifyCloudNativeAPIGatewayMCPServerStatusResponse {
2250
+ /**
2251
+ * <p>创建结果</p>
2252
+ */
2253
+ Result?: boolean;
2254
+ /**
2255
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2256
+ */
2257
+ RequestId?: string;
2258
+ }
1953
2259
  /**
1954
2260
  * DeleteCloudNativeAPIGatewaySecretKey返回参数结构体
1955
2261
  */
@@ -2240,6 +2546,19 @@ export interface ModifyCloudNativeAPIGatewayMCPToolResponse {
2240
2546
  */
2241
2547
  RequestId?: string;
2242
2548
  }
2549
+ /**
2550
+ * 列表过滤条件,模糊匹配
2551
+ */
2552
+ export interface ListFilter {
2553
+ /**
2554
+ * 过滤字段
2555
+ */
2556
+ Key?: string;
2557
+ /**
2558
+ * 过滤值
2559
+ */
2560
+ Value?: string;
2561
+ }
2243
2562
  /**
2244
2563
  * RemoveCloudNativeAPIGatewayConsumerInGroup返回参数结构体
2245
2564
  */
@@ -2548,6 +2867,27 @@ export interface ListCloudNativeAPIGatewayLLMModelService {
2548
2867
  */
2549
2868
  DataList?: Array<CloudNativeAPIGatewayLLMModelService>;
2550
2869
  }
2870
+ /**
2871
+ * DescribeCNGWServicesWithRoutes请求参数结构体
2872
+ */
2873
+ export interface DescribeCNGWServicesWithRoutesRequest {
2874
+ /**
2875
+ * <p>网关ID</p>
2876
+ */
2877
+ GatewayId: string;
2878
+ /**
2879
+ * <p>列表数量</p>
2880
+ */
2881
+ Limit?: number;
2882
+ /**
2883
+ * <p>列表 offset</p>
2884
+ */
2885
+ Offset?: number;
2886
+ /**
2887
+ * <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
2888
+ */
2889
+ Filters?: Array<ListFilter>;
2890
+ }
2551
2891
  /**
2552
2892
  * DescribeCloudNativeAPIGatewayMCPServerACL返回参数结构体
2553
2893
  */
@@ -2708,6 +3048,27 @@ export interface AIGWCustomDesensitizeRule {
2708
3048
  */
2709
3049
  Enabled: boolean;
2710
3050
  }
3051
+ /**
3052
+ * kong实例的服务和路由列表
3053
+ */
3054
+ export interface KongServiceRoute {
3055
+ /**
3056
+ * <p>服务信息</p>
3057
+ */
3058
+ Service?: KongServicePreview;
3059
+ /**
3060
+ * <p>路由总数</p>
3061
+ */
3062
+ RouteTotalCount?: number;
3063
+ /**
3064
+ * <p>是否还有更多路由</p>
3065
+ */
3066
+ RouteHasMore?: boolean;
3067
+ /**
3068
+ * <p>路由列表</p>
3069
+ */
3070
+ Routes?: Array<KongRoutePreview>;
3071
+ }
2711
3072
  /**
2712
3073
  * MCP Tool 列表
2713
3074
  */