tencentcloud-sdk-nodejs 4.0.296 → 4.0.299

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 (119) hide show
  1. package/CHANGELOG.md +434 -0
  2. package/SERVICE_CHANGELOG.md +477 -40
  3. package/package.json +1 -1
  4. package/products.md +25 -23
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_models.ts +10 -2
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +127 -53
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +361 -31
  9. package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
  10. package/src/services/apigateway/v20180808/apigateway_models.ts +617 -45
  11. package/src/services/as/v20180419/as_models.ts +1 -1
  12. package/src/services/billing/v20180709/billing_models.ts +12 -0
  13. package/src/services/cam/v20190116/cam_client.ts +12 -0
  14. package/src/services/cam/v20190116/cam_models.ts +31 -1
  15. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  16. package/src/services/clb/v20180317/clb_client.ts +0 -3
  17. package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +43 -7
  18. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +109 -64
  19. package/src/services/cls/v20201016/cls_client.ts +1 -1
  20. package/src/services/cls/v20201016/cls_models.ts +38 -27
  21. package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
  22. package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
  23. package/src/services/ess/index.ts +5 -0
  24. package/src/services/ess/v20201111/ess_client.ts +148 -0
  25. package/src/services/ess/v20201111/ess_models.ts +857 -0
  26. package/src/services/ess/v20201111/index.ts +6 -0
  27. package/src/services/gme/v20180711/gme_client.ts +36 -0
  28. package/src/services/gme/v20180711/gme_models.ts +126 -0
  29. package/src/services/index.ts +2 -0
  30. package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
  31. package/src/services/mariadb/v20170312/mariadb_models.ts +233 -173
  32. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  33. package/src/services/monitor/v20180724/monitor_models.ts +1 -1
  34. package/src/services/rum/v20210622/rum_models.ts +1 -1
  35. package/src/services/tcss/v20201101/tcss_models.ts +26 -0
  36. package/src/services/tdcpg/index.ts +5 -0
  37. package/src/services/tdcpg/v20211118/index.ts +6 -0
  38. package/src/services/tdcpg/v20211118/tdcpg_client.ts +345 -0
  39. package/src/services/tdcpg/v20211118/tdcpg_models.ts +1320 -0
  40. package/src/services/tdid/v20210519/tdid_client.ts +64 -14
  41. package/src/services/tdid/v20210519/tdid_models.ts +205 -17
  42. package/src/services/tem/v20210701/tem_models.ts +5 -0
  43. package/src/services/tsf/v20180326/tsf_client.ts +128 -15
  44. package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
  45. package/src/services/vpc/v20170312/vpc_models.ts +3 -2
  46. package/tencentcloud/common/sdk_version.d.ts +1 -1
  47. package/tencentcloud/common/sdk_version.js +1 -1
  48. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +9 -2
  49. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +41 -17
  50. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +60 -24
  51. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +307 -29
  52. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
  53. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
  54. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +520 -41
  55. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  56. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -0
  57. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
  58. package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
  59. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +26 -1
  60. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  61. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +0 -3
  62. package/tencentcloud/services/clb/v20180317/clb_client.js +0 -3
  63. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +15 -3
  64. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +21 -3
  65. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +91 -52
  66. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  67. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  68. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +35 -24
  69. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
  70. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
  71. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
  72. package/tencentcloud/services/ess/index.d.ts +6 -0
  73. package/tencentcloud/services/ess/index.js +7 -0
  74. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +46 -0
  75. package/tencentcloud/services/ess/v20201111/ess_client.js +85 -0
  76. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +707 -0
  77. package/tencentcloud/services/ess/v20201111/ess_models.js +18 -0
  78. package/tencentcloud/services/ess/v20201111/index.d.ts +6 -0
  79. package/tencentcloud/services/ess/v20201111/index.js +9 -0
  80. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +13 -1
  81. package/tencentcloud/services/gme/v20180711/gme_client.js +18 -0
  82. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +107 -0
  83. package/tencentcloud/services/index.d.ts +2 -0
  84. package/tencentcloud/services/index.js +4 -0
  85. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
  86. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
  87. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +198 -146
  88. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  89. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  90. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
  91. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
  92. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -0
  93. package/tencentcloud/services/tdcpg/index.d.ts +6 -0
  94. package/tencentcloud/services/tdcpg/index.js +7 -0
  95. package/tencentcloud/services/tdcpg/v20211118/index.d.ts +6 -0
  96. package/tencentcloud/services/tdcpg/v20211118/index.js +9 -0
  97. package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.d.ts +116 -0
  98. package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.js +187 -0
  99. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +1111 -0
  100. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.js +18 -0
  101. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +22 -5
  102. package/tencentcloud/services/tdid/v20210519/tdid_client.js +31 -6
  103. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +175 -15
  104. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
  105. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
  106. package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
  107. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
  108. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -0
  109. package/test/antiddos.v20200309.test.js +76 -16
  110. package/test/apigateway.v20180808.test.js +50 -0
  111. package/test/cam.v20190116.test.js +10 -0
  112. package/test/cloudaudit.v20190319.test.js +32 -2
  113. package/test/dcdb.v20180411.test.js +24 -4
  114. package/test/ess.v20201111.test.js +111 -0
  115. package/test/gme.v20180711.test.js +30 -0
  116. package/test/mariadb.v20170312.test.js +20 -0
  117. package/test/tdcpg.v20211118.test.js +271 -0
  118. package/test/tdid.v20210519.test.js +44 -4
  119. 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。
