tencentcloud-sdk-nodejs 4.0.297 → 4.0.300

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 (141) hide show
  1. package/CHANGELOG.md +706 -0
  2. package/SERVICE_CHANGELOG.md +965 -60
  3. package/package.json +1 -1
  4. package/products.md +34 -33
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +127 -53
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +355 -30
  9. package/src/services/api/v20201106/api_client.ts +13 -0
  10. package/src/services/api/v20201106/api_models.ts +45 -0
  11. package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
  12. package/src/services/apigateway/v20180808/apigateway_models.ts +621 -44
  13. package/src/services/as/v20180419/as_models.ts +1 -1
  14. package/src/services/billing/v20180709/billing_models.ts +12 -0
  15. package/src/services/cam/v20190116/cam_client.ts +12 -0
  16. package/src/services/cam/v20190116/cam_models.ts +30 -0
  17. package/src/services/cdb/v20170320/cdb_models.ts +7 -1
  18. package/src/services/clb/v20180317/clb_client.ts +20 -11
  19. package/src/services/clb/v20180317/clb_models.ts +25 -0
  20. package/src/services/cls/v20201016/cls_client.ts +1 -1
  21. package/src/services/cls/v20201016/cls_models.ts +37 -27
  22. package/src/services/cmq/v20190304/cmq_models.ts +94 -82
  23. package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -0
  24. package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
  25. package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
  26. package/src/services/emr/v20190103/emr_client.ts +1 -0
  27. package/src/services/emr/v20190103/emr_models.ts +46 -0
  28. package/src/services/gme/v20180711/gme_client.ts +36 -0
  29. package/src/services/gme/v20180711/gme_models.ts +126 -0
  30. package/src/services/index.ts +1 -0
  31. package/src/services/ivld/v20210903/ivld_client.ts +78 -4
  32. package/src/services/ivld/v20210903/ivld_models.ts +156 -38
  33. package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -0
  34. package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
  35. package/src/services/mariadb/v20170312/mariadb_models.ts +238 -179
  36. package/src/services/mongodb/v20190725/mongodb_client.ts +72 -60
  37. package/src/services/mongodb/v20190725/mongodb_models.ts +1022 -997
  38. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  39. package/src/services/monitor/v20180724/monitor_models.ts +8 -1
  40. package/src/services/oceanus/v20190422/oceanus_models.ts +84 -2
  41. package/src/services/postgres/v20170312/postgres_client.ts +85 -37
  42. package/src/services/postgres/v20170312/postgres_models.ts +258 -84
  43. package/src/services/rum/v20210622/rum_models.ts +1 -1
  44. package/src/services/sslpod/v20190605/sslpod_models.ts +7 -1
  45. package/src/services/tcss/v20201101/tcss_models.ts +26 -0
  46. package/src/services/tdcpg/index.ts +5 -0
  47. package/src/services/tdcpg/v20211118/index.ts +6 -0
  48. package/src/services/tdcpg/v20211118/tdcpg_client.ts +345 -0
  49. package/src/services/tdcpg/v20211118/tdcpg_models.ts +1320 -0
  50. package/src/services/tdid/v20210519/tdid_client.ts +64 -14
  51. package/src/services/tdid/v20210519/tdid_models.ts +205 -17
  52. package/src/services/tdmq/v20200217/tdmq_models.ts +41 -1
  53. package/src/services/tem/v20210701/tem_models.ts +5 -0
  54. package/src/services/tsf/v20180326/tsf_client.ts +128 -15
  55. package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
  56. package/tencentcloud/common/sdk_version.d.ts +1 -1
  57. package/tencentcloud/common/sdk_version.js +1 -1
  58. package/tencentcloud/services/ame/v20190916/ame_client.d.ts +1 -1
  59. package/tencentcloud/services/ame/v20190916/ame_client.js +1 -1
  60. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +41 -17
  61. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +60 -24
  62. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +302 -28
  63. package/tencentcloud/services/api/v20201106/api_client.d.ts +5 -1
  64. package/tencentcloud/services/api/v20201106/api_client.js +6 -0
  65. package/tencentcloud/services/api/v20201106/api_models.d.ts +39 -0
  66. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
  67. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
  68. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +523 -40
  69. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  70. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -0
  71. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
  72. package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
  73. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +25 -0
  74. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -1
  75. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -7
  76. package/tencentcloud/services/clb/v20180317/clb_client.js +10 -7
  77. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
  78. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  79. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  80. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +35 -25
  81. package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +89 -79
  82. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
  83. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
  84. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
  85. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
  86. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +39 -0
  87. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +13 -1
  88. package/tencentcloud/services/gme/v20180711/gme_client.js +18 -0
  89. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +107 -0
  90. package/tencentcloud/services/index.d.ts +1 -0
  91. package/tencentcloud/services/index.js +2 -0
  92. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +52 -2
  93. package/tencentcloud/services/ivld/v20210903/ivld_client.js +57 -1
  94. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +134 -34
  95. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -0
  96. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
  97. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
  98. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +202 -151
  99. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  100. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  101. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +965 -943
  102. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  103. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  104. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +7 -1
  105. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -2
  106. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -13
  107. package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -18
  108. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +219 -71
  109. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
  110. package/tencentcloud/services/sslpod/v20190605/sslpod_models.d.ts +6 -1
  111. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -0
  112. package/tencentcloud/services/tdcpg/index.d.ts +6 -0
  113. package/tencentcloud/services/tdcpg/index.js +7 -0
  114. package/tencentcloud/services/tdcpg/v20211118/index.d.ts +6 -0
  115. package/tencentcloud/services/tdcpg/v20211118/index.js +9 -0
  116. package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.d.ts +116 -0
  117. package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.js +187 -0
  118. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +1111 -0
  119. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.js +18 -0
  120. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +22 -5
  121. package/tencentcloud/services/tdid/v20210519/tdid_client.js +31 -6
  122. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +175 -15
  123. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +34 -1
  124. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
  125. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
  126. package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
  127. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
  128. package/test/antiddos.v20200309.test.js +76 -16
  129. package/test/api.v20201106.test.js +10 -0
  130. package/test/apigateway.v20180808.test.js +50 -0
  131. package/test/cam.v20190116.test.js +10 -0
  132. package/test/clb.v20180317.test.js +12 -2
  133. package/test/dcdb.v20180411.test.js +24 -4
  134. package/test/gme.v20180711.test.js +30 -0
  135. package/test/ivld.v20210903.test.js +30 -0
  136. package/test/mariadb.v20170312.test.js +20 -0
  137. package/test/mongodb.v20190725.test.js +10 -0
  138. package/test/postgres.v20170312.test.js +58 -18
  139. package/test/tdcpg.v20211118.test.js +271 -0
  140. package/test/tdid.v20210519.test.js +44 -4
  141. package/test/tsf.v20180326.test.js +84 -4
