tencentcloud-sdk-nodejs 4.0.295 → 4.0.298

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 (104) hide show
  1. package/CHANGELOG.md +367 -0
  2. package/SERVICE_CHANGELOG.md +419 -52
  3. package/package.json +1 -1
  4. package/products.md +25 -24
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_models.ts +20 -2
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +6 -1
  8. package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
  9. package/src/services/apigateway/v20180808/apigateway_models.ts +617 -45
  10. package/src/services/as/v20180419/as_models.ts +1 -1
  11. package/src/services/cam/v20190116/cam_client.ts +12 -0
  12. package/src/services/cam/v20190116/cam_models.ts +32 -2
  13. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  14. package/src/services/ckafka/v20190819/ckafka_client.ts +1 -1
  15. package/src/services/ckafka/v20190819/ckafka_models.ts +2 -2
  16. package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +43 -7
  17. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +109 -64
  18. package/src/services/cls/v20201016/cls_client.ts +1 -1
  19. package/src/services/cls/v20201016/cls_models.ts +42 -25
  20. package/src/services/cpdp/v20190820/cpdp_client.ts +20 -5
  21. package/src/services/cpdp/v20190820/cpdp_models.ts +2271 -2156
  22. package/src/services/cvm/v20170312/cvm_models.ts +8 -7
  23. package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
  24. package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
  25. package/src/services/ess/index.ts +5 -0
  26. package/src/services/ess/v20201111/ess_client.ts +148 -0
  27. package/src/services/ess/v20201111/ess_models.ts +857 -0
  28. package/src/services/ess/v20201111/index.ts +6 -0
  29. package/src/services/faceid/v20180301/faceid_models.ts +4 -0
  30. package/src/services/gme/v20180711/gme_client.ts +36 -0
  31. package/src/services/gme/v20180711/gme_models.ts +126 -0
  32. package/src/services/index.ts +1 -0
  33. package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
  34. package/src/services/mariadb/v20170312/mariadb_models.ts +233 -173
  35. package/src/services/mongodb/v20190725/mongodb_models.ts +64 -43
  36. package/src/services/rum/v20210622/rum_models.ts +1 -1
  37. package/src/services/tcm/v20210413/tcm_client.ts +1 -0
  38. package/src/services/tcm/v20210413/tcm_models.ts +33 -1
  39. package/src/services/tem/v20210701/tem_models.ts +5 -0
  40. package/src/services/tsf/v20180326/tsf_client.ts +128 -15
  41. package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
  42. package/src/services/vpc/v20170312/vpc_models.ts +5 -4
  43. package/tencentcloud/common/sdk_version.d.ts +1 -1
  44. package/tencentcloud/common/sdk_version.js +1 -1
  45. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +17 -2
  46. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +5 -1
  47. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
  48. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
  49. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +520 -41
  50. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  51. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
  52. package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
  53. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +27 -2
  54. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  55. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
  56. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
  57. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +2 -2
  58. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +15 -3
  59. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +21 -3
  60. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +91 -52
  61. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  62. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  63. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +36 -19
  64. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +5 -1
  65. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +6 -0
  66. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1476 -1378
  67. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -3
  68. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
  69. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
  70. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
  71. package/tencentcloud/services/ess/index.d.ts +6 -0
  72. package/tencentcloud/services/ess/index.js +7 -0
  73. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +46 -0
  74. package/tencentcloud/services/ess/v20201111/ess_client.js +85 -0
  75. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +707 -0
  76. package/tencentcloud/services/ess/v20201111/ess_models.js +18 -0
  77. package/tencentcloud/services/ess/v20201111/index.d.ts +6 -0
  78. package/tencentcloud/services/ess/v20201111/index.js +9 -0
  79. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +4 -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 +1 -0
  84. package/tencentcloud/services/index.js +2 -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/mongodb/v20190725/mongodb_models.d.ts +60 -43
  89. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
  90. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +28 -1
  91. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
  92. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
  93. package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
  94. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
  95. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +3 -2
  96. package/test/apigateway.v20180808.test.js +50 -0
  97. package/test/cam.v20190116.test.js +10 -0
  98. package/test/cloudaudit.v20190319.test.js +32 -2
  99. package/test/cpdp.v20190820.test.js +10 -0
  100. package/test/dcdb.v20180411.test.js +24 -4
  101. package/test/ess.v20201111.test.js +111 -0
  102. package/test/gme.v20180711.test.js +30 -0
  103. package/test/mariadb.v20170312.test.js +20 -0
  104. package/test/tsf.v20180326.test.js +84 -4