2216
- */
2217
- PublicKey: string
2218
-
2219
- /**
2220
- * token传递位置。
2353
+ * 查询总数
2221
2354
  */
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
  */
@@ -3104,14 +3331,14 @@ export interface DeleteApiKeyRequest {
3104
3331
  }
3105
3332
 
3106
3333
  /**
3107
- * ModifyApiEnvironmentStrategy返回参数结构体
3334
+ * DescribeIPStrategyApisStatus返回参数结构体
3108
3335
  */
3109
- export interface ModifyApiEnvironmentStrategyResponse {
3336
+ export interface DescribeIPStrategyApisStatusResponse {
3110
3337
  /**
3111
- * 修改操作是否成功。
3338
+ * 环境绑定API列表。
3112
3339
  注意:此字段可能返回 null,表示取不到有效值。
3113
3340
  */
3114
- Result?: boolean
3341
+ Result?: IPStrategyApiStatus
3115
3342
 
3116
3343
  /**
3117
3344
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4029,6 +4256,21 @@ export interface DescribeServiceEnvironmentStrategyRequest {
4029
4256
  Offset?: number
4030
4257
  }
4031
4258
 
4259
+ /**
4260
+ * DescribeUpstreamBindApis返回参数结构体
4261
+ */
4262
+ export interface DescribeUpstreamBindApisResponse {
4263
+ /**
4264
+ * 查询结果
4265
+ */
4266
+ Result: DescribeUpstreamBindApis
4267
+
4268
+ /**
4269
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4270
+ */
4271
+ RequestId?: string
4272
+ }
4273
+
4032
4274
  /**
4033
4275
  * ReleaseService请求参数结构体
4034
4276
  */
@@ -4226,6 +4468,21 @@ export interface ModifyExclusiveInstanceResponse {
4226
4468
  RequestId?: string
4227
4469
  }
4228
4470
 
4471
+ /**
4472
+ * k8s Label
4473
+ */
4474
+ export interface K8sLabel {
4475
+ /**
4476
+ * Label的Key
4477
+ */
4478
+ Key: string
4479
+
4480
+ /**
4481
+ * Label的Value
4482
+ */
4483
+ Value: string
4484
+ }
4485
+
4229
4486
  /**
4230
4487
  * DescribePlugins返回参数结构体
4231
4488
  */
@@ -4427,19 +4684,53 @@ export interface ServiceUsagePlanSet {
4427
4684
  }
4428
4685
 
4429
4686
  /**
4430
- * DescribeIPStrategyApisStatus返回参数结构体
4687
+ * CreateUpstream请求参数结构体
4431
4688
  */
4432
- export interface DescribeIPStrategyApisStatusResponse {
4689
+ export interface CreateUpstreamRequest {
4433
4690
  /**
4434
- * 环境绑定API列表。
4435
- 注意:此字段可能返回 null,表示取不到有效值。
4436
- */
4437
- Result?: IPStrategyApiStatus
4691
+ * 后端协议,HTTP, HTTPS其中之一
4692
+ */
4693
+ Scheme: string
4438
4694
 
4439
4695
  /**
4440
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4696
+ * 负载均衡算法目前支持ROUND_ROBIN
4441
4697
  */
4442
- RequestId?: string
4698
+ Algorithm: string
4699
+
4700
+ /**
4701
+ * VPC唯一ID
4702
+ */
4703
+ UniqVpcId: string
4704
+
4705
+ /**
4706
+ * VPC通道名字
4707
+ */
4708
+ UpstreamName?: string
4709
+
4710
+ /**
4711
+ * VPC通道描述
4712
+ */
4713
+ UpstreamDescription?: string
4714
+
4715
+ /**
4716
+ * 请求重试次数,默认3次
4717
+ */
4718
+ Retries?: number
4719
+
4720
+ /**
4721
+ * 请求到后端的,host头
4722
+ */
4723
+ UpstreamHost?: string
4724
+
4725
+ /**
4726
+ * 后端节点
4727
+ */
4728
+ Nodes?: Array<UpstreamNode>
4729
+
4730
+ /**
4731
+ * k8s服务的配置
4732
+ */
4733
+ K8sService?: Array<K8sService>
4443
4734
  }
4444
4735
 
4445
4736
  /**
@@ -4567,7 +4858,7 @@ export interface BindSecretIdsResponse {
4567
4858
  * 绑定操作是否成功。
4568
4859
  注意:此字段可能返回 null,表示取不到有效值。
4569
4860
  */
4570
- Result?: boolean
4861
+ Result: boolean
4571
4862
 
4572
4863
  /**
4573
4864
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4733,6 +5024,26 @@ export interface DescribeServiceSubDomainMappingsResponse {
4733
5024
  RequestId?: string
4734
5025
  }
4735
5026
 
5027
+ /**
5028
+ * Oauth授权配置信息
5029
+ */
5030
+ export interface OauthConfig {
5031
+ /**
5032
+ * 公钥,用于验证用户token。
5033
+ */
5034
+ PublicKey: string
5035
+
5036
+ /**
5037
+ * token传递位置。
5038
+ */
5039
+ TokenLocation: string
5040
+
5041
+ /**
5042
+ * 重定向地址,用于引导用户登录操作。
5043
+ */
5044
+ LoginRedirectUrl?: string
5045
+ }
5046
+
4736
5047
  /**
4737
5048
  * DescribeApiAppsStatus返回参数结构体
4738
5049
  */
@@ -4873,21 +5184,21 @@ export interface CreateApiKeyResponse {
4873
5184
  }
4874
5185
 
4875
5186
  /**
4876
- * DescribeUsagePlansStatus请求参数结构体
5187
+ * DescribeUpstreams请求参数结构体
4877
5188
  */
4878
- export interface DescribeUsagePlansStatusRequest {
5189
+ export interface DescribeUpstreamsRequest {
4879
5190
  /**
4880
- * 返回数量,默认为 20,最大值为 100。
5191
+ * 分页
4881
5192
  */
4882
- Limit?: number
5193
+ Limit: number
4883
5194
 
4884
5195
  /**
4885
- * 偏移量,默认为 0。
5196
+ * 分页
4886
5197
  */
4887
- Offset?: number
5198
+ Offset: number
4888
5199
 
4889
5200
  /**
4890
- * 使用计划过滤条件。支持UsagePlanId、UsagePlanName、NotServiceId、NotApiId、Environment。
5201
+ * 过滤条件
4891
5202
  */
4892
5203
  Filters?: Array<Filter>
4893
5204
  }
@@ -5050,14 +5361,14 @@ export interface VpcConfig {
5050
5361
  }
5051
5362
 
5052
5363
  /**
5053
- * UnBindSecretIds返回参数结构体
5364
+ * CreateUpstream返回参数结构体
5054
5365
  */
5055
- export interface UnBindSecretIdsResponse {
5366
+ export interface CreateUpstreamResponse {
5056
5367
  /**
5057
- * 解绑操作是否成功。
5368
+ * 创建返回的唯一id
5058
5369
  注意:此字段可能返回 null,表示取不到有效值。
5059
5370
  */
5060
- Result?: boolean
5371
+ UpstreamId: string
5061
5372
 
5062
5373
  /**
5063
5374
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -5225,6 +5536,21 @@ export interface DeletePluginResponse {
5225
5536
  RequestId?: string
5226
5537
  }
5227
5538
 
5539
+ /**
5540
+ * 查询vpc通道绑定api列表
5541
+ */
5542
+ export interface DescribeUpstreamBindApis {
5543
+ /**
5544
+ * 总数
5545
+ */
5546
+ TotalCount: number
5547
+
5548
+ /**
5549
+ * 绑定的api信息
5550
+ */
5551
+ BindApiSet: Array<BindApiInfo>
5552
+ }
5553
+
5228
5554
  /**
5229
5555
  * ModifyServiceEnvironmentStrategy请求参数结构体
5230
5556
  */
@@ -5412,6 +5738,22 @@ export interface DescribeServiceForApiAppRequest {
5412
5738
  ApiRegion: string
5413
5739
  }
5414
5740
 
5741
+ /**
5742
+ * ModifyApiEnvironmentStrategy返回参数结构体
5743
+ */
5744
+ export interface ModifyApiEnvironmentStrategyResponse {
5745
+ /**
5746
+ * 修改操作是否成功。
5747
+ 注意:此字段可能返回 null,表示取不到有效值。
5748
+ */
5749
+ Result?: boolean
5750
+
5751
+ /**
5752
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5753
+ */
5754
+ RequestId?: string
5755
+ }
5756
+
5415
5757
  /**
5416
5758
  * BindSubDomain请求参数结构体
5417
5759
  */
@@ -5900,6 +6242,38 @@ export interface ApiKey {
5900
6242
  CreatedTime: string
5901
6243
  }
5902
6244
 
6245
+ /**
6246
+ * vpc通道绑定的api信息
6247
+ */
6248
+ export interface BindApiInfo {
6249
+ /**
6250
+ * api唯一id
6251
+ */
6252
+ ApiId: string
6253
+
6254
+ /**
6255
+ * Service唯一id
6256
+ */
6257
+ ServiceId: string
6258
+
6259
+ /**
6260
+ * api名字
6261
+ 注意:此字段可能返回 null,表示取不到有效值。
6262
+ */
6263
+ ApiName: string
6264
+
6265
+ /**
6266
+ * 服务名字
6267
+ 注意:此字段可能返回 null,表示取不到有效值。
6268
+ */
6269
+ ServiceName: string
6270
+
6271
+ /**
6272
+ * 绑定时间
6273
+ */
6274
+ BindTime: string
6275
+ }
6276
+
5903
6277
  /**
5904
6278
  * 应用绑定的Api信息
5905
6279
  */
@@ -6043,6 +6417,22 @@ export interface BindEnvironmentRequest {
6043
6417
  ApiIds?: Array<string>
6044
6418
  }
6045
6419
 
6420
+ /**
6421
+ * ModifyUpstream返回参数结构体
6422
+ */
6423
+ export interface ModifyUpstreamResponse {
6424
+ /**
6425
+ * 返回修改后的vpc通道信息
6426
+ 注意:此字段可能返回 null,表示取不到有效值。
6427
+ */
6428
+ Result: UpstreamInfo
6429
+
6430
+ /**
6431
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6432
+ */
6433
+ RequestId?: string
6434
+ }
6435
+
6046
6436
  /**
6047
6437
  * DescribeIPStrategy请求参数结构体
6048
6438
  */
@@ -6170,6 +6560,74 @@ export interface DescribeServiceReleaseVersionResponse {
6170
6560
  RequestId?: string
6171
6561
  }
6172
6562
 
6563
+ /**
6564
+ * VPC通道后端节点元数据
6565
+ */
6566
+ export interface UpstreamNode {
6567
+ /**
6568
+ * IP(domain)
6569
+ */
6570
+ Host: string
6571
+
6572
+ /**
6573
+ * 端口[0, 65535]
6574
+ */
6575
+ Port: number
6576
+
6577
+ /**
6578
+ * 权重[0, 100], 0为禁用
6579
+ */
6580
+ Weight: number
6581
+
6582
+ /**
6583
+ * vm实例id
6584
+ 注意:此字段可能返回 null,表示取不到有效值。
6585
+ */
6586
+ VmInstanceId?: string
6587
+
6588
+ /**
6589
+ * 染色标签
6590
+ 注意:此字段可能返回 null,表示取不到有效值。
6591
+ */
6592
+ Tags?: Array<string>
6593
+
6594
+ /**
6595
+ * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
6596
+ 注意:此字段可能返回 null,表示取不到有效值。
6597
+ */
6598
+ Healthy?: string
6599
+
6600
+ /**
6601
+ * k8s服务名字
6602
+ 注意:此字段可能返回 null,表示取不到有效值。
6603
+ */
6604
+ ServiceName?: string
6605
+
6606
+ /**
6607
+ * k8s命名空间
6608
+ 注意:此字段可能返回 null,表示取不到有效值。
6609
+ */
6610
+ NameSpace?: string
6611
+
6612
+ /**
6613
+ * TKE集群的ID
6614
+ 注意:此字段可能返回 null,表示取不到有效值。
6615
+ */
6616
+ ClusterId?: string
6617
+
6618
+ /**
6619
+ * Node的来源
6620
+ 注意:此字段可能返回 null,表示取不到有效值。
6621
+ */
6622
+ Source?: string
6623
+
6624
+ /**
6625
+ * API网关内部记录唯一的服务名字
6626
+ 注意:此字段可能返回 null,表示取不到有效值。
6627
+ */
6628
+ UniqueServiceName?: string
6629
+ }
6630
+
6173
6631
  /**
6174
6632
  * 应用信息集
6175
6633
  */
@@ -6186,6 +6644,22 @@ export interface ApiAppApiInfos {
6186
6644
  ApiAppApiSet: Array<ApiAppApiInfo>
6187
6645
  }
6188
6646
 
6647
+ /**
6648
+ * DeleteUpstream返回参数结构体
6649
+ */
6650
+ export interface DeleteUpstreamResponse {
6651
+ /**
6652
+ * 成功删除的vpc通道id
6653
+ 注意:此字段可能返回 null,表示取不到有效值。
6654
+ */
6655
+ UpstreamId: string
6656
+
6657
+ /**
6658
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6659
+ */
6660
+ RequestId?: string
6661
+ }
6662
+
6189
6663
  /**
6190
6664
  * UpdateService返回参数结构体
6191
6665
  */
@@ -6352,6 +6826,23 @@ export interface ReleaseService {
6352
6826
  ReleaseVersion: string
6353
6827
  }
6354
6828
 
6829
+ /**
6830
+ * 服务绑定环境详情
6831
+ */
6832
+ export interface ServiceEnvironmentSet {
6833
+ /**
6834
+ * 服务绑定环境总数。
6835
+ 注意:此字段可能返回 null,表示取不到有效值。
6836
+ */
6837
+ TotalCount: number
6838
+
6839
+ /**
6840
+ * 服务绑定环境列表。
6841
+ 注意:此字段可能返回 null,表示取不到有效值。
6842
+ */
6843
+ EnvironmentList: Array<Environment>
6844
+ }
6845
+
6355
6846
  /**
6356
6847
  * CreateService返回参数结构体
6357
6848
  */
@@ -6904,6 +7395,22 @@ export interface InstanceDetail {
6904
7395
  Zones: string
6905
7396
  }
6906
7397
 
7398
+ /**
7399
+ * UnBindSecretIds返回参数结构体
7400
+ */
7401
+ export interface UnBindSecretIdsResponse {
7402
+ /**
7403
+ * 解绑操作是否成功。
7404
+ 注意:此字段可能返回 null,表示取不到有效值。
7405
+ */
7406
+ Result?: boolean
7407
+
7408
+ /**
7409
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7410
+ */
7411
+ RequestId?: string
7412
+ }
7413
+
6907
7414
  /**
6908
7415
  * CreateApiApp请求参数结构体
6909
7416
  */
@@ -6999,6 +7506,71 @@ export interface RequestParameter {
6999
7506
  Required?: boolean
7000
7507
  }
7001
7508
 
7509
+ /**
7510
+ * VPC通道健康检查参数配置
7511
+ */
7512
+ export interface UpstreamHealthChecker {
7513
+ /**
7514
+ * 标识是否开启主动健康检查。
7515
+ */
7516
+ EnableActiveCheck: boolean
7517
+
7518
+ /**
7519
+ * 标识是否开启被动健康检查。
7520
+ */
7521
+ EnablePassiveCheck: boolean
7522
+
7523
+ /**
7524
+ * 健康检查时,判断为成功请求的 HTTP 状态码。
7525
+ */
7526
+ HealthyHttpStatus: string
7527
+
7528
+ /**
7529
+ * 健康检查时,判断为失败请求的 HTTP 状态码。
7530
+ */
7531
+ UnhealthyHttpStatus: string
7532
+
7533
+ /**
7534
+ * TCP连续错误阈值。0 表示禁用 TCP 检查。取值范围:[0, 254]。
7535
+ */
7536
+ TcpFailureThreshold: number
7537
+
7538
+ /**
7539
+ * 连续超时阈值。0 表示禁用超时检查。取值范围:[0, 254]。
7540
+ */
7541
+ TimeoutThreshold: number
7542
+
7543
+ /**
7544
+ * HTTP连续错误阈值。0 表示禁用HTTP检查。取值范围:[0, 254]。
7545
+ */
7546
+ HttpFailureThreshold: number
7547
+
7548
+ /**
7549
+ * 主动健康检查时探测请求的路径。默认为"/"。
7550
+ */
7551
+ ActiveCheckHttpPath?: string
7552
+
7553
+ /**
7554
+ * 主动健康检查的探测请求超时,单位秒。默认为5秒。
7555
+ */
7556
+ ActiveCheckTimeout?: number
7557
+
7558
+ /**
7559
+ * 主动健康检查的时间间隔,默认5秒。
7560
+ */
7561
+ ActiveCheckInterval?: number
7562
+
7563
+ /**
7564
+ * 主动健康检查时探测请求的的请求头。
7565
+ */
7566
+ ActiveRequestHeader?: Array<UpstreamHealthCheckerReqHeaders>
7567
+
7568
+ /**
7569
+ * 异常节点的状态自动恢复时间,单位秒。当只开启被动检查的话,必须设置为 > 0 的值,否则被动异常节点将无法恢复。默认30秒。
7570
+ */
7571
+ UnhealthyTimeout?: number
7572
+ }
7573
+
7002
7574
  /**
7003
7575
  * 独享实例预付费详情
7004
7576
  */