tencentcloud-sdk-nodejs 4.0.330 → 4.0.331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +349 -0
  2. package/SERVICE_CHANGELOG.md +597 -23
  3. package/package.json +1 -1
  4. package/products.md +20 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +5 -5
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +116 -86
  8. package/src/services/car/index.ts +5 -0
  9. package/src/services/car/v20220110/car_client.ts +67 -0
  10. package/src/services/car/v20220110/car_models.ts +106 -0
  11. package/src/services/car/v20220110/index.ts +6 -0
  12. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  13. package/src/services/cdn/v20180606/cdn_client.ts +3 -1
  14. package/src/services/cdn/v20180606/cdn_models.ts +67 -9
  15. package/src/services/ckafka/v20190819/ckafka_models.ts +12 -2
  16. package/src/services/cls/v20201016/cls_models.ts +12 -0
  17. package/src/services/cvm/v20170312/cvm_models.ts +17 -0
  18. package/src/services/dbbrain/v20210527/dbbrain_client.ts +145 -34
  19. package/src/services/dbbrain/v20210527/dbbrain_models.ts +646 -91
  20. package/src/services/dlc/v20210125/dlc_models.ts +24 -1
  21. package/src/services/domain/v20180808/domain_client.ts +15 -2
  22. package/src/services/domain/v20180808/domain_models.ts +202 -30
  23. package/src/services/ess/v20201111/ess_models.ts +4 -3
  24. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  25. package/src/services/index.ts +1 -0
  26. package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
  27. package/src/services/monitor/v20180724/monitor_models.ts +11 -6
  28. package/src/services/rce/v20201103/rce_models.ts +11 -0
  29. package/src/services/redis/v20180412/redis_client.ts +37 -13
  30. package/src/services/redis/v20180412/redis_models.ts +113 -53
  31. package/src/services/vod/v20180717/vod_models.ts +22 -2
  32. package/src/services/waf/v20180125/waf_client.ts +14 -0
  33. package/src/services/waf/v20180125/waf_models.ts +73 -2
  34. package/tencentcloud/common/sdk_version.d.ts +1 -1
  35. package/tencentcloud/common/sdk_version.js +1 -1
  36. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -5
  37. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +5 -5
  38. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +110 -86
  39. package/tencentcloud/services/car/index.d.ts +6 -0
  40. package/tencentcloud/services/car/index.js +7 -0
  41. package/tencentcloud/services/car/v20220110/car_client.d.ts +22 -0
  42. package/tencentcloud/services/car/v20220110/car_client.js +49 -0
  43. package/tencentcloud/services/car/v20220110/car_models.d.ts +78 -0
  44. package/tencentcloud/services/car/v20220110/car_models.js +18 -0
  45. package/tencentcloud/services/car/v20220110/index.d.ts +6 -0
  46. package/tencentcloud/services/car/v20220110/index.js +9 -0
  47. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  48. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +57 -8
  49. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -2
  50. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -0
  51. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -0
  52. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +47 -11
  53. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +69 -15
  54. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +534 -69
  55. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -1
  56. package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
  57. package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
  58. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +179 -30
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -2
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  61. package/tencentcloud/services/index.d.ts +1 -0
  62. package/tencentcloud/services/index.js +2 -0
  63. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
  64. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -5
  65. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +9 -0
  66. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +13 -5
  67. package/tencentcloud/services/redis/v20180412/redis_client.js +18 -6
  68. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +96 -44
  69. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -2
  70. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  71. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  72. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +62 -2
  73. package/test/car.v20220110.test.js +51 -0
  74. package/test/dbbrain.v20210527.test.js +100 -10
  75. package/test/domain.v20180808.test.js +10 -0
  76. package/test/redis.v20180412.test.js +24 -4
  77. package/test/waf.v20180125.test.js +10 -0
