tencentcloud-sdk-nodejs 4.0.328 → 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 (86) hide show
  1. package/CHANGELOG.md +443 -0
  2. package/SERVICE_CHANGELOG.md +689 -11
  3. package/package.json +1 -1
  4. package/products.md +23 -22
  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 +129 -88
  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/clb/v20180317/clb_models.ts +5 -4
  17. package/src/services/cls/v20201016/cls_models.ts +12 -0
  18. package/src/services/cvm/v20170312/cvm_models.ts +17 -0
  19. package/src/services/dbbrain/v20210527/dbbrain_client.ts +145 -34
  20. package/src/services/dbbrain/v20210527/dbbrain_models.ts +646 -91
  21. package/src/services/dlc/v20210125/dlc_models.ts +24 -1
  22. package/src/services/domain/v20180808/domain_client.ts +15 -2
  23. package/src/services/domain/v20180808/domain_models.ts +202 -30
  24. package/src/services/ess/v20201111/ess_models.ts +4 -3
  25. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  26. package/src/services/index.ts +1 -0
  27. package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
  28. package/src/services/monitor/v20180724/monitor_models.ts +11 -6
  29. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  30. package/src/services/ocr/v20181119/ocr_models.ts +32 -1
  31. package/src/services/rce/v20201103/rce_models.ts +11 -0
  32. package/src/services/redis/v20180412/redis_client.ts +37 -13
  33. package/src/services/redis/v20180412/redis_models.ts +113 -53
  34. package/src/services/tcss/v20201101/tcss_models.ts +83 -13
  35. package/src/services/vod/v20180717/vod_models.ts +22 -2
  36. package/src/services/waf/v20180125/waf_client.ts +14 -0
  37. package/src/services/waf/v20180125/waf_models.ts +73 -2
  38. package/tencentcloud/common/sdk_version.d.ts +1 -1
  39. package/tencentcloud/common/sdk_version.js +1 -1
  40. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -5
  41. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +5 -5
  42. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +121 -88
  43. package/tencentcloud/services/car/index.d.ts +6 -0
  44. package/tencentcloud/services/car/index.js +7 -0
  45. package/tencentcloud/services/car/v20220110/car_client.d.ts +22 -0
  46. package/tencentcloud/services/car/v20220110/car_client.js +49 -0
  47. package/tencentcloud/services/car/v20220110/car_models.d.ts +78 -0
  48. package/tencentcloud/services/car/v20220110/car_models.js +18 -0
  49. package/tencentcloud/services/car/v20220110/index.d.ts +6 -0
  50. package/tencentcloud/services/car/v20220110/index.js +9 -0
  51. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  52. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +57 -8
  53. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -2
  54. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -4
  55. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -0
  56. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -0
  57. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +47 -11
  58. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +69 -15
  59. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +534 -69
  60. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -1
  61. package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
  62. package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
  63. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +179 -30
  64. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -2
  65. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  66. package/tencentcloud/services/index.d.ts +1 -0
  67. package/tencentcloud/services/index.js +2 -0
  68. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
  69. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -5
  70. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  71. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  72. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +27 -1
  73. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +9 -0
  74. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +13 -5
  75. package/tencentcloud/services/redis/v20180412/redis_client.js +18 -6
  76. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +96 -44
  77. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +70 -11
  78. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -2
  79. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  80. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  81. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +62 -2
  82. package/test/car.v20220110.test.js +51 -0
  83. package/test/dbbrain.v20210527.test.js +100 -10
  84. package/test/domain.v20180808.test.js +10 -0
  85. package/test/redis.v20180412.test.js +24 -4
  86. 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
  /**
@@ -1260,6 +1268,11 @@ export interface ServiceConfig {
1260
1268
  * API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。
1261
1269
  */
1262
1270
  Method?: string;
1271
+ /**
1272
+ * 当绑定vpc通道才需要
1273
+ 注意:此字段可能返回 null,表示取不到有效值。
1274
+ */
1275
+ UpstreamId?: string;
1263
1276
  /**
1264
1277
  * API后端COS配置。如果 ServiceType 是 COS,则此参数必传。
1265
1278
  注意:此字段可能返回 null,表示取不到有效值。
@@ -1396,7 +1409,7 @@ export interface DescribeServiceResponse {
1396
1409
  */