@@ -703,19 +703,21 @@ export interface TargetServicesReq {
703
703
  DockerIp?: string;
704
704
  }
705
705
  /**
706
- * 服务绑定环境详情
706
+ * DescribeUsagePlansStatus请求参数结构体
707
707
  */
708
- export interface ServiceEnvironmentSet {
708
+ export interface DescribeUsagePlansStatusRequest {
709
709
  /**
710
- * 服务绑定环境总数。
711
- 注意:此字段可能返回 null,表示取不到有效值。
710
+ * 返回数量,默认为 20,最大值为 100。
712
711
  */
713
- TotalCount: number;
712
+ Limit?: number;
714
713
  /**
715
- * 服务绑定环境列表。
716
- 注意:此字段可能返回 null,表示取不到有效值。
714
+ * 偏移量,默认为 0。
717
715
  */
718
- EnvironmentList: Array<Environment>;
716
+ Offset?: number;
717
+ /**
718
+ * 使用计划过滤条件。支持UsagePlanId、UsagePlanName、NotServiceId、NotApiId、Environment。
719
+ */
720
+ Filters?: Array<Filter>;
719
721
  }
720
722
  /**
721
723
  * TsfLoadBalanceConf 出参使用
@@ -848,6 +850,15 @@ export interface HealthCheckConf {
848
850
  */
849
851
  ErrorThresholdPercentage?: number;
850
852
  }
853
+ /**
854
+ * DeleteUpstream请求参数结构体
855
+ */
856
+ export interface DeleteUpstreamRequest {
857
+ /**
858
+ * 待删除的VPC通道唯一ID
859
+ */
860
+ UpstreamId: string;
861
+ }
851
862
  /**
852
863
  * API网关插件详情。
853
864
  */
@@ -906,6 +917,51 @@ export interface UnbindApiAppResponse {
906
917
  */
907
918
  RequestId?: string;
908
919
  }
920
+ /**
921
+ * ModifyUpstream请求参数结构体
922
+ */
923
+ export interface ModifyUpstreamRequest {
924
+ /**
925
+ * VPC通道唯一ID
926
+ */
927
+ UpstreamId: string;
928
+ /**
929
+ * VPC通道名字
930
+ */
931
+ UpstreamName?: string;
932
+ /**
933
+ * VPC通道描述
934
+ */
935
+ UpstreamDescription?: string;
936
+ /**
937
+ * 后端协议,HTTP, HTTPS其中之一
938
+ */
939
+ Scheme?: string;
940
+ /**
941
+ * 负载均衡算法目前支持ROUND_ROBIN
942
+ */
943
+ Algorithm?: string;
944
+ /**
945
+ * VPC唯一ID
946
+ */
947
+ UniqVpcId?: string;
948
+ /**
949
+ * 请求重试次数,默认3次
950
+ */
951
+ Retries?: number;
952
+ /**
953
+ * 请求到后端的,host头
954
+ */
955
+ UpstreamHost?: string;
956
+ /**
957
+ * 后端节点列表
958
+ */
959
+ Nodes?: Array<UpstreamNode>;
960
+ /**
961
+ * k8s服务配置
962
+ */
963
+ K8sService?: Array<K8sService>;
964
+ }
909
965
  /**
910
966
  * DescribeApiUsagePlan返回参数结构体
911
967
  */
@@ -955,6 +1011,27 @@ export interface DescribePluginResponse {
955
1011
  */
956
1012
  RequestId?: string;
957
1013
  }