@@ -848,20 +848,23 @@ export interface TargetServicesReq {
848
848
  }
849
849
 
850
850
  /**
851
- * 服务绑定环境详情
851
+ * DescribeUsagePlansStatus请求参数结构体
852
852
  */
853
- export interface ServiceEnvironmentSet {
853
+ export interface DescribeUsagePlansStatusRequest {
854
854
  /**
855
- * 服务绑定环境总数。
856
- 注意:此字段可能返回 null,表示取不到有效值。
857
- */
858
- TotalCount: number
855
+ * 返回数量,默认为 20,最大值为 100。
856
+ */
857
+ Limit?: number
859
858
 
860
859
  /**
861
- * 服务绑定环境列表。
862
- 注意:此字段可能返回 null,表示取不到有效值。
863
- */
864
- EnvironmentList: Array<Environment>
860
+ * 偏移量,默认为 0。
861
+ */
862
+ Offset?: number
863
+
864
+ /**
865
+ * 使用计划过滤条件。支持UsagePlanId、UsagePlanName、NotServiceId、NotApiId、Environment。
866
+ */
867
+ Filters?: Array<Filter>
865
868
  }
866
869
 
867
870
  /**
@@ -1018,6 +1021,16 @@ export interface HealthCheckConf {
1018
1021
  ErrorThresholdPercentage?: number
1019
1022
  }
1020
1023
 
1024
+ /**
1025
+ * DeleteUpstream请求参数结构体
1026
+ */
1027
+ export interface DeleteUpstreamRequest {
1028
+ /**
1029
+ * 待删除的VPC通道唯一ID
1030
+ */
1031
+ UpstreamId: string
1032
+ }
1033
+
1021
1034
  /**
1022
1035
  * API网关插件详情。
1023
1036
  */
@@ -1087,6 +1100,61 @@ export interface UnbindApiAppResponse {
1087
1100
  RequestId?: string
1088
1101
  }
1089
1102
 
1103
+ /**
1104
+ * ModifyUpstream请求参数结构体
1105
+ */
1106
+ export interface ModifyUpstreamRequest {
1107
+ /**
1108
+ * VPC通道唯一ID
1109
+ */
1110
+ UpstreamId: string
1111
+
1112
+ /**
1113
+ * VPC通道名字
1114
+ */
1115
+ UpstreamName?: string
1116
+
1117
+ /**
1118
+ * VPC通道描述
1119
+ */
1120
+ UpstreamDescription?: string
1121
+
1122
+ /**
1123
+ * 后端协议,HTTP, HTTPS其中之一
1124
+ */
1125
+ Scheme?: string
1126
+
1127
+ /**
1128
+ * 负载均衡算法目前支持ROUND_ROBIN
1129
+ */
1130
+ Algorithm?: string
1131
+
1132
+ /**
1133
+ * VPC唯一ID
1134
+ */
1135
+ UniqVpcId?: string
1136
+
1137
+ /**
1138
+ * 请求重试次数,默认3次
1139
+ */
1140
+ Retries?: number
1141
+
1142
+ /**
1143
+ * 请求到后端的,host头
1144
+ */
1145
+ UpstreamHost?: string
1146
+
1147
+ /**
1148
+ * 后端节点列表
1149
+ */
1150
+ Nodes?: Array<UpstreamNode>
1151
+
1152
+ /**
1153
+ * k8s服务配置
1154
+ */
1155
+ K8sService?: Array<K8sService>
1156
+ }
1157
+
1090
1158
  /**
1091
1159
  * DescribeApiUsagePlan返回参数结构体
1092
1160
  */
@@ -1143,6 +1211,31 @@ export interface DescribePluginResponse {
1143
1211
  RequestId?: string
1144
1212
  }
1145
1213
 
1214
+ /**
1215
+ * DescribeUpstreamBindApis请求参数结构体
1216
+ */
1217
+ export interface DescribeUpstreamBindApisRequest {
1218
+ /**
1219
+ * 分页
1220
+ */
1221
+ Limit: number
1222
+
1223
+ /**
1224
+ * 分页
1225
+ */
1226
+ Offset: number
1227
+
1228
+ /**
1229
+ * vpc通道Id
1230
+ */
1231
+ UpstreamId: string
1232
+
1233
+ /**
1234
+ * ServiceId和ApiId过滤查询
1235
+ */
1236
+ Filters?: Array<Filter>
1237
+ }
1238
+
1146
1239
  /**
1147
1240
  * DescribeExclusiveInstances返回参数结构体
1148
1241
  */
@@ -1158,6 +1251,46 @@ export interface DescribeExclusiveInstancesResponse {
1158
1251
  RequestId?: string
1159
1252
  }
1160
1253
 
1254
+ /**
1255
+ * k8s 服务的配置
1256
+ */
1257
+ export interface K8sService {
1258
+ /**
1259
+ * 权重
1260
+ */
1261
+ Weight: number
1262
+
1263
+ /**
1264
+ * k8s集群ID
1265
+ */
1266
+ ClusterId: string
1267
+
1268
+ /**
1269
+ * 容器命名空间
1270
+ */
1271
+ Namespace: string
1272
+
1273
+ /**
1274
+ * 容器服务的名字
1275
+ */
1276
+ ServiceName: string
1277
+
1278
+ /**
1279
+ * 服务的端口
1280
+ */
1281
+ Port: number
1282
+
1283
+ /**
1284
+ * 额外选择的Pod的Label
1285
+ */
1286
+ ExtraLabels: Array<K8sLabel>
1287
+
1288
+ /**
1289
+ * 自定义的服务名字,可选
1290
+ */
1291
+ Name?: string
1292
+ }
1293
+
1161
1294
  /**
1162
1295
  * DeleteUsagePlan请求参数结构体
1163
1296
  */
@@ -1213,6 +1346,11 @@ export interface DescribeApiEnvironmentStrategyRequest {
1213
1346
  Offset?: number
1214
1347
  }
1215
1348
 
1349
+ /**
1350
+ * VPC通道主动健康检查的请求头配置
1351
+ */
1352
+ export type UpstreamHealthCheckerReqHeaders = null
1353
+
1216
1354
  /**
1217
1355
  * DescribeServiceForApiApp返回参数结构体
1218
1356
  */
@@ -2208,23 +2346,18 @@ export interface ModifyIPStrategyResponse {
2208
2346
  }
2209
2347
 
2210
2348
  /**
2211
- * Oauth授权配置信息
2349
+ * 查询vpc通道返回信息
2212
2350
  */
2213
- export interface OauthConfig {
2351
+ export interface DescribeUpstreamInfo {
2214
2352
  /**
2215
- * 公钥,用于验证用户token。
2353
+ * 查询总数
2216
2354
  */
2217
- PublicKey: string
2218
-
2219
- /**
2220
- * token传递位置。
2221
- */
2222
- TokenLocation: string
2355
+ TotalCount: number
2223
2356
 
2224
2357
  /**
2225
- * 重定向地址,用于引导用户登录操作。
2358
+ * 查询列表
2226
2359
  */
2227
- LoginRedirectUrl?: string
2360
+ UpstreamSet: Array<UpstreamInfo>
2228
2361
  }
2229
2362
 
2230
2363
  /**
@@ -2409,6 +2542,85 @@ export interface DeleteApiKeyResponse {
2409
2542
  RequestId?: string
2410
2543
  }
2411
2544
 
2545
+ /**
2546
+ * VPC通道信息集合
2547
+ */
2548
+ export interface UpstreamInfo {
2549
+ /**
2550
+ * VPC通道唯一ID
2551
+ */
2552
+ UpstreamId: string
2553
+
2554
+ /**
2555
+ * VPC通道名字
2556
+ */
2557
+ UpstreamName: string
2558
+
2559
+ /**
2560
+ * VPC通道描述
2561
+ */
2562
+ UpstreamDescription: string
2563
+
2564
+ /**
2565
+ * 写意
2566
+ */
2567
+ Scheme: string
2568
+
2569
+ /**
2570
+ * 负载均衡算法
2571
+ */
2572
+ Algorithm: string
2573
+
2574
+ /**
2575
+ * vpc唯一ID
2576
+ */
2577
+ UniqVpcId: string
2578
+
2579
+ /**
2580
+ * 请求重拾次数
2581
+ */
2582
+ Retries: number
2583
+
2584
+ /**
2585
+ * 后端节点
2586
+ */
2587
+ Nodes: Array<UpstreamNode>
2588
+
2589
+ /**
2590
+ * 创建时间
2591
+ */
2592
+ CreatedTime: string
2593
+
2594
+ /**
2595
+ * 标签
2596
+ 注意:此字段可能返回 null,表示取不到有效值。
2597
+ */
2598
+ Tags: Array<Tag>
2599
+
2600
+ /**
2601
+ * 健康检查配置
2602
+ 注意:此字段可能返回 null,表示取不到有效值。
2603
+ */
2604
+ HealthChecker: UpstreamHealthChecker
2605
+
2606
+ /**
2607
+ * Upstream的类型
2608
+ */
2609
+ UpstreamType: string
2610
+
2611
+ /**
2612
+ * k8s服务配置
2613
+ 注意:此字段可能返回 null,表示取不到有效值。
2614
+ */
2615
+ K8sServices: Array<K8sService>
2616
+
2617
+ /**
2618
+ * vpc通道的Host
2619
+ 注意:此字段可能返回 null,表示取不到有效值。
2620
+ */
2621
+ UpstreamHost: string
2622
+ }
2623
+
2412
2624
  /**
2413
2625
  * ModifyExclusiveInstance请求参数结构体
2414
2626
  */
@@ -2621,6 +2833,21 @@ export interface UnBindIPStrategyRequest {
2621
2833
  UnBindApiIds: Array<string>
2622
2834
  }
2623
2835
 
2836
+ /**
2837
+ * DescribeUpstreams返回参数结构体
2838
+ */
2839
+ export interface DescribeUpstreamsResponse {
2840
+ /**
2841
+ * 查询结果
2842
+ */
2843
+ Result: DescribeUpstreamInfo
2844
+
2845
+ /**
2846
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2847
+ */
2848
+ RequestId?: string
2849
+ }
2850
+
2624
2851
  /**
2625
2852
  * DescribePluginApis请求参数结构体
2626
2853
  */
@@ -2724,6 +2951,11 @@ export interface CreateServiceRequest {
2724
2951
  * 独享实例id
2725
2952
  */
2726
2953
  InstanceId?: string
2954
+
2955
+ /**
2956
+ * vpc属性
2957
+ */
2958
+ UniqVpcId?: string
2727
2959
  }
2728
2960
 
2729
2961
  /**
@@ -3104,14 +3336,14 @@ export interface DeleteApiKeyRequest {
3104
3336
  }
3105
3337
 
3106
3338
  /**
3107
- * ModifyApiEnvironmentStrategy返回参数结构体
3339
+ * DescribeIPStrategyApisStatus返回参数结构体
3108
3340
  */
3109
- export interface ModifyApiEnvironmentStrategyResponse {
3341
+ export interface DescribeIPStrategyApisStatusResponse {
3110
3342
  /**
3111
- * 修改操作是否成功。
3343
+ * 环境绑定API列表。
3112
3344
  注意:此字段可能返回 null,表示取不到有效值。
3113
3345
  */
3114
- Result?: boolean
3346
+ Result?: IPStrategyApiStatus
3115
3347
 
3116
3348
  /**
3117
3349
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4029,6 +4261,21 @@ export interface DescribeServiceEnvironmentStrategyRequest {
4029
4261
  Offset?: number
4030
4262
  }
4031
4263
 
4264
+ /**
4265
+ * DescribeUpstreamBindApis返回参数结构体
4266
+ */
4267
+ export interface DescribeUpstreamBindApisResponse {
4268
+ /**
4269
+ * 查询结果
4270
+ */
4271
+ Result: DescribeUpstreamBindApis
4272
+
4273
+ /**
4274
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4275
+ */
4276
+ RequestId?: string
4277
+ }
4278
+
4032
4279
  /**
4033
4280
  * ReleaseService请求参数结构体
4034
4281
  */
@@ -4226,6 +4473,21 @@ export interface ModifyExclusiveInstanceResponse {
4226
4473
  RequestId?: string
4227
4474
  }
4228
4475
 
4476
+ /**
4477
+ * k8s Label
4478
+ */
4479
+ export interface K8sLabel {
4480
+ /**
4481
+ * Label的Key
4482
+ */
4483
+ Key: string
4484
+
4485
+ /**
4486
+ * Label的Value
4487
+ */
4488
+ Value: string
4489
+ }
4490
+
4229
4491
  /**
4230
4492
  * DescribePlugins返回参数结构体
4231
4493
  */
@@ -4427,19 +4689,53 @@ export interface ServiceUsagePlanSet {
4427
4689
  }
4428
4690
 
4429
4691
  /**
4430
- * DescribeIPStrategyApisStatus返回参数结构体
4692
+ * CreateUpstream请求参数结构体
4431
4693
  */
4432
- export interface DescribeIPStrategyApisStatusResponse {
4694
+ export interface CreateUpstreamRequest {
4433
4695
  /**
4434
- * 环境绑定API列表。
4435
- 注意:此字段可能返回 null,表示取不到有效值。
4436
- */
4437
- Result?: IPStrategyApiStatus
4696
+ * 后端协议,HTTP, HTTPS其中之一
4697
+ */
4698
+ Scheme: string
4438
4699
 
4439
4700
  /**
4440
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4701
+ * 负载均衡算法目前支持ROUND_ROBIN
4441
4702
  */
4442
- RequestId?: string
4703
+ Algorithm: string
4704
+
4705
+ /**
4706
+ * VPC唯一ID
4707
+ */
4708
+ UniqVpcId: string
4709
+
4710
+ /**
4711
+ * VPC通道名字
4712
+ */
4713
+ UpstreamName?: string
4714
+
4715
+ /**
4716
+ * VPC通道描述
4717
+ */
4718
+ UpstreamDescription?: string
4719
+
4720
+ /**
4721
+ * 请求重试次数,默认3次
4722
+ */
4723
+ Retries?: number
4724
+
4725
+ /**
4726
+ * 请求到后端的,host头
4727
+ */
4728
+ UpstreamHost?: string
4729
+
4730
+ /**
4731
+ * 后端节点
4732
+ */
4733
+ Nodes?: Array<UpstreamNode>
4734
+
4735
+ /**
4736
+ * k8s服务的配置
4737
+ */
4738
+ K8sService?: Array<K8sService>
4443
4739
  }
4444
4740
 
4445
4741
  /**
@@ -4733,6 +5029,26 @@ export interface DescribeServiceSubDomainMappingsResponse {
4733
5029
  RequestId?: string
4734
5030
  }
4735
5031
 
5032
+ /**
5033
+ * Oauth授权配置信息
5034
+ */
5035
+ export interface OauthConfig {
5036
+ /**
5037
+ * 公钥,用于验证用户token。
5038
+ */
5039
+ PublicKey: string
5040
+
5041
+ /**
5042
+ * token传递位置。
5043
+ */
5044
+ TokenLocation: string
5045
+
5046
+ /**
5047
+ * 重定向地址,用于引导用户登录操作。
5048
+ */
5049
+ LoginRedirectUrl?: string
5050
+ }
5051
+
4736
5052
  /**
4737
5053
  * DescribeApiAppsStatus返回参数结构体
4738
5054
  */
@@ -4873,21 +5189,21 @@ export interface CreateApiKeyResponse {
4873
5189
  }
4874
5190
 
4875
5191
  /**
4876
- * DescribeUsagePlansStatus请求参数结构体
5192
+ * DescribeUpstreams请求参数结构体
4877
5193
  */
4878
- export interface DescribeUsagePlansStatusRequest {
5194
+ export interface DescribeUpstreamsRequest {
4879
5195
  /**
4880
- * 返回数量,默认为 20,最大值为 100。
5196
+ * 分页
4881
5197
  */
4882
- Limit?: number
5198
+ Limit: number
4883
5199
 
4884
5200
  /**
4885
- * 偏移量,默认为 0。
5201
+ * 分页
4886
5202
  */
4887
- Offset?: number
5203
+ Offset: number
4888
5204
 
4889
5205
  /**
4890
- * 使用计划过滤条件。支持UsagePlanId、UsagePlanName、NotServiceId、NotApiId、Environment。
5206
+ * 过滤条件
4891
5207
  */
4892
5208
  Filters?: Array<Filter>
4893
5209
  }
@@ -5050,14 +5366,14 @@ export interface VpcConfig {
5050
5366
  }
5051
5367
 
5052
5368
  /**
5053
- * UnBindSecretIds返回参数结构体
5369
+ * CreateUpstream返回参数结构体
5054
5370
  */
5055
- export interface UnBindSecretIdsResponse {
5371
+ export interface CreateUpstreamResponse {
5056
5372
  /**
5057
- * 解绑操作是否成功。
5373
+ * 创建返回的唯一id
5058
5374
  注意:此字段可能返回 null,表示取不到有效值。
5059
5375
  */
5060
- Result?: boolean
5376
+ UpstreamId: string
5061
5377
 
5062
5378
  /**
5063
5379
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -5225,6 +5541,21 @@ export interface DeletePluginResponse {
5225
5541
  RequestId?: string
5226
5542
  }
5227
5543
 
5544
+ /**
5545
+ * 查询vpc通道绑定api列表
5546
+ */
5547
+ export interface DescribeUpstreamBindApis {
5548
+ /**
5549
+ * 总数
5550
+ */
5551
+ TotalCount: number
5552
+
5553
+ /**
5554
+ * 绑定的api信息
5555
+ */
5556
+ BindApiSet: Array<BindApiInfo>
5557
+ }
5558
+
5228
5559
  /**
5229
5560
  * ModifyServiceEnvironmentStrategy请求参数结构体
5230
5561
  */
@@ -5412,6 +5743,22 @@ export interface DescribeServiceForApiAppRequest {
5412
5743
  ApiRegion: string
5413
5744
  }
5414
5745
 
5746
+ /**
5747
+ * ModifyApiEnvironmentStrategy返回参数结构体
5748
+ */
5749
+ export interface ModifyApiEnvironmentStrategyResponse {
5750
+ /**
5751
+ * 修改操作是否成功。
5752
+ 注意:此字段可能返回 null,表示取不到有效值。
5753
+ */
5754
+ Result?: boolean
5755
+
5756
+ /**
5757
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5758
+ */
5759
+ RequestId?: string
5760
+ }
5761
+
5415
5762
  /**
5416
5763
  * BindSubDomain请求参数结构体
5417
5764
  */
@@ -5900,6 +6247,38 @@ export interface ApiKey {
5900
6247
  CreatedTime: string
5901
6248
  }
5902
6249
 
6250
+ /**
6251
+ * vpc通道绑定的api信息
6252
+ */
6253
+ export interface BindApiInfo {
6254
+ /**
6255
+ * api唯一id
6256
+ */
6257
+ ApiId: string
6258
+
6259
+ /**
6260
+ * Service唯一id
6261
+ */
6262
+ ServiceId: string
6263
+
6264
+ /**
6265
+ * api名字
6266
+ 注意:此字段可能返回 null,表示取不到有效值。
6267
+ */
6268
+ ApiName: string
6269
+
6270
+ /**
6271
+ * 服务名字
6272
+ 注意:此字段可能返回 null,表示取不到有效值。
6273
+ */
6274
+ ServiceName: string
6275
+
6276
+ /**
6277
+ * 绑定时间
6278
+ */
6279
+ BindTime: string
6280
+ }
6281
+
5903
6282
  /**
5904
6283
  * 应用绑定的Api信息
5905
6284
  */
@@ -6043,6 +6422,22 @@ export interface BindEnvironmentRequest {
6043
6422
  ApiIds?: Array<string>
6044
6423
  }
6045
6424
 
6425
+ /**
6426
+ * ModifyUpstream返回参数结构体
6427
+ */
6428
+ export interface ModifyUpstreamResponse {
6429
+ /**
6430
+ * 返回修改后的vpc通道信息
6431
+ 注意:此字段可能返回 null,表示取不到有效值。
6432
+ */
6433
+ Result: UpstreamInfo
6434
+
6435
+ /**
6436
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6437
+ */
6438
+ RequestId?: string
6439
+ }
6440
+
6046
6441
  /**
6047
6442
  * DescribeIPStrategy请求参数结构体
6048
6443
  */
@@ -6170,6 +6565,74 @@ export interface DescribeServiceReleaseVersionResponse {
6170
6565
  RequestId?: string
6171
6566
  }
6172
6567
 
6568
+ /**
6569
+ * VPC通道后端节点元数据
6570
+ */
6571
+ export interface UpstreamNode {
6572
+ /**
6573
+ * IP(domain)
6574
+ */
6575
+ Host: string
6576
+
6577
+ /**
6578
+ * 端口[0, 65535]
6579
+ */
6580
+ Port: number
6581
+
6582
+ /**
6583
+ * 权重[0, 100], 0为禁用
6584
+ */
6585
+ Weight: number
6586
+
6587
+ /**
6588
+ * vm实例id
6589
+ 注意:此字段可能返回 null,表示取不到有效值。
6590
+ */
6591
+ VmInstanceId?: string
6592
+
6593
+ /**
6594
+ * 染色标签
6595
+ 注意:此字段可能返回 null,表示取不到有效值。
6596
+ */
6597
+ Tags?: Array<string>
6598
+
6599
+ /**
6600
+ * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
6601
+ 注意:此字段可能返回 null,表示取不到有效值。
6602
+ */
6603
+ Healthy?: string
6604
+
6605
+ /**
6606
+ * k8s服务名字
6607
+ 注意:此字段可能返回 null,表示取不到有效值。
6608
+ */
6609
+ ServiceName?: string
6610
+
6611
+ /**
6612
+ * k8s命名空间
6613
+ 注意:此字段可能返回 null,表示取不到有效值。
6614
+ */
6615
+ NameSpace?: string
6616
+
6617
+ /**
6618
+ * TKE集群的ID
6619
+ 注意:此字段可能返回 null,表示取不到有效值。
6620
+ */
6621
+ ClusterId?: string
6622
+
6623
+ /**
6624
+ * Node的来源
6625
+ 注意:此字段可能返回 null,表示取不到有效值。
6626
+ */
6627
+ Source?: string
6628
+
6629
+ /**
6630
+ * API网关内部记录唯一的服务名字
6631
+ 注意:此字段可能返回 null,表示取不到有效值。
6632
+ */
6633
+ UniqueServiceName?: string
6634
+ }
6635
+
6173
6636
  /**
6174
6637
  * 应用信息集
6175
6638
  */
@@ -6186,6 +6649,22 @@ export interface ApiAppApiInfos {
6186
6649
  ApiAppApiSet: Array<ApiAppApiInfo>
6187
6650
  }
6188
6651
 
6652
+ /**
6653
+ * DeleteUpstream返回参数结构体
6654
+ */
6655
+ export interface DeleteUpstreamResponse {
6656
+ /**
6657
+ * 成功删除的vpc通道id
6658
+ 注意:此字段可能返回 null,表示取不到有效值。
6659
+ */
6660
+ UpstreamId: string
6661
+
6662
+ /**
6663
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6664
+ */
6665
+ RequestId?: string
6666
+ }
6667
+
6189
6668
  /**
6190
6669
  * UpdateService返回参数结构体
6191
6670
  */
@@ -6352,6 +6831,23 @@ export interface ReleaseService {
6352
6831
  ReleaseVersion: string
6353
6832
  }
6354
6833
 
6834
+ /**
6835
+ * 服务绑定环境详情
6836
+ */
6837
+ export interface ServiceEnvironmentSet {
6838
+ /**
6839
+ * 服务绑定环境总数。
6840
+ 注意:此字段可能返回 null,表示取不到有效值。
6841
+ */
6842
+ TotalCount: number
6843
+
6844
+ /**
6845
+ * 服务绑定环境列表。
6846
+ 注意:此字段可能返回 null,表示取不到有效值。
6847
+ */
6848
+ EnvironmentList: Array<Environment>
6849
+ }
6850
+
6355
6851
  /**
6356
6852
  * CreateService返回参数结构体
6357
6853
  */
@@ -6904,6 +7400,22 @@ export interface InstanceDetail {
6904
7400
  Zones: string
6905
7401
  }
6906
7402
 
7403
+ /**
7404
+ * UnBindSecretIds返回参数结构体
7405
+ */
7406
+ export interface UnBindSecretIdsResponse {
7407
+ /**
7408
+ * 解绑操作是否成功。
7409
+ 注意:此字段可能返回 null,表示取不到有效值。
7410
+ */
7411
+ Result?: boolean
7412
+
7413
+ /**
7414
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7415
+ */
7416
+ RequestId?: string
7417
+ }
7418
+
6907
7419
  /**
6908
7420
  * CreateApiApp请求参数结构体
6909
7421
  */
@@ -6999,6 +7511,71 @@ export interface RequestParameter {
6999
7511
  Required?: boolean
7000
7512
  }
7001
7513
 
7514
+ /**
7515
+ * VPC通道健康检查参数配置
7516
+ */
7517
+ export interface UpstreamHealthChecker {
7518
+ /**
7519
+ * 标识是否开启主动健康检查。
7520
+ */
7521
+ EnableActiveCheck: boolean
7522
+
7523
+ /**
7524
+ * 标识是否开启被动健康检查。
7525
+ */
7526
+ EnablePassiveCheck: boolean
7527
+
7528
+ /**
7529
+ * 健康检查时,判断为成功请求的 HTTP 状态码。
7530
+ */
7531
+ HealthyHttpStatus: string
7532
+
7533
+ /**
7534
+ * 健康检查时,判断为失败请求的 HTTP 状态码。
7535
+ */
7536
+ UnhealthyHttpStatus: string
7537
+
7538
+ /**
7539
+ * TCP连续错误阈值。0 表示禁用 TCP 检查。取值范围:[0, 254]。
7540
+ */
7541
+ TcpFailureThreshold: number
7542
+
7543
+ /**
7544
+ * 连续超时阈值。0 表示禁用超时检查。取值范围:[0, 254]。
7545
+ */
7546
+ TimeoutThreshold: number
7547
+
7548
+ /**
7549
+ * HTTP连续错误阈值。0 表示禁用HTTP检查。取值范围:[0, 254]。
7550
+ */
7551
+ HttpFailureThreshold: number
7552
+
7553
+ /**
7554
+ * 主动健康检查时探测请求的路径。默认为"/"。
7555
+ */
7556
+ ActiveCheckHttpPath?: string
7557
+
7558
+ /**
7559
+ * 主动健康检查的探测请求超时,单位秒。默认为5秒。
7560
+ */
7561
+ ActiveCheckTimeout?: number
7562
+
7563
+ /**
7564
+ * 主动健康检查的时间间隔,默认5秒。
7565
+ */
7566
+ ActiveCheckInterval?: number
7567
+
7568
+ /**
7569
+ * 主动健康检查时探测请求的的请求头。
7570
+ */
7571
+ ActiveRequestHeader?: Array<UpstreamHealthCheckerReqHeaders>
7572
+
7573
+ /**
7574
+ * 异常节点的状态自动恢复时间,单位秒。当只开启被动检查的话,必须设置为 > 0 的值,否则被动异常节点将无法恢复。默认30秒。
7575
+ */
7576
+ UnhealthyTimeout?: number
7577
+ }
7578
+
7002
7579
  /**
7003
7580
  * 独享实例预付费详情
7004
7581
  */