1397
1410
  DeploymentType: string;
1398
1411
  /**
1399
- * 特殊用途
1412
+ * 特殊用途, NULL和DEFAULT表示无特殊用途,其他用途如HTTP_DNS等
1400
1413
  注意:此字段可能返回 null,表示取不到有效值。
1401
1414
  */
1402
1415
  SpecialUse: string;
@@ -1459,7 +1472,7 @@ export interface BindEnvironmentResponse {
1459
1472
  * 绑定操作是否成功。
1460
1473
  注意:此字段可能返回 null,表示取不到有效值。
1461
1474
  */
1462
- Result?: boolean;
1475
+ Result: boolean;
1463
1476
  /**
1464
1477
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1465
1478
  */
@@ -1652,7 +1665,7 @@ export interface UnBindIPStrategyResponse {
1652
1665
  * 解绑操作是否成功。
1653
1666
  注意:此字段可能返回 null,表示取不到有效值。
1654
1667
  */
1655
- Result?: boolean;
1668
+ Result: boolean;
1656
1669
  /**
1657
1670
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1658
1671
  */
@@ -1696,7 +1709,7 @@ export interface BindIPStrategyResponse {
1696
1709
  * 绑定操作是否成功。
1697
1710
  注意:此字段可能返回 null,表示取不到有效值。
1698
1711
  */
1699
- Result?: boolean;
1712
+ Result: boolean;
1700
1713
  /**
1701
1714
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1702
1715
  */
@@ -1837,7 +1850,7 @@ export interface DescribeIPStrategyResponse {
1837
1850
  * IP策略详情。
1838
1851
  注意:此字段可能返回 null,表示取不到有效值。
1839
1852
  */
1840
- Result?: IPStrategy;
1853
+ Result: IPStrategy;
1841
1854
  /**
1842
1855
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1843
1856
  */
@@ -1963,14 +1976,14 @@ export interface ModifyIPStrategyResponse {
1963
1976
  * 修改操作是否成功。
1964
1977
  注意:此字段可能返回 null,表示取不到有效值。
1965
1978
  */
1966
- Result?: boolean;
1979
+ Result: boolean;
1967
1980
  /**
1968
1981
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1969
1982
  */
1970
1983
  RequestId?: string;
1971
1984
  }
1972
1985
  /**
1973
- * 查询vpc通道返回信息
1986
+ * 查询后端通道返回信息
1974
1987
  */
1975
1988
  export interface DescribeUpstreamInfo {
1976
1989
  /**
@@ -2051,7 +2064,7 @@ export interface ModifyUsagePlanResponse {
2051
2064
  * 使用计划详情。
2052
2065
  注意:此字段可能返回 null,表示取不到有效值。
2053
2066
  */
2054
- Result?: UsagePlanInfo;
2067
+ Result: UsagePlanInfo;
2055
2068
  /**
2056
2069
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2057
2070
  */
@@ -2065,7 +2078,7 @@ export interface CreateUsagePlanResponse {
2065
2078
  * 使用计划详情。
2066
2079
  注意:此字段可能返回 null,表示取不到有效值。
2067
2080
  */
2068
- Result?: UsagePlanInfo;
2081
+ Result: UsagePlanInfo;
2069
2082
  /**
2070
2083
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2071
2084
  */
@@ -2134,42 +2147,42 @@ export interface DeleteApiKeyResponse {
2134
2147
  * 删除操作是否成功。
2135
2148
  注意:此字段可能返回 null,表示取不到有效值。
2136
2149
  */
2137
- Result?: boolean;
2150
+ Result: boolean;
2138
2151
  /**
2139
2152
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2140
2153
  */
2141
2154
  RequestId?: string;
2142
2155
  }
2143
2156
  /**
2144
- * VPC通道信息集合
2157
+ * 后端通道详细信息
2145
2158
  */
2146
2159
  export interface UpstreamInfo {
2147
2160
  /**
2148
- * VPC通道唯一ID
2161
+ * 后端通道唯一ID
2149
2162
  */
2150
2163
  UpstreamId: string;
2151
2164
  /**
2152
- * VPC通道名字
2165
+ * 后端通道名字
2153
2166
  */
2154
2167
  UpstreamName: string;
2155
2168
  /**
2156
- * VPC通道描述
2169
+ * 后端通道描述
2157
2170
  */
2158
2171
  UpstreamDescription: string;
2159
2172
  /**
2160
- * 写意
2173
+ * 后端协议,取值范围:HTTP, HTTPS
2161
2174
  */
2162
2175
  Scheme: string;
2163
2176
  /**
2164
- * 负载均衡算法
2177
+ * 负载均衡算法,取值范围:ROUND_ROBIN
2165
2178
  */
2166
2179
  Algorithm: string;
2167
2180
  /**
2168
- * vpc唯一ID
2181
+ * VPC唯一ID
2169
2182
  */
2170
2183
  UniqVpcId: string;
2171
2184
  /**
2172
- * 请求重拾次数
2185
+ * 请求重试次数
2173
2186
  */
2174
2187
  Retries: number;
2175
2188
  /**
@@ -2191,16 +2204,16 @@ export interface UpstreamInfo {
2191
2204
  */
2192
2205
  HealthChecker: UpstreamHealthChecker;
2193
2206
  /**
2194
- * Upstream的类型
2207
+ * 后端的类型,取值范围:IP_PORT, K8S
2195
2208
  */
2196
2209
  UpstreamType: string;
2197
2210
  /**
2198
- * k8s服务配置
2211
+ * K8S容器服务配置
2199
2212
  注意:此字段可能返回 null,表示取不到有效值。
2200
2213
  */
2201
2214
  K8sServices: Array<K8sService>;
2202
2215
  /**
2203
- * vpc通道的Host
2216
+ * 网关转发给后端的Host请求头
2204
2217
  注意:此字段可能返回 null,表示取不到有效值。
2205
2218
  */
2206
2219
  UpstreamHost: string;
@@ -2300,7 +2313,7 @@ export interface DescribeLogSearchResponse {
2300
2313
  /**
2301
2314
  * 获取更多检索结果的游标,值为""表示无后续结果
2302
2315
  */
2303
- ConText?: string;
2316
+ ConText: string;
2304
2317
  /**
2305
2318
  * 由0或多条日志组成,每条日志格式如下:
2306
2319
  '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]'
@@ -2331,11 +2344,11 @@ err_msg: 错误信息。
2331
2344
  tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。
2332
2345
  req_id:请求id。
2333
2346
  */
2334
- LogSet?: Array<string>;
2347
+ LogSet: Array<string>;
2335
2348
  /**
2336
2349
  * 单次搜索返回的日志条数,TotalCount <= Limit
2337
2350
  */
2338
- TotalCount?: number;
2351
+ TotalCount: number;
2339
2352
  /**
2340
2353
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2341
2354
  */
@@ -2512,7 +2525,7 @@ export interface DemoteServiceUsagePlanResponse {
2512
2525
  * 降级操作是否成功。
2513
2526
  注意:此字段可能返回 null,表示取不到有效值。
2514
2527
  */
2515
- Result?: boolean;
2528
+ Result: boolean;
2516
2529
  /**
2517
2530
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2518
2531
  */
@@ -2539,7 +2552,7 @@ export interface EnableApiKeyResponse {
2539
2552
  * 启动密钥操作是否成功。
2540
2553
  注意:此字段可能返回 null,表示取不到有效值。
2541
2554
  */
2542
- Result?: boolean;
2555
+ Result: boolean;
2543
2556
  /**
2544
2557
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2545
2558
  */
@@ -2562,7 +2575,7 @@ export interface UnReleaseServiceResponse {
2562
2575
  * 下线操作是否成功。
2563
2576
  注意:此字段可能返回 null,表示取不到有效值。
2564
2577
  */
2565
- Result?: boolean;
2578
+ Result: boolean;
2566
2579
  /**
2567
2580
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2568
2581
  */
@@ -2634,7 +2647,7 @@ export interface DescribeUsagePlanSecretIdsResponse {
2634
2647
  * 使用计划绑定的密钥列表。
2635
2648
  注意:此字段可能返回 null,表示取不到有效值。
2636
2649
  */
2637
- Result?: UsagePlanBindSecretStatus;
2650
+ Result: UsagePlanBindSecretStatus;
2638
2651
  /**
2639
2652
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2640
2653
  */
@@ -2649,7 +2662,7 @@ export interface CreatePluginRequest {
2649
2662
  */
2650
2663
  PluginName: string;
2651
2664
  /**
2652
- * 插件类型。目前支持IPControl, TrafficControl, Cors, CustomReq, CustomAuth,Routing,TrafficControlByParameter。
2665
+ * 插件类型。目前支持IPControl, TrafficControl, Cors, CustomReq, CustomAuth,Routing,TrafficControlByParameter, CircuitBreaker, ProxyCache
2653
2666
  */
2654
2667
  PluginType: string;
2655
2668
  /**
@@ -2660,6 +2673,10 @@ export interface CreatePluginRequest {
2660
2673
  * 插件描述,限定200字以内。
2661
2674
  */
2662
2675
  Description?: string;
2676
+ /**
2677
+ * 标签
2678
+ */
2679
+ Tags?: Array<Tag>;
2663
2680
  }
2664
2681
  /**
2665
2682
  * tsf类型入参
@@ -2822,7 +2839,7 @@ export interface DescribeIPStrategyApisStatusResponse {
2822
2839
  * 环境绑定API列表。
2823
2840
  注意:此字段可能返回 null,表示取不到有效值。
2824
2841
  */
2825
- Result?: IPStrategyApiStatus;
2842
+ Result: IPStrategyApiStatus;
2826
2843
  /**
2827
2844
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2828
2845
  */
@@ -2919,7 +2936,7 @@ export interface DescribeApiKeyResponse {
2919
2936
  * 密钥详情。
2920
2937
  注意:此字段可能返回 null,表示取不到有效值。
2921
2938
  */
2922
- Result?: ApiKey;
2939
+ Result: ApiKey;
2923
2940
  /**
2924
2941
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2925
2942
  */
@@ -3556,6 +3573,10 @@ export interface CreateApiRequest {
3556
3573
  * EIAM应用ID。
3557
3574
  */
3558
3575
  EIAMAppId?: string;
3576
+ /**
3577
+ * 资源的Owner
3578
+ */
3579
+ Owner?: string;
3559
3580
  }
3560
3581
  /**
3561
3582
  * DescribeServiceEnvironmentStrategy请求参数结构体
@@ -3630,7 +3651,7 @@ export interface DescribeServiceEnvironmentReleaseHistoryResponse {
3630
3651
  * 服务发布历史。
3631
3652
  注意:此字段可能返回 null,表示取不到有效值。
3632
3653
  */
3633
- Result?: ServiceReleaseHistory;
3654
+ Result: ServiceReleaseHistory;
3634
3655
  /**
3635
3656
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3636
3657
  */
@@ -3952,11 +3973,11 @@ export interface ServiceUsagePlanSet {
3952
3973
  */
3953
3974
  export interface CreateUpstreamRequest {
3954
3975
  /**
3955
- * 后端协议,HTTP, HTTPS其中之一
3976
+ * 后端协议,取值范围:HTTP, HTTPS
3956
3977
  */
3957
3978
  Scheme: string;
3958
3979
  /**
3959
- * 负载均衡算法目前支持ROUND_ROBIN
3980
+ * 负载均衡算法,取值范围:ROUND-ROBIN
3960
3981
  */
3961
3982
  Algorithm: string;
3962
3983
  /**
@@ -3964,19 +3985,23 @@ export interface CreateUpstreamRequest {
3964
3985
  */
3965
3986
  UniqVpcId: string;
3966
3987
  /**
3967
- * VPC通道名字
3988
+ * 后端通道名字
3968
3989
  */
3969
3990
  UpstreamName?: string;
3970
3991
  /**
3971
- * VPC通道描述
3992
+ * 后端通道描述
3972
3993
  */
3973
3994
  UpstreamDescription?: string;
3995
+ /**
3996
+ * 后端访问类型,取值范围:IP_PORT, K8S
3997
+ */
3998
+ UpstreamType?: string;
3974
3999
  /**
3975
4000
  * 请求重试次数,默认3次
3976
4001
  */
3977
4002
  Retries?: number;
3978
4003
  /**
3979
- * 请求到后端的,host头
4004
+ * 网关转发到后端的Host请求头
3980
4005
  */
3981
4006
  UpstreamHost?: string;
3982
4007
  /**
@@ -3984,7 +4009,15 @@ export interface CreateUpstreamRequest {
3984
4009
  */
3985
4010
  Nodes?: Array<UpstreamNode>;
3986
4011
  /**
3987
- * k8s服务的配置
4012
+ * 标签
4013
+ */
4014
+ Tags?: Array<Tag>;
4015
+ /**
4016
+ * 健康检查配置,目前只支持VPC通道
4017
+ */
4018
+ HealthChecker?: UpstreamHealthChecker;
4019
+ /**
4020
+ * K8S容器服务的配置
3988
4021
  */
3989
4022
  K8sService?: Array<K8sService>;
3990
4023
  }
@@ -3996,7 +4029,7 @@ export interface ModifyServiceEnvironmentStrategyResponse {
3996
4029
  * 修改操作是否成功。
3997
4030
  注意:此字段可能返回 null,表示取不到有效值。
3998
4031
  */
3999
- Result?: boolean;
4032
+ Result: boolean;
4000
4033
  /**
4001
4034
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4002
4035
  */
@@ -4010,7 +4043,7 @@ export interface UpdateApiKeyResponse {
4010
4043
  * 更换后的密钥详情。
4011
4044
  注意:此字段可能返回 null,表示取不到有效值。
4012
4045
  */
4013
- Result?: ApiKey;
4046
+ Result: ApiKey;
4014
4047
  /**
4015
4048
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4016
4049
  */
@@ -4048,7 +4081,7 @@ export interface DescribeApisStatusResponse {
4048
4081
  /**
4049
4082
  * API 详情列表。
4050
4083
  */
4051
- Result?: ApisStatus;
4084
+ Result: ApisStatus;
4052
4085
  /**
4053
4086
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4054
4087
  */
@@ -4385,7 +4418,7 @@ export interface CreateApiKeyResponse {
4385
4418
  * 新增的密钥详情。
4386
4419
  注意:此字段可能返回 null,表示取不到有效值。
4387
4420
  */
4388
- Result?: ApiKey;
4421
+ Result: ApiKey;
4389
4422
  /**
4390
4423
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4391
4424
  */
@@ -4396,15 +4429,15 @@ export interface CreateApiKeyResponse {
4396
4429
  */
4397
4430
  export interface DescribeUpstreamsRequest {
4398
4431
  /**
4399
- * 分页
4432
+ * 分页大小
4400
4433
  */
4401
4434
  Limit: number;
4402
4435
  /**
4403
- * 分页
4436
+ * 分页起始位置
4404
4437
  */
4405
4438
  Offset: number;
4406
4439
  /**
4407
- * 过滤条件
4440
+ * 过滤条件,支持后端通道ID(UpstreamId)、后端通道名字(UpstreamName)过滤查询
4408
4441
  */
4409
4442
  Filters?: Array<Filter>;
4410
4443
  }
@@ -4547,7 +4580,7 @@ export interface VpcConfig {
4547
4580
  */
4548
4581
  export interface CreateUpstreamResponse {
4549
4582
  /**
4550
- * 创建返回的唯一id
4583
+ * 创建返回的唯一ID
4551
4584
  注意:此字段可能返回 null,表示取不到有效值。
4552
4585
  */
4553
4586
  UpstreamId: string;
@@ -4694,7 +4727,7 @@ export interface DeletePluginResponse {
4694
4727
  RequestId?: string;
4695
4728
  }
4696
4729
  /**
4697
- * 查询vpc通道绑定api列表
4730
+ * 查询后端通道绑定API列表
4698
4731
  */
4699
4732
  export interface DescribeUpstreamBindApis {
4700
4733
  /**
@@ -4702,7 +4735,7 @@ export interface DescribeUpstreamBindApis {
4702
4735
  */
4703
4736
  TotalCount: number;
4704
4737
  /**
4705
- * 绑定的api信息
4738
+ * 绑定的API信息
4706
4739
  */
4707
4740
  BindApiSet: Array<BindApiInfo>;
4708
4741
  }
@@ -4799,7 +4832,7 @@ export interface GenerateApiDocumentResponse {
4799
4832
  /**
4800
4833
  * api文档&sdk链接。
4801
4834
  */
4802
- Result?: DocumentSDK;
4835
+ Result: DocumentSDK;
4803
4836
  /**
4804
4837
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4805
4838
  */
@@ -4813,7 +4846,7 @@ export interface DescribeUsagePlanEnvironmentsResponse {
4813
4846
  * 使用计划绑定详情。
4814
4847
  注意:此字段可能返回 null,表示取不到有效值。
4815
4848
  */
4816
- Result?: UsagePlanEnvironmentStatus;
4849
+ Result: UsagePlanEnvironmentStatus;
4817
4850
  /**
4818
4851
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4819
4852
  */
@@ -4874,7 +4907,7 @@ export interface ModifyApiEnvironmentStrategyResponse {
4874
4907
  * 修改操作是否成功。
4875
4908
  注意:此字段可能返回 null,表示取不到有效值。
4876
4909
  */
4877
- Result?: boolean;
4910
+ Result: boolean;
4878
4911
  /**
4879
4912
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4880
4913
  */
@@ -4972,7 +5005,7 @@ export interface UnBindEnvironmentResponse {
4972
5005
  * 解绑操作是否成功。
4973
5006
  注意:此字段可能返回 null,表示取不到有效值。
4974
5007
  */
4975
- Result?: boolean;
5008
+ Result: boolean;
4976
5009
  /**
4977
5010
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4978
5011
  */
@@ -5146,7 +5179,7 @@ export interface DescribeApiEnvironmentStrategyResponse {
5146
5179
  * api绑定策略详情
5147
5180
  注意:此字段可能返回 null,表示取不到有效值。
5148
5181
  */
5149
- Result?: ApiEnvironmentStrategyStataus;
5182
+ Result: ApiEnvironmentStrategyStataus;
5150
5183
  /**
5151
5184
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5152
5185
  */
@@ -5244,7 +5277,7 @@ export interface DeleteIPStrategyResponse {
5244
5277
  * 删除操作是否成功。
5245
5278
  注意:此字段可能返回 null,表示取不到有效值。
5246
5279
  */
5247
- Result?: boolean;
5280
+ Result: boolean;
5248
5281
  /**
5249
5282
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5250
5283
  */
@@ -5375,7 +5408,7 @@ export interface DescribeUsagePlanResponse {
5375
5408
  * 使用计划详情。
5376
5409
  注意:此字段可能返回 null,表示取不到有效值。
5377
5410
  */
5378
- Result?: UsagePlanInfo;
5411
+ Result: UsagePlanInfo;
5379
5412
  /**
5380
5413
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5381
5414
  */
@@ -5449,7 +5482,7 @@ export interface BindEnvironmentRequest {
5449
5482
  */
5450
5483
  export interface ModifyUpstreamResponse {
5451
5484
  /**
5452
- * 返回修改后的vpc通道信息
5485
+ * 返回修改后的后端通道信息
5453
5486
  注意:此字段可能返回 null,表示取不到有效值。
5454
5487
  */
5455
5488
  Result: UpstreamInfo;
@@ -5560,18 +5593,18 @@ export interface DescribeServiceReleaseVersionResponse {
5560
5593
  * 服务发布版本列表。
5561
5594
  注意:此字段可能返回 null,表示取不到有效值。
5562
5595
  */
5563
- Result?: ServiceReleaseVersion;
5596
+ Result: ServiceReleaseVersion;
5564
5597
  /**
5565
5598
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5566
5599
  */
5567
5600
  RequestId?: string;
5568
5601
  }
5569
5602
  /**
5570
- * VPC通道后端节点元数据
5603
+ * 后端通道后端节点元数据
5571
5604
  */
5572
5605
  export interface UpstreamNode {
5573
5606
  /**
5574
- * IP(domain)
5607
+ * IP或域名
5575
5608
  */
5576
5609
  Host: string;
5577
5610
  /**
@@ -5583,7 +5616,7 @@ export interface UpstreamNode {
5583
5616
  */
5584
5617
  Weight: number;
5585
5618
  /**
5586
- * vm实例id
5619
+ * CVM实例ID
5587
5620
  注意:此字段可能返回 null,表示取不到有效值。
5588
5621
  */
5589
5622
  VmInstanceId?: string;
@@ -5593,17 +5626,17 @@ export interface UpstreamNode {
5593
5626
  */
5594
5627
  Tags?: Array<string>;
5595
5628
  /**
5596
- * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
5629
+ * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报。目前只支持VPC通道。
5597
5630
  注意:此字段可能返回 null,表示取不到有效值。
5598
5631
  */
5599
5632
  Healthy?: string;
5600
5633
  /**
5601
- * k8s服务名字
5634
+ * K8S容器服务名字
5602
5635
  注意:此字段可能返回 null,表示取不到有效值。
5603
5636
  */
5604
5637
  ServiceName?: string;
5605
5638
  /**
5606
- * k8s命名空间
5639
+ * K8S命名空间
5607
5640
  注意:此字段可能返回 null,表示取不到有效值。
5608
5641
  */
5609
5642
  NameSpace?: string;
@@ -5613,7 +5646,7 @@ export interface UpstreamNode {
5613
5646
  */
5614
5647
  ClusterId?: string;
5615
5648
  /**
5616
- * Node的来源
5649
+ * Node的来源,取值范围:K8S
5617
5650
  注意:此字段可能返回 null,表示取不到有效值。
5618
5651
  */
5619
5652
  Source?: string;
@@ -5642,7 +5675,7 @@ export interface ApiAppApiInfos {
5642
5675
  */
5643
5676
  export interface DeleteUpstreamResponse {
5644
5677
  /**
5645
- * 成功删除的vpc通道id
5678
+ * 成功删除的后端通道ID
5646
5679
  注意:此字段可能返回 null,表示取不到有效值。
5647
5680
  */
5648
5681
  UpstreamId: string;
@@ -5870,7 +5903,7 @@ export interface DescribeServiceEnvironmentStrategyResponse {
5870
5903
  * 限流策略列表。
5871
5904
  注意:此字段可能返回 null,表示取不到有效值。
5872
5905
  */
5873
- Result?: ServiceEnvironmentStrategyStatus;
5906
+ Result: ServiceEnvironmentStrategyStatus;
5874
5907
  /**
5875
5908
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5876
5909
  */
@@ -6107,7 +6140,7 @@ export interface DescribeServiceUsagePlanResponse {
6107
6140
  * 服务绑定使用计划列表。
6108
6141
  注意:此字段可能返回 null,表示取不到有效值。
6109
6142
  */
6110
- Result?: ServiceUsagePlanSet;
6143
+ Result: ServiceUsagePlanSet;
6111
6144
  /**
6112
6145
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6113
6146
  */
@@ -6190,7 +6223,7 @@ export interface DescribeIPStrategysStatusResponse {
6190
6223
  * 符合条件的策略列表。
6191
6224
  注意:此字段可能返回 null,表示取不到有效值。
6192
6225
  */
6193
- Result?: IPStrategysStatus;
6226
+ Result: IPStrategysStatus;
6194
6227
  /**
6195
6228
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6196
6229
  */
@@ -6283,7 +6316,7 @@ export interface UnBindSecretIdsResponse {
6283
6316
  * 解绑操作是否成功。
6284
6317
  注意:此字段可能返回 null,表示取不到有效值。
6285
6318
  */
6286
- Result?: boolean;
6319
+ Result: boolean;
6287
6320
  /**
6288
6321
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6289
6322
  */
@@ -6371,7 +6404,7 @@ export interface RequestParameter {
6371
6404
  Required?: boolean;
6372
6405
  }
6373
6406
  /**
6374
- * VPC通道健康检查参数配置
6407
+ * 后端通道健康检查参数配置
6375
6408
  */
6376
6409
  export interface UpstreamHealthChecker {
6377
6410
  /**