1014
+ /**
1015
+ * DescribeUpstreamBindApis请求参数结构体
1016
+ */
1017
+ export interface DescribeUpstreamBindApisRequest {
1018
+ /**
1019
+ * 分页
1020
+ */
1021
+ Limit: number;
1022
+ /**
1023
+ * 分页
1024
+ */
1025
+ Offset: number;
1026
+ /**
1027
+ * vpc通道Id
1028
+ */
1029
+ UpstreamId: string;
1030
+ /**
1031
+ * ServiceId和ApiId过滤查询
1032
+ */
1033
+ Filters?: Array<Filter>;
1034
+ }
958
1035
  /**
959
1036
  * DescribeExclusiveInstances返回参数结构体
960
1037
  */
@@ -968,6 +1045,39 @@ export interface DescribeExclusiveInstancesResponse {
968
1045
  */
969
1046
  RequestId?: string;
970
1047
  }
1048
+ /**
1049
+ * k8s 服务的配置
1050
+ */
1051
+ export interface K8sService {
1052
+ /**
1053
+ * 权重
1054
+ */
1055
+ Weight: number;
1056
+ /**
1057
+ * k8s集群ID
1058
+ */
1059
+ ClusterId: string;
1060
+ /**
1061
+ * 容器命名空间
1062
+ */
1063
+ Namespace: string;
1064
+ /**
1065
+ * 容器服务的名字
1066
+ */
1067
+ ServiceName: string;
1068
+ /**
1069
+ * 服务的端口
1070
+ */
1071
+ Port: number;
1072
+ /**
1073
+ * 额外选择的Pod的Label
1074
+ */
1075
+ ExtraLabels: Array<K8sLabel>;
1076
+ /**
1077
+ * 自定义的服务名字,可选
1078
+ */
1079
+ Name?: string;
1080
+ }
971
1081
  /**
972
1082
  * DeleteUsagePlan请求参数结构体
973
1083
  */
@@ -1015,6 +1125,10 @@ export interface DescribeApiEnvironmentStrategyRequest {
1015
1125
  */
1016
1126
  Offset?: number;
1017
1127
  }
1128
+ /**
1129
+ * VPC通道主动健康检查的请求头配置
1130
+ */
1131
+ export declare type UpstreamHealthCheckerReqHeaders = null;
1018
1132
  /**
1019
1133
  * DescribeServiceForApiApp返回参数结构体
1020
1134
  */
@@ -1856,21 +1970,17 @@ export interface ModifyIPStrategyResponse {
1856
1970
  RequestId?: string;
1857
1971
  }
1858
1972
  /**
1859
- * Oauth授权配置信息
1973
+ * 查询vpc通道返回信息
1860
1974
  */
1861
- export interface OauthConfig {
1975
+ export interface DescribeUpstreamInfo {
1862
1976
  /**
1863
- * 公钥,用于验证用户token。
1977
+ * 查询总数
1864
1978
  */
1865
- PublicKey: string;
1866
- /**
1867
- * token传递位置。
1868
- */
1869
- TokenLocation: string;
1979
+ TotalCount: number;
1870
1980
  /**
1871
- * 重定向地址,用于引导用户登录操作。
1981
+ * 查询列表
1872
1982
  */
1873
- LoginRedirectUrl?: string;
1983
+ UpstreamSet: Array<UpstreamInfo>;
1874
1984
  }
1875
1985
  /**
1876
1986
  * ModifyApiEnvironmentStrategy请求参数结构体
@@ -2030,6 +2140,71 @@ export interface DeleteApiKeyResponse {
2030
2140
  */
2031
2141
  RequestId?: string;
2032
2142
  }