@@ -200,7 +200,7 @@ export interface DeleteUsagePlanResponse {
200
200
  * 删除操作是否成功。
201
201
  注意:此字段可能返回 null,表示取不到有效值。
202
202
  */
203
- Result?: boolean;
203
+ Result: boolean;
204
204
  /**
205
205
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
206
206
  */
@@ -214,7 +214,7 @@ export interface DisableApiKeyResponse {
214
214
  * 禁用密钥操作是否成功。
215
215
  注意:此字段可能返回 null,表示取不到有效值。
216
216
  */
217
- Result?: boolean;
217
+ Result: boolean;
218
218
  /**
219
219
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
220
220
  */
@@ -227,7 +227,7 @@ export interface DescribeApiResponse {
227
227
  /**
228
228
  * API 详情。
229
229
  */
230
- Result?: ApiInfo;
230
+ Result: ApiInfo;
231
231
  /**
232
232
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
233
233
  */
@@ -350,7 +350,7 @@ export interface DescribeServiceEnvironmentListResponse {
350
350
  * 服务绑定环境详情。
351
351
  注意:此字段可能返回 null,表示取不到有效值。
352
352
  */
353
- Result?: ServiceEnvironmentSet;
353
+ Result: ServiceEnvironmentSet;
354
354
  /**
355
355
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
356
356
  */
@@ -823,7 +823,7 @@ export interface DescribeUsagePlansStatusResponse {
823
823
  * 使用计划列表。
824
824
  注意:此字段可能返回 null,表示取不到有效值。
825
825
  */
826
- Result?: UsagePlansStatus;
826
+ Result: UsagePlansStatus;
827
827
  /**
828
828
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
829
829
  */
@@ -855,7 +855,7 @@ export interface HealthCheckConf {
855
855
  */
856
856
  export interface DeleteUpstreamRequest {
857
857
  /**
858
- * 待删除的VPC通道唯一ID
858
+ * 待删除的后端通道ID
859
859
  */
860
860
  UpstreamId: string;
861
861
  }
@@ -922,23 +922,27 @@ export interface UnbindApiAppResponse {
922
922
  */
923
923
  export interface ModifyUpstreamRequest {
924
924
  /**
925
- * VPC通道唯一ID
925
+ * 后端通道唯一ID
926
926
  */
927
927
  UpstreamId: string;
928
928
  /**
929
- * VPC通道名字
929
+ * 后端通道名字
930
930
  */
931
931
  UpstreamName?: string;
932
932
  /**
933
- * VPC通道描述
933
+ * 后端通道描述
934
934
  */
935
935
  UpstreamDescription?: string;
936
936
  /**
937
- * 后端协议,HTTP, HTTPS其中之一
937
+ * 后端协议,取值范围:HTTP, HTTPS
938
938
  */
939
939
  Scheme?: string;
940
940
  /**
941
- * 负载均衡算法目前支持ROUND_ROBIN
941
+ * 后端访问类型,取值范围:IP_PORT, K8S
942
+ */
943
+ UpstreamType?: string;
944
+ /**
945
+ * 负载均衡算法,取值范围:ROUND_ROBIN
942
946
  */
943
947
  Algorithm?: string;
944
948
  /**
@@ -950,7 +954,7 @@ export interface ModifyUpstreamRequest {
950
954
  */
951
955
  Retries?: number;
952
956
  /**
953
- * 请求到后端的,host头
957
+ * 网关转发到后端的 Host 请求头
954
958
  */
955
959
  UpstreamHost?: string;
956
960
  /**
@@ -958,7 +962,11 @@ export interface ModifyUpstreamRequest {
958
962
  */
959
963
  Nodes?: Array<UpstreamNode>;
960
964
  /**
961
- * k8s服务配置
965
+ * 健康检查配置,目前只支持VPC通道
966
+ */
967
+ HealthChecker?: UpstreamHealthChecker;
968
+ /**
969
+ * 容器服务配置
962
970
  */
963
971
  K8sService?: Array<K8sService>;
964
972
  }
@@ -970,7 +978,7 @@ export interface DescribeApiUsagePlanResponse {
970
978
  * api绑定使用计划列表。
971
979
  注意:此字段可能返回 null,表示取不到有效值。
972
980
  */
973
- Result?: ApiUsagePlanSet;
981
+ Result: ApiUsagePlanSet;
974
982
  /**
975
983
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
976
984
  */
@@ -1016,15 +1024,15 @@ export interface DescribePluginResponse {
1016
1024
  */
1017
1025
  export interface DescribeUpstreamBindApisRequest {
1018
1026
  /**
1019
- * 分页
1027
+ * 分页大小
1020
1028
  */
1021
1029
  Limit: number;
1022
1030
  /**
1023
- * 分页
1031
+ * 分页起始位置
1024
1032
  */
1025
1033
  Offset: number;
1026
1034
  /**
1027
- * vpc通道Id
1035
+ * 后端通道ID
1028
1036
  */
1029
1037
  UpstreamId: string;
1030
1038
  /**
@@ -1126,7 +1134,7 @@ export interface DescribeApiEnvironmentStrategyRequest {
1126
1134
  Offset?: number;
1127
1135
  }
1128
1136
  /**
1129
- * VPC通道主动健康检查的请求头配置
1137
+ * 后端通道主动健康检查的请求头配置
1130
1138
  */
1131
1139
  export declare type UpstreamHealthCheckerReqHeaders = null;
1132
1140
  /**
@@ -1401,7 +1409,7 @@ export interface DescribeServiceResponse {
1401
1409
  */
1402
1410
  DeploymentType: string;
1403
1411
  /**
1404
- * 特殊用途
1412
+ * 特殊用途, NULL和DEFAULT表示无特殊用途,其他用途如HTTP_DNS等
1405
1413
  注意:此字段可能返回 null,表示取不到有效值。
1406
1414
  */
1407
1415
  SpecialUse: string;
@@ -1464,7 +1472,7 @@ export interface BindEnvironmentResponse {
1464
1472
  * 绑定操作是否成功。
1465
1473
  注意:此字段可能返回 null,表示取不到有效值。
1466
1474
  */
1467
- Result?: boolean;
1475
+ Result: boolean;
1468
1476
  /**
1469
1477
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1470
1478
  */
@@ -1657,7 +1665,7 @@ export interface UnBindIPStrategyResponse {
1657
1665
  * 解绑操作是否成功。
1658
1666
  注意:此字段可能返回 null,表示取不到有效值。
1659
1667
  */
1660
- Result?: boolean;
1668
+ Result: boolean;
1661
1669
  /**
1662
1670
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1663
1671
  */
@@ -1701,7 +1709,7 @@ export interface BindIPStrategyResponse {
1701
1709
  * 绑定操作是否成功。
1702
1710
  注意:此字段可能返回 null,表示取不到有效值。
1703
1711
  */
1704
- Result?: boolean;
1712
+ Result: boolean;
1705
1713
  /**
1706
1714
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1707
1715
  */
@@ -1842,7 +1850,7 @@ export interface DescribeIPStrategyResponse {
1842
1850
  * IP策略详情。
1843
1851
  注意:此字段可能返回 null,表示取不到有效值。
1844
1852
  */
1845
- Result?: IPStrategy;
1853
+ Result: IPStrategy;
1846
1854
  /**
1847
1855
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1848
1856
  */
@@ -1968,14 +1976,14 @@ export interface ModifyIPStrategyResponse {
1968
1976
  * 修改操作是否成功。
1969
1977
  注意:此字段可能返回 null,表示取不到有效值。
1970
1978
  */
1971
- Result?: boolean;
1979
+ Result: boolean;
1972
1980
  /**
1973
1981
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1974
1982
  */
1975
1983
  RequestId?: string;
1976
1984
  }
1977
1985
  /**
1978
- * 查询vpc通道返回信息
1986
+ * 查询后端通道返回信息
1979
1987
  */
1980
1988
  export interface DescribeUpstreamInfo {
1981
1989
  /**
@@ -2056,7 +2064,7 @@ export interface ModifyUsagePlanResponse {
2056
2064
  * 使用计划详情。
2057
2065
  注意:此字段可能返回 null,表示取不到有效值。
2058
2066
  */
2059
- Result?: UsagePlanInfo;
2067
+ Result: UsagePlanInfo;
2060
2068
  /**
2061
2069
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2062
2070
  */
@@ -2070,7 +2078,7 @@ export interface CreateUsagePlanResponse {
2070
2078
  * 使用计划详情。
2071
2079
  注意:此字段可能返回 null,表示取不到有效值。
2072
2080
  */
2073
- Result?: UsagePlanInfo;
2081
+ Result: UsagePlanInfo;
2074
2082
  /**
2075
2083
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2076
2084
  */
@@ -2139,42 +2147,42 @@ export interface DeleteApiKeyResponse {
2139
2147
  * 删除操作是否成功。
2140
2148
  注意:此字段可能返回 null,表示取不到有效值。
2141
2149
  */
2142
- Result?: boolean;
2150
+ Result: boolean;
2143
2151
  /**
2144
2152
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2145
2153
  */
2146
2154
  RequestId?: string;
2147
2155
  }
2148
2156
  /**
2149
- * VPC通道信息集合
2157
+ * 后端通道详细信息
2150
2158
  */
2151
2159
  export interface UpstreamInfo {
2152
2160
  /**
2153
- * VPC通道唯一ID
2161
+ * 后端通道唯一ID
2154
2162
  */
2155
2163
  UpstreamId: string;
2156
2164
  /**
2157
- * VPC通道名字
2165
+ * 后端通道名字
2158
2166
  */
2159
2167
  UpstreamName: string;
2160
2168
  /**
2161
- * VPC通道描述
2169
+ * 后端通道描述
2162
2170
  */
2163
2171
  UpstreamDescription: string;
2164
2172
  /**
2165
- * 写意
2173
+ * 后端协议,取值范围:HTTP, HTTPS
2166
2174
  */
2167
2175
  Scheme: string;
2168
2176
  /**
2169
- * 负载均衡算法
2177
+ * 负载均衡算法,取值范围:ROUND_ROBIN
2170
2178
  */
2171
2179
  Algorithm: string;
2172
2180
  /**
2173
- * vpc唯一ID
2181
+ * VPC唯一ID
2174
2182
  */
2175
2183
  UniqVpcId: string;
2176
2184
  /**
2177
- * 请求重拾次数
2185
+ * 请求重试次数
2178
2186
  */
2179
2187
  Retries: number;
2180
2188
  /**
@@ -2196,16 +2204,16 @@ export interface UpstreamInfo {
2196
2204
  */
2197
2205
  HealthChecker: UpstreamHealthChecker;
2198
2206
  /**
2199
- * Upstream的类型
2207
+ * 后端的类型,取值范围:IP_PORT, K8S
2200
2208
  */
2201
2209
  UpstreamType: string;
2202
2210
  /**
2203
- * k8s服务配置
2211
+ * K8S容器服务配置
2204
2212
  注意:此字段可能返回 null,表示取不到有效值。
2205
2213
  */
2206
2214
  K8sServices: Array<K8sService>;
2207
2215
  /**
2208
- * vpc通道的Host
2216
+ * 网关转发给后端的Host请求头
2209
2217
  注意:此字段可能返回 null,表示取不到有效值。
2210
2218
  */
2211
2219
  UpstreamHost: string;
@@ -2305,7 +2313,7 @@ export interface DescribeLogSearchResponse {
2305
2313
  /**
2306
2314
  * 获取更多检索结果的游标,值为""表示无后续结果
2307
2315
  */
2308
- ConText?: string;
2316
+ ConText: string;
2309
2317
  /**
2310
2318
  * 由0或多条日志组成,每条日志格式如下:
2311
2319
  '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]'
@@ -2336,11 +2344,11 @@ err_msg: 错误信息。
2336
2344
  tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。
2337
2345
  req_id:请求id。
2338
2346
  */
2339
- LogSet?: Array<string>;
2347
+ LogSet: Array<string>;
2340
2348
  /**
2341
2349
  * 单次搜索返回的日志条数,TotalCount <= Limit
2342
2350
  */
2343
- TotalCount?: number;
2351
+ TotalCount: number;
2344
2352
  /**
2345
2353
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2346
2354
  */
@@ -2517,7 +2525,7 @@ export interface DemoteServiceUsagePlanResponse {
2517
2525
  * 降级操作是否成功。
2518
2526
  注意:此字段可能返回 null,表示取不到有效值。
2519
2527
  */
2520
- Result?: boolean;
2528
+ Result: boolean;
2521
2529
  /**
2522
2530
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2523
2531
  */
@@ -2544,7 +2552,7 @@ export interface EnableApiKeyResponse {
2544
2552
  * 启动密钥操作是否成功。
2545
2553
  注意:此字段可能返回 null,表示取不到有效值。
2546
2554
  */
2547
- Result?: boolean;
2555
+ Result: boolean;
2548
2556
  /**
2549
2557
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2550
2558
  */
@@ -2567,7 +2575,7 @@ export interface UnReleaseServiceResponse {
2567
2575
  * 下线操作是否成功。
2568
2576
  注意:此字段可能返回 null,表示取不到有效值。
2569
2577
  */
2570
- Result?: boolean;
2578
+ Result: boolean;
2571
2579
  /**
2572
2580
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2573
2581
  */
@@ -2639,7 +2647,7 @@ export interface DescribeUsagePlanSecretIdsResponse {
2639
2647
  * 使用计划绑定的密钥列表。
2640
2648
  注意:此字段可能返回 null,表示取不到有效值。
2641
2649
  */
2642
- Result?: UsagePlanBindSecretStatus;
2650
+ Result: UsagePlanBindSecretStatus;
2643
2651
  /**
2644
2652
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2645
2653
  */
@@ -2654,7 +2662,7 @@ export interface CreatePluginRequest {
2654
2662
  */
2655
2663
  PluginName: string;
2656
2664
  /**
2657
- * 插件类型。目前支持IPControl, TrafficControl, Cors, CustomReq, CustomAuth,Routing,TrafficControlByParameter。
2665
+ * 插件类型。目前支持IPControl, TrafficControl, Cors, CustomReq, CustomAuth,Routing,TrafficControlByParameter, CircuitBreaker, ProxyCache
2658
2666
  */
2659
2667
  PluginType: string;
2660
2668
  /**
@@ -2665,6 +2673,10 @@ export interface CreatePluginRequest {
2665
2673
  * 插件描述,限定200字以内。
2666
2674
  */
2667
2675
  Description?: string;
2676
+ /**
2677
+ * 标签
2678
+ */
2679
+ Tags?: Array<Tag>;
2668
2680
  }
2669
2681
  /**
2670
2682
  * tsf类型入参
@@ -2827,7 +2839,7 @@ export interface DescribeIPStrategyApisStatusResponse {
2827
2839
  * 环境绑定API列表。
2828
2840
  注意:此字段可能返回 null,表示取不到有效值。
2829
2841
  */
2830
- Result?: IPStrategyApiStatus;
2842
+ Result: IPStrategyApiStatus;
2831
2843
  /**
2832
2844
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2833
2845
  */
@@ -2924,7 +2936,7 @@ export interface DescribeApiKeyResponse {
2924
2936
  * 密钥详情。
2925
2937
  注意:此字段可能返回 null,表示取不到有效值。
2926
2938
  */
2927
- Result?: ApiKey;
2939
+ Result: ApiKey;
2928
2940
  /**
2929
2941
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2930
2942
  */
@@ -3639,7 +3651,7 @@ export interface DescribeServiceEnvironmentReleaseHistoryResponse {
3639
3651
  * 服务发布历史。
3640
3652
  注意:此字段可能返回 null,表示取不到有效值。
3641
3653
  */
3642
- Result?: ServiceReleaseHistory;
3654
+ Result: ServiceReleaseHistory;
3643
3655
  /**
3644
3656
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3645
3657
  */
@@ -3961,11 +3973,11 @@ export interface ServiceUsagePlanSet {
3961
3973
  */
3962
3974
  export interface CreateUpstreamRequest {
3963
3975
  /**
3964
- * 后端协议,HTTP, HTTPS其中之一
3976
+ * 后端协议,取值范围:HTTP, HTTPS
3965
3977
  */
3966
3978
  Scheme: string;
3967
3979
  /**
3968
- * 负载均衡算法目前支持ROUND_ROBIN
3980
+ * 负载均衡算法,取值范围:ROUND-ROBIN
3969
3981
  */
3970
3982
  Algorithm: string;
3971
3983
  /**
@@ -3973,19 +3985,23 @@ export interface CreateUpstreamRequest {
3973
3985
  */
3974
3986
  UniqVpcId: string;
3975
3987
  /**
3976
- * VPC通道名字
3988
+ * 后端通道名字
3977
3989
  */
3978
3990
  UpstreamName?: string;
3979
3991
  /**
3980
- * VPC通道描述
3992
+ * 后端通道描述
3981
3993
  */
3982
3994
  UpstreamDescription?: string;
3995
+ /**
3996
+ * 后端访问类型,取值范围:IP_PORT, K8S
3997
+ */
3998
+ UpstreamType?: string;
3983
3999
  /**
3984
4000
  * 请求重试次数,默认3次
3985
4001
  */
3986
4002
  Retries?: number;
3987
4003
  /**
3988
- * 请求到后端的,host头
4004
+ * 网关转发到后端的Host请求头
3989
4005
  */
3990
4006
  UpstreamHost?: string;
3991
4007
  /**
@@ -3993,7 +4009,15 @@ export interface CreateUpstreamRequest {
3993
4009
  */
3994
4010
  Nodes?: Array<UpstreamNode>;
3995
4011
  /**
3996
- * k8s服务的配置
4012
+ * 标签
4013
+ */
4014
+ Tags?: Array<Tag>;
4015
+ /**
4016
+ * 健康检查配置,目前只支持VPC通道
4017
+ */
4018
+ HealthChecker?: UpstreamHealthChecker;
4019
+ /**
4020
+ * K8S容器服务的配置
3997
4021
  */
3998
4022
  K8sService?: Array<K8sService>;
3999
4023
  }
@@ -4005,7 +4029,7 @@ export interface ModifyServiceEnvironmentStrategyResponse {
4005
4029
  * 修改操作是否成功。
4006
4030
  注意:此字段可能返回 null,表示取不到有效值。
4007
4031
  */
4008
- Result?: boolean;
4032
+ Result: boolean;
4009
4033
  /**
4010
4034
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4011
4035
  */
@@ -4019,7 +4043,7 @@ export interface UpdateApiKeyResponse {
4019
4043
  * 更换后的密钥详情。
4020
4044
  注意:此字段可能返回 null,表示取不到有效值。
4021
4045
  */
4022
- Result?: ApiKey;
4046
+ Result: ApiKey;
4023
4047
  /**
4024
4048
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4025
4049
  */
@@ -4057,7 +4081,7 @@ export interface DescribeApisStatusResponse {
4057
4081
  /**
4058
4082
  * API 详情列表。
4059
4083
  */
4060
- Result?: ApisStatus;
4084
+ Result: ApisStatus;
4061
4085
  /**
4062
4086
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4063
4087
  */
@@ -4394,7 +4418,7 @@ export interface CreateApiKeyResponse {
4394
4418
  * 新增的密钥详情。
4395
4419
  注意:此字段可能返回 null,表示取不到有效值。
4396
4420
  */
4397
- Result?: ApiKey;
4421
+ Result: ApiKey;
4398
4422
  /**
4399
4423
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4400
4424
  */
@@ -4405,15 +4429,15 @@ export interface CreateApiKeyResponse {
4405
4429
  */
4406
4430
  export interface DescribeUpstreamsRequest {
4407
4431
  /**
4408
- * 分页
4432
+ * 分页大小
4409
4433
  */
4410
4434
  Limit: number;
4411
4435
  /**
4412
- * 分页
4436
+ * 分页起始位置
4413
4437
  */
4414
4438
  Offset: number;
4415
4439
  /**
4416
- * 过滤条件
4440
+ * 过滤条件,支持后端通道ID(UpstreamId)、后端通道名字(UpstreamName)过滤查询
4417
4441
  */
4418
4442
  Filters?: Array<Filter>;
4419
4443
  }
@@ -4556,7 +4580,7 @@ export interface VpcConfig {
4556
4580
  */
4557
4581
  export interface CreateUpstreamResponse {
4558
4582
  /**
4559
- * 创建返回的唯一id
4583
+ * 创建返回的唯一ID
4560
4584
  注意:此字段可能返回 null,表示取不到有效值。
4561
4585
  */
4562
4586
  UpstreamId: string;
@@ -4808,7 +4832,7 @@ export interface GenerateApiDocumentResponse {
4808
4832
  /**
4809
4833
  * api文档&sdk链接。
4810
4834
  */
4811
- Result?: DocumentSDK;
4835
+ Result: DocumentSDK;
4812
4836
  /**
4813
4837
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4814
4838
  */
@@ -4822,7 +4846,7 @@ export interface DescribeUsagePlanEnvironmentsResponse {
4822
4846
  * 使用计划绑定详情。
4823
4847
  注意:此字段可能返回 null,表示取不到有效值。
4824
4848
  */
4825
- Result?: UsagePlanEnvironmentStatus;
4849
+ Result: UsagePlanEnvironmentStatus;
4826
4850
  /**
4827
4851
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4828
4852
  */
@@ -4883,7 +4907,7 @@ export interface ModifyApiEnvironmentStrategyResponse {
4883
4907
  * 修改操作是否成功。
4884
4908
  注意:此字段可能返回 null,表示取不到有效值。
4885
4909
  */
4886
- Result?: boolean;
4910
+ Result: boolean;
4887
4911
  /**
4888
4912
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4889
4913
  */
@@ -4981,7 +5005,7 @@ export interface UnBindEnvironmentResponse {
4981
5005
  * 解绑操作是否成功。
4982
5006
  注意:此字段可能返回 null,表示取不到有效值。
4983
5007
  */
4984
- Result?: boolean;
5008
+ Result: boolean;
4985
5009
  /**
4986
5010
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4987
5011
  */
@@ -5155,7 +5179,7 @@ export interface DescribeApiEnvironmentStrategyResponse {
5155
5179
  * api绑定策略详情
5156
5180
  注意:此字段可能返回 null,表示取不到有效值。
5157
5181
  */
5158
- Result?: ApiEnvironmentStrategyStataus;
5182
+ Result: ApiEnvironmentStrategyStataus;
5159
5183
  /**
5160
5184
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5161
5185
  */
@@ -5253,7 +5277,7 @@ export interface DeleteIPStrategyResponse {
5253
5277
  * 删除操作是否成功。
5254
5278
  注意:此字段可能返回 null,表示取不到有效值。
5255
5279
  */
5256
- Result?: boolean;
5280
+ Result: boolean;
5257
5281
  /**
5258
5282
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5259
5283
  */
@@ -5384,7 +5408,7 @@ export interface DescribeUsagePlanResponse {
5384
5408
  * 使用计划详情。
5385
5409
  注意:此字段可能返回 null,表示取不到有效值。
5386
5410
  */
5387
- Result?: UsagePlanInfo;
5411
+ Result: UsagePlanInfo;
5388
5412
  /**
5389
5413
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5390
5414
  */
@@ -5458,7 +5482,7 @@ export interface BindEnvironmentRequest {
5458
5482
  */
5459
5483
  export interface ModifyUpstreamResponse {
5460
5484
  /**
5461
- * 返回修改后的vpc通道信息
5485
+ * 返回修改后的后端通道信息
5462
5486
  注意:此字段可能返回 null,表示取不到有效值。
5463
5487
  */
5464
5488
  Result: UpstreamInfo;
@@ -5569,18 +5593,18 @@ export interface DescribeServiceReleaseVersionResponse {
5569
5593
  * 服务发布版本列表。
5570
5594
  注意:此字段可能返回 null,表示取不到有效值。
5571
5595
  */
5572
- Result?: ServiceReleaseVersion;
5596
+ Result: ServiceReleaseVersion;
5573
5597
  /**
5574
5598
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5575
5599
  */
5576
5600
  RequestId?: string;
5577
5601
  }
5578
5602
  /**
5579
- * VPC通道后端节点元数据
5603
+ * 后端通道后端节点元数据
5580
5604
  */
5581
5605
  export interface UpstreamNode {
5582
5606
  /**
5583
- * IP(domain)
5607
+ * IP或域名
5584
5608
  */
5585
5609
  Host: string;
5586
5610
  /**
@@ -5592,7 +5616,7 @@ export interface UpstreamNode {
5592
5616
  */
5593
5617
  Weight: number;
5594
5618
  /**
5595
- * vm实例id
5619
+ * CVM实例ID
5596
5620
  注意:此字段可能返回 null,表示取不到有效值。
5597
5621
  */
5598
5622
  VmInstanceId?: string;
@@ -5602,17 +5626,17 @@ export interface UpstreamNode {
5602
5626
  */
5603
5627
  Tags?: Array<string>;
5604
5628
  /**
5605
- * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
5629
+ * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报。目前只支持VPC通道。
5606
5630
  注意:此字段可能返回 null,表示取不到有效值。
5607
5631
  */
5608
5632
  Healthy?: string;
5609
5633
  /**
5610
- * k8s服务名字
5634
+ * K8S容器服务名字
5611
5635
  注意:此字段可能返回 null,表示取不到有效值。
5612
5636
  */
5613
5637
  ServiceName?: string;
5614
5638
  /**
5615
- * k8s命名空间
5639
+ * K8S命名空间
5616
5640
  注意:此字段可能返回 null,表示取不到有效值。
5617
5641
  */
5618
5642
  NameSpace?: string;
@@ -5622,7 +5646,7 @@ export interface UpstreamNode {
5622
5646
  */
5623
5647
  ClusterId?: string;
5624
5648
  /**
5625
- * Node的来源
5649
+ * Node的来源,取值范围:K8S
5626
5650
  注意:此字段可能返回 null,表示取不到有效值。
5627
5651
  */
5628
5652
  Source?: string;
@@ -5651,7 +5675,7 @@ export interface ApiAppApiInfos {
5651
5675
  */
5652
5676
  export interface DeleteUpstreamResponse {
5653
5677
  /**
5654
- * 成功删除的vpc通道id
5678
+ * 成功删除的后端通道ID
5655
5679
  注意:此字段可能返回 null,表示取不到有效值。
5656
5680
  */
5657
5681
  UpstreamId: string;
@@ -5879,7 +5903,7 @@ export interface DescribeServiceEnvironmentStrategyResponse {
5879
5903
  * 限流策略列表。
5880
5904
  注意:此字段可能返回 null,表示取不到有效值。
5881
5905
  */
5882
- Result?: ServiceEnvironmentStrategyStatus;
5906
+ Result: ServiceEnvironmentStrategyStatus;
5883
5907
  /**
5884
5908
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5885
5909
  */
@@ -6116,7 +6140,7 @@ export interface DescribeServiceUsagePlanResponse {
6116
6140
  * 服务绑定使用计划列表。
6117
6141
  注意:此字段可能返回 null,表示取不到有效值。
6118
6142
  */
6119
- Result?: ServiceUsagePlanSet;
6143
+ Result: ServiceUsagePlanSet;
6120
6144
  /**
6121
6145
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6122
6146
  */
@@ -6199,7 +6223,7 @@ export interface DescribeIPStrategysStatusResponse {
6199
6223
  * 符合条件的策略列表。
6200
6224
  注意:此字段可能返回 null,表示取不到有效值。
6201
6225
  */
6202
- Result?: IPStrategysStatus;
6226
+ Result: IPStrategysStatus;
6203
6227
  /**
6204
6228
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6205
6229
  */
@@ -6292,7 +6316,7 @@ export interface UnBindSecretIdsResponse {
6292
6316
  * 解绑操作是否成功。
6293
6317
  注意:此字段可能返回 null,表示取不到有效值。
6294
6318
  */
6295
- Result?: boolean;
6319
+ Result: boolean;
6296
6320
  /**
6297
6321
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6298
6322
  */
@@ -6380,7 +6404,7 @@ export interface RequestParameter {
6380
6404
  Required?: boolean;
6381
6405
  }
6382
6406
  /**
6383
- * VPC通道健康检查参数配置
6407
+ * 后端通道健康检查参数配置
6384
6408
  */
6385
6409
  export interface UpstreamHealthChecker {
6386
6410
  /**