2143
+ /**
2144
+ * VPC通道信息集合
2145
+ */
2146
+ export interface UpstreamInfo {
2147
+ /**
2148
+ * VPC通道唯一ID
2149
+ */
2150
+ UpstreamId: string;
2151
+ /**
2152
+ * VPC通道名字
2153
+ */
2154
+ UpstreamName: string;
2155
+ /**
2156
+ * VPC通道描述
2157
+ */
2158
+ UpstreamDescription: string;
2159
+ /**
2160
+ * 写意
2161
+ */
2162
+ Scheme: string;
2163
+ /**
2164
+ * 负载均衡算法
2165
+ */
2166
+ Algorithm: string;
2167
+ /**
2168
+ * vpc唯一ID
2169
+ */
2170
+ UniqVpcId: string;
2171
+ /**
2172
+ * 请求重拾次数
2173
+ */
2174
+ Retries: number;
2175
+ /**
2176
+ * 后端节点
2177
+ */
2178
+ Nodes: Array<UpstreamNode>;
2179
+ /**
2180
+ * 创建时间
2181
+ */
2182
+ CreatedTime: string;
2183
+ /**
2184
+ * 标签
2185
+ 注意:此字段可能返回 null,表示取不到有效值。
2186
+ */
2187
+ Tags: Array<Tag>;
2188
+ /**
2189
+ * 健康检查配置
2190
+ 注意:此字段可能返回 null,表示取不到有效值。
2191
+ */
2192
+ HealthChecker: UpstreamHealthChecker;
2193
+ /**
2194
+ * Upstream的类型
2195
+ */
2196
+ UpstreamType: string;
2197
+ /**
2198
+ * k8s服务配置
2199
+ 注意:此字段可能返回 null,表示取不到有效值。
2200
+ */
2201
+ K8sServices: Array<K8sService>;
2202
+ /**
2203
+ * vpc通道的Host
2204
+ 注意:此字段可能返回 null,表示取不到有效值。
2205
+ */
2206
+ UpstreamHost: string;
2207
+ }
2033
2208
  /**
2034
2209
  * ModifyExclusiveInstance请求参数结构体
2035
2210
  */
@@ -2212,6 +2387,19 @@ export interface UnBindIPStrategyRequest {
2212
2387
  */
2213
2388
  UnBindApiIds: Array<string>;
2214
2389
  }
2390
+ /**
2391
+ * DescribeUpstreams返回参数结构体
2392
+ */
2393
+ export interface DescribeUpstreamsResponse {
2394
+ /**
2395
+ * 查询结果
2396
+ */
2397
+ Result: DescribeUpstreamInfo;
2398
+ /**
2399
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2400
+ */
2401
+ RequestId?: string;
2402
+ }
2215
2403
  /**
2216
2404
  * DescribePluginApis请求参数结构体
2217
2405
  */
@@ -2623,14 +2811,14 @@ export interface DeleteApiKeyRequest {
2623
2811
  AccessKeyId: string;
2624
2812
  }
2625
2813
  /**
2626
- * ModifyApiEnvironmentStrategy返回参数结构体
2814
+ * DescribeIPStrategyApisStatus返回参数结构体
2627
2815
  */
2628
- export interface ModifyApiEnvironmentStrategyResponse {
2816
+ export interface DescribeIPStrategyApisStatusResponse {
2629
2817
  /**
2630
- * 修改操作是否成功。
2818
+ * 环境绑定API列表。
2631
2819
  注意:此字段可能返回 null,表示取不到有效值。
2632
2820
  */
2633
- Result?: boolean;
2821
+ Result?: IPStrategyApiStatus;
2634
2822
  /**
2635
2823
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2636
2824
  */
@@ -3382,6 +3570,19 @@ export interface DescribeServiceEnvironmentStrategyRequest {
3382
3570
  */
3383
3571
  Offset?: number;
3384
3572
  }
3573
+ /**
3574
+ * DescribeUpstreamBindApis返回参数结构体
3575
+ */
3576
+ export interface DescribeUpstreamBindApisResponse {
3577
+ /**
3578
+ * 查询结果
3579
+ */
3580
+ Result: DescribeUpstreamBindApis;
3581
+ /**
3582
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3583
+ */
3584
+ RequestId?: string;
3585
+ }
3385
3586
  /**
3386
3587
  * ReleaseService请求参数结构体
3387
3588
  */
@@ -3551,6 +3752,19 @@ export interface ModifyExclusiveInstanceResponse {
3551
3752
  */
3552
3753
  RequestId?: string;
3553
3754
  }
3755
+ /**
3756
+ * k8s Label
3757
+ */
3758
+ export interface K8sLabel {
3759
+ /**
3760
+ * Label的Key
3761
+ */
3762
+ Key: string;
3763
+ /**
3764
+ * Label的Value
3765
+ */
3766
+ Value: string;
3767
+ }
3554
3768
  /**
3555
3769
  * DescribePlugins返回参数结构体
3556
3770
  */
@@ -3721,18 +3935,45 @@ export interface ServiceUsagePlanSet {
3721
3935
  ServiceUsagePlanList: Array<ApiUsagePlan>;
3722
3936
  }
3723
3937
  /**
3724
- * DescribeIPStrategyApisStatus返回参数结构体
3938
+ * CreateUpstream请求参数结构体
3725
3939
  */
3726
- export interface DescribeIPStrategyApisStatusResponse {
3940
+ export interface CreateUpstreamRequest {
3727
3941
  /**
3728
- * 环境绑定API列表。
3729
- 注意:此字段可能返回 null,表示取不到有效值。
3942
+ * 后端协议,HTTP, HTTPS其中之一
3730
3943
  */
3731
- Result?: IPStrategyApiStatus;
3944
+ Scheme: string;
3732
3945
  /**
3733
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3946
+ * 负载均衡算法目前支持ROUND_ROBIN
3734
3947
  */
3735
- RequestId?: string;
3948
+ Algorithm: string;
3949
+ /**
3950
+ * VPC唯一ID
3951
+ */
3952
+ UniqVpcId: string;
3953
+ /**
3954
+ * VPC通道名字
3955
+ */
3956
+ UpstreamName?: string;
3957
+ /**
3958
+ * VPC通道描述
3959
+ */
3960
+ UpstreamDescription?: string;
3961
+ /**
3962
+ * 请求重试次数,默认3次
3963
+ */
3964
+ Retries?: number;
3965
+ /**
3966
+ * 请求到后端的,host头
3967
+ */
3968
+ UpstreamHost?: string;
3969
+ /**
3970
+ * 后端节点
3971
+ */
3972
+ Nodes?: Array<UpstreamNode>;
3973
+ /**
3974
+ * k8s服务的配置
3975
+ */
3976
+ K8sService?: Array<K8sService>;
3736
3977
  }
3737
3978
  /**
3738
3979
  * ModifyServiceEnvironmentStrategy返回参数结构体
@@ -3842,7 +4083,7 @@ export interface BindSecretIdsResponse {
3842
4083
  * 绑定操作是否成功。
3843
4084
  注意:此字段可能返回 null,表示取不到有效值。
3844
4085
  */
3845
- Result?: boolean;
4086
+ Result: boolean;
3846
4087
  /**
3847
4088
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3848
4089
  */
@@ -3983,6 +4224,23 @@ export interface DescribeServiceSubDomainMappingsResponse {
3983
4224
  */
3984
4225
  RequestId?: string;
3985
4226
  }
4227
+ /**
4228
+ * Oauth授权配置信息
4229
+ */
4230
+ export interface OauthConfig {
4231
+ /**
4232
+ * 公钥,用于验证用户token。
4233
+ */
4234
+ PublicKey: string;
4235
+ /**
4236
+ * token传递位置。
4237
+ */
4238
+ TokenLocation: string;
4239
+ /**
4240
+ * 重定向地址,用于引导用户登录操作。
4241
+ */
4242
+ LoginRedirectUrl?: string;
4243
+ }
3986
4244
  /**
3987
4245
  * DescribeApiAppsStatus返回参数结构体
3988
4246
  */
@@ -4106,19 +4364,19 @@ export interface CreateApiKeyResponse {
4106
4364
  RequestId?: string;
4107
4365
  }
4108
4366
  /**
4109
- * DescribeUsagePlansStatus请求参数结构体
4367
+ * DescribeUpstreams请求参数结构体
4110
4368
  */
4111
- export interface DescribeUsagePlansStatusRequest {
4369
+ export interface DescribeUpstreamsRequest {
4112
4370
  /**
4113
- * 返回数量,默认为 20,最大值为 100。
4371
+ * 分页
4114
4372
  */
4115
- Limit?: number;
4373
+ Limit: number;
4116
4374
  /**
4117
- * 偏移量,默认为 0。
4375
+ * 分页
4118
4376
  */
4119
- Offset?: number;
4377
+ Offset: number;
4120
4378
  /**
4121
- * 使用计划过滤条件。支持UsagePlanId、UsagePlanName、NotServiceId、NotApiId、Environment。
4379
+ * 过滤条件
4122
4380
  */
4123
4381
  Filters?: Array<Filter>;
4124
4382
  }
@@ -4257,14 +4515,14 @@ export interface VpcConfig {
4257
4515
  UniqSubnetId: string;
4258
4516
  }
4259
4517
  /**
4260
- * UnBindSecretIds返回参数结构体
4518
+ * CreateUpstream返回参数结构体
4261
4519
  */
4262
- export interface UnBindSecretIdsResponse {
4520
+ export interface CreateUpstreamResponse {
4263
4521
  /**
4264
- * 解绑操作是否成功。
4522
+ * 创建返回的唯一id
4265
4523
  注意:此字段可能返回 null,表示取不到有效值。
4266
4524
  */
4267
- Result?: boolean;
4525
+ UpstreamId: string;
4268
4526
  /**
4269
4527
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4270
4528
  */
@@ -4407,6 +4665,19 @@ export interface DeletePluginResponse {
4407
4665
  */
4408
4666
  RequestId?: string;
4409
4667
  }
4668
+ /**
4669
+ * 查询vpc通道绑定api列表
4670
+ */
4671
+ export interface DescribeUpstreamBindApis {
4672
+ /**
4673
+ * 总数
4674
+ */
4675
+ TotalCount: number;
4676
+ /**
4677
+ * 绑定的api信息
4678
+ */
4679
+ BindApiSet: Array<BindApiInfo>;
4680
+ }
4410
4681
  /**
4411
4682
  * ModifyServiceEnvironmentStrategy请求参数结构体
4412
4683
  */
@@ -4567,6 +4838,20 @@ export interface DescribeServiceForApiAppRequest {
4567
4838
  */
4568
4839
  ApiRegion: string;
4569
4840
  }
4841
+ /**
4842
+ * ModifyApiEnvironmentStrategy返回参数结构体
4843
+ */
4844
+ export interface ModifyApiEnvironmentStrategyResponse {
4845
+ /**
4846
+ * 修改操作是否成功。
4847
+ 注意:此字段可能返回 null,表示取不到有效值。
4848
+ */
4849
+ Result?: boolean;
4850
+ /**
4851
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4852
+ */
4853
+ RequestId?: string;
4854
+ }
4570
4855
  /**
4571
4856
  * BindSubDomain请求参数结构体
4572
4857
  */
@@ -4983,6 +5268,33 @@ export interface ApiKey {
4983
5268
  */
4984
5269
  CreatedTime: string;
4985
5270
  }
5271
+ /**
5272
+ * vpc通道绑定的api信息
5273
+ */
5274
+ export interface BindApiInfo {
5275
+ /**
5276
+ * api唯一id
5277
+ */
5278
+ ApiId: string;
5279
+ /**
5280
+ * Service唯一id
5281
+ */
5282
+ ServiceId: string;
5283
+ /**
5284
+ * api名字
5285
+ 注意:此字段可能返回 null,表示取不到有效值。
5286
+ */
5287
+ ApiName: string;
5288
+ /**
5289
+ * 服务名字
5290
+ 注意:此字段可能返回 null,表示取不到有效值。
5291
+ */
5292
+ ServiceName: string;
5293
+ /**
5294
+ * 绑定时间
5295
+ */
5296
+ BindTime: string;
5297
+ }
4986
5298
  /**
4987
5299
  * 应用绑定的Api信息
4988
5300
  */
@@ -5104,6 +5416,20 @@ export interface BindEnvironmentRequest {
5104
5416
  */
5105
5417
  ApiIds?: Array<string>;
5106
5418
  }
5419
+ /**
5420
+ * ModifyUpstream返回参数结构体
5421
+ */
5422
+ export interface ModifyUpstreamResponse {
5423
+ /**
5424
+ * 返回修改后的vpc通道信息
5425
+ 注意:此字段可能返回 null,表示取不到有效值。
5426
+ */
5427
+ Result: UpstreamInfo;
5428
+ /**
5429
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5430
+ */
5431
+ RequestId?: string;
5432
+ }
5107
5433
  /**
5108
5434
  * DescribeIPStrategy请求参数结构体
5109
5435
  */
@@ -5212,6 +5538,63 @@ export interface DescribeServiceReleaseVersionResponse {
5212
5538
  */
5213
5539
  RequestId?: string;
5214
5540
  }
5541
+ /**
5542
+ * VPC通道后端节点元数据
5543
+ */
5544
+ export interface UpstreamNode {
5545
+ /**
5546
+ * IP(domain)
5547
+ */
5548
+ Host: string;
5549
+ /**
5550
+ * 端口[0, 65535]
5551
+ */
5552
+ Port: number;
5553
+ /**
5554
+ * 权重[0, 100], 0为禁用
5555
+ */
5556
+ Weight: number;
5557
+ /**
5558
+ * vm实例id
5559
+ 注意:此字段可能返回 null,表示取不到有效值。
5560
+ */
5561
+ VmInstanceId?: string;
5562
+ /**
5563
+ * 染色标签
5564
+ 注意:此字段可能返回 null,表示取不到有效值。
5565
+ */
5566
+ Tags?: Array<string>;
5567
+ /**
5568
+ * 节点健康状态,创建、编辑时不需要传该参数。OFF:关闭,HEALTHY:健康,UNHEALTHY:异常,NO_DATA:数据未上报
5569
+ 注意:此字段可能返回 null,表示取不到有效值。
5570
+ */
5571
+ Healthy?: string;
5572
+ /**
5573
+ * k8s服务名字
5574
+ 注意:此字段可能返回 null,表示取不到有效值。
5575
+ */
5576
+ ServiceName?: string;
5577
+ /**
5578
+ * k8s命名空间
5579
+ 注意:此字段可能返回 null,表示取不到有效值。
5580
+ */
5581
+ NameSpace?: string;
5582
+ /**
5583
+ * TKE集群的ID
5584
+ 注意:此字段可能返回 null,表示取不到有效值。
5585
+ */
5586
+ ClusterId?: string;
5587
+ /**
5588
+ * Node的来源
5589
+ 注意:此字段可能返回 null,表示取不到有效值。
5590
+ */
5591
+ Source?: string;
5592
+ /**
5593
+ * API网关内部记录唯一的服务名字
5594
+ 注意:此字段可能返回 null,表示取不到有效值。
5595
+ */
5596
+ UniqueServiceName?: string;
5597
+ }
5215
5598
  /**
5216
5599
  * 应用信息集
5217
5600
  */
@@ -5226,6 +5609,20 @@ export interface ApiAppApiInfos {
5226
5609
  */
5227
5610
  ApiAppApiSet: Array<ApiAppApiInfo>;
5228
5611
  }
5612
+ /**
5613
+ * DeleteUpstream返回参数结构体
5614
+ */
5615
+ export interface DeleteUpstreamResponse {
5616
+ /**
5617
+ * 成功删除的vpc通道id
5618
+ 注意:此字段可能返回 null,表示取不到有效值。
5619
+ */
5620
+ UpstreamId: string;
5621
+ /**
5622
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5623
+ */
5624
+ RequestId?: string;
5625
+ }
5229
5626
  /**
5230
5627
  * UpdateService返回参数结构体
5231
5628
  */
@@ -5367,6 +5764,21 @@ export interface ReleaseService {
5367
5764
  */
5368
5765
  ReleaseVersion: string;
5369
5766
  }
5767
+ /**
5768
+ * 服务绑定环境详情
5769
+ */
5770
+ export interface ServiceEnvironmentSet {
5771
+ /**
5772
+ * 服务绑定环境总数。
5773
+ 注意:此字段可能返回 null,表示取不到有效值。
5774
+ */
5775
+ TotalCount: number;
5776
+ /**
5777
+ * 服务绑定环境列表。
5778
+ 注意:此字段可能返回 null,表示取不到有效值。
5779
+ */
5780
+ EnvironmentList: Array<Environment>;
5781
+ }
5370
5782
  /**
5371
5783
  * CreateService返回参数结构体
5372
5784
  */
@@ -5835,6 +6247,20 @@ export interface InstanceDetail {
5835
6247
  */
5836
6248
  Zones: string;
5837
6249
  }
6250
+ /**
6251
+ * UnBindSecretIds返回参数结构体
6252
+ */
6253
+ export interface UnBindSecretIdsResponse {
6254
+ /**
6255
+ * 解绑操作是否成功。
6256
+ 注意:此字段可能返回 null,表示取不到有效值。
6257
+ */
6258
+ Result?: boolean;
6259
+ /**
6260
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6261
+ */
6262
+ RequestId?: string;
6263
+ }
5838
6264
  /**
5839
6265
  * CreateApiApp请求参数结构体
5840
6266
  */
@@ -5916,6 +6342,59 @@ export interface RequestParameter {
5916
6342
  */
5917
6343
  Required?: boolean;
5918
6344
  }
6345
+ /**
6346
+ * VPC通道健康检查参数配置
6347
+ */
6348
+ export interface UpstreamHealthChecker {
6349
+ /**
6350
+ * 标识是否开启主动健康检查。
6351
+ */
6352
+ EnableActiveCheck: boolean;
6353
+ /**
6354
+ * 标识是否开启被动健康检查。
6355
+ */
6356
+ EnablePassiveCheck: boolean;
6357
+ /**
6358
+ * 健康检查时,判断为成功请求的 HTTP 状态码。
6359
+ */
6360
+ HealthyHttpStatus: string;
6361
+ /**
6362
+ * 健康检查时,判断为失败请求的 HTTP 状态码。
6363
+ */
6364
+ UnhealthyHttpStatus: string;
6365
+ /**
6366
+ * TCP连续错误阈值。0 表示禁用 TCP 检查。取值范围:[0, 254]。
6367
+ */
6368
+ TcpFailureThreshold: number;
6369
+ /**
6370
+ * 连续超时阈值。0 表示禁用超时检查。取值范围:[0, 254]。
6371
+ */
6372
+ TimeoutThreshold: number;
6373
+ /**
6374
+ * HTTP连续错误阈值。0 表示禁用HTTP检查。取值范围:[0, 254]。
6375
+ */
6376
+ HttpFailureThreshold: number;
6377
+ /**
6378
+ * 主动健康检查时探测请求的路径。默认为"/"。
6379
+ */
6380
+ ActiveCheckHttpPath?: string;
6381
+ /**
6382
+ * 主动健康检查的探测请求超时,单位秒。默认为5秒。
6383
+ */
6384
+ ActiveCheckTimeout?: number;
6385
+ /**
6386
+ * 主动健康检查的时间间隔,默认5秒。
6387
+ */
6388
+ ActiveCheckInterval?: number;
6389
+ /**
6390
+ * 主动健康检查时探测请求的的请求头。
6391
+ */
6392
+ ActiveRequestHeader?: Array<UpstreamHealthCheckerReqHeaders>;
6393
+ /**
6394
+ * 异常节点的状态自动恢复时间,单位秒。当只开启被动检查的话,必须设置为 > 0 的值,否则被动异常节点将无法恢复。默认30秒。
6395
+ */
6396
+ UnhealthyTimeout?: number;
6397
+ }
5919
6398
  /**
5920
6399
  * 独享实例预付费详情
5921
6400